{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "foundry_unresolved_feedback", "name": "Foundry mined unresolved feedback: tsergeytovarov/ai-stats", "shortDescription": {"text": "Foundry mined unresolved feedback: tsergeytovarov/ai-stats"}, "fullDescription": {"text": "Graph query export: Human feedback without linked fix evidence\nQuery id: unresolved_feedback\nQuery type: motif_query\nIntent: Negative/unresolved examples that should not be hallucinated into fixes.\nMotif: unlinked_feedback_needs_evidence\nTraining usage: negative_or_unresolved\nGraph gold label: assumption_check\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#12\nEvidence:\nGraph motif: Human feedback exists without a linked fix\nMotif id: unlinked_feedback_needs_evidence\nPolarity: bad\nTraining usage: negative_or_unresolved\nSeverity: medium\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#12\nGraph gold label: assumption_check\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#12\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 12\nGraph consistency label: assumption_check\nNodes: 22\nEdges: 35\nNode types: {'link_quality': 6, 'pr_file': 4, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain':"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_blueprint_gap", "name": "Foundry mined blueprint gap alignment: tsergeytovarov/ai-stats", "shortDescription": {"text": "Foundry mined blueprint gap alignment: tsergeytovarov/ai-stats"}, "fullDescription": {"text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: supported_by_verification_signal\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#6\nEvidence:\nGraph motif: Human feedback aligns with blueprint or architecture gaps\nMotif id: blueprint_gap_alignment\nPolarity: mixed\nTraining usage: curriculum_gap\nSeverity: medium\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#6\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#6\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 6\nGraph consistency label: supported_by_verification_signal\nNodes: 28\nEdges: 43\nNode types: {'link_quality': 6, 'pr_file': 5, 'commit': 5, 'alignment': 3, 'blueprint_findin"}, "properties": {"scanner": "foundry_dataset", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_assumption_check", "name": "Foundry mined assumption checks: tsergeytovarov/ai-stats", "shortDescription": {"text": "Foundry mined assumption checks: tsergeytovarov/ai-stats"}, "fullDescription": {"text": "Comment chain pattern product: assumption_checks\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#11\nOutcome: claimed_resolved_unverified\nThread label: thread_has_human_issue_and_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_weak_supervision, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: tsergeytovarov/ai-stats#11\nRepo: tsergeytovarov/ai-stats\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 1\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 6\nLabels: {'api_integration_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'ui_or_frontend': 3, 'test_or_ci': 2}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-3bc91432d9fc65bd\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"api_integration_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "medium", "confidence": 0.62, "cwe": "", "owasp": ""}}, {"id": "foundry_bad_chain", "name": "Foundry mined bad chains: tsergeytovarov/ai-stats", "shortDescription": {"text": "Foundry mined bad chains: tsergeytovarov/ai-stats"}, "fullDescription": {"text": "Comment chain pattern product: bad_chains\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nOutcome: ambiguous_needs_more_evidence\nThread label: thread_has_human_issue_and_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_high_confidence, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: tsergeytovarov/ai-stats#9\nRepo: tsergeytovarov/ai-stats\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 1\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 20\nLabels: {'mock_placeholder': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 10, 'source_or_other': 5, 'security_or_auth': 1, 'ui_or_frontend': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-bb9e8f46a6871e91\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"mock_placeholder\",\n    \"polarity\": \"bad\",\n    \"url\": \"h"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "high", "confidence": 0.84, "cwe": "", "owasp": ""}}, {"id": "foundry_auth_guardrail_gap", "name": "Foundry mined security auth guardrail gaps: tsergeytovarov/ai-stats", "shortDescription": {"text": "Foundry mined security auth guardrail gaps: tsergeytovarov/ai-stats"}, "fullDescription": {"text": "Graph query export: Security/auth changes without enough guardrails\nQuery id: security_auth_guardrail_gaps\nQuery type: motif_query\nIntent: Assumption-check security/auth examples requiring stronger tests or CI.\nMotif: security_auth_without_guardrails\nTraining usage: assumption_check\nGraph gold label: supported_by_high_confidence_link\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nEvidence:\nGraph motif: Security/auth change without enough guardrails\nMotif id: security_auth_without_guardrails\nPolarity: bad\nTraining usage: assumption_check\nSeverity: critical\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nGraph gold label: supported_by_high_confidence_link\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#9\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 9\nGraph consistency label: supported_by_high_confidence_link\nNodes: 30\nEdges: 56\nNode types: {'pr_file': 20, 'link_quality': 3, 'thread': 1, 'repo': 1, 'comment': 1, '"}, "properties": {"scanner": "foundry_dataset", "category": "auth", "severity": "critical", "confidence": 0.78, "cwe": "", "owasp": ""}}, {"id": "foundry_fake_real_gap", "name": "Foundry mined mock as real or placeholder: tsergeytovarov/ai-stats", "shortDescription": {"text": "Foundry mined mock as real or placeholder: tsergeytovarov/ai-stats"}, "fullDescription": {"text": "Graph query export: Mock, sample, placeholder, or self-attested behavior treated as real\nQuery id: mock_as_real_or_placeholder\nQuery type: motif_query\nIntent: Hard negatives for fake completeness and missing real data paths.\nMotif: mock_as_real_or_placeholder\nTraining usage: hard_negative\nGraph gold label: supported_by_high_confidence_link\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nEvidence:\nGraph motif: Mock, sample, placeholder, or self-attested behavior treated as real\nMotif id: mock_as_real_or_placeholder\nPolarity: bad\nTraining usage: hard_negative\nSeverity: critical\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nGraph gold label: supported_by_high_confidence_link\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#9\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 9\nGraph consistency label: supported_by_high_confidence_link\nNodes: 30\nEdges: 56\nNode types: {'pr_file': 20, 'link_quality': 3, 'thread': 1, 'repo'"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "critical", "confidence": 0.82, "cwe": "", "owasp": ""}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 1 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 15 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-8424db9c75e04ba4", "name": "Very short observed git history", "shortDescription": {"text": "Very short observed git history"}, "fullDescription": {"text": "The repo has multiple source files but two or fewer visible commits. This is not a failure by itself, but it lowers confidence in evolution-based diagnosis."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/21679"}, "properties": {"repository": "tsergeytovarov/ai-stats", "repoUrl": "https://github.com/tsergeytovarov/ai-stats", "branch": "main"}, "results": [{"ruleId": "foundry_unresolved_feedback", "level": "warning", "message": {"text": "Foundry mined unresolved feedback: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 371078, "scanner": "foundry_dataset", "fingerprint": "f17608808c26b323fd510ca87f005b0cb126abba92c1153477dbd742536e8076", "category": "practices", "severity": "medium", "confidence": 0.7, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Human feedback without linked fix evidence", "intent": "Negative/unresolved examples that should not be hallucinated into fixes.", "labels": {"test_or_ci": 1, "api_or_backend": 1, "docs_or_claims": 1, "ui_or_frontend": 1, "weak blueprint fit": 2, "api_integration_gap": 1, "partial blueprint fit": 1, "issue_or_pull_request_thread": 1, "not_resolved_or_not_observed": 3, "blueprint_human_gap_alignment": 3, "human_reported_issue_no_linked_fix": 1, "thread_has_human_issue_without_fix_context": 2}, "source": "graph_query_export", "motif_id": "unlinked_feedback_needs_evidence", "outcomes": {"not_resolved_or_not_observed": 6}, "polarity": "bad", "query_id": "unresolved_feedback", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 35, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 4, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 4, "thread_has_comment_chain": 1, "comment_chain_touches_file": 4, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 22, "node_types": {"repo": 1, "thread": 1, "comment": 1, "pr_file": 4, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#12", "issue_number": "12", "quality_tiers": {"unresolved": 3, "assumption_check": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "negative_or_unresolved", "source_motif_id": "graph-pattern-motif-thread-972a4c68748eda2e", "graph_gold_label": "assumption_check", "changed_file_labels": {"test_or_ci": 4, "api_or_backend": 4, "docs_or_claims": 4, "ui_or_frontend": 4}}, "text": "Graph query export: Human feedback without linked fix evidence\nQuery id: unresolved_feedback\nQuery type: motif_query\nIntent: Negative/unresolved examples that should not be hallucinated into fixes.\nMotif: unlinked_feedback_needs_evidence\nTraining usage: negative_or_unresolved\nGraph gold label: assumption_check\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#12\nEvidence:\nGraph motif: Human feedback exists without a linked fix\nMotif id: unlinked_feedback_needs_evidence\nPolarity: bad\nTraining usage: negative_or_unresolved\nSeverity: medium\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#12\nGraph gold label: assumption_check\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#12\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 12\nGraph consistency label: assumption_check\nNodes: 22\nEdges: 35\nNode types: {'link_quality': 6, 'pr_file': 4, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 6, 'thread_touches_file': 4, 'comment_chain_touches_file': 4, 'issue_chain_touches_file': 4, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'not_resolved_or_not_observed': 3, 'blueprint_human_gap_alignment': 3, 'thread_has_human_issue_without_fix_context': 2, 'weak blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'api_integration_gap': 1, 'docs_or_claims': 1, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1, 'human_reported_issue_no_linked_fix': 1, 'partial blueprint fit': 1}\nOutcomes: {'not_resolved_or_not_observed': 6}\nQuality tiers: {'unresolved': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Teach models to preserve unresolved human feedback instead of hallucinating fixes.\n- Build issue-to-regression examples where no accepted fix exists yet.\nAssumption checks:\n- Can a commit be linked by issue number, SHA, changed path, or time window?\n- If no link exists, is this explicitly labelled unresolved?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-24cbebaf99c369af", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/unresolved_feedback/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/unresolved_feedback", "training_usage": "negative_or_unresolved"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 357058, "scanner": "foundry_dataset", "fingerprint": "8c677efc24df060ecdd2eb5e3a19da297cd257f2c0eda637f04e05f3e2887cb1", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Human feedback aligned with blueprint or architecture gaps", "intent": "Curriculum-gap examples connecting issue threads to helicopter-view gaps.", "labels": {"docs_or_claims": 3, "source_or_other": 2, "ui_workflow_gap": 1, "weak blueprint fit": 2, "dependency_or_build": 1, "partial blueprint fit": 1, "verification_or_tests": 4, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 3, "thread_has_human_issue_and_fix_context": 2, "claimed_resolved_with_verification_signal": 3, "human_reported_issue_then_verified_fix_attempt": 1}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"claimed_resolved_with_verification_signal": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 43, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 5, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 5, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 5, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 28, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 5, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#6", "issue_number": "6", "quality_tiers": {"high_confidence": 3, "assumption_check": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-6b258609b1e53433", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {"docs_or_claims": 12, "source_or_other": 8}}, "text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: supported_by_verification_signal\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#6\nEvidence:\nGraph motif: Human feedback aligns with blueprint or architecture gaps\nMotif id: blueprint_gap_alignment\nPolarity: mixed\nTraining usage: curriculum_gap\nSeverity: medium\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#6\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#6\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 6\nGraph consistency label: supported_by_verification_signal\nNodes: 28\nEdges: 43\nNode types: {'link_quality': 6, 'pr_file': 5, 'commit': 5, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 6, 'thread_touches_file': 5, 'comment_chain_links_commit': 5, 'comment_chain_touches_file': 5, 'issue_chain_touches_file': 5, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'verification_or_tests': 4, 'docs_or_claims': 3, 'claimed_resolved_with_verification_signal': 3, 'blueprint_human_gap_alignment': 3, 'source_or_other': 2, 'thread_has_human_issue_and_fix_context': 2, 'weak blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'ui_workflow_gap': 1, 'human_reported_issue_then_verified_fix_attempt': 1, 'dependency_or_build': 1, 'partial blueprint fit': 1}\nOutcomes: {'claimed_resolved_with_verification_signal': 6}\nQuality tiers: {'high_confidence': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Use helicopter-view architecture/schema/design evidence beside issue threads.\n- Teach models to compare requested product class against implementation layers.\nAssumption checks:\n- Which blueprint layer is absent: frontend, API, data, auth, tests, or deployment?\n- Does human feedback confirm the same architectural gap?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-4dda002fde2d24a2", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/blueprint_gap_alignment/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 357057, "scanner": "foundry_dataset", "fingerprint": "805cef273de84bdbfde89d6f19d70916c4c7bca72bf7ff751ddd1a9b8fe09465", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Human feedback aligned with blueprint or architecture gaps", "intent": "Curriculum-gap examples connecting issue threads to helicopter-view gaps.", "labels": {"test_or_ci": 1, "api_or_backend": 1, "docs_or_claims": 1, "ui_or_frontend": 1, "weak blueprint fit": 2, "api_integration_gap": 1, "generated_provenance": 1, "partial blueprint fit": 1, "self_attested_unverified": 3, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 3, "thread_has_human_issue_and_fix_context": 2, "self_attested_or_generated_fix_unverified": 1}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"self_attested_unverified": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 36, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 4, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 4, "thread_has_comment_chain": 1, "comment_chain_links_commit": 1, "comment_chain_touches_file": 4, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 23, "node_types": {"repo": 1, "commit": 1, "thread": 1, "comment": 1, "pr_file": 4, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#13", "issue_number": "13", "quality_tiers": {"assumption_check": 3, "weak_supervision": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-86a5e6f55a3eb1f4", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 4, "api_or_backend": 4, "docs_or_claims": 4, "ui_or_frontend": 4}}, "text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: weak_supervision_needs_review\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#13\nEvidence:\nGraph motif: Human feedback aligns with blueprint or architecture gaps\nMotif id: blueprint_gap_alignment\nPolarity: mixed\nTraining usage: curriculum_gap\nSeverity: medium\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#13\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#13\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 13\nGraph consistency label: weak_supervision_needs_review\nNodes: 23\nEdges: 36\nNode types: {'link_quality': 6, 'pr_file': 4, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'commit': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 6, 'thread_touches_file': 4, 'comment_chain_touches_file': 4, 'issue_chain_touches_file': 4, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'comment_chain_links_commit': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'self_attested_unverified': 3, 'blueprint_human_gap_alignment': 3, 'thread_has_human_issue_and_fix_context': 2, 'weak blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'api_integration_gap': 1, 'docs_or_claims': 1, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1, 'self_attested_or_generated_fix_unverified': 1, 'generated_provenance': 1, 'partial blueprint fit': 1}\nOutcomes: {'self_attested_unverified': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Use helicopter-view architecture/schema/design evidence beside issue threads.\n- Teach models to compare requested product class against implementation layers.\nAssumption checks:\n- Which blueprint layer is absent: frontend, API, data, auth, tests, or deployment?\n- Does human feedback confirm the same architectural gap?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-d7ed8e889b662059", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/blueprint_gap_alignment/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 357056, "scanner": "foundry_dataset", "fingerprint": "8c8ef98369de7efcc3f6519a23cb5e072b8e174c1907a12f09ddb854075395f0", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Human feedback aligned with blueprint or architecture gaps", "intent": "Curriculum-gap examples connecting issue threads to helicopter-view gaps.", "labels": {"test_or_ci": 1, "api_or_backend": 1, "docs_or_claims": 1, "ui_or_frontend": 1, "weak blueprint fit": 2, "api_integration_gap": 1, "partial blueprint fit": 1, "issue_or_pull_request_thread": 1, "not_resolved_or_not_observed": 3, "blueprint_human_gap_alignment": 3, "human_reported_issue_no_linked_fix": 1, "thread_has_human_issue_without_fix_context": 2}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"not_resolved_or_not_observed": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 35, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 4, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 4, "thread_has_comment_chain": 1, "comment_chain_touches_file": 4, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 22, "node_types": {"repo": 1, "thread": 1, "comment": 1, "pr_file": 4, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#12", "issue_number": "12", "quality_tiers": {"unresolved": 3, "assumption_check": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-59f00b5a256432d5", "graph_gold_label": "assumption_check", "changed_file_labels": {"test_or_ci": 4, "api_or_backend": 4, "docs_or_claims": 4, "ui_or_frontend": 4}}, "text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: assumption_check\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#12\nEvidence:\nGraph motif: Human feedback aligns with blueprint or architecture gaps\nMotif id: blueprint_gap_alignment\nPolarity: mixed\nTraining usage: curriculum_gap\nSeverity: medium\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#12\nGraph gold label: assumption_check\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#12\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 12\nGraph consistency label: assumption_check\nNodes: 22\nEdges: 35\nNode types: {'link_quality': 6, 'pr_file': 4, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 6, 'thread_touches_file': 4, 'comment_chain_touches_file': 4, 'issue_chain_touches_file': 4, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'not_resolved_or_not_observed': 3, 'blueprint_human_gap_alignment': 3, 'thread_has_human_issue_without_fix_context': 2, 'weak blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'api_integration_gap': 1, 'docs_or_claims': 1, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1, 'human_reported_issue_no_linked_fix': 1, 'partial blueprint fit': 1}\nOutcomes: {'not_resolved_or_not_observed': 6}\nQuality tiers: {'unresolved': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Use helicopter-view architecture/schema/design evidence beside issue threads.\n- Teach models to compare requested product class against implementation layers.\nAssumption checks:\n- Which blueprint layer is absent: frontend, API, data, auth, tests, or deployment?\n- Does human feedback confirm the same architectural gap?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-4e7b34b54eceaffe", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/blueprint_gap_alignment/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 357055, "scanner": "foundry_dataset", "fingerprint": "928ea44b99df9ee701699107f9cf8af23abd95a10bf898c353d2236356c8fcd9", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Human feedback aligned with blueprint or architecture gaps", "intent": "Curriculum-gap examples connecting issue threads to helicopter-view gaps.", "labels": {"bug_fix": 1, "test_or_ci": 2, "docs_or_claims": 1, "ui_or_frontend": 3, "weak blueprint fit": 2, "api_integration_gap": 1, "partial blueprint fit": 1, "claimed_resolved_unverified": 3, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 3, "human_reported_issue_then_fix_attempt": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"claimed_resolved_unverified": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 42, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 6, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 6, "thread_has_comment_chain": 1, "comment_chain_links_commit": 1, "comment_chain_touches_file": 6, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 25, "node_types": {"repo": 1, "commit": 1, "thread": 1, "comment": 1, "pr_file": 6, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#11", "issue_number": "11", "quality_tiers": {"assumption_check": 3, "weak_supervision": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-917abbb7269a24fe", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 8, "docs_or_claims": 4, "ui_or_frontend": 12}}, "text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: weak_supervision_needs_review\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#11\nEvidence:\nGraph motif: Human feedback aligns with blueprint or architecture gaps\nMotif id: blueprint_gap_alignment\nPolarity: mixed\nTraining usage: curriculum_gap\nSeverity: medium\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#11\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#11\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 11\nGraph consistency label: weak_supervision_needs_review\nNodes: 25\nEdges: 42\nNode types: {'pr_file': 6, 'link_quality': 6, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'commit': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 6, 'comment_chain_touches_file': 6, 'chain_has_link_quality': 6, 'issue_chain_touches_file': 6, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'comment_chain_links_commit': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'ui_or_frontend': 3, 'claimed_resolved_unverified': 3, 'blueprint_human_gap_alignment': 3, 'test_or_ci': 2, 'thread_has_human_issue_and_fix_context': 2, 'weak blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'api_integration_gap': 1, 'docs_or_claims': 1, 'human_reported_issue_then_fix_attempt': 1, 'bug_fix': 1, 'partial blueprint fit': 1}\nOutcomes: {'claimed_resolved_unverified': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Use helicopter-view architecture/schema/design evidence beside issue threads.\n- Teach models to compare requested product class against implementation layers.\nAssumption checks:\n- Which blueprint layer is absent: frontend, API, data, auth, tests, or deployment?\n- Does human feedback confirm the same architectural gap?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-a248538659e044a2", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/blueprint_gap_alignment/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 313292, "scanner": "foundry_dataset", "fingerprint": "aec74213be09942f7c430203e941f0a6b7efa82e50e15cb06f881048a57cf258", "category": "practices", "severity": "medium", "confidence": 0.62, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "comment_chain_pattern_product", "source": "comment_chain_pattern_miner", "product": "assumption_checks", "synthetic": false, "thread_key": "tsergeytovarov/ai-stats#11", "human_labels": ["api_integration_gap", "docs_or_claims", "test_or_ci", "ui_or_frontend"], "issue_number": "11", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "claimed_resolved_unverified", "source_backed": true, "max_confidence": 0.72, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-63532e3e9fa5867e", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 6, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 2, "docs_or_claims": 1, "ui_or_frontend": 3}, "linked_commit_count": 1, "helicopter_view_count": 0, "source_artifact_count": 1, "classification_reasons": ["source_graph_has_real_artifacts", "link_quality_weak_supervision", "high_risk_human_feedback_label"], "linked_ci_commit_count": 0, "verification_artifact_count": 0, "design_schema_api_artifact_count": 0}, "text": "Comment chain pattern product: assumption_checks\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#11\nOutcome: claimed_resolved_unverified\nThread label: thread_has_human_issue_and_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_weak_supervision, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: tsergeytovarov/ai-stats#11\nRepo: tsergeytovarov/ai-stats\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 1\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 6\nLabels: {'api_integration_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'ui_or_frontend': 3, 'test_or_ci': 2}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-3bc91432d9fc65bd\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"api_integration_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/tsergeytovarov/ai-stats/pull/11\",\n    \"text\": \"GitHub feedback: api_integration_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: tsergeytovarov/ai-stats\\nAuthor: tsergeytovarov (User)\\nURL: https://github.com/tsergeytovarov/ai-stats/pull/11\\nTitle: \u0428\u0430\u0440\u0438\u043d\u0433 \u043d\u0435 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u0447\u0435\u0440\u0435\u0437 GitHub; \u0431\u043e\u0440\u0434\u0430 \u043d\u0430 403 \u2014 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\\nBody:\\n## TL;DR\\n\u0427\u0438\u043d\u0438\u043c \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0448\u0430\u0440\u0438\u043d\u0433\u0430 \u043f\u043e\u0441\u043b\u0435 \u0432\u0445\u043e\u0434\u0430 \u0447\u0435\u0440\u0435\u0437 GitHub (\u0438\u0437-\u0437\u0430 \u043d\u0435\u0433\u043e \u044e\u0437\u0435\u0440 \u0432\u0438\u0434\u0435\u043b \u0441\u0435\u0431\u044f \u0432 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u0435 \u0441 \u043d\u0443\u043b\u0451\u043c) \u0438 \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0443\u0433\u0430\u044e\u0449\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u043d\u0430 \u043d\u0430\u043c\u0435\u0440\u0435\u043d\u043d\u043e \u0441\u043a\u0440\u044b\u0442\u043e\u0439 \u0431\u043e\u0440\u0434\u0435. \u041f\u0430\u0440\u0430 \u043a \u0431\u044d\u043a\u0435\u043d\u0434-PR tsergeytovarov/ai-stats-api#1.\\n\\n## \u0427\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c\\n- `signInWithGitHub` \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u0437\u0430\u0442\u0438\u0440\u0430\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 `sharingEnabled` \u0432 `false` \u043f\u0440\u0438 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u2014 \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u043f\u0440\u0438\u0432\u0430\u0442\u0435\u043d \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e (\u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043e\u043c), \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0441\u0432\u043e\u0439 \u0432\u044b\u0431\u043e\u0440.\\n- \u0414\u0440\u043e\u043f\u0434\u0430\u0443\u043d \u043d\u0430 `403` (\u0441\u0435\u0440\u0432\u0435\u0440 \u043f\u0440\u044f\u0447\u0435\u0442 \u0431\u043e\u0440\u0434\u0443 \u0438\u0437-\u0437\u0430 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0448\u0430\u0440\u0438\u043d\u0433\u0430) \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0443 \u00ab\u0432\u043a\u043b\u044e\u0447\u0438 \u0448\u0430\u0440\u0438\u043d\u0433\u00bb \u0432\u043c\u0435\u0441\u0442\u043e \u043a\u0440\u0430\u0441\u043d\u043e\u0439 \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u043f\u0440\u044f\u0447\u0435\u0442 \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0439 \u0447\u0443\u0436\u043e\u0439 \u043a\u044d\u0448.\\n\\n## \u041a\u0430\u043a \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\\n- `xcodebuild test -scheme StatsApp` \u2014 274 \u0437\u0435\u043b\u0451\u043d\u044b\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043d\u043e\u0432\u044b\u0435: \u043b\u0438\u043d\u043a \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0448\u0430\u0440\u0438\u043d\u0433; 403 \u2192 `leaderboardSharingOff`, \u043d\u0435 \u043e\u0448\u0438\u0431\u043a\u0430.\\n\\n## \u0427\u0435\u043a-\u043b\u0438\u0441\u0442\\n- [x] \u0422\u0435\u0441\u0442\u044b \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442\\n- [x] Changelog \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d (`[Unreleased]`)\\n- [x] \u041f\u0430\u0440\u043d\u044b\u0439 \u0431\u044d\u043a\u0435\u043d\u0434-PR: previous_rank \u0438 \u043f\u0440\u0438\u0432\u0430\u0442\u043d\u043e\u0441\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e\\n\\n\ud83e\udd16 Genera\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-30a2478bc879b0b6\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 5,\n    \"deletions\": 0,\n    \"changes\": 5,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/75d6a17840988525c30e9f62eee864b0e8e3e51b/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-bb5df783bcbc244d\",\n    \"filename\": \"StatsApp/Settings/AccountTabViewModel.swift\",\n    \"label\": \"ui_or_frontend\",\n    \"status\": \"modified\",\n    \"additions\": 11,\n    \"deletions\": 2,\n    \"changes\": 13,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/75d6a17840988525c30e9f62eee864b0e8e3e51b/StatsAp\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "comment-chain-pattern-assumption_checks-453c236d8042b03b", "synthetic": false, "gold_label": "", "graph_label": "source_artifact_without_verification_graph", "source_path": "/data/distillate/foundry_data/comment_chain_patterns/assumption_checks/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 313291, "scanner": "foundry_dataset", "fingerprint": "19cce0aed76a44ddb2b56de5ceab4dcaa67525fa2121bce2c33341fc1678fb9a", "category": "practices", "severity": "medium", "confidence": 0.62, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "comment_chain_pattern_product", "source": "comment_chain_pattern_miner", "product": "assumption_checks", "synthetic": false, "thread_key": "tsergeytovarov/ai-stats#10", "human_labels": ["docs_or_claims", "human_feedback_general", "source_or_other"], "issue_number": "10", "thread_label": "thread_needs_classification", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.82, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "gold_candidate", "confidence_tier": "high_confidence", "source_chain_id": "evidence-chain-issue_chain-3b3052bcd67e47c5", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 2, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"docs_or_claims": 1, "source_or_other": 1}, "linked_commit_count": 1, "helicopter_view_count": 0, "source_artifact_count": 1, "classification_reasons": ["source_graph_has_real_artifacts", "link_quality_high_confidence"], "linked_ci_commit_count": 0, "verification_artifact_count": 0, "design_schema_api_artifact_count": 0}, "text": "Comment chain pattern product: assumption_checks\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#10\nOutcome: ambiguous_needs_more_evidence\nThread label: thread_needs_classification\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_high_confidence\nChain evidence:\nIssue/PR evidence chain: tsergeytovarov/ai-stats#10\nRepo: tsergeytovarov/ai-stats\nThread label: thread_needs_classification\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 1\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 2\nLabels: {'human_feedback_general': 1}\nPolarities: {'neutral': 1}\nChanged file labels: {'source_or_other': 1, 'docs_or_claims': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-fca707d0851fae78\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"human_feedback_general\",\n    \"polarity\": \"neutral\",\n    \"url\": \"https://github.com/tsergeytovarov/ai-stats/pull/10\",\n    \"text\": \"GitHub feedback: human_feedback_general\\nPolarity: neutral\\nKind: pull_request_body\\nRepo: tsergeytovarov/ai-stats\\nAuthor: tsergeytovarov (User)\\nURL: https://github.com/tsergeytovarov/ai-stats/pull/10\\nTitle: docs: README badges + brew install \u0441\u0432\u0435\u0440\u0445\u0443 + LICENSE\\nBody:\\n\u041a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u0430. Shields-badge'\u0438 \u0432 \u0448\u0430\u043f\u043a\u0435 (release, macOS, brew, license), `brew install` \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f (\u0433\u043b\u0430\u0432\u043d\u044b\u0439 CTA), \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 LICENSE \u0444\u0430\u0439\u043b (MIT) \u0432\u043c\u0435\u0441\u0442\u043e planned-stub'\u0430 \u0432 README.\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-75b5800ff241a418\",\n    \"filename\": \"LICENSE\",\n    \"label\": \"source_or_other\",\n    \"status\": \"added\",\n    \"additions\": 21,\n    \"deletions\": 0,\n    \"changes\": 21,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/d3a00107a34c3ca4fb7c66ba79d54d68e7f004a2/LICENSE\"\n  },\n  {\n    \"id\": \"github-pr-file-file-b43ac24b5283c3a3\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 13,\n    \"deletions\": 5,\n    \"changes\": 18,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/d3a00107a34c3ca4fb7c66ba79d54d68e7f004a2/README.md\"\n  }\n]\nLinked chain ids:\n[\"evidence-chain-comment_to_commit-39bcb5fa051a4afc\"]\nSource graph evidence:\nSource evidence repo graph summary\nRepo: tsergeytovarov/ai-stats\nGraph label: source_artifact_without_verification_graph\nNodes: 5\nEdges: 6\nNode types: {\"cooccurrence_profile\": 1, \"github_repo_summary\": 1, \"repo\": 1, \"source_artifact\": 1, \"source_bundle\": 1}\nEdge types: {\"artifact_needs_claim_verification\": 1, \"repo_has_cooccurrence_profile\": 1, \"repo_has_github_evidence_summary\": 1, \"repo_has_source_artifact\": 1, \"repo_has_source_bundle\": 1, \"source_bundle_uses_cooccurrence_profile\": 1}\nArtifact families: {\"docs\": 1}\nHelicopter views: {}\nBundle labels: {\"source_backed_security_guardrail_bundle\": 1}\nCo-occurrence labels: {\"security_guardrail_cluster\": 1}", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "comment-chain-pattern-assumption_checks-d1bbefb0a951bd53", "synthetic": false, "gold_label": "", "graph_label": "source_artifact_without_verification_graph", "source_path": "/data/distillate/foundry_data/comment_chain_patterns/assumption_checks/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "gold_candidate"}}}, {"ruleId": "foundry_bad_chain", "level": "error", "message": {"text": "Foundry mined bad chains: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 323642, "scanner": "foundry_dataset", "fingerprint": "ef0860cb27767a706898fa16779ffaf06f27850e3a67566f218e001080742486", "category": "practices", "severity": "high", "confidence": 0.84, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "comment_chain_pattern_product", "source": "comment_chain_pattern_miner", "product": "bad_chains", "synthetic": false, "thread_key": "tsergeytovarov/ai-stats#9", "human_labels": ["docs_or_claims", "mock_placeholder", "security_or_auth", "source_or_other", "ui_or_frontend"], "issue_number": "9", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.82, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "gold_candidate", "confidence_tier": "high_confidence", "source_chain_id": "evidence-chain-issue_chain-ba9e6cac066310e5", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 20, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"docs_or_claims": 10, "ui_or_frontend": 4, "source_or_other": 5, "security_or_auth": 1}, "linked_commit_count": 1, "helicopter_view_count": 0, "source_artifact_count": 1, "classification_reasons": ["source_graph_has_real_artifacts", "link_quality_high_confidence", "high_risk_human_feedback_label"], "linked_ci_commit_count": 0, "verification_artifact_count": 0, "design_schema_api_artifact_count": 0}, "text": "Comment chain pattern product: bad_chains\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nOutcome: ambiguous_needs_more_evidence\nThread label: thread_has_human_issue_and_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_high_confidence, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: tsergeytovarov/ai-stats#9\nRepo: tsergeytovarov/ai-stats\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 1\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 20\nLabels: {'mock_placeholder': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 10, 'source_or_other': 5, 'security_or_auth': 1, 'ui_or_frontend': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-bb9e8f46a6871e91\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"mock_placeholder\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/tsergeytovarov/ai-stats/pull/9\",\n    \"text\": \"GitHub feedback: mock_placeholder\\nPolarity: bad\\nKind: pull_request_body\\nRepo: tsergeytovarov/ai-stats\\nAuthor: tsergeytovarov (User)\\nURL: https://github.com/tsergeytovarov/ai-stats/pull/9\\nTitle: v0.4.2 prep: seed demo data + period fix + widget fonts\\nBody:\\n## \u0427\u0442\u043e \u0432\u043d\u0443\u0442\u0440\u0438 (4 \u043a\u043e\u043c\u043c\u0438\u0442\u0430)\\n\\n**1. \\\\`scripts/seed-demo-leaderboard.py\\\\`** (\u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u0446\u0435\u043b\u044c PR'\u0430)\\n\u041f\u043e\u0434\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442 \\\\`previous_rank\\\\` \u0418 \\\\`tokens_total\\\\` \u0432 \\\\`leaderboard_cache\\\\` \u0432\u0441\u0435\u0445 4 periods. \u0414\u043b\u044f \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u043e\u0432 \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u0430 \u2014 \u0441\u0442\u0440\u0435\u043b\u043a\u0438 \u25b2/\u25bc/NEW + \u0440\u0435\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0435 \u0442\u043e\u043a\u0435\u043d\u044b \u0443 fake-\u0434\u0440\u0443\u0437\u0435\u0439.\\n\\n**2. fix(popover): sync reload** ([26e17ec](../commit/26e17ec))\\n\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0414/\u041d/\u041c \u0432 floating island \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u043b\u043e \u0446\u0438\u0444\u0440\u044b \u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u0435 \u2014 \u043c\u0435\u043d\u044f\u043b\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e Crumb (\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a). \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0431\u044b\u043b\u0430 \u0432 \\\\`Task { await reload() }\\\\` \u2014 async-\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 @Published \u0442\u0435\u0440\u044f\u043b\u043e\u0441\u044c \u0432 NSPopover'\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e re-render'\u0430. \u0421\u0434\u0435\u043b\u0430\u043b \\\\`reloadSync()\\\\` \u2014 \u0411\u0414 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f, sync read \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u043d\u044b\u0439, \u0432\u0441\u0451 \u0432 \u043e\u0434\u043d\u043e\u043c MainActor tick'\u0435.\\n\\n**3. fix(widget): \u043c\u0435\u043d\u044c\u0448\u0438\u0435 \u0448\u0440\u0438\u0444\u0442\u044b + minimumScaleFactor** ([ccc4beb](../commit/ccc4beb))\\nHeroNumber \u0432 \u0432\u0438\u0434\u0436\u0435\u0442\u0430\u0445 \u043e\u0431\u0440\u0435\u0437\u0430\u043b\u0441\u044f (\\\"\\\\$1..\\\" / \\\"\\\\$1 0..\\\") \u0438\u0437-\u0437\u0430 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043a\u0440\u0443\u043f\u043d\u043e\u0433\u043e \u0448\u0440\u0438\u0444\u0442\u0430 (38-46pt) \u0432 \u0443\u0437\u043a\u043e\u043c widget container'\u0435. \u0417\u0430\u0432\u0451\u043b widget-specific tokens (22/26/32pt) + \u0441\u0442\u0440\u0430\u0445\u043e\u0432\u043a\u0443 \\\\`minimumScaleFactor(0.5)\\\\` \"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-0deea8bd5da24805\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 6,\n    \"deletions\": 0,\n    \"changes\": 6,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/a0048cc460db2d18ae141b72b243b2e9b6d1c8e6/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-c77800e1c58e334b\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 20,\n    \"deletions\": 0,\n    \"changes\": 20,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/a0048cc460db2d18ae141b72b243b2e9b6d1c8e6/README.md\"\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "comment-chain-pattern-bad_chains-32c253204915ecbe", "synthetic": false, "gold_label": "", "graph_label": "source_artifact_without_verification_graph", "source_path": "/data/distillate/foundry_data/comment_chain_patterns/bad_chains/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "comment_chain_patterns/bad_chains", "training_usage": "gold_candidate"}}}, {"ruleId": "foundry_bad_chain", "level": "error", "message": {"text": "Foundry mined bad chains: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 323641, "scanner": "foundry_dataset", "fingerprint": "e746ec53fde9ff54070e76438dd714e846a62f4e182fa9e45f9e2fa662810821", "category": "practices", "severity": "high", "confidence": 0.84, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "comment_chain_pattern_product", "source": "comment_chain_pattern_miner", "product": "bad_chains", "synthetic": false, "thread_key": "tsergeytovarov/ai-stats#13", "human_labels": ["api_integration_gap", "api_or_backend", "docs_or_claims", "test_or_ci", "ui_or_frontend"], "issue_number": "13", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "self_attested_unverified", "source_backed": true, "max_confidence": 0.742, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-b7334b2be65fa90b", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 4, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 1, "api_or_backend": 1, "docs_or_claims": 1, "ui_or_frontend": 1}, "linked_commit_count": 1, "helicopter_view_count": 0, "source_artifact_count": 1, "classification_reasons": ["source_graph_has_real_artifacts", "link_quality_weak_supervision", "high_risk_human_feedback_label"], "linked_ci_commit_count": 0, "verification_artifact_count": 0, "design_schema_api_artifact_count": 0}, "text": "Comment chain pattern product: bad_chains\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#13\nOutcome: self_attested_unverified\nThread label: thread_has_human_issue_and_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_weak_supervision, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: tsergeytovarov/ai-stats#13\nRepo: tsergeytovarov/ai-stats\nThread label: thread_has_human_issue_and_fix_context\nOutcome: self_attested_unverified\nComment count: 1\nLinked commit count: 1\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 4\nLabels: {'api_integration_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-dd3482f9f892ec43\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"api_integration_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/tsergeytovarov/ai-stats/pull/13\",\n    \"text\": \"GitHub feedback: api_integration_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: tsergeytovarov/ai-stats\\nAuthor: tsergeytovarov (User)\\nURL: https://github.com/tsergeytovarov/ai-stats/pull/13\\nTitle: \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0448\u0430\u0440\u0438\u043d\u0433\u0430 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 (GET /profiles/me)\\nBody:\\n## TL;DR\\n\u041f\u043e\u0441\u043b\u0435 \u0432\u0445\u043e\u0434\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u0447\u0438\u0442\u0430\u0435\u0442 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0435 `sharing_enabled` \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (`GET /profiles/me`), \u0430 \u043d\u0435 \u0443\u0433\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0448\u0430\u0440\u0438\u043d\u0433\u0430, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043c\u0435\u0436\u0434\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438.\\n\\n(\u041f\u0435\u0440\u0435\u0441\u043e\u0437\u0434\u0430\u043d \u0432\u043c\u0435\u0441\u0442\u043e #12 \u2014 \u043e\u043d \u0437\u0430\u043a\u0440\u044b\u043b\u0441\u044f \u043f\u0440\u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0438 \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0432\u0435\u0442\u043a\u0438 #11. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0444\u0438\u043a\u0441 #11 \u0438 \u0431\u044d\u043a\u0435\u043d\u0434-\u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442 tsergeytovarov/ai-stats-api#2 \u0443\u0436\u0435 \u0432 main.)\\n\\n## \u0427\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c\\n- `AiuseAPIClient.getMyProfile()` \u2014 `GET /profiles/me`.\\n- `signInWithGitHub` \u0431\u0435\u0440\u0451\u0442 `sharingEnabled` \u0438\u0437 \u043e\u0442\u0432\u0435\u0442\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430; \u0444\u043e\u043b\u0431\u044d\u043a \u043d\u0430 \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0443 (\u043d\u043e\u0432\u044b\u0439 \u2192 \u043f\u0440\u0438\u0432\u0430\u0442\u0435\u043d, \u043b\u0438\u043d\u043a \u2192 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u044b\u0431\u043e\u0440) \u043f\u0440\u0438 \u043e\u0444\u043b\u0430\u0439\u043d\u0435.\\n\\n## \u041a\u0430\u043a \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\\n- `xcodebuild test -scheme StatsApp` \u2014 275 \u0437\u0435\u043b\u0451\u043d\u044b\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043d\u043e\u0432\u044b\u0439: \u0432\u0445\u043e\u0434 \u0447\u0438\u0442\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0439 `sharing_enabled`.\\n\\n\ud83e\udd16 Generated with [Claude Code](https://claude.com/claude-code)\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-53d28e0d0d9ade4c\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 4,\n    \"deletions\": 0,\n    \"changes\": 4,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/17643df2ab5e7867fdc3dabc92a58f24cf1ecf6e/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-f1b9cd9666738dc5\",\n    \"filename\": \"StatsApp/Network/AiuseAPIClient.swift\",\n    \"label\": \"api_or_backend\",\n    \"status\": \"modified\",\n    \"additions\": 11,\n    \"deletions\": 0,\n    \"changes\": 11,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/17643df2ab5e7867fdc3dabc92a58f24cf1ecf6e/StatsApp%2FNetwork%2FAiuseAPIClient.swift\"\n  },\n  {\n    \"id\": \"github-pr-file-file-5e51821d7f76ef22\",\n    \"filename\": \"StatsApp/Settings/AccountTabViewModel.swift\",\n    \"label\": \"ui_or_frontend\",\n    \"status\":\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "comment-chain-pattern-bad_chains-69cc74416d6da8b7", "synthetic": false, "gold_label": "", "graph_label": "source_artifact_without_verification_graph", "source_path": "/data/distillate/foundry_data/comment_chain_patterns/bad_chains/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "comment_chain_patterns/bad_chains", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_bad_chain", "level": "error", "message": {"text": "Foundry mined bad chains: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 323640, "scanner": "foundry_dataset", "fingerprint": "44b54c68834b1492870f1003d11ac1099afeb045a23e9b8e208a2fcc1bfd9e7b", "category": "practices", "severity": "high", "confidence": 0.84, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "comment_chain_pattern_product", "source": "comment_chain_pattern_miner", "product": "bad_chains", "synthetic": false, "thread_key": "tsergeytovarov/ai-stats#12", "human_labels": ["api_integration_gap", "api_or_backend", "docs_or_claims", "test_or_ci", "ui_or_frontend"], "issue_number": "12", "thread_label": "thread_has_human_issue_without_fix_context", "outcome_label": "not_resolved_or_not_observed", "source_backed": true, "max_confidence": 0.0, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "negative_or_unresolved", "confidence_tier": "unresolved", "source_chain_id": "evidence-chain-issue_chain-43618da1990801da", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 4, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 1, "api_or_backend": 1, "docs_or_claims": 1, "ui_or_frontend": 1}, "linked_commit_count": 0, "helicopter_view_count": 0, "source_artifact_count": 1, "classification_reasons": ["source_graph_has_real_artifacts", "link_quality_unresolved", "high_risk_human_feedback_label"], "linked_ci_commit_count": 0, "verification_artifact_count": 0, "design_schema_api_artifact_count": 0}, "text": "Comment chain pattern product: bad_chains\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#12\nOutcome: not_resolved_or_not_observed\nThread label: thread_has_human_issue_without_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_unresolved, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: tsergeytovarov/ai-stats#12\nRepo: tsergeytovarov/ai-stats\nThread label: thread_has_human_issue_without_fix_context\nOutcome: not_resolved_or_not_observed\nComment count: 1\nLinked commit count: 0\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 4\nLabels: {'api_integration_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-9b8f3834c4fb7ed4\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"api_integration_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/tsergeytovarov/ai-stats/pull/12\",\n    \"text\": \"GitHub feedback: api_integration_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: tsergeytovarov/ai-stats\\nAuthor: tsergeytovarov (User)\\nURL: https://github.com/tsergeytovarov/ai-stats/pull/12\\nTitle: \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0448\u0430\u0440\u0438\u043d\u0433\u0430 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 (GET /profiles/me)\\nBody:\\n## TL;DR\\n\u041f\u043e\u0441\u043b\u0435 \u0432\u0445\u043e\u0434\u0430 \u043a\u043b\u0438\u0435\u043d\u0442 \u0447\u0438\u0442\u0430\u0435\u0442 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0435 `sharing_enabled` \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 (`GET /profiles/me`), \u0430 \u043d\u0435 \u0443\u0433\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0440\u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d \u0448\u0430\u0440\u0438\u043d\u0433\u0430, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u043c\u0435\u0436\u0434\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438.\\n\\n> \u0421\u0442\u0435\u043a \u043d\u0430 #11 (\u0431\u0430\u0437\u0430 \u2014 `fix/sharing-desync-and-403`). \u0422\u0440\u0435\u0431\u0443\u0435\u0442 \u0431\u044d\u043a\u0435\u043d\u0434-\u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442 tsergeytovarov/ai-stats-api#2. \u041c\u0451\u0440\u0436\u0438\u0442\u044c \u043f\u043e\u0441\u043b\u0435 #11.\\n\\n## \u0427\u0442\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c\\n- `AiuseAPIClient.getMyProfile()` \u2014 `GET /profiles/me`.\\n- `signInWithGitHub` \u0431\u0435\u0440\u0451\u0442 `sharingEnabled` \u0438\u0437 \u043e\u0442\u0432\u0435\u0442\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430; \u0444\u043e\u043b\u0431\u044d\u043a \u043d\u0430 \u043f\u0440\u0435\u0436\u043d\u044e\u044e \u044d\u0432\u0440\u0438\u0441\u0442\u0438\u043a\u0443 (\u043d\u043e\u0432\u044b\u0439 \u2192 \u043f\u0440\u0438\u0432\u0430\u0442\u0435\u043d, \u043b\u0438\u043d\u043a \u2192 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442 \u0432\u044b\u0431\u043e\u0440), \u0435\u0441\u043b\u0438 \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0435 \u043f\u0440\u043e\u0448\u0451\u043b (\u043e\u0444\u043b\u0430\u0439\u043d).\\n\\n## \u041a\u0430\u043a \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\\n- `xcodebuild test -scheme StatsApp` \u2014 275 \u0437\u0435\u043b\u0451\u043d\u044b\u0445, \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043d\u043e\u0432\u044b\u0439: \u0432\u0445\u043e\u0434 \u0447\u0438\u0442\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0439 `sharing_enabled` (\u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043a\u0430\u0437\u0430\u043b true \u2192 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e true, \u0430 \u043d\u0435 \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 false). \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0432\u0445\u043e\u0434 \u043f\u0440\u0438 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u0430\u0434\u0430\u0435\u0442 \u0432 \u0444\u043e\u043b\u0431\u044d\u043a (\u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f false).\\n\\n## \u0427\u0435\u043a-\u043b\u0438\u0441\u0442\\n- [x] \u0422\u0435\u0441\u0442\u044b \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0442\\n- [x] Changelog \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d (`[Unreleased]`)\\n- [x] \u041f\u0430\u0440\u043d\u044b\u0439 \u0431\u044d\u043a\u0435\u043d\u0434-PR \u0441 \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u043e\u043c\\n\\n\ud83e\udd16 Genera\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-363df7e6b935092a\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 4,\n    \"deletions\": 0,\n    \"changes\": 4,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/17643df2ab5e7867fdc3dabc92a58f24cf1ecf6e/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-1ce6cf9a40fb58c0\",\n    \"filename\": \"StatsApp/Network/AiuseAPIClient.swift\",\n    \"label\": \"api_or_backend\",\n    \"status\": \"modified\",\n    \"additions\": 11,\n    \"deletions\": 0,\n    \"changes\": 11,\n    \"blob_url\": \"https://github.com/tsergeytovarov/ai-stats/blob/17643df2ab5e7867fdc3dabc92a58f24cf\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "comment-chain-pattern-bad_chains-9388751a3cef3a40", "synthetic": false, "gold_label": "", "graph_label": "source_artifact_without_verification_graph", "source_path": "/data/distillate/foundry_data/comment_chain_patterns/bad_chains/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "comment_chain_patterns/bad_chains", "training_usage": "negative_or_unresolved"}}}, {"ruleId": "foundry_auth_guardrail_gap", "level": "error", "message": {"text": "Foundry mined security auth guardrail gaps: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 335180, "scanner": "foundry_dataset", "fingerprint": "ba644454f038185089a99586a79a99f4ffeb545d212444116709fb2b9b3c9515", "category": "auth", "severity": "critical", "confidence": 0.78, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Security/auth changes without enough guardrails", "intent": "Assumption-check security/auth examples requiring stronger tests or CI.", "labels": {"docs_or_claims": 10, "ui_or_frontend": 4, "source_or_other": 5, "mock_placeholder": 1, "security_or_auth": 1, "verification_or_tests": 1, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "comment_has_related_commit_context": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "security_auth_without_guardrails", "outcomes": {"ambiguous_needs_more_evidence": 6}, "polarity": "bad", "query_id": "security_auth_guardrail_gaps", "severity": "critical", "ci_labels": {}, "synthetic": false, "edge_count": 56, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 20, "chain_has_link_quality": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 12, "thread_has_comment_chain": 1, "comment_chain_links_commit": 1, "comment_chain_touches_file": 12, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 30, "node_types": {"repo": 1, "commit": 1, "thread": 1, "comment": 1, "pr_file": 20, "fix_outcome": 1, "issue_chain": 1, "link_quality": 3, "comment_chain": 1}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#9", "issue_number": "9", "quality_tiers": {"high_confidence": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "assumption_check", "source_motif_id": "graph-pattern-motif-thread-b81d92015824ce73", "graph_gold_label": "supported_by_high_confidence_link", "changed_file_labels": {"docs_or_claims": 40, "ui_or_frontend": 16, "source_or_other": 20, "security_or_auth": 4}}, "text": "Graph query export: Security/auth changes without enough guardrails\nQuery id: security_auth_guardrail_gaps\nQuery type: motif_query\nIntent: Assumption-check security/auth examples requiring stronger tests or CI.\nMotif: security_auth_without_guardrails\nTraining usage: assumption_check\nGraph gold label: supported_by_high_confidence_link\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nEvidence:\nGraph motif: Security/auth change without enough guardrails\nMotif id: security_auth_without_guardrails\nPolarity: bad\nTraining usage: assumption_check\nSeverity: critical\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nGraph gold label: supported_by_high_confidence_link\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#9\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 9\nGraph consistency label: supported_by_high_confidence_link\nNodes: 30\nEdges: 56\nNode types: {'pr_file': 20, 'link_quality': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'commit': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 20, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'chain_has_link_quality': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'comment_chain_links_commit': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'docs_or_claims': 10, 'source_or_other': 5, 'ui_or_frontend': 4, 'ambiguous_needs_more_evidence': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'mock_placeholder': 1, 'security_or_auth': 1, 'comment_has_related_commit_context': 1, 'verification_or_tests': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 6}\nQuality tiers: {'high_confidence': 3}\nCI labels: {}\nCurriculum targets:\n- Train auth boundary repair with tests, permission matrices, and secret-handling checks.\n- Keep risky auth changes separate from ordinary bug-fix examples.\nAssumption checks:\n- Are auth/permission paths covered by tests?\n- Are secrets, CORS, or access rules verified rather than summarized?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-d280478674cb2a11", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/security_auth_guardrail_gaps/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/security_auth_guardrail_gaps", "training_usage": "assumption_check"}}}, {"ruleId": "foundry_fake_real_gap", "level": "error", "message": {"text": "Foundry mined mock as real or placeholder: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 327334, "scanner": "foundry_dataset", "fingerprint": "405c87c1f3c4d5cf3b7983db8019fadc5e2f03c2c23c132076a037fe30da52c4", "category": "practices", "severity": "critical", "confidence": 0.82, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Mock, sample, placeholder, or self-attested behavior treated as real", "intent": "Hard negatives for fake completeness and missing real data paths.", "labels": {"docs_or_claims": 10, "ui_or_frontend": 4, "source_or_other": 5, "mock_placeholder": 1, "security_or_auth": 1, "verification_or_tests": 1, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "comment_has_related_commit_context": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "mock_as_real_or_placeholder", "outcomes": {"ambiguous_needs_more_evidence": 6}, "polarity": "bad", "query_id": "mock_as_real_or_placeholder", "severity": "critical", "ci_labels": {}, "synthetic": false, "edge_count": 56, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 20, "chain_has_link_quality": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 12, "thread_has_comment_chain": 1, "comment_chain_links_commit": 1, "comment_chain_touches_file": 12, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 30, "node_types": {"repo": 1, "commit": 1, "thread": 1, "comment": 1, "pr_file": 20, "fix_outcome": 1, "issue_chain": 1, "link_quality": 3, "comment_chain": 1}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#9", "issue_number": "9", "quality_tiers": {"high_confidence": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "hard_negative", "source_motif_id": "graph-pattern-motif-thread-898a241f058b2165", "graph_gold_label": "supported_by_high_confidence_link", "changed_file_labels": {"docs_or_claims": 40, "ui_or_frontend": 16, "source_or_other": 20, "security_or_auth": 4}}, "text": "Graph query export: Mock, sample, placeholder, or self-attested behavior treated as real\nQuery id: mock_as_real_or_placeholder\nQuery type: motif_query\nIntent: Hard negatives for fake completeness and missing real data paths.\nMotif: mock_as_real_or_placeholder\nTraining usage: hard_negative\nGraph gold label: supported_by_high_confidence_link\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nEvidence:\nGraph motif: Mock, sample, placeholder, or self-attested behavior treated as real\nMotif id: mock_as_real_or_placeholder\nPolarity: bad\nTraining usage: hard_negative\nSeverity: critical\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#9\nGraph gold label: supported_by_high_confidence_link\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#9\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 9\nGraph consistency label: supported_by_high_confidence_link\nNodes: 30\nEdges: 56\nNode types: {'pr_file': 20, 'link_quality': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'commit': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 20, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'chain_has_link_quality': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'comment_chain_links_commit': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'docs_or_claims': 10, 'source_or_other': 5, 'ui_or_frontend': 4, 'ambiguous_needs_more_evidence': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'mock_placeholder': 1, 'security_or_auth': 1, 'comment_has_related_commit_context': 1, 'verification_or_tests': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 6}\nQuality tiers: {'high_confidence': 3}\nCI labels: {}\nCurriculum targets:\n- Train real-data plumbing and mock-removal tasks from source to UI.\n- Use as hard negatives for dashboards or apps claiming real runs without provenance.\nAssumption checks:\n- Is user-visible behavior backed by real storage/API/CI artifacts?\n- Are placeholders, sample data, or generated claims still in a production path?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-e7e26619b15c0246", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/mock_as_real_or_placeholder/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/mock_as_real_or_placeholder", "training_usage": "hard_negative"}}}, {"ruleId": "foundry_fake_real_gap", "level": "error", "message": {"text": "Foundry mined mock as real or placeholder: tsergeytovarov/ai-stats"}, "properties": {"repobilityId": 327333, "scanner": "foundry_dataset", "fingerprint": "ec9b51b056d42b76c853802d28a4f1b45e3f624de055e1a4522e039b70140a47", "category": "practices", "severity": "critical", "confidence": 0.82, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Mock, sample, placeholder, or self-attested behavior treated as real", "intent": "Hard negatives for fake completeness and missing real data paths.", "labels": {"test_or_ci": 1, "api_or_backend": 1, "docs_or_claims": 1, "ui_or_frontend": 1, "weak blueprint fit": 2, "api_integration_gap": 1, "generated_provenance": 1, "partial blueprint fit": 1, "self_attested_unverified": 3, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 3, "thread_has_human_issue_and_fix_context": 2, "self_attested_or_generated_fix_unverified": 1}, "source": "graph_query_export", "motif_id": "mock_as_real_or_placeholder", "outcomes": {"self_attested_unverified": 6}, "polarity": "bad", "query_id": "mock_as_real_or_placeholder", "severity": "critical", "ci_labels": {}, "synthetic": false, "edge_count": 36, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 4, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 4, "thread_has_comment_chain": 1, "comment_chain_links_commit": 1, "comment_chain_touches_file": 4, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 23, "node_types": {"repo": 1, "commit": 1, "thread": 1, "comment": 1, "pr_file": 4, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "tsergeytovarov/ai-stats#13", "issue_number": "13", "quality_tiers": {"assumption_check": 3, "weak_supervision": 3}, "repo_full_name": "tsergeytovarov/ai-stats", "training_usage": "hard_negative", "source_motif_id": "graph-pattern-motif-thread-6f88d7e922a11c9a", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 4, "api_or_backend": 4, "docs_or_claims": 4, "ui_or_frontend": 4}}, "text": "Graph query export: Mock, sample, placeholder, or self-attested behavior treated as real\nQuery id: mock_as_real_or_placeholder\nQuery type: motif_query\nIntent: Hard negatives for fake completeness and missing real data paths.\nMotif: mock_as_real_or_placeholder\nTraining usage: hard_negative\nGraph gold label: weak_supervision_needs_review\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#13\nEvidence:\nGraph motif: Mock, sample, placeholder, or self-attested behavior treated as real\nMotif id: mock_as_real_or_placeholder\nPolarity: bad\nTraining usage: hard_negative\nSeverity: critical\nRepo: tsergeytovarov/ai-stats\nThread: tsergeytovarov/ai-stats#13\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: tsergeytovarov/ai-stats#13\nRepo: tsergeytovarov/ai-stats\nIssue/PR number: 13\nGraph consistency label: weak_supervision_needs_review\nNodes: 23\nEdges: 36\nNode types: {'link_quality': 6, 'pr_file': 4, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'commit': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 6, 'thread_touches_file': 4, 'comment_chain_touches_file': 4, 'issue_chain_touches_file': 4, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'comment_chain_links_commit': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'self_attested_unverified': 3, 'blueprint_human_gap_alignment': 3, 'thread_has_human_issue_and_fix_context': 2, 'weak blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'api_integration_gap': 1, 'docs_or_claims': 1, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1, 'self_attested_or_generated_fix_unverified': 1, 'generated_provenance': 1, 'partial blueprint fit': 1}\nOutcomes: {'self_attested_unverified': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Train real-data plumbing and mock-removal tasks from source to UI.\n- Use as hard negatives for dashboards or apps claiming real runs without provenance.\nAssumption checks:\n- Is user-visible behavior backed by real storage/API/CI artifacts?\n- Are placeholders, sample data, or generated claims still in a production path?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/tsergeytovarov/ai-stats", "source_id": "graph-query-motif_query-f058fab1ad7efd06", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/mock_as_real_or_placeholder/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "tsergeytovarov/ai-stats", "source_dataset": "graph_queries/mock_as_real_or_placeholder", "training_usage": "hard_negative"}}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "629a2103a6b2b660", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "49951c5e7005f497", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "3b6ca6013f5f9fa8", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8424db9c75e04ba4", "level": "none", "message": {"text": "Very short observed git history"}, "properties": {"repobilityId": "b4bd69ee84f0ff03", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}]}]}