{"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_blueprint_gap", "name": "Foundry mined blueprint gap alignment: three-cubes/fitness-engine", "shortDescription": {"text": "Foundry mined blueprint gap alignment: three-cubes/fitness-engine"}, "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: weak_supervision_needs_review\nRepo: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#4\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: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#4\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: three-cubes/fitness-engine#4\nRepo: three-cubes/fitness-engine\nIssue/PR number: 4\nGraph consistency label: weak_supervision_needs_review\nNodes: 25\nEdges: 42\nNode types: {'pr_file': 7, 'commit': 5, 'link_quality': 4, 'thread': 1, 'repo': 1, "}, "properties": {"scanner": "foundry_dataset", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_assumption_check", "name": "Foundry mined assumption checks: three-cubes/fitness-engine", "shortDescription": {"text": "Foundry mined assumption checks: three-cubes/fitness-engine"}, "fullDescription": {"text": "Comment chain pattern product: assumption_checks\nRepo: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#4\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_weak_supervision\nChain evidence:\nIssue/PR evidence chain: three-cubes/fitness-engine#4\nRepo: three-cubes/fitness-engine\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 1\nLinked CI labels: {'ci_pending_or_incomplete': 1}\nChanged file count: 7\nLabels: {'ui_workflow_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'source_or_other': 2, 'ui_or_frontend': 2, 'test_or_ci': 2}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-4f1149261e1fe729\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"ui_workflow_gap\",\n    \"polarity\": \"bad\",\n    \"u"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "medium", "confidence": 0.62, "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-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "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-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "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 59 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-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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: license, ci. 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}}, {"id": "scanner-da24d0e7e79664dc", "name": "Commented-code block (5 lines) in tests/test_runner.py:611", "shortDescription": {"text": "Commented-code block (5 lines) in tests/test_runner.py:611"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-7e7d5b949d47d7dc", "name": "Commented-code block (5 lines) in tests/test_staged.py:342", "shortDescription": {"text": "Commented-code block (5 lines) in tests/test_staged.py:342"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-8460bdaaa7f3cc6f", "name": "Commented-code block (5 lines) in src/tc_fitness/__init__.py:91", "shortDescription": {"text": "Commented-code block (5 lines) in src/tc_fitness/__init__.py:91"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-09fe1e3e8dec5c1e", "name": "Commented-code block (5 lines) in src/tc_fitness/catalogue.py:36", "shortDescription": {"text": "Commented-code block (5 lines) in src/tc_fitness/catalogue.py:36"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-ccafd323701795fc", "name": "Commented-code block (5 lines) in src/tc_fitness/runner.py:141", "shortDescription": {"text": "Commented-code block (5 lines) in src/tc_fitness/runner.py:141"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-5f83d0860ce2e962", "name": "Commented-code block (7 lines) in src/tc_fitness/staged.py:181", "shortDescription": {"text": "Commented-code block (7 lines) in src/tc_fitness/staged.py:181"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/21231"}, "properties": {"repository": "three-cubes/fitness-engine", "repoUrl": "https://github.com/three-cubes/fitness-engine", "branch": "main"}, "results": [{"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: three-cubes/fitness-engine"}, "properties": {"repobilityId": 356681, "scanner": "foundry_dataset", "fingerprint": "6c3f819100a8d3096932c65e6cd68621928218fd3ccee9c72059fb409a07e678", "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": 2, "commit_general": 1, "docs_or_claims": 1, "ui_or_frontend": 2, "source_or_other": 2, "ui_workflow_gap": 1, "weak blueprint fit": 1, "verification_or_tests": 4, "ci_pending_or_incomplete": 1, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "blueprint_human_gap_alignment": 1, "comment_has_related_commit_context": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"ambiguous_needs_more_evidence": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {"ci_pending_or_incomplete": 2}, "synthetic": false, "edge_count": 42, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 7, "comment_chain_has_ci": 1, "alignment_uses_comment": 1, "alignment_uses_finding": 1, "chain_has_link_quality": 4, "comment_aligns_finding": 1, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 7, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 7, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 25, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 7, "alignment": 1, "ci_summary": 1, "fix_outcome": 1, "issue_chain": 1, "link_quality": 4, "comment_chain": 1, "blueprint_finding": 1}, "query_type": "motif_query", "thread_key": "three-cubes/fitness-engine#4", "issue_number": "4", "quality_tiers": {"assumption_check": 1, "weak_supervision": 3}, "repo_full_name": "three-cubes/fitness-engine", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-404d04c6a2e7e7b8", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 8, "docs_or_claims": 4, "ui_or_frontend": 8, "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: weak_supervision_needs_review\nRepo: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#4\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: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#4\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: three-cubes/fitness-engine#4\nRepo: three-cubes/fitness-engine\nIssue/PR number: 4\nGraph consistency label: weak_supervision_needs_review\nNodes: 25\nEdges: 42\nNode types: {'pr_file': 7, 'commit': 5, 'link_quality': 4, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'ci_summary': 1, 'issue_chain': 1, 'fix_outcome': 1, 'alignment': 1, 'blueprint_finding': 1}\nEdge types: {'thread_touches_file': 7, 'comment_chain_touches_file': 7, 'issue_chain_touches_file': 7, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 4, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'comment_chain_has_ci': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1, 'alignment_uses_comment': 1, 'alignment_uses_finding': 1}\nLabels: {'verification_or_tests': 4, 'ambiguous_needs_more_evidence': 3, 'source_or_other': 2, 'ui_or_frontend': 2, 'test_or_ci': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'ui_workflow_gap': 1, 'docs_or_claims': 1, 'comment_has_related_commit_context': 1, 'commit_general': 1, 'ci_pending_or_incomplete': 1, 'blueprint_human_gap_alignment': 1, 'weak blueprint fit': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 1}\nCI labels: {'ci_pending_or_incomplete': 2}\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/three-cubes/fitness-engine", "source_id": "graph-query-motif_query-0e1b262d0eade0a9", "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": "three-cubes/fitness-engine", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: three-cubes/fitness-engine"}, "properties": {"repobilityId": 356680, "scanner": "foundry_dataset", "fingerprint": "185599774dc05ac053545a0bb76675844d8a58251725ccec7d3cf4f88f94b79e", "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": 6, "commit_general": 1, "docs_or_claims": 1, "ui_or_frontend": 7, "source_or_other": 2, "weak blueprint fit": 1, "api_integration_gap": 1, "verification_or_tests": 4, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "blueprint_human_gap_alignment": 1, "comment_has_related_commit_context": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"ambiguous_needs_more_evidence": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 60, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 16, "alignment_uses_comment": 1, "alignment_uses_finding": 1, "chain_has_link_quality": 4, "comment_aligns_finding": 1, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 12, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 12, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 33, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 16, "alignment": 1, "fix_outcome": 1, "issue_chain": 1, "link_quality": 4, "comment_chain": 1, "blueprint_finding": 1}, "query_type": "motif_query", "thread_key": "three-cubes/fitness-engine#3", "issue_number": "3", "quality_tiers": {"high_confidence": 3, "assumption_check": 1}, "repo_full_name": "three-cubes/fitness-engine", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-4e24757aa49ad0a1", "graph_gold_label": "supported_by_high_confidence_link", "changed_file_labels": {"test_or_ci": 24, "docs_or_claims": 4, "ui_or_frontend": 28, "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_high_confidence_link\nRepo: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#3\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: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#3\nGraph gold label: supported_by_high_confidence_link\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: three-cubes/fitness-engine#3\nRepo: three-cubes/fitness-engine\nIssue/PR number: 3\nGraph consistency label: supported_by_high_confidence_link\nNodes: 33\nEdges: 60\nNode types: {'pr_file': 16, 'commit': 5, 'link_quality': 4, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1, 'alignment': 1, 'blueprint_finding': 1}\nEdge types: {'thread_touches_file': 16, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 4, '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, 'alignment_uses_comment': 1, 'alignment_uses_finding': 1, 'comment_aligns_finding': 1}\nLabels: {'ui_or_frontend': 7, 'test_or_ci': 6, 'verification_or_tests': 4, 'ambiguous_needs_more_evidence': 3, 'source_or_other': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'api_integration_gap': 1, 'docs_or_claims': 1, 'comment_has_related_commit_context': 1, 'commit_general': 1, 'blueprint_human_gap_alignment': 1, 'weak blueprint fit': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 6}\nQuality tiers: {'high_confidence': 3, 'assumption_check': 1}\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/three-cubes/fitness-engine", "source_id": "graph-query-motif_query-4e41de1d71d5e9e7", "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": "three-cubes/fitness-engine", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: three-cubes/fitness-engine"}, "properties": {"repobilityId": 356679, "scanner": "foundry_dataset", "fingerprint": "67824f506ff1b0ad4385ef94ca919a60d902274ad658426cc963320a9fb17cd0", "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": 2, "commit_general": 1, "docs_or_claims": 1, "ui_or_frontend": 3, "source_or_other": 1, "ui_workflow_gap": 1, "weak blueprint fit": 1, "verification_or_tests": 4, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "blueprint_human_gap_alignment": 1, "comment_has_related_commit_context": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"ambiguous_needs_more_evidence": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 41, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 7, "alignment_uses_comment": 1, "alignment_uses_finding": 1, "chain_has_link_quality": 4, "comment_aligns_finding": 1, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 7, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 7, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 24, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 7, "alignment": 1, "fix_outcome": 1, "issue_chain": 1, "link_quality": 4, "comment_chain": 1, "blueprint_finding": 1}, "query_type": "motif_query", "thread_key": "three-cubes/fitness-engine#1", "issue_number": "1", "quality_tiers": {"assumption_check": 1, "weak_supervision": 3}, "repo_full_name": "three-cubes/fitness-engine", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-f89f8c68e81a576a", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 8, "docs_or_claims": 4, "ui_or_frontend": 12, "source_or_other": 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: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#1\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: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#1\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: three-cubes/fitness-engine#1\nRepo: three-cubes/fitness-engine\nIssue/PR number: 1\nGraph consistency label: weak_supervision_needs_review\nNodes: 24\nEdges: 41\nNode types: {'pr_file': 7, 'commit': 5, 'link_quality': 4, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1, 'alignment': 1, 'blueprint_finding': 1}\nEdge types: {'thread_touches_file': 7, 'comment_chain_touches_file': 7, 'issue_chain_touches_file': 7, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 4, '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, 'alignment_uses_comment': 1, 'alignment_uses_finding': 1, 'comment_aligns_finding': 1}\nLabels: {'verification_or_tests': 4, 'ui_or_frontend': 3, 'ambiguous_needs_more_evidence': 3, 'test_or_ci': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'ui_workflow_gap': 1, 'docs_or_claims': 1, 'source_or_other': 1, 'comment_has_related_commit_context': 1, 'commit_general': 1, 'blueprint_human_gap_alignment': 1, 'weak blueprint fit': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 1}\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/three-cubes/fitness-engine", "source_id": "graph-query-motif_query-ce344824e0991c11", "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": "three-cubes/fitness-engine", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: three-cubes/fitness-engine"}, "properties": {"repobilityId": 312978, "scanner": "foundry_dataset", "fingerprint": "ef3dba5ceeb202539fdee21cb645bc0b90c3ac222fa17b9d61652b00386d7b33", "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": "three-cubes/fitness-engine#4", "human_labels": ["docs_or_claims", "source_or_other", "test_or_ci", "ui_or_frontend", "ui_workflow_gap"], "issue_number": "4", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.777, "repo_full_name": "three-cubes/fitness-engine", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-1beced98ed07623d", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 7, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 2, "docs_or_claims": 1, "ui_or_frontend": 2, "source_or_other": 2}, "linked_commit_count": 5, "helicopter_view_count": 0, "source_artifact_count": 1, "classification_reasons": ["source_graph_has_real_artifacts", "link_quality_weak_supervision"], "linked_ci_commit_count": 1, "verification_artifact_count": 0, "design_schema_api_artifact_count": 0}, "text": "Comment chain pattern product: assumption_checks\nRepo: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#4\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_weak_supervision\nChain evidence:\nIssue/PR evidence chain: three-cubes/fitness-engine#4\nRepo: three-cubes/fitness-engine\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 1\nLinked CI labels: {'ci_pending_or_incomplete': 1}\nChanged file count: 7\nLabels: {'ui_workflow_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'source_or_other': 2, 'ui_or_frontend': 2, 'test_or_ci': 2}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-4f1149261e1fe729\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"ui_workflow_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/three-cubes/fitness-engine/pull/4\",\n    \"text\": \"GitHub feedback: ui_workflow_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: three-cubes/fitness-engine\\nAuthor: quanyeomans (User)\\nURL: https://github.com/three-cubes/fitness-engine/pull/4\\nTitle: feat(v0.4.1): byte-stable --staged output via the capturing dispatch path\\nBody:\\n## tc_fitness v0.4.1 \u2014 byte-stable `--staged` output\\n\\nRoutes staged-mode subprocess dispatch through the **capturing** path that `--all` already uses, so `--staged` output is buffered-and-replayed in catalogue order (no skip/run interleave, consistent banner, and no child-fd-vs-parent-buffer race under pipe redirection).\\n\\n### Changes (additive over v0.4.0)\\n- `_run_staged_one` subprocess branch \u2192 `_run_one_subprocess_capturing`.\\n- Extracted shared `_capture_one_subprocess` + `_replay_subprocess_verdict` so `--all` and `--staged` use one capturing route (DRY).\\n- 3 new staged tests (capture+replay order, byte-stability across runs, **verdicts-unchanged**); 181 \u2192 184 pass; ruff + mypy clean; sabotage-proved.\\n\\n### Safety\\n- **Staged verdicts + PASS/FAIL set unchanged** \u2014 only output *format/stability* changes (proven by `test_staged_subprocess_verdicts_unchanged_by_capturing`, green before AND after).\\n- Consumers (ka\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-61038ad9af407b07\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 26,\n    \"deletions\": 0,\n    \"changes\": 26,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/e5ef81ce6f65f8213053fb18d90e8fe82f409148/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-96c4b504eda1b4db\",\n    \"filename\": \"pyproject.toml\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deletions\": 1,\n    \"changes\": 2,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/e5ef81ce6f65f8213053fb18d90e8fe82f409148/pyproj\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/three-cubes/fitness-engine", "source_id": "comment-chain-pattern-assumption_checks-66489b1ea7afc0b1", "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": "three-cubes/fitness-engine", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: three-cubes/fitness-engine"}, "properties": {"repobilityId": 312977, "scanner": "foundry_dataset", "fingerprint": "f209614710704db17d9201108fd6e6c070b6d325ef69661ac5eb6d7d280f4b4c", "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": "three-cubes/fitness-engine#3", "human_labels": ["api_integration_gap", "docs_or_claims", "source_or_other", "test_or_ci", "ui_or_frontend"], "issue_number": "3", "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": "three-cubes/fitness-engine", "training_usage": "gold_candidate", "confidence_tier": "high_confidence", "source_chain_id": "evidence-chain-issue_chain-93be3ed7c73798a4", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 16, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 6, "docs_or_claims": 1, "ui_or_frontend": 7, "source_or_other": 2}, "linked_commit_count": 5, "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: assumption_checks\nRepo: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#3\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: three-cubes/fitness-engine#3\nRepo: three-cubes/fitness-engine\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 16\nLabels: {'api_integration_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'source_or_other': 2, 'ui_or_frontend': 7, 'test_or_ci': 6}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-a936c1c37d48f0bd\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"api_integration_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/three-cubes/fitness-engine/pull/3\",\n    \"text\": \"GitHub feedback: api_integration_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: three-cubes/fitness-engine\\nAuthor: quanyeomans (User)\\nURL: https://github.com/three-cubes/fitness-engine/pull/3\\nTitle: feat(v0.4.0): absorb consumer seams into declarative factories + donate gate banner & branch_naming (EPIC #499)\\nBody:\\n## EPIC #499 \u2014 tc_fitness v0.4.0: absorb consumer seams into declarative config\\n\\nAdditive-over-v0.3.0 release that lets both consuming repos (kairix + tc-agent-zone) become **pure consumers** \u2014 replacing hand-written injection seams with declarative engine factories.\\n\\n### Added (all opt-in, safe defaults)\\n- `make_module_roots_resolver(...)` \u2014 module-introspection scope derivation (absorbs the `scope_resolver` seam). `boundary_rule_attr` defaults to `None`; consumers pass their own attr/ABC/marker.\\n- `make_binding_narrower(extra_method=...)` \u2014 narrows by-value `check_*` `python_files` bindings under runner composition (absorbs `enumeration_narrower`).\\n- `make_env_path_conditional_check(..., force_skip_line_fn=, absent_skip_line_fn=)` \u2014 env-path conditional skip with **per-entry** skip-line callables (so e.g. `skip [F7]` / `skip [F9]` reproduce exactly).\\n- `main_cli(extra\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-d735e9db8bfb3b76\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"added\",\n    \"additions\": 165,\n    \"deletions\": 0,\n    \"changes\": 165,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/b8409cffe48a9f90c7f37c860eaa9025cbd245c6/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-8fc789399155fa4c\",\n    \"filename\": \"pyproject.toml\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 2,\n    \"deletions\": 2,\n    \"changes\": 4,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/b8409cffe48a9f90c7f37c860eaa9025cbd245c6\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/three-cubes/fitness-engine", "source_id": "comment-chain-pattern-assumption_checks-90d48ba283e652d8", "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": "three-cubes/fitness-engine", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "gold_candidate"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: three-cubes/fitness-engine"}, "properties": {"repobilityId": 312976, "scanner": "foundry_dataset", "fingerprint": "ba783aabed0e8a9923e6fc9ae5fab28017d1a87caf5b7ec4ceac788ababe8eaf", "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": "three-cubes/fitness-engine#2", "human_labels": ["docs_or_claims", "runtime_failure", "source_or_other", "test_or_ci", "ui_or_frontend"], "issue_number": "2", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.777, "repo_full_name": "three-cubes/fitness-engine", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-843916508bd2161d", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 11, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 4, "docs_or_claims": 1, "ui_or_frontend": 5, "source_or_other": 1}, "linked_commit_count": 5, "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: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#2\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_weak_supervision, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: three-cubes/fitness-engine#2\nRepo: three-cubes/fitness-engine\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 11\nLabels: {'runtime_failure': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'source_or_other': 1, 'ui_or_frontend': 5, 'test_or_ci': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-a6f76e51a1c160cc\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"runtime_failure\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/three-cubes/fitness-engine/pull/2\",\n    \"text\": \"GitHub feedback: runtime_failure\\nPolarity: bad\\nKind: pull_request_body\\nRepo: three-cubes/fitness-engine\\nAuthor: quanyeomans (User)\\nURL: https://github.com/three-cubes/fitness-engine/pull/2\\nTitle: feat: v0.3.0 \u2014 catalogue-driven, repo-agnostic check runner\\nBody:\\n## What this is\\n\\nExtracts the catalogue-driven fitness **runner** into the shared package as a single COMMON, repo-agnostic runner that both kairix and tc-agent-zone will consume \u2014 the structural keystone of \\\"one common fitness process for all repos\\\". This PR adds **only** the package; the two repos' migrations to consume it are separate next PRs (neither kairix nor taz is touched here).\\n\\nPurely additive over v0.1.0/v0.2.0: the `lib` + `ratchet` modules and their 65 tests are unchanged.\\n\\n## Runner API surface\\n\\n**Thin-consumer** \u2014 a repo's `run_checks.py` collapses to three lines:\\n```python\\nfrom tc_fitness.runner import main_cli\\nfrom .catalogue import RULES\\nraise SystemExit(main_cli(RULES))\\n```\\n- `main_cli(rules, argv=None, *, repo_root, checks_dir, scope_resolver, enumeration_narrower, conditional_check, paved_road_footer, parallel_subprocess, max_workers) -> int` \u2014 parses `--all`/`--staged`/`--gate <id>`, returns the exit c\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-8faff67ed15cea38\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 83,\n    \"deletions\": 1,\n    \"changes\": 84,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/ff9a35c8570b10644afc787567adc0b9b66d431a/README.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-9c47521735c7682f\",\n    \"filename\": \"pyproject.toml\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 2,\n    \"deletions\": 2,\n    \"changes\": 4,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/ff9a35c8570b10644afc787567adc0b9b66d431a/pyp\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/three-cubes/fitness-engine", "source_id": "comment-chain-pattern-assumption_checks-08f1351362048931", "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": "three-cubes/fitness-engine", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: three-cubes/fitness-engine"}, "properties": {"repobilityId": 312975, "scanner": "foundry_dataset", "fingerprint": "c734ccd8b79b4078b74d1aef2351fb8c8ce675759ac80eedb1f172eff2c94935", "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": "three-cubes/fitness-engine#1", "human_labels": ["docs_or_claims", "source_or_other", "test_or_ci", "ui_or_frontend", "ui_workflow_gap"], "issue_number": "1", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.76, "repo_full_name": "three-cubes/fitness-engine", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-30d40f7f85fe3c81", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 7, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 2, "docs_or_claims": 1, "ui_or_frontend": 3, "source_or_other": 1}, "linked_commit_count": 5, "helicopter_view_count": 0, "source_artifact_count": 1, "classification_reasons": ["source_graph_has_real_artifacts", "link_quality_weak_supervision"], "linked_ci_commit_count": 0, "verification_artifact_count": 0, "design_schema_api_artifact_count": 0}, "text": "Comment chain pattern product: assumption_checks\nRepo: three-cubes/fitness-engine\nThread: three-cubes/fitness-engine#1\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_weak_supervision\nChain evidence:\nIssue/PR evidence chain: three-cubes/fitness-engine#1\nRepo: three-cubes/fitness-engine\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 7\nLabels: {'ui_workflow_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 1, 'source_or_other': 1, 'ui_or_frontend': 3, 'test_or_ci': 2}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-bb50bddeec905903\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"ui_workflow_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/three-cubes/fitness-engine/pull/1\",\n    \"text\": \"GitHub feedback: ui_workflow_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: three-cubes/fitness-engine\\nAuthor: quanyeomans (User)\\nURL: https://github.com/three-cubes/fitness-engine/pull/1\\nTitle: v0.2.0: additive surface for tc-agent-zone (backward-compatible with v0.1.0)\\nBody:\\nExtends `three-cubes-fitness` to **v0.2.0** so it covers tc-agent-zone's\\nfitness-check surface \u2014 **additively and backward-compatibly**. Every v0.1.0\\nsignature and behaviour is unchanged with defaults, so kairix's `@v0.1.0` pin\\nkeeps working untouched; the additions exist behind new optional parameters and\\nnew symbols.\\n\\n## Additions (per the four requested items)\\n\\n1. **`actionable(what, fix, nxt, run=None)`** \u2014 optional 4th arg appends a third\\n   `; run: <run>` marker (taz's 59 fix/next/run checks). With `run` omitted the\\n   output is **byte-identical** to v0.1.0's 2-marker form. Also adds\\n   **`remediation(fix, nxt, run, *, passing=None, forbidden=None)`** \u2014 the\\n   multiline F21-shape `fix:/next:/run:` (+ optional `Pass`/`Forbidden`) block\\n   for taz's 30 multiline-remediation checks.\\n\\n2. **ratchet `min_len`** \u2014 `is_vague_reason` and `parse_overrides` gain an\\n   optional keyword-only `min_len` defaulting to\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-f2ba2e2af26f75f9\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 92,\n    \"deletions\": 4,\n    \"changes\": 96,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/e5b9db1b595e32e19046851f5cacd490f2ebaf72/README.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-c516f23826df251d\",\n    \"filename\": \"pyproject.toml\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deletions\": 1,\n    \"changes\": 2,\n    \"blob_url\": \"https://github.com/three-cubes/fitness-engine/blob/e5b9db1b595e32e19046851f5cacd490f2ebaf72/pyproject.toml\"\n  },\n  {\n    \"id\": \"\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/three-cubes/fitness-engine", "source_id": "comment-chain-pattern-assumption_checks-c02d4843a8785906", "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": "three-cubes/fitness-engine", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"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-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "571957b850f97069", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "d6fd3ff71164d37e", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "0b89d97da4eefa90", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "b504d94acca00d91", "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": "f3d000094ae1c3f6", "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": "b759e1e8c16b0bce", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-da24d0e7e79664dc", "level": "none", "message": {"text": "Commented-code block (5 lines) in tests/test_runner.py:611"}, "properties": {"repobilityId": "860537588f722a80", "scanner": "scanner-primary", "fingerprint": "da24d0e7e79664dc", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-7e7d5b949d47d7dc", "level": "none", "message": {"text": "Commented-code block (5 lines) in tests/test_staged.py:342"}, "properties": {"repobilityId": "80ebbe7f516da080", "scanner": "scanner-primary", "fingerprint": "7e7d5b949d47d7dc", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8460bdaaa7f3cc6f", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/tc_fitness/__init__.py:91"}, "properties": {"repobilityId": "564ae11ed2e38810", "scanner": "scanner-primary", "fingerprint": "8460bdaaa7f3cc6f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-09fe1e3e8dec5c1e", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/tc_fitness/catalogue.py:36"}, "properties": {"repobilityId": "5dbd60c4b3ad86f9", "scanner": "scanner-primary", "fingerprint": "09fe1e3e8dec5c1e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-ccafd323701795fc", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/tc_fitness/runner.py:141"}, "properties": {"repobilityId": "8f61f08e44050071", "scanner": "scanner-primary", "fingerprint": "ccafd323701795fc", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5f83d0860ce2e962", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/tc_fitness/staged.py:181"}, "properties": {"repobilityId": "00fde828c0c20f1c", "scanner": "scanner-primary", "fingerprint": "5f83d0860ce2e962", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}