{"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: ToddHoff/DoubleCheckPrivate", "shortDescription": {"text": "Foundry mined blueprint gap alignment: ToddHoff/DoubleCheckPrivate"}, "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: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#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: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: ToddHoff/DoubleCheckPrivate#1\nRepo: ToddHoff/DoubleCheckPrivate\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 23\nEdges: 33\nNode types: {'commit': 5, 'link_quality': 5, 'pr_file': 3, 'alignmen"}, "properties": {"scanner": "foundry_dataset", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_test_ci_gap", "name": "Foundry mined test ci gap after feedback: ToddHoff/DoubleCheckPrivate", "shortDescription": {"text": "Foundry mined test ci gap after feedback: ToddHoff/DoubleCheckPrivate"}, "fullDescription": {"text": "Graph query export: Feedback exposes missing tests or CI\nQuery id: test_ci_gap_after_feedback\nQuery type: motif_query\nIntent: Hard negatives for feedback/fix chains without adequate guardrails.\nMotif: test_ci_gap_after_feedback\nTraining usage: hard_negative\nGraph gold label: supported_by_verification_signal\nRepo: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#1\nEvidence:\nGraph motif: Feedback or fix context exposes missing test/CI guardrails\nMotif id: test_ci_gap_after_feedback\nPolarity: bad\nTraining usage: hard_negative\nSeverity: high\nRepo: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: ToddHoff/DoubleCheckPrivate#1\nRepo: ToddHoff/DoubleCheckPrivate\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 23\nEdges: 33\nNode types: {'commit': 5, 'link_quality': 5, 'pr_file': 3, 'alignment': 2, 'blueprint_findin"}, "properties": {"scanner": "foundry_dataset", "category": "testing", "severity": "high", "confidence": 0.78, "cwe": "", "owasp": ""}}, {"id": "scanner-7567b2f040dec9a8", "name": "Stray `console.log` in TS/JS \u2014 public/tesseract/worker.min.js:2", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 public/tesseract/worker.min.js:2"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"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-d25b1a3938337955", "name": "Insecure pattern 'new_function_used' in public/tesseract/worker.min.js:2", "shortDescription": {"text": "Insecure pattern 'new_function_used' in public/tesseract/worker.min.js:2"}, "fullDescription": {"text": "Found a known-risky pattern (new_function_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-d878f868f1d5f6f0", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/options/tabs/docs.ts:206", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/options/tabs/docs.ts:206"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-bfa821945301cafa", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/onboarding/main.ts:258", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/onboarding/main.ts:258"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6dd647e91067ac64", "name": "Insecure pattern 'direct_innerhtml_assignment' in src/popup/main.ts:9", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/popup/main.ts:9"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "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-ea3b5e389d8c9c0f", "name": "Low test-to-source ratio", "shortDescription": {"text": "Low test-to-source ratio"}, "fullDescription": {"text": "11 tests / 56 src (ratio 0.20)."}, "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 18 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-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 29 placeholder/mock markers across 8 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "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-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-ef197e52ebba2fc0", "name": "Commented-code block (6 lines) in tests/e2e/smoke.spec.ts:4", "shortDescription": {"text": "Commented-code block (6 lines) in tests/e2e/smoke.spec.ts:4"}, "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-5828eb4d54326c02", "name": "Commented-code block (5 lines) in scripts/make-store-assets.mjs:1", "shortDescription": {"text": "Commented-code block (5 lines) in scripts/make-store-assets.mjs:1"}, "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-1a0912cadf89da62", "name": "Commented-code block (5 lines) in src/shared/seal.ts:22", "shortDescription": {"text": "Commented-code block (5 lines) in src/shared/seal.ts:22"}, "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-cdd280cf574f58b4", "name": "Commented-code block (6 lines) in src/content/voice-rec.ts:4", "shortDescription": {"text": "Commented-code block (6 lines) in src/content/voice-rec.ts:4"}, "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-07863b902b6891ad", "name": "Commented-code block (5 lines) in src/content/index.ts:53", "shortDescription": {"text": "Commented-code block (5 lines) in src/content/index.ts:53"}, "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-d58c71bfced6f67e", "name": "Commented-code block (6 lines) in src/content/submit-guard.ts:4", "shortDescription": {"text": "Commented-code block (6 lines) in src/content/submit-guard.ts:4"}, "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-56369d6fa419d843", "name": "Commented-code block (5 lines) in src/content/card.ts:444", "shortDescription": {"text": "Commented-code block (5 lines) in src/content/card.ts:444"}, "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-18b179e3f9ad6828", "name": "Commented-code block (7 lines) in src/content/scan.ts:1", "shortDescription": {"text": "Commented-code block (7 lines) in src/content/scan.ts:1"}, "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-ec45aebff8b3f84f", "name": "Commented-code block (5 lines) in src/background/index.ts:15", "shortDescription": {"text": "Commented-code block (5 lines) in src/background/index.ts:15"}, "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-a4d5b851d9994eae", "name": "Commented-code block (5 lines) in src/mic/main.ts:1", "shortDescription": {"text": "Commented-code block (5 lines) in src/mic/main.ts:1"}, "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/21423"}, "properties": {"repository": "ToddHoff/DoubleCheckPrivate", "repoUrl": "https://github.com/ToddHoff/DoubleCheckPrivate", "branch": "main"}, "results": [{"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: ToddHoff/DoubleCheckPrivate"}, "properties": {"repobilityId": 345459, "scanner": "foundry_dataset", "fingerprint": "3715c0269c2dedeca51e9a6cc05d4cb9104ee14b5083f60e09963e88e4fd4be6", "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_ci_gap": 1, "ui_or_frontend": 2, "weak blueprint fit": 1, "dependency_or_build": 2, "partial blueprint fit": 1, "verification_or_tests": 4, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 2, "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": 33, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 3, "alignment_uses_comment": 2, "alignment_uses_finding": 2, "chain_has_link_quality": 5, "comment_aligns_finding": 2, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 3, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 3, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 23, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 3, "alignment": 2, "fix_outcome": 1, "issue_chain": 1, "link_quality": 5, "comment_chain": 1, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "ToddHoff/DoubleCheckPrivate#1", "issue_number": "1", "quality_tiers": {"assumption_check": 2, "weak_supervision": 3}, "repo_full_name": "ToddHoff/DoubleCheckPrivate", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-5cd96a7f8c0ed311", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {"ui_or_frontend": 8, "dependency_or_build": 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: supported_by_verification_signal\nRepo: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#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: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: ToddHoff/DoubleCheckPrivate#1\nRepo: ToddHoff/DoubleCheckPrivate\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 23\nEdges: 33\nNode types: {'commit': 5, 'link_quality': 5, 'pr_file': 3, 'alignment': 2, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'comment_chain_links_commit': 5, 'chain_has_link_quality': 5, 'thread_touches_file': 3, 'comment_chain_touches_file': 3, 'issue_chain_touches_file': 3, 'alignment_uses_comment': 2, 'alignment_uses_finding': 2, 'comment_aligns_finding': 2, '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, 'claimed_resolved_with_verification_signal': 3, 'dependency_or_build': 2, 'ui_or_frontend': 2, 'thread_has_human_issue_and_fix_context': 2, 'blueprint_human_gap_alignment': 2, 'issue_or_pull_request_thread': 1, 'test_ci_gap': 1, 'human_reported_issue_then_verified_fix_attempt': 1, 'weak blueprint fit': 1, 'partial blueprint fit': 1}\nOutcomes: {'claimed_resolved_with_verification_signal': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 2}\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/ToddHoff/DoubleCheckPrivate", "source_id": "graph-query-motif_query-04010308819690b7", "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": "ToddHoff/DoubleCheckPrivate", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_test_ci_gap", "level": "error", "message": {"text": "Foundry mined test ci gap after feedback: ToddHoff/DoubleCheckPrivate"}, "properties": {"repobilityId": 336803, "scanner": "foundry_dataset", "fingerprint": "171a78b163617f9d8447a2f3bb9f63d66f1c4ed540e437123d6b1d626410894d", "category": "testing", "severity": "high", "confidence": 0.78, "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": "Feedback exposes missing tests or CI", "intent": "Hard negatives for feedback/fix chains without adequate guardrails.", "labels": {"test_ci_gap": 1, "ui_or_frontend": 2, "weak blueprint fit": 1, "dependency_or_build": 2, "partial blueprint fit": 1, "verification_or_tests": 4, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 2, "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": "test_ci_gap_after_feedback", "outcomes": {"claimed_resolved_with_verification_signal": 6}, "polarity": "bad", "query_id": "test_ci_gap_after_feedback", "severity": "high", "ci_labels": {}, "synthetic": false, "edge_count": 33, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 3, "alignment_uses_comment": 2, "alignment_uses_finding": 2, "chain_has_link_quality": 5, "comment_aligns_finding": 2, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 3, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 3, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 23, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 3, "alignment": 2, "fix_outcome": 1, "issue_chain": 1, "link_quality": 5, "comment_chain": 1, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "ToddHoff/DoubleCheckPrivate#1", "issue_number": "1", "quality_tiers": {"assumption_check": 2, "weak_supervision": 3}, "repo_full_name": "ToddHoff/DoubleCheckPrivate", "training_usage": "hard_negative", "source_motif_id": "graph-pattern-motif-thread-103ad12748fffb00", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {"ui_or_frontend": 8, "dependency_or_build": 4}}, "text": "Graph query export: Feedback exposes missing tests or CI\nQuery id: test_ci_gap_after_feedback\nQuery type: motif_query\nIntent: Hard negatives for feedback/fix chains without adequate guardrails.\nMotif: test_ci_gap_after_feedback\nTraining usage: hard_negative\nGraph gold label: supported_by_verification_signal\nRepo: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#1\nEvidence:\nGraph motif: Feedback or fix context exposes missing test/CI guardrails\nMotif id: test_ci_gap_after_feedback\nPolarity: bad\nTraining usage: hard_negative\nSeverity: high\nRepo: ToddHoff/DoubleCheckPrivate\nThread: ToddHoff/DoubleCheckPrivate#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: ToddHoff/DoubleCheckPrivate#1\nRepo: ToddHoff/DoubleCheckPrivate\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 23\nEdges: 33\nNode types: {'commit': 5, 'link_quality': 5, 'pr_file': 3, 'alignment': 2, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'comment_chain_links_commit': 5, 'chain_has_link_quality': 5, 'thread_touches_file': 3, 'comment_chain_touches_file': 3, 'issue_chain_touches_file': 3, 'alignment_uses_comment': 2, 'alignment_uses_finding': 2, 'comment_aligns_finding': 2, '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, 'claimed_resolved_with_verification_signal': 3, 'dependency_or_build': 2, 'ui_or_frontend': 2, 'thread_has_human_issue_and_fix_context': 2, 'blueprint_human_gap_alignment': 2, 'issue_or_pull_request_thread': 1, 'test_ci_gap': 1, 'human_reported_issue_then_verified_fix_attempt': 1, 'weak blueprint fit': 1, 'partial blueprint fit': 1}\nOutcomes: {'claimed_resolved_with_verification_signal': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 2}\nCI labels: {}\nCurriculum targets:\n- Turn human feedback into regression tests and CI gates.\n- Penalize fixes that do not add or exercise verification for affected workflows.\nAssumption checks:\n- Did the fix add tests for the exact complaint?\n- Does CI run those tests, or is verification only implied?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/ToddHoff/DoubleCheckPrivate", "source_id": "graph-query-motif_query-938d391e6ae5bb4d", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/test_ci_gap_after_feedback/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "ToddHoff/DoubleCheckPrivate", "source_dataset": "graph_queries/test_ci_gap_after_feedback", "training_usage": "hard_negative"}}}, {"ruleId": "scanner-7567b2f040dec9a8", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 public/tesseract/worker.min.js:2"}, "properties": {"repobilityId": "874869c0c51e83c1", "scanner": "scanner-primary", "fingerprint": "7567b2f040dec9a8", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"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-d25b1a3938337955", "level": "error", "message": {"text": "Insecure pattern 'new_function_used' in public/tesseract/worker.min.js:2"}, "properties": {"repobilityId": "152453d3eb8a151d", "scanner": "scanner-primary", "fingerprint": "d25b1a3938337955", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "new_function_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "public/tesseract/worker.min.js"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-d878f868f1d5f6f0", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/options/tabs/docs.ts:206"}, "properties": {"repobilityId": "cea31c2a0f0af0ed", "scanner": "scanner-primary", "fingerprint": "d878f868f1d5f6f0", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/options/tabs/docs.ts"}, "region": {"startLine": 206}}}]}, {"ruleId": "scanner-bfa821945301cafa", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/onboarding/main.ts:258"}, "properties": {"repobilityId": "d6d94cb791a31b60", "scanner": "scanner-primary", "fingerprint": "bfa821945301cafa", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/onboarding/main.ts"}, "region": {"startLine": 258}}}]}, {"ruleId": "scanner-6dd647e91067ac64", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in src/popup/main.ts:9"}, "properties": {"repobilityId": "f5fc75ad38530f6a", "scanner": "scanner-primary", "fingerprint": "6dd647e91067ac64", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/popup/main.ts"}, "region": {"startLine": 9}}}]}, {"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-ea3b5e389d8c9c0f", "level": "note", "message": {"text": "Low test-to-source ratio"}, "properties": {"repobilityId": "ef7b2552cc00a375", "scanner": "scanner-primary", "fingerprint": "ea3b5e389d8c9c0f", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["tests"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "498631bd7b7e03e9", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "b68dda636f238c37", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "d47c703361b4dd7b", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "dd721fbb66c30df1", "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": "5d0f79e60863c4ec", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-ef197e52ebba2fc0", "level": "none", "message": {"text": "Commented-code block (6 lines) in tests/e2e/smoke.spec.ts:4"}, "properties": {"repobilityId": "0348c4c6431be4fb", "scanner": "scanner-primary", "fingerprint": "ef197e52ebba2fc0", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5828eb4d54326c02", "level": "none", "message": {"text": "Commented-code block (5 lines) in scripts/make-store-assets.mjs:1"}, "properties": {"repobilityId": "acd765bd8932c61a", "scanner": "scanner-primary", "fingerprint": "5828eb4d54326c02", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-1a0912cadf89da62", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/shared/seal.ts:22"}, "properties": {"repobilityId": "4c18d31495ed54b8", "scanner": "scanner-primary", "fingerprint": "1a0912cadf89da62", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-cdd280cf574f58b4", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/content/voice-rec.ts:4"}, "properties": {"repobilityId": "aaaad52a1987c343", "scanner": "scanner-primary", "fingerprint": "cdd280cf574f58b4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-07863b902b6891ad", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/content/index.ts:53"}, "properties": {"repobilityId": "8bc05c941513e490", "scanner": "scanner-primary", "fingerprint": "07863b902b6891ad", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d58c71bfced6f67e", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/content/submit-guard.ts:4"}, "properties": {"repobilityId": "11aa237d876f6ef4", "scanner": "scanner-primary", "fingerprint": "d58c71bfced6f67e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-56369d6fa419d843", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/content/card.ts:444"}, "properties": {"repobilityId": "873a3b23819c5cf4", "scanner": "scanner-primary", "fingerprint": "56369d6fa419d843", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-18b179e3f9ad6828", "level": "none", "message": {"text": "Commented-code block (7 lines) in src/content/scan.ts:1"}, "properties": {"repobilityId": "bb59647475441b18", "scanner": "scanner-primary", "fingerprint": "18b179e3f9ad6828", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-ec45aebff8b3f84f", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/background/index.ts:15"}, "properties": {"repobilityId": "69de215aea50fb50", "scanner": "scanner-primary", "fingerprint": "ec45aebff8b3f84f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a4d5b851d9994eae", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/mic/main.ts:1"}, "properties": {"repobilityId": "27a0c3e355a1094b", "scanner": "scanner-primary", "fingerprint": "a4d5b851d9994eae", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}