{"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: vornicx/Midas", "shortDescription": {"text": "Foundry mined blueprint gap alignment: vornicx/Midas"}, "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: vornicx/Midas\nThread: vornicx/Midas#5\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: vornicx/Midas\nThread: vornicx/Midas#5\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#5\nRepo: vornicx/Midas\nIssue/PR number: 5\nGraph consistency label: weak_supervision_needs_review\nNodes: 51\nEdges: 79\nNode types: {'pr_file': 31, 'commit': 5, 'link_quality': 5, 'alignment': 2, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'is"}, "properties": {"scanner": "foundry_dataset", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_assumption_check", "name": "Foundry mined assumption checks: vornicx/Midas", "shortDescription": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "fullDescription": {"text": "Comment chain pattern product: assumption_checks\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\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: vornicx/Midas#8\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 2\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 8\nLabels: {'security_auth_secret': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 4, 'source_or_other': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-18f94807f79e13b4\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"security_auth_secret\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/8\",\n    \"text\": \"GitHub feedback: sec"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "medium", "confidence": 0.62, "cwe": "", "owasp": ""}}, {"id": "foundry_docs_only_fix", "name": "Foundry mined docs only runtime fix: vornicx/Midas", "shortDescription": {"text": "Foundry mined docs only runtime fix: vornicx/Midas"}, "fullDescription": {"text": "Graph query export: Docs-only response to runtime or integration issue\nQuery id: docs_only_runtime_fix\nQuery type: motif_query\nIntent: Assumption-check examples where docs or claims are not enough proof.\nMotif: docs_only_runtime_fix\nTraining usage: assumption_check\nGraph gold label: weak_supervision_needs_review\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nEvidence:\nGraph motif: Runtime/integration complaint answered mostly with docs or claims\nMotif id: docs_only_runtime_fix\nPolarity: bad\nTraining usage: assumption_check\nSeverity: high\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#8\nRepo: vornicx/Midas\nIssue/PR number: 8\nGraph consistency label: weak_supervision_needs_review\nNodes: 19\nEdges: 37\nNode types: {'pr_file': 8, 'link_quality': 3, 'commit': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'threa"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "high", "confidence": 0.8, "cwe": "", "owasp": ""}}, {"id": "foundry_schema_ui_api_gap", "name": "Foundry mined schema ui api mismatch: vornicx/Midas", "shortDescription": {"text": "Foundry mined schema ui api mismatch: vornicx/Midas"}, "fullDescription": {"text": "Graph query export: Schema, UI, and API mismatch\nQuery id: schema_ui_api_mismatch\nQuery type: motif_query\nIntent: Assumption-check examples for data-path consistency across layers.\nMotif: schema_ui_api_mismatch\nTraining usage: assumption_check\nGraph gold label: weak_supervision_needs_review\nRepo: vornicx/Midas\nThread: vornicx/Midas#5\nEvidence:\nGraph motif: Schema, UI, and API evidence do not line up\nMotif id: schema_ui_api_mismatch\nPolarity: bad\nTraining usage: assumption_check\nSeverity: high\nRepo: vornicx/Midas\nThread: vornicx/Midas#5\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#5\nRepo: vornicx/Midas\nIssue/PR number: 5\nGraph consistency label: weak_supervision_needs_review\nNodes: 51\nEdges: 79\nNode types: {'pr_file': 31, 'commit': 5, 'link_quality': 5, 'alignment': 2, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_"}, "properties": {"scanner": "foundry_dataset", "category": "quality", "severity": "high", "confidence": 0.76, "cwe": "", "owasp": ""}}, {"id": "foundry_bad_chain", "name": "Foundry mined bad chains: vornicx/Midas", "shortDescription": {"text": "Foundry mined bad chains: vornicx/Midas"}, "fullDescription": {"text": "Comment chain pattern product: bad_chains\nRepo: vornicx/Midas\nThread: vornicx/Midas#9\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\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#9\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: self_attested_unverified\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 10\nLabels: {'agent_instruction_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 3, 'source_or_other': 4, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-0e8830b88193a263\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"agent_instruction_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/9\",\n    \"text\": \"Git"}, "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: vornicx/Midas", "shortDescription": {"text": "Foundry mined security auth guardrail gaps: vornicx/Midas"}, "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: weak_supervision_needs_review\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nEvidence:\nGraph motif: Security/auth change without enough guardrails\nMotif id: security_auth_without_guardrails\nPolarity: bad\nTraining usage: assumption_check\nSeverity: critical\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#8\nRepo: vornicx/Midas\nIssue/PR number: 8\nGraph consistency label: weak_supervision_needs_review\nNodes: 19\nEdges: 37\nNode types: {'pr_file': 8, 'link_quality': 3, 'commit': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge "}, "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: vornicx/Midas", "shortDescription": {"text": "Foundry mined mock as real or placeholder: vornicx/Midas"}, "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: weak_supervision_needs_review\nRepo: vornicx/Midas\nThread: vornicx/Midas#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: vornicx/Midas\nThread: vornicx/Midas#9\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#9\nRepo: vornicx/Midas\nIssue/PR number: 9\nGraph consistency label: weak_supervision_needs_review\nNodes: 24\nEdges: 46\nNode types: {'pr_file': 10, 'commit': 5, 'link_quality': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'f"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "critical", "confidence": 0.82, "cwe": "", "owasp": ""}}, {"id": "scanner-a53732321b236fe4", "name": "Possibly dead Python function: decide", "shortDescription": {"text": "Possibly dead Python function: decide"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-34bf2112e810aa12", "name": "Possibly dead Python function: recall_confidence", "shortDescription": {"text": "Possibly dead Python function: recall_confidence"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-4f80fc285c1137ea", "name": "Possibly dead Python function: abatch", "shortDescription": {"text": "Possibly dead Python function: abatch"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-7e23c264beeef5a3", "name": "Possibly dead Python function: work", "shortDescription": {"text": "Possibly dead Python function: work"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-a6d7951c5d42fabd", "name": "Possibly dead Python function: category_breakdown_table", "shortDescription": {"text": "Possibly dead Python function: category_breakdown_table"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "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-caf7cbf9ee730751", "name": "Very large file: midas/memory.py (1417 lines)", "shortDescription": {"text": "Very large file: midas/memory.py (1417 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "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 115 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-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-ceaca4baee7434bd", "name": "Commented-code block (5 lines) in midas/memory.py:234", "shortDescription": {"text": "Commented-code block (5 lines) in midas/memory.py:234"}, "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-4f2f004592123d29", "name": "Commented-code block (5 lines) in midas/importance.py:149", "shortDescription": {"text": "Commented-code block (5 lines) in midas/importance.py:149"}, "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-5817ff94377f48b9", "name": "Commented-code block (5 lines) in eval/adapters/mem0_adapter.py:30", "shortDescription": {"text": "Commented-code block (5 lines) in eval/adapters/mem0_adapter.py:30"}, "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-a9836457f7ec50c4", "name": "23 env vars used in code but missing from .env.example", "shortDescription": {"text": "23 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `JUDGE_MODEL`, `JUDGE_PROVIDER`, `MEM0_LLM_PROVIDER`, `MEM0_MODEL`, `MIDAS_CACHE_ROOT`, `MIDAS_DEMO_EMBEDDER`, `MIDAS_EMBED_CACHE`, `MIDAS_MCP_ACTOR` + 15 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmidas/mcp_server.py:maintain, midas/mcp_server.py:main\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-be46ea126aa5d8dc", "name": "Near-duplicate function bodies in 3 places", "shortDescription": {"text": "Near-duplicate function bodies in 3 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmidas/distill.py:distill, midas/distill.py:distill, midas/distill.py:distill\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-02525d39071dd2c7", "name": "Near-duplicate function bodies in 5 places", "shortDescription": {"text": "Near-duplicate function bodies in 5 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\nmidas/embeddings.py:embed, midas/embeddings.py:embed, midas/embeddings.py:embed, midas/embeddings.py:embed\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/22411"}, "properties": {"repository": "vornicx/Midas", "repoUrl": "https://github.com/vornicx/Midas", "branch": "main"}, "results": [{"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: vornicx/Midas"}, "properties": {"repobilityId": 357274, "scanner": "foundry_dataset", "fingerprint": "71177adf7f5d29b8906b495771178e4b5c72d99299b9f66b8ba53a829ef11279", "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": 4, "api_or_backend": 1, "commit_general": 1, "docs_or_claims": 4, "ui_or_frontend": 11, "source_or_other": 8, "dependency_or_build": 3, "partial blueprint fit": 1, "verification_or_tests": 4, "data_schema_persistence": 1, "mostly follows blueprint": 1, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "blueprint_human_gap_alignment": 1, "blueprint_human_gap_disagreement": 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": 79, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 31, "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": 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": 51, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 31, "alignment": 2, "fix_outcome": 1, "issue_chain": 1, "link_quality": 5, "comment_chain": 1, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "vornicx/Midas#5", "issue_number": "5", "quality_tiers": {"assumption_check": 2, "weak_supervision": 3}, "repo_full_name": "vornicx/Midas", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-1a1db48f45b44ff6", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 16, "api_or_backend": 4, "docs_or_claims": 16, "ui_or_frontend": 44, "source_or_other": 32, "dependency_or_build": 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: vornicx/Midas\nThread: vornicx/Midas#5\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: vornicx/Midas\nThread: vornicx/Midas#5\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#5\nRepo: vornicx/Midas\nIssue/PR number: 5\nGraph consistency label: weak_supervision_needs_review\nNodes: 51\nEdges: 79\nNode types: {'pr_file': 31, 'commit': 5, 'link_quality': 5, 'alignment': 2, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 31, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 5, '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: {'ui_or_frontend': 11, 'source_or_other': 8, 'docs_or_claims': 4, 'test_or_ci': 4, 'verification_or_tests': 4, 'dependency_or_build': 3, 'ambiguous_needs_more_evidence': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'data_schema_persistence': 1, 'api_or_backend': 1, 'comment_has_related_commit_context': 1, 'commit_general': 1, 'blueprint_human_gap_alignment': 1, 'partial blueprint fit': 1, 'blueprint_human_gap_disagreement': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 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/vornicx/Midas", "source_id": "graph-query-motif_query-0bd892e7d1d7ea76", "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": "vornicx/Midas", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: vornicx/Midas"}, "properties": {"repobilityId": 357273, "scanner": "foundry_dataset", "fingerprint": "b08777c0415bc1d25d5206607be36c5438e30c149063673644e1f63881287f24", "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": 4, "api_or_backend": 1, "commit_general": 1, "docs_or_claims": 4, "source_or_other": 6, "api_integration_gap": 1, "partial blueprint fit": 1, "verification_or_tests": 4, "mostly follows blueprint": 1, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "blueprint_human_gap_alignment": 1, "blueprint_human_gap_disagreement": 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": 63, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 15, "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": 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": 35, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 15, "alignment": 2, "fix_outcome": 1, "issue_chain": 1, "link_quality": 5, "comment_chain": 1, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "vornicx/Midas#2", "issue_number": "2", "quality_tiers": {"high_confidence": 3, "assumption_check": 2}, "repo_full_name": "vornicx/Midas", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-d7eb8ae14037164e", "graph_gold_label": "supported_by_high_confidence_link", "changed_file_labels": {"test_or_ci": 16, "api_or_backend": 4, "docs_or_claims": 16, "source_or_other": 24}}, "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: vornicx/Midas\nThread: vornicx/Midas#2\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: vornicx/Midas\nThread: vornicx/Midas#2\nGraph gold label: supported_by_high_confidence_link\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#2\nRepo: vornicx/Midas\nIssue/PR number: 2\nGraph consistency label: supported_by_high_confidence_link\nNodes: 35\nEdges: 63\nNode types: {'pr_file': 15, 'commit': 5, 'link_quality': 5, 'alignment': 2, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 15, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 5, '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: {'source_or_other': 6, 'docs_or_claims': 4, 'test_or_ci': 4, 'verification_or_tests': 4, 'ambiguous_needs_more_evidence': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'api_integration_gap': 1, 'api_or_backend': 1, 'comment_has_related_commit_context': 1, 'commit_general': 1, 'blueprint_human_gap_alignment': 1, 'partial blueprint fit': 1, 'blueprint_human_gap_disagreement': 1, 'mostly follows blueprint': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 6}\nQuality tiers: {'high_confidence': 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/vornicx/Midas", "source_id": "graph-query-motif_query-d4242a6ce2bab445", "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": "vornicx/Midas", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313661, "scanner": "foundry_dataset", "fingerprint": "89e1b1c2a3c5ed3249a5a1903b2b8d541bbcef2e2d92b15a23e0d892743bde87", "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": "vornicx/Midas#8", "human_labels": ["docs_or_claims", "security_auth_secret", "source_or_other"], "issue_number": "8", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "claimed_resolved_unverified", "source_backed": true, "max_confidence": 0.795, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-4593d25cc8cb120a", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 8, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"docs_or_claims": 4, "source_or_other": 4}, "linked_commit_count": 2, "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: vornicx/Midas\nThread: vornicx/Midas#8\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: vornicx/Midas#8\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 2\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 8\nLabels: {'security_auth_secret': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 4, 'source_or_other': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-18f94807f79e13b4\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"security_auth_secret\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/8\",\n    \"text\": \"GitHub feedback: security_auth_secret\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/8\\nTitle: BEAM complete (4 tiers to 10M tokens) + PRF negative + 10M-layout loader\\nBody:\\n- **BEAM, all four tiers, deterministic**: Midas recall@k **0.56 \u2192 0.51 \u2192 0.40 \u2192 0.32** (100K\u219210M tokens) vs a recency baseline at **0.00 everywhere**. The 10M tier (208,696 turns) ingested in hours of local CPU at $0 \u2014 the cost regime that defines the frontier. Aggregation-ability collapse at 10M documented honestly.\\n- 10M chat-layout support in the BEAM loader (verified: all gold ids resolve).\\n- Anchor-boost PRF: measured negative, kept opt-in (third member of the \\\"reshuffling bge's ranking only degrades it\\\" family).\\n\\n177 tests pass.\\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-b25c6010cfeed015\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 15,\n    \"deletions\": 7,\n    \"changes\": 22,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/c06b4ba98d950749256c79841b32e321f0d51879/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-e26635a9206c25f8\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 17,\n    \"deletions\": 0,\n    \"changes\": 17,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/c06b4ba98d950749256c79841b32e321f0d51879/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-f7f2ae4a9dd91c30\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deletions\": 0,\n    \"changes\": 1,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/c06b4ba98d950749256c79841b32e321f0d51879/README.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-4b60e632844243ae\",\n    \"filename\": \"docs/frontier-2026.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"mod\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-949c698c39eb12bb", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313660, "scanner": "foundry_dataset", "fingerprint": "ce98a006cb4ca2a37c1944fd6b66fe9fc25a7414cb282916d7dba4cefd0289f6", "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": "vornicx/Midas#6", "human_labels": ["api_or_backend", "docs_or_claims", "security_auth_secret", "source_or_other", "test_or_ci"], "issue_number": "6", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "claimed_resolved_unverified", "source_backed": true, "max_confidence": 0.812, "repo_full_name": "vornicx/Midas", "training_usage": "gold_candidate", "confidence_tier": "high_confidence", "source_chain_id": "evidence-chain-issue_chain-7db3e4b5839233fa", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 9, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 2, "api_or_backend": 1, "docs_or_claims": 3, "source_or_other": 3}, "linked_commit_count": 2, "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: vornicx/Midas\nThread: vornicx/Midas#6\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_high_confidence, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#6\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 2\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 9\nLabels: {'security_auth_secret': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 3, 'source_or_other': 3, 'api_or_backend': 1, 'test_or_ci': 2}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-13429d253e585d00\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"security_auth_secret\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/6\",\n    \"text\": \"GitHub feedback: security_auth_secret\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/6\\nTitle: Frontier block: BEAM benchmark, bitemporal belief history, sleep-time upkeep\\nBody:\\nResearch-driven frontier work (landscape + sources in docs/frontier-2026.md):\\n\\n- **BEAM adapter** \u2014 first memory-layer numbers on the 10M-token-regime benchmark (100K tier full set: recall@k **0.56 vs 0.00** baseline; temporal 0.90 / knowledge-update 0.89 / contradiction 0.80; aggregation weakness documented honestly).\\n- **Bitemporal belief history** \u2014 `recall(as_of=\u2026)` resolves supersession chains to the version valid at a date (validity windows, no graph DB/LLM). Fixes a real bug found en route: supersession never persisted on SQLite stores.\\n- **Sleep-time upkeep at $0** \u2014 `MIDAS_MCP_AUTO_MAINTAIN` background consolidate+bound pass.\\n\\n172 tests pass.\\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-9fa3197cf6846f58\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 29,\n    \"deletions\": 0,\n    \"changes\": 29,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/8e5639110e4d99a25ad015a6b03033ba450372b0/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-43f24843bbdb7701\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 21,\n    \"deletions\": 0,\n    \"changes\": 21,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/8e5639110e4d99a25ad015a6b03033ba450372b0/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-83b189f1a59e93d9\",\n    \"filename\": \"docs/frontier-2026.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"added\",\n    \"additions\": 66,\n    \"deletions\": 0,\n    \"changes\": 66,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/8e5639110e4d99a25ad015a6b03033b\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-4a834dab232203d9", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "gold_candidate"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313659, "scanner": "foundry_dataset", "fingerprint": "18d940acbb53d9c8feaee8a34736c897ddedd43c6ea6634099f1fcfe67f7ee9a", "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": "vornicx/Midas#5", "human_labels": ["api_or_backend", "data_schema_persistence", "dependency_or_build", "docs_or_claims", "source_or_other", "test_or_ci", "ui_or_frontend"], "issue_number": "5", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.795, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-ad5aae525ad95e56", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 31, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 4, "api_or_backend": 1, "docs_or_claims": 4, "ui_or_frontend": 11, "source_or_other": 8, "dependency_or_build": 3}, "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: vornicx/Midas\nThread: vornicx/Midas#5\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: vornicx/Midas#5\nRepo: vornicx/Midas\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: 31\nLabels: {'data_schema_persistence': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 4, 'source_or_other': 8, 'api_or_backend': 1, 'dependency_or_build': 3, 'ui_or_frontend': 11, 'test_or_ci': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-df5e1c39afa5af84\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"data_schema_persistence\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/5\",\n    \"text\": \"GitHub feedback: data_schema_persistence\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/5\\nTitle: TypeScript port (npx), multilingual embeddings, opt-in ANN, temporal findings\\nBody:\\nThe 4-5-6-7 block:\\n\\n- **TypeScript port (experimental)** \u2014 `packages/midas-ts`, `npx -y midas-memory-mcp`: same tools/env/policy/SQLite schema; bit-comparable hashing embedder; a TS and a Python server share one DB file live (verified both ways). 13 node:test cases.\\n- **Multilingual embeddings** \u2014 `MIDAS_MCP_EMBEDDER=multilingual`, measured both ways (Spanish 0.68\u21921.00 answer_dumb; English 0.95 vs 0.83 recall@k \u2192 switch only for non-English).\\n- **Opt-in ANN** \u2014 IVF behind `ann_threshold`/`MIDAS_MCP_ANN=1` for \u226510k-record stores; exact scan stays default.\\n- **Fix** \u2014 `LocalEmbedder` hardcoded dim=768 poisoned the disk cache for non-default models; cache now refuses mislabelled writes.\\n- **Measured negatives documented** \u2014 thread-diversified recall hurts full LongMemEval-s (0.92\u21920.84); temporal misses are multi-evidence spread, not date parsing.\\n\\n167 Python + 13 TS tests pass.\\n\\n\ud83e\udd16 Generated with [Claude Code](https://claude.com/cla\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-1f2bb61d560127c9\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 16,\n    \"deletions\": 0,\n    \"changes\": 16,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/72e372940c37eb0b6403ba9686dd7c9c2183a361/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-a34eb2d070b1615d\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 35,\n    \"deletions\": 0,\n    \"changes\": 35,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/72e372940c37eb0b6403ba9686dd7c9c2183a361/CHANGELOG.md\"\n  },\n  {\n    \"i\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-79e1364a314647ab", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313658, "scanner": "foundry_dataset", "fingerprint": "e77bcdaf4bed0519bf2e7c4871944f53de815a5638be677251ed823a39ef1896", "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": "vornicx/Midas#4", "human_labels": ["agent_instruction_gap", "docs_or_claims"], "issue_number": "4", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "claimed_resolved_unverified", "source_backed": true, "max_confidence": 0.742, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-415d99940db959f4", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 3, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"docs_or_claims": 3}, "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: vornicx/Midas\nThread: vornicx/Midas#4\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\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#4\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 3\nLabels: {'agent_instruction_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 3}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-89a4a55db77adb14\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"agent_instruction_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/4\",\n    \"text\": \"GitHub feedback: agent_instruction_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/4\\nTitle: Full-set benchmarks: LongMemEval-s 500q (0.92) + LoCoMo full (0.73)\\nBody:\\nReplaces the n=40 retrieval headline with the complete LongMemEval-s set (500 questions, 246,750 turns): recall@k **0.92** vs baseline **0.01**, per-category numbers at real n. Both retrieval headlines (LongMemEval + LoCoMo) now run on full public question sets \u2014 no sampling caveat. Includes the LoCoMo full-set correction shipped earlier on this branch.\\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-1ec828e38e2cc7d0\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 20,\n    \"deletions\": 15,\n    \"changes\": 35,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/f7813e1b08df5454bb99b9b34fa90206045e1838/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-f20e97b5cfaed457\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 8,\n    \"deletions\": 0,\n    \"changes\": 8,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/f7813e1b08df5454bb99b9b34fa90206045e1838/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-c4f39657c7656473\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deletions\": 1,\n    \"changes\": 2,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/f7813e1b08df5454bb99b9b34fa90206045e1838/README.md\"\n  }\n]\nLinked chain ids:\n[\"evidence-chain-comment_to_commit-1624db639aa08a8b\"]\nSource graph evidence:\nSource evidence repo graph summary\nRepo: vornicx/Midas\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\":\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-4412dc0f2c7c9b7f", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313657, "scanner": "foundry_dataset", "fingerprint": "02ef5bf79ae382607747d8ad61e35b6b87027d066381d04f1ccd5fa1551925cc", "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": "vornicx/Midas#3", "human_labels": ["api_or_backend", "docs_or_claims", "security_auth_secret", "source_or_other", "test_or_ci"], "issue_number": "3", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "claimed_resolved_unverified", "source_backed": true, "max_confidence": 0.92, "repo_full_name": "vornicx/Midas", "training_usage": "gold_candidate", "confidence_tier": "high_confidence", "source_chain_id": "evidence-chain-issue_chain-26a98c6ef277fa7e", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 17, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 3, "api_or_backend": 2, "docs_or_claims": 5, "source_or_other": 7}, "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: vornicx/Midas\nThread: vornicx/Midas#3\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_high_confidence, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#3\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 17\nLabels: {'security_auth_secret': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 5, 'source_or_other': 7, 'api_or_backend': 2, 'test_or_ci': 3}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-d9807f8e6a116142\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"security_auth_secret\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/3\",\n    \"text\": \"GitHub feedback: security_auth_secret\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/3\\nTitle: v0.0.3: multi-process memory, namespaces, topic erasure, token-lean context, parsimony + LoCoMo correction\\nBody:\\nShips the v0.0.3 release plus the measured improvements behind it:\\n\\n- **Live multi-process memory** \u2014 SQLiteStore detects other connections' writes (PRAGMA data_version) and refreshes; lock-guarded for MCP worker threads. Demo GIF in the README (real two-process run).\\n- **Namespaces** \u2014 SDK `metadata_filter` + MCP `MIDAS_MCP_NAMESPACE` / per-call `namespace`; no scope leaks through neighbour expansion.\\n- **Topic-level erasure** \u2014 `forget_matching` (dry-run preview, full deletion audit, chain-safe `forget`).\\n- **Token-lean by default** \u2014 injected policy 442\u2192198 tokens (\u221255%), lean context lines (\u221242%/line), budget accounting fix.\\n- **Hybrid recall 8\u00d7 cheaper** (cached BM25 + posting lists); the LongMemEval negative that keeps it opt-in is documented.\\n- **Scale-free context parsimony** (`min_relevance_ratio=0.3` default): ~2\u00d7 precision@k, \u221230-40% context tokens, zero gold evicted anywhere; verified no-op \"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-aa05ec5deaedb16d\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 48,\n    \"deletions\": 9,\n    \"changes\": 57,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/75067365d1f4eec41885a5af2e7fc535daa09003/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-5f963b6fb2ff3e1c\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 32,\n    \"deletions\": 0,\n    \"changes\": 32,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/75067365d1f4eec41885a5af2e7fc535daa09003/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-a163f837f5a92310\",\n    \"filename\": \"R\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-1477bae886a3cb9e", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "gold_candidate"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313656, "scanner": "foundry_dataset", "fingerprint": "8e39bca69b05ccb2d45e13575edc64ad84aa01414bc2f87de6adb403c76ea5f5", "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": "vornicx/Midas#2", "human_labels": ["api_integration_gap", "api_or_backend", "docs_or_claims", "source_or_other", "test_or_ci"], "issue_number": "2", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.812, "repo_full_name": "vornicx/Midas", "training_usage": "gold_candidate", "confidence_tier": "high_confidence", "source_chain_id": "evidence-chain-issue_chain-6ccb453d795e9000", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 15, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 4, "api_or_backend": 1, "docs_or_claims": 4, "source_or_other": 6}, "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: vornicx/Midas\nThread: vornicx/Midas#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_high_confidence, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#2\nRepo: vornicx/Midas\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: 15\nLabels: {'api_integration_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 4, 'source_or_other': 6, 'api_or_backend': 1, 'test_or_ci': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-504cf9cdb982240a\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"api_integration_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/2\",\n    \"text\": \"GitHub feedback: api_integration_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/2\\nTitle: Multi-process live memory, namespaces, topic erasure, 8x cheaper hybrid\\nBody:\\nWeak points hardened against the LLM-at-ingest / hosted-memory field, each measured or tested:\\r\\n\\r\\n- SQLiteStore: lock-guarded shared connection (MCP worker threads) + PRAGMA data_version staleness probe, so several MCP clients pointed at one DB file see each other's writes live, without restarts. Two-process + threaded tests.\\r\\n- Namespaces: SDK metadata_filter on recall/build_context (neighbour-window expansion respects it too \u2014 no scope leaks), MIDAS_MCP_NAMESPACE + per-call namespace on every MCP tool, stats by_namespace.\\r\\n- Right-to-be-forgotten: Memory.forget_matching (relevance-matched erasure, dry-run preview by default in MCP, full deletion audit, deliberately bypasses durability protections) and chain-safe Memory.forget (supersession chains are relinked, not orphaned). Policy text gains a FORGET ON REQUEST step.\\r\\n- Hybrid recall: BM25 index cached on a store change counter + per-term posting lists \u2014 ~66 ms -> ~8 ms/query on a stab\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-93fd1ec961e84b69\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 19,\n    \"deletions\": 0,\n    \"changes\": 19,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/8843a16c264d26d595b8bef8877b2a4c6264feb4/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-0e360e33befe8215\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 32,\n    \"deletions\": 0,\n    \"changes\": 32,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/8843a16c264d26d595b8bef8877b2a4c6264feb4/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-aa481a0efb83c973\",\n    \"filename\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-7c75574bf89f1151", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "gold_candidate"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313655, "scanner": "foundry_dataset", "fingerprint": "e6ff429984fd6b1d27c01da7e39d63328d207466e3233ad381a31445fa29adfe", "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": "vornicx/Midas#13", "human_labels": ["api_or_backend", "dependency_or_build", "docs_or_claims", "human_feedback_general", "source_or_other"], "issue_number": "13", "thread_label": "thread_needs_classification", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.65, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-920fb3be3d57df6b", "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": {"api_or_backend": 1, "docs_or_claims": 1, "source_or_other": 3, "dependency_or_build": 1}, "linked_commit_count": 2, "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: vornicx/Midas\nThread: vornicx/Midas#13\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_weak_supervision\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#13\nRepo: vornicx/Midas\nThread label: thread_needs_classification\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 2\nLinked CI commit count: 1\nLinked CI labels: {'ci_pending_or_incomplete': 1}\nChanged file count: 6\nLabels: {'human_feedback_general': 1}\nPolarities: {'neutral': 1}\nChanged file labels: {'docs_or_claims': 1, 'source_or_other': 3, 'dependency_or_build': 1, 'api_or_backend': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-f587f0c12c4c5968\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"human_feedback_general\",\n    \"polarity\": \"neutral\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/13\",\n    \"text\": \"GitHub feedback: human_feedback_general\\nPolarity: neutral\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/13\\nTitle: Release v0.0.4\\nBody:\\nBumps to 0.0.4 ahead of launch \u2014 the published 0.0.3 lacked features the README/posts reference (distillation dial, bitemporal as_of, multilingual, ANN, pinned, auto-maintain, TS port). 184 tests pass.\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-3faa28d68a876897\",\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/vornicx/Midas/blob/d51d908b5576e887ded68c12eae114fe05fbea8a/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-e419c3d65461eb57\",\n    \"filename\": \"mcpb/manifest.json\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deletions\": 1,\n    \"changes\": 2,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/d51d908b5576e887ded68c12eae114fe05fbea8a/mcpb%2Fmanifest.json\"\n  },\n  {\n    \"id\": \"github-pr-file-file-4bef64482a17a446\",\n    \"filename\": \"midas/__init__.py\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deletions\": 1,\n    \"changes\": 2,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/d51d908b5576e887ded68c12eae114fe05fbea8a/midas%2F__init__.py\"\n  },\n  {\n    \"id\": \"github-pr-file-file-4caaf855128a6a1f\",\n    \"filename\": \"packages/midas-ts/package.json\",\n    \"label\": \"dependency_or_build\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deletions\": 1,\n    \"changes\": 2,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/d51d908b5576e887ded68c12eae114fe05fbea8a/packages%2Fmidas-ts%2Fpackage.json\"\n  },\n  {\n    \"id\": \"github-pr-file-file-44f907711a7c45bf\",\n    \"filename\": \"pyproject.toml\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 1,\n    \"deleti\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-91d8607564852e63", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313654, "scanner": "foundry_dataset", "fingerprint": "76a0f3a75420610f791ddd76dd9f33e3edd22656bf69cc3b2936c2ea6041c158", "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": "vornicx/Midas#12", "human_labels": ["agent_instruction_gap", "docs_or_claims"], "issue_number": "12", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.86, "repo_full_name": "vornicx/Midas", "training_usage": "gold_candidate", "confidence_tier": "high_confidence", "source_chain_id": "evidence-chain-issue_chain-537570ff6d80a23b", "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": {"docs_or_claims": 4}, "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: vornicx/Midas\nThread: vornicx/Midas#12\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\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#12\nRepo: vornicx/Midas\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: 4\nLabels: {'agent_instruction_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 4}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-2a8b486d0e9ae385\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"agent_instruction_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/12\",\n    \"text\": \"GitHub feedback: agent_instruction_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/12\\nTitle: README redesign + fresh GIFs + self-improvement note\\nBody:\\nLaunch-ready README (tighter, benchmark-forward, collapsible sections, honest status) and two new consistent demo GIFs from real output. Saves the self-improvement direction. \ud83e\udd16 Generated with [Claude Code](https://claude.com/claude-code)\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-23826ff899a69ae5\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 139,\n    \"deletions\": 361,\n    \"changes\": 500,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/9eaf97e93ede9bb9a3691246c74c1e2c68bd0a37/README.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-ad5ef15d09e61eaf\",\n    \"filename\": \"docs/demo-claude-code.gif\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"removed\",\n    \"additions\": 0,\n    \"deletions\": 0,\n    \"changes\": 0,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/16b3121451927bbc31b5b016a45f9cc2c7184ec3/docs%2Fdemo-claude-code.gif\"\n  },\n  {\n    \"id\": \"github-pr-file-file-45807e768ef39b43\",\n    \"filename\": \"docs/demo-multi-client.gif\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 0,\n    \"deletions\": 0,\n    \"changes\": 0,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/9eaf97e93ede9bb9a3691246c74c1e2c68bd0a37/docs%2Fdemo-multi-client.gif\"\n  },\n  {\n    \"id\": \"github-pr-file-file-4ca0be5e33e69198\",\n    \"filename\": \"docs/demo.gif\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 0,\n    \"deletions\": 0,\n    \"changes\": 0,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/9eaf97e93ede9bb9a3691246c74c1e2c68bd0a37/docs%2Fdemo.gif\"\n  }\n]\nLinked chain ids:\n[\"evidence-chain-comment_to_commit-562d8dc132282689\"]\nSource graph evidence:\nSource evidence repo graph summary\nRepo: vornicx/Midas\nGraph label: source_artifact_without_verification_graph\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-b99892d5c9b2a58e", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "gold_candidate"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313653, "scanner": "foundry_dataset", "fingerprint": "6d59a3e629b40c463cc7f86459fdd5bd0a8987c3e4ab27eeb3900ee6d667eb5f", "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": "vornicx/Midas#11", "human_labels": ["agent_instruction_gap", "docs_or_claims", "source_or_other", "test_or_ci"], "issue_number": "11", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "claimed_resolved_unverified", "source_backed": true, "max_confidence": 0.795, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-12ac6c104258eb4c", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 9, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 1, "docs_or_claims": 3, "source_or_other": 5}, "linked_commit_count": 4, "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: vornicx/Midas\nThread: vornicx/Midas#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\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#11\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: claimed_resolved_unverified\nComment count: 1\nLinked commit count: 4\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 9\nLabels: {'agent_instruction_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 3, 'source_or_other': 5, 'test_or_ci': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-d4e9c130e5bcb906\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"agent_instruction_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/11\",\n    \"text\": \"GitHub feedback: agent_instruction_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/11\\nTitle: Judged BEAM: answer-rate floor 0.40, + the honest distillation negative\\nBody:\\nFirst judged answer-rates on the frontier benchmark (OpenRouter, gpt-4o judge \u2014 Mem0/Hindsight's protocol):\\n\\n- **BEAM-100K judged floor**: Midas (raw turns, $0 ingest) **answer 0.40 vs baseline 0.05** (n=400). Tracks retrieval (knowledge-update 0.53, extraction 0.60, temporal 0.50).\\n- **Distillation A/B (the capstone, measured)**: naive distillation does NOT lift it. Replacing raw turns is **catastrophic** (0.37\u21920.08, drops temporal/changed-value detail); augmenting (`keep_raw`) is roughly neutral (0.32). So `keep_raw=True` is now the default, and README/frontier-2026/demo are corrected to not over-claim. The real lift needs sophisticated key-value+time extraction (LIGHT-class), which is open work.\\n\\nNew: `eval/distill_ab.py`, `HTTPDistiller`. 184 tests pass. The eval-first discipline working as intended \u2014 built it, measured it, the data corrected the narrative.\\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-78a7b72bd5064fe5\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 41,\n    \"deletions\": 0,\n    \"changes\": 41,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/16b3121451927bbc31b5b016a45f9cc2c7184ec3/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-bdcd9a71c52c2b5a\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 10,\n    \"deletions\": 3,\n    \"changes\": 13,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/16b3121451927bbc31b5b016a45f9cc2c7184ec3/README.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-fc3d2128af6407d5\",\n    \"filename\": \"docs/frontier-2026.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\"\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-8afd640ac8008097", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: vornicx/Midas"}, "properties": {"repobilityId": 313652, "scanner": "foundry_dataset", "fingerprint": "1bafd9fd32daf5b1f81490a6c572bb983d2d4b4a1b8c0a58f1595a30906fd2a5", "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": "vornicx/Midas#1", "human_labels": ["api_or_backend", "docs_or_claims", "human_feedback_general", "schema_or_data", "source_or_other", "test_or_ci"], "issue_number": "1", "thread_label": "thread_needs_classification", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.795, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-2f60d9bcd7cb7713", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 34, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 8, "api_or_backend": 2, "docs_or_claims": 9, "schema_or_data": 1, "source_or_other": 14}, "linked_commit_count": 2, "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: vornicx/Midas\nThread: vornicx/Midas#1\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_weak_supervision\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#1\nRepo: vornicx/Midas\nThread label: thread_needs_classification\nOutcome: ambiguous_needs_more_evidence\nComment count: 1\nLinked commit count: 2\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 34\nLabels: {'human_feedback_general': 1}\nPolarities: {'neutral': 1}\nChanged file labels: {'docs_or_claims': 9, 'source_or_other': 14, 'schema_or_data': 1, 'api_or_backend': 2, 'test_or_ci': 8}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-d566498a75386cdc\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"human_feedback_general\",\n    \"polarity\": \"neutral\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/1\",\n    \"text\": \"GitHub feedback: human_feedback_general\\nPolarity: neutral\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/1\\nTitle: Cursor/eval methodology guard provenance\\nBody:\\n\"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-4bebed1dec803441\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 112,\n    \"deletions\": 8,\n    \"changes\": 120,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/a3b73e17d220bea8ae27b2c4ef349ee58d739555/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-d359cd6581beb6ee\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 26,\n    \"deletions\": 7,\n    \"changes\": 33,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/a3b73e17d220bea8ae27b2c4ef349ee58d739555/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-01c5f50d2609d3ba\",\n    \"filename\": \"CONTRIBUTING.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 17,\n    \"deletions\": 2,\n    \"changes\": 19,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/a3b73e17d220bea8ae27b2c4ef349ee58d739555/CONTRIBUTING.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-aab46698e1bf0ef3\",\n    \"filename\": \"PRIVACY.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"added\",\n    \"additions\": 51,\n    \"deletions\": 0,\n    \"changes\": 51,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/a3b73e17d220bea8ae27b2c4ef349ee58d739555/PRIVACY.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-4eb7fa3f704c5dce\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 56,\n    \"deletions\": 14,\n    \"changes\": 70,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/a3b73e17d220bea8ae27b2c4ef349ee58d739555/README.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-e2e1b339942dc783\",\n    \"filename\": \"docs/long-horizon-memory.md\",\n    \"label\": \"docs_\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-assumption_checks-84b9eb02f0858d72", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_docs_only_fix", "level": "error", "message": {"text": "Foundry mined docs only runtime fix: vornicx/Midas"}, "properties": {"repobilityId": 358313, "scanner": "foundry_dataset", "fingerprint": "b820de5ade96cbd0cad387bd431d3d1fd6e8d951a3a8d46609ef4ac3315047cb", "category": "practices", "severity": "high", "confidence": 0.8, "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": "Docs-only response to runtime or integration issue", "intent": "Assumption-check examples where docs or claims are not enough proof.", "labels": {"bug_fix": 1, "commit_general": 1, "docs_or_claims": 4, "source_or_other": 4, "security_auth_secret": 1, "claimed_resolved_unverified": 3, "issue_or_pull_request_thread": 1, "human_reported_issue_then_fix_attempt": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "docs_only_runtime_fix", "outcomes": {"claimed_resolved_unverified": 6}, "polarity": "bad", "query_id": "docs_only_runtime_fix", "severity": "high", "ci_labels": {}, "synthetic": false, "edge_count": 37, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 8, "chain_has_link_quality": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 8, "thread_has_comment_chain": 1, "comment_chain_links_commit": 2, "comment_chain_touches_file": 8, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 19, "node_types": {"repo": 1, "commit": 2, "thread": 1, "comment": 1, "pr_file": 8, "fix_outcome": 1, "issue_chain": 1, "link_quality": 3, "comment_chain": 1}, "query_type": "motif_query", "thread_key": "vornicx/Midas#8", "issue_number": "8", "quality_tiers": {"weak_supervision": 3}, "repo_full_name": "vornicx/Midas", "training_usage": "assumption_check", "source_motif_id": "graph-pattern-motif-thread-7770564d33077019", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"docs_or_claims": 16, "source_or_other": 16}}, "text": "Graph query export: Docs-only response to runtime or integration issue\nQuery id: docs_only_runtime_fix\nQuery type: motif_query\nIntent: Assumption-check examples where docs or claims are not enough proof.\nMotif: docs_only_runtime_fix\nTraining usage: assumption_check\nGraph gold label: weak_supervision_needs_review\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nEvidence:\nGraph motif: Runtime/integration complaint answered mostly with docs or claims\nMotif id: docs_only_runtime_fix\nPolarity: bad\nTraining usage: assumption_check\nSeverity: high\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#8\nRepo: vornicx/Midas\nIssue/PR number: 8\nGraph consistency label: weak_supervision_needs_review\nNodes: 19\nEdges: 37\nNode types: {'pr_file': 8, 'link_quality': 3, 'commit': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 8, 'comment_chain_touches_file': 8, 'issue_chain_touches_file': 8, 'chain_has_link_quality': 3, 'comment_chain_links_commit': 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: {'docs_or_claims': 4, 'source_or_other': 4, 'claimed_resolved_unverified': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'security_auth_secret': 1, 'human_reported_issue_then_fix_attempt': 1, 'commit_general': 1, 'bug_fix': 1}\nOutcomes: {'claimed_resolved_unverified': 6}\nQuality tiers: {'weak_supervision': 3}\nCI labels: {}\nCurriculum targets:\n- Train models to reject docs-only fixes for runtime, integration, data, or security failures.\n- Add paired examples where the correct fix changes executable paths and adds verification.\nAssumption checks:\n- Do changed files include executable code or only documentation/claims?\n- Does the complaint require runtime behavior that docs cannot prove?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "graph-query-motif_query-689241bcca3ab106", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/docs_only_runtime_fix/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "vornicx/Midas", "source_dataset": "graph_queries/docs_only_runtime_fix", "training_usage": "assumption_check"}}}, {"ruleId": "foundry_schema_ui_api_gap", "level": "error", "message": {"text": "Foundry mined schema ui api mismatch: vornicx/Midas"}, "properties": {"repobilityId": 331166, "scanner": "foundry_dataset", "fingerprint": "2f1504be05defbbc082217a167663b91a474a6f161f29f64ac24af1b2da16f0e", "category": "quality", "severity": "high", "confidence": 0.76, "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": "Schema, UI, and API mismatch", "intent": "Assumption-check examples for data-path consistency across layers.", "labels": {"test_or_ci": 4, "api_or_backend": 1, "commit_general": 1, "docs_or_claims": 4, "ui_or_frontend": 11, "source_or_other": 8, "dependency_or_build": 3, "partial blueprint fit": 1, "verification_or_tests": 4, "data_schema_persistence": 1, "mostly follows blueprint": 1, "issue_or_pull_request_thread": 1, "ambiguous_needs_more_evidence": 3, "blueprint_human_gap_alignment": 1, "blueprint_human_gap_disagreement": 1, "comment_has_related_commit_context": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "schema_ui_api_mismatch", "outcomes": {"ambiguous_needs_more_evidence": 6}, "polarity": "bad", "query_id": "schema_ui_api_mismatch", "severity": "high", "ci_labels": {}, "synthetic": false, "edge_count": 79, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 31, "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": 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": 51, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 31, "alignment": 2, "fix_outcome": 1, "issue_chain": 1, "link_quality": 5, "comment_chain": 1, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "vornicx/Midas#5", "issue_number": "5", "quality_tiers": {"assumption_check": 2, "weak_supervision": 3}, "repo_full_name": "vornicx/Midas", "training_usage": "assumption_check", "source_motif_id": "graph-pattern-motif-thread-9b00fec7661ad2ef", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 16, "api_or_backend": 4, "docs_or_claims": 16, "ui_or_frontend": 44, "source_or_other": 32, "dependency_or_build": 12}}, "text": "Graph query export: Schema, UI, and API mismatch\nQuery id: schema_ui_api_mismatch\nQuery type: motif_query\nIntent: Assumption-check examples for data-path consistency across layers.\nMotif: schema_ui_api_mismatch\nTraining usage: assumption_check\nGraph gold label: weak_supervision_needs_review\nRepo: vornicx/Midas\nThread: vornicx/Midas#5\nEvidence:\nGraph motif: Schema, UI, and API evidence do not line up\nMotif id: schema_ui_api_mismatch\nPolarity: bad\nTraining usage: assumption_check\nSeverity: high\nRepo: vornicx/Midas\nThread: vornicx/Midas#5\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#5\nRepo: vornicx/Midas\nIssue/PR number: 5\nGraph consistency label: weak_supervision_needs_review\nNodes: 51\nEdges: 79\nNode types: {'pr_file': 31, 'commit': 5, 'link_quality': 5, 'alignment': 2, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 31, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 5, '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: {'ui_or_frontend': 11, 'source_or_other': 8, 'docs_or_claims': 4, 'test_or_ci': 4, 'verification_or_tests': 4, 'dependency_or_build': 3, 'ambiguous_needs_more_evidence': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'data_schema_persistence': 1, 'api_or_backend': 1, 'comment_has_related_commit_context': 1, 'commit_general': 1, 'blueprint_human_gap_alignment': 1, 'partial blueprint fit': 1, 'blueprint_human_gap_disagreement': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 2}\nCI labels: {}\nCurriculum targets:\n- Create schema-to-API-to-UI consistency tasks with migrations and tests.\n- Teach models to verify persistence, route contracts, and UI state together.\nAssumption checks:\n- Do schema changes have matching API and UI handling?\n- Are migrations and tests present for the data path?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "graph-query-motif_query-a0285520d40f2999", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/schema_ui_api_mismatch/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "vornicx/Midas", "source_dataset": "graph_queries/schema_ui_api_mismatch", "training_usage": "assumption_check"}}}, {"ruleId": "foundry_bad_chain", "level": "error", "message": {"text": "Foundry mined bad chains: vornicx/Midas"}, "properties": {"repobilityId": 323826, "scanner": "foundry_dataset", "fingerprint": "f7a1e176da2aaa0e8ee1585ae6b44c8058e9eb3a6ab651f80fcc7e6632e53ef3", "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": "vornicx/Midas#9", "human_labels": ["agent_instruction_gap", "api_or_backend", "docs_or_claims", "source_or_other", "test_or_ci", "ui_or_frontend"], "issue_number": "9", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "self_attested_unverified", "source_backed": true, "max_confidence": 0.76, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-0fd6c0ac1921674c", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 10, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 1, "api_or_backend": 1, "docs_or_claims": 3, "ui_or_frontend": 1, "source_or_other": 4}, "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: bad_chains\nRepo: vornicx/Midas\nThread: vornicx/Midas#9\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\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#9\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: self_attested_unverified\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 10\nLabels: {'agent_instruction_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 3, 'source_or_other': 4, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-0e8830b88193a263\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"agent_instruction_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/9\",\n    \"text\": \"GitHub feedback: agent_instruction_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/9\\nTitle: Research-driven retrieval sweep + agent distillation pattern\\nBody:\\nDeep research (context.dev scrape of BEAM/LIGHT + LongMemEval papers + MTEB SOTA) drove a complete, honest sweep of the no-LLM retrieval space:\\n\\n- **Reranker**: measured negative (+0.03 recall, 180\u00d7 latency, precision flat).\\n- **Stronger embedder (mxbai)**: deprioritised \u2014 two frontier papers independently report the retriever is NOT the bottleneck (LIGHT uses bge-*small*, sparse\u2248dense; LongMemEval uses Stella-1.5B).\\n- **Char cap**: null result (control).\\n- **Granularity** (turn/round/dual): round is a category trade-off (instruction 0.28\u21920.53, but temporal/knowledge-update down); **dual is a measured negative** (redundancy displaces evidence). No free lunch.\\n\\nConclusion, evidence-backed: the no-LLM retrieval map is exhausted; the frontier's gains are **distillation**, not retrieval. Ships the architecturally-honest answer \u2014 **agent-driven distillation** (the host LLM distills; Midas stays no-LLM/$0): policy nudge for compact self-contained facts \"\n  }\n]\nChanged files:\n[\n  {\n    \"id\": \"github-pr-file-file-260d34cc56149958\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 17,\n    \"deletions\": 0,\n    \"changes\": 17,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/c7757aa6a7c0b7b719efcc1e1d5ea3d010342dac/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-783b95d1b2d2ccd9\",\n    \"filename\": \"docs/frontier-2026.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 17,\n    \"deletions\": 0,\n    \"changes\": 17,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/c7757aa6a7c0b7b719efcc1e1d5ea3d010342dac/docs%2Ffrontier-2026.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-f8ef12c6476b1a85\",\n    \"filename\": \"do\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-bad_chains-49114ab8352b4298", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/bad_chains", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_bad_chain", "level": "error", "message": {"text": "Foundry mined bad chains: vornicx/Midas"}, "properties": {"repobilityId": 323825, "scanner": "foundry_dataset", "fingerprint": "1a8c6e216a8a426beeb506de901abcfd0c35d9886e9df2165158958701d8326d", "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": "vornicx/Midas#7", "human_labels": ["agent_instruction_gap", "api_or_backend", "docs_or_claims", "source_or_other", "test_or_ci"], "issue_number": "7", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "self_attested_unverified", "source_backed": true, "max_confidence": 0.76, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-f4f31aa9c85417fe", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 10, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {"test_or_ci": 2, "api_or_backend": 1, "docs_or_claims": 2, "source_or_other": 5}, "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: bad_chains\nRepo: vornicx/Midas\nThread: vornicx/Midas#7\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\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#7\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: self_attested_unverified\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 10\nLabels: {'agent_instruction_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 2, 'source_or_other': 5, 'api_or_backend': 1, 'test_or_ci': 2}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-420c31e9f0a42142\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"agent_instruction_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/7\",\n    \"text\": \"GitHub feedback: agent_instruction_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/7\\nTitle: Pinned standing directives + BEAM 500K tier\\nBody:\\nContinuation of the frontier block:\\n\\n- **Pinned standing directives** (`MIDAS_MCP_PINNED`, default 2; `Memory(detect_standing=True)`, `build_context(pinned_limit=\u2026)`): no-LLM cue detection of durable user rules, pinned into every context. Measured on BEAM-100K: instruction-following recall@k **0.26 \u2192 0.44** (default) **\u2192 0.51** (pinned=4), overall 0.56 \u2192 0.58. First detector iteration (assistant-voiced advice pinned too) hurt and is documented as the negative that set the user-voice-only rule.\\n- **BEAM 500K full tier**: Midas **0.51 vs baseline 0.00** (n=700, 38k turns) \u2014 the wedge holds at 5\u00d7 scale; belief categories stay strong (contradiction 0.80, multi-session rises to 0.63).\\n\\n177 tests pass.\\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-747165fd0a719165\",\n    \"filename\": \"BENCHMARKS.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 31,\n    \"deletions\": 7,\n    \"changes\": 38,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/013cd6c929c53f3ab6d3f515ec18cd8051c37db5/BENCHMARKS.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-febd20a51f7cee25\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 8,\n    \"deletions\": 0,\n    \"changes\": 8,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/013cd6c929c53f3ab6d3f515ec18cd8051c37db5/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-05f13aec7bc9c8e2\",\n    \"filename\": \"eval/adapters/midas_adapter.py\",\n    \"label\": \"source_or_other\",\n    \"status\": \"modified\",\n    \"additions\": 4,\n    \"deletions\": 0,\n    \"changes\": 4,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/013cd6c929c53f3ab6d3f515ec18cd8051c37db5/eval%2Fad\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-bad_chains-313dd086f66ab286", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/bad_chains", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_bad_chain", "level": "error", "message": {"text": "Foundry mined bad chains: vornicx/Midas"}, "properties": {"repobilityId": 323824, "scanner": "foundry_dataset", "fingerprint": "fac8ba34c8a43611b050c7e9663214734127d7045bb04c521927692efbfb004f", "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": "vornicx/Midas#10", "human_labels": ["agent_instruction_gap", "docs_or_claims", "source_or_other", "test_or_ci"], "issue_number": "10", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "self_attested_unverified", "source_backed": true, "max_confidence": 0.795, "repo_full_name": "vornicx/Midas", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-f7be210d5af282dc", "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": 1, "docs_or_claims": 2, "source_or_other": 4}, "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: bad_chains\nRepo: vornicx/Midas\nThread: vornicx/Midas#10\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\nChain evidence:\nIssue/PR evidence chain: vornicx/Midas#10\nRepo: vornicx/Midas\nThread label: thread_has_human_issue_and_fix_context\nOutcome: self_attested_unverified\nComment count: 1\nLinked commit count: 5\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 7\nLabels: {'agent_instruction_gap': 1}\nPolarities: {'bad': 1}\nChanged file labels: {'docs_or_claims': 2, 'source_or_other': 4, 'test_or_ci': 1}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-c5eb61dd4db5839c\",\n    \"kind\": \"pull_request_body\",\n    \"label\": \"agent_instruction_gap\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/vornicx/Midas/pull/10\",\n    \"text\": \"GitHub feedback: agent_instruction_gap\\nPolarity: bad\\nKind: pull_request_body\\nRepo: vornicx/Midas\\nAuthor: vornicx (User)\\nURL: https://github.com/vornicx/Midas/pull/10\\nTitle: Distillation: three-tier dial + local distiller + runnable demo\\nBody:\\nCloses the distillation arc that the deep research pointed to (distillation, not retrieval tuning, is the real lever):\\n\\n- **Three-tier dial, one product** (default no-LLM / agent-driven / local distiller). README tier table.\\n- **`Memory(distiller=...)` + `OllamaDistiller` + `Memory.distill(turns, keep_raw=True)`** \u2014 the explicitly-fenced \\\"crosses the no-LLM line\\\" tier for non-agentic ingest; default `None` = pure no-LLM. Distilled records stamped `metadata[\\\"distilled\\\"]=True`; `keep_raw` retains the verbatim audit trail. stdlib-only Protocol + Ollama reference.\\n- **`examples/distillation_demo.py`** \u2014 runnable proof of the mechanism (raw answer buried at 0.85 vs distilled 1.14, rank 1).\\n\\n183 Python + 13 TS tests pass.\\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-ba4c4ee15ba540c9\",\n    \"filename\": \"CHANGELOG.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 9,\n    \"deletions\": 0,\n    \"changes\": 9,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/2cffe8bb61a6f4cab1e12412f7711ad101d7f8e7/CHANGELOG.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-75aa19d148c3310f\",\n    \"filename\": \"README.md\",\n    \"label\": \"docs_or_claims\",\n    \"status\": \"modified\",\n    \"additions\": 29,\n    \"deletions\": 0,\n    \"changes\": 29,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/2cffe8bb61a6f4cab1e12412f7711ad101d7f8e7/README.md\"\n  },\n  {\n    \"id\": \"github-pr-file-file-9e3da8ec1d963ab2\",\n    \"filename\": \"examples/distillation_demo.py\",\n    \"label\": \"source_or_other\",\n    \"status\": \"added\",\n    \"additions\": 85,\n    \"deletions\": 0,\n    \"changes\": 85,\n    \"blob_url\": \"https://github.com/vornicx/Midas/blob/2cffe8bb61a6f4cab1e12412f7711ad10\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/vornicx/Midas", "source_id": "comment-chain-pattern-bad_chains-2265465358389afd", "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": "vornicx/Midas", "source_dataset": "comment_chain_patterns/bad_chains", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_auth_guardrail_gap", "level": "error", "message": {"text": "Foundry mined security auth guardrail gaps: vornicx/Midas"}, "properties": {"repobilityId": 335248, "scanner": "foundry_dataset", "fingerprint": "e7e091b54c8018476812d941dac76c3d4421f3721d0e758ced07facfcbf6333f", "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": {"bug_fix": 1, "commit_general": 1, "docs_or_claims": 4, "source_or_other": 4, "security_auth_secret": 1, "claimed_resolved_unverified": 3, "issue_or_pull_request_thread": 1, "human_reported_issue_then_fix_attempt": 1, "thread_has_human_issue_and_fix_context": 2}, "source": "graph_query_export", "motif_id": "security_auth_without_guardrails", "outcomes": {"claimed_resolved_unverified": 6}, "polarity": "bad", "query_id": "security_auth_guardrail_gaps", "severity": "critical", "ci_labels": {}, "synthetic": false, "edge_count": 37, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 8, "chain_has_link_quality": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 8, "thread_has_comment_chain": 1, "comment_chain_links_commit": 2, "comment_chain_touches_file": 8, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 1}, "node_count": 19, "node_types": {"repo": 1, "commit": 2, "thread": 1, "comment": 1, "pr_file": 8, "fix_outcome": 1, "issue_chain": 1, "link_quality": 3, "comment_chain": 1}, "query_type": "motif_query", "thread_key": "vornicx/Midas#8", "issue_number": "8", "quality_tiers": {"weak_supervision": 3}, "repo_full_name": "vornicx/Midas", "training_usage": "assumption_check", "source_motif_id": "graph-pattern-motif-thread-858809772a8a7b44", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"docs_or_claims": 16, "source_or_other": 16}}, "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: weak_supervision_needs_review\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nEvidence:\nGraph motif: Security/auth change without enough guardrails\nMotif id: security_auth_without_guardrails\nPolarity: bad\nTraining usage: assumption_check\nSeverity: critical\nRepo: vornicx/Midas\nThread: vornicx/Midas#8\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#8\nRepo: vornicx/Midas\nIssue/PR number: 8\nGraph consistency label: weak_supervision_needs_review\nNodes: 19\nEdges: 37\nNode types: {'pr_file': 8, 'link_quality': 3, 'commit': 2, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 8, 'comment_chain_touches_file': 8, 'issue_chain_touches_file': 8, 'chain_has_link_quality': 3, 'comment_chain_links_commit': 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: {'docs_or_claims': 4, 'source_or_other': 4, 'claimed_resolved_unverified': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'security_auth_secret': 1, 'human_reported_issue_then_fix_attempt': 1, 'commit_general': 1, 'bug_fix': 1}\nOutcomes: {'claimed_resolved_unverified': 6}\nQuality tiers: {'weak_supervision': 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/vornicx/Midas", "source_id": "graph-query-motif_query-457831e1d1c9bad9", "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": "vornicx/Midas", "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: vornicx/Midas"}, "properties": {"repobilityId": 327415, "scanner": "foundry_dataset", "fingerprint": "504e84a437049b0577f9a48fafa06458dbdc39bbe7a45dbe352c8176b7069e94", "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, "commit_general": 1, "docs_or_claims": 3, "ui_or_frontend": 1, "source_or_other": 4, "generated_provenance": 4, "agent_instruction_gap": 1, "self_attested_unverified": 3, "issue_or_pull_request_thread": 1, "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": 46, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 10, "chain_has_link_quality": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 10, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 10, "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": 10, "fix_outcome": 1, "issue_chain": 1, "link_quality": 3, "comment_chain": 1}, "query_type": "motif_query", "thread_key": "vornicx/Midas#9", "issue_number": "9", "quality_tiers": {"weak_supervision": 3}, "repo_full_name": "vornicx/Midas", "training_usage": "hard_negative", "source_motif_id": "graph-pattern-motif-thread-0d706e251bad4f15", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 4, "api_or_backend": 4, "docs_or_claims": 12, "ui_or_frontend": 4, "source_or_other": 16}}, "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: vornicx/Midas\nThread: vornicx/Midas#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: vornicx/Midas\nThread: vornicx/Midas#9\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#9\nRepo: vornicx/Midas\nIssue/PR number: 9\nGraph consistency label: weak_supervision_needs_review\nNodes: 24\nEdges: 46\nNode types: {'pr_file': 10, 'commit': 5, 'link_quality': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 10, 'comment_chain_touches_file': 10, 'issue_chain_touches_file': 10, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 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: {'source_or_other': 4, 'generated_provenance': 4, 'docs_or_claims': 3, 'self_attested_unverified': 3, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'agent_instruction_gap': 1, 'api_or_backend': 1, 'ui_or_frontend': 1, 'test_or_ci': 1, 'self_attested_or_generated_fix_unverified': 1, 'commit_general': 1}\nOutcomes: {'self_attested_unverified': 6}\nQuality tiers: {'weak_supervision': 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/vornicx/Midas", "source_id": "graph-query-motif_query-9e15573ad71cdfa0", "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": "vornicx/Midas", "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: vornicx/Midas"}, "properties": {"repobilityId": 327414, "scanner": "foundry_dataset", "fingerprint": "2b7222539980759677b42fa8146733ecac02a26687abbffe3782169f157f78f9", "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": 2, "api_or_backend": 1, "commit_general": 1, "docs_or_claims": 2, "source_or_other": 5, "generated_provenance": 4, "agent_instruction_gap": 1, "self_attested_unverified": 3, "issue_or_pull_request_thread": 1, "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": 46, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 10, "chain_has_link_quality": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 10, "thread_has_comment_chain": 1, "comment_chain_links_commit": 5, "comment_chain_touches_file": 10, "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": 10, "fix_outcome": 1, "issue_chain": 1, "link_quality": 3, "comment_chain": 1}, "query_type": "motif_query", "thread_key": "vornicx/Midas#7", "issue_number": "7", "quality_tiers": {"weak_supervision": 3}, "repo_full_name": "vornicx/Midas", "training_usage": "hard_negative", "source_motif_id": "graph-pattern-motif-thread-9a8eb3efb8d1e490", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 8, "api_or_backend": 4, "docs_or_claims": 8, "source_or_other": 20}}, "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: vornicx/Midas\nThread: vornicx/Midas#7\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: vornicx/Midas\nThread: vornicx/Midas#7\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#7\nRepo: vornicx/Midas\nIssue/PR number: 7\nGraph consistency label: weak_supervision_needs_review\nNodes: 24\nEdges: 46\nNode types: {'pr_file': 10, 'commit': 5, 'link_quality': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 10, 'comment_chain_touches_file': 10, 'issue_chain_touches_file': 10, 'comment_chain_links_commit': 5, 'chain_has_link_quality': 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: {'source_or_other': 5, 'generated_provenance': 4, 'self_attested_unverified': 3, 'docs_or_claims': 2, 'test_or_ci': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'agent_instruction_gap': 1, 'api_or_backend': 1, 'self_attested_or_generated_fix_unverified': 1, 'commit_general': 1}\nOutcomes: {'self_attested_unverified': 6}\nQuality tiers: {'weak_supervision': 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/vornicx/Midas", "source_id": "graph-query-motif_query-06e3994dd241459c", "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": "vornicx/Midas", "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: vornicx/Midas"}, "properties": {"repobilityId": 327413, "scanner": "foundry_dataset", "fingerprint": "a8895ac282dd4e673733ded83ccc952bd61a30ddc775dbdae6580c4a3d84fdfc", "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, "commit_general": 1, "docs_or_claims": 2, "source_or_other": 4, "generated_provenance": 4, "agent_instruction_gap": 1, "self_attested_unverified": 3, "issue_or_pull_request_thread": 1, "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": 37, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 7, "chain_has_link_quality": 3, "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": 21, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 7, "fix_outcome": 1, "issue_chain": 1, "link_quality": 3, "comment_chain": 1}, "query_type": "motif_query", "thread_key": "vornicx/Midas#10", "issue_number": "10", "quality_tiers": {"weak_supervision": 3}, "repo_full_name": "vornicx/Midas", "training_usage": "hard_negative", "source_motif_id": "graph-pattern-motif-thread-d63d324ff95bb3dc", "graph_gold_label": "weak_supervision_needs_review", "changed_file_labels": {"test_or_ci": 4, "docs_or_claims": 8, "source_or_other": 16}}, "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: vornicx/Midas\nThread: vornicx/Midas#10\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: vornicx/Midas\nThread: vornicx/Midas#10\nGraph gold label: weak_supervision_needs_review\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: vornicx/Midas#10\nRepo: vornicx/Midas\nIssue/PR number: 10\nGraph consistency label: weak_supervision_needs_review\nNodes: 21\nEdges: 37\nNode types: {'pr_file': 7, 'commit': 5, 'link_quality': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 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': 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: {'source_or_other': 4, 'generated_provenance': 4, 'self_attested_unverified': 3, 'docs_or_claims': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'agent_instruction_gap': 1, 'test_or_ci': 1, 'self_attested_or_generated_fix_unverified': 1, 'commit_general': 1}\nOutcomes: {'self_attested_unverified': 6}\nQuality tiers: {'weak_supervision': 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/vornicx/Midas", "source_id": "graph-query-motif_query-769219e64c317920", "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": "vornicx/Midas", "source_dataset": "graph_queries/mock_as_real_or_placeholder", "training_usage": "hard_negative"}}}, {"ruleId": "scanner-a53732321b236fe4", "level": "note", "message": {"text": "Possibly dead Python function: decide"}, "properties": {"repobilityId": "d17f96b6de648910", "scanner": "scanner-primary", "fingerprint": "a53732321b236fe4", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "midas/guard.py:107"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-34bf2112e810aa12", "level": "note", "message": {"text": "Possibly dead Python function: recall_confidence"}, "properties": {"repobilityId": "ce3afb41f1e804f6", "scanner": "scanner-primary", "fingerprint": "34bf2112e810aa12", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "midas/memory.py:764"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4f80fc285c1137ea", "level": "note", "message": {"text": "Possibly dead Python function: abatch"}, "properties": {"repobilityId": "b975776a0182a520", "scanner": "scanner-primary", "fingerprint": "4f80fc285c1137ea", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "midas/integrations/langgraph_store.py:78"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7e23c264beeef5a3", "level": "note", "message": {"text": "Possibly dead Python function: work"}, "properties": {"repobilityId": "c5b0e9acf413d08f", "scanner": "scanner-primary", "fingerprint": "7e23c264beeef5a3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "eval/multiday.py:147"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a6d7951c5d42fabd", "level": "note", "message": {"text": "Possibly dead Python function: category_breakdown_table"}, "properties": {"repobilityId": "a621fe4c18a263c2", "scanner": "scanner-primary", "fingerprint": "a6d7951c5d42fabd", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "eval/runner.py:312"}, "region": {"startLine": 1}}}]}, {"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-caf7cbf9ee730751", "level": "note", "message": {"text": "Very large file: midas/memory.py (1417 lines)"}, "properties": {"repobilityId": "437f58fbb09c96aa", "scanner": "scanner-primary", "fingerprint": "caf7cbf9ee730751", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "bfe7ecec303d4ba9", "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": "bd1d0a56f1c0319a", "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": "76560ed7f502719b", "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": "6d51de76038b3e7b", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-ceaca4baee7434bd", "level": "none", "message": {"text": "Commented-code block (5 lines) in midas/memory.py:234"}, "properties": {"repobilityId": "94acc821ddda13ad", "scanner": "scanner-primary", "fingerprint": "ceaca4baee7434bd", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-4f2f004592123d29", "level": "none", "message": {"text": "Commented-code block (5 lines) in midas/importance.py:149"}, "properties": {"repobilityId": "3508679c567b3333", "scanner": "scanner-primary", "fingerprint": "4f2f004592123d29", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5817ff94377f48b9", "level": "none", "message": {"text": "Commented-code block (5 lines) in eval/adapters/mem0_adapter.py:30"}, "properties": {"repobilityId": "c50d757d3ac7c850", "scanner": "scanner-primary", "fingerprint": "5817ff94377f48b9", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a9836457f7ec50c4", "level": "note", "message": {"text": "23 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "71ec3608d30f8bcd", "scanner": "scanner-primary", "fingerprint": "a9836457f7ec50c4", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "8755b01739bb02f4", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "6cbee7d00962538f", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "fa4effd4f2cf3073", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "6b37b2cabdd502f3", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "c7dce7b361f4b3da", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "e51a09141c16d2ff", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "b7ba65a1feee1fb4", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-02525d39071dd2c7", "level": "note", "message": {"text": "Near-duplicate function bodies in 5 places"}, "properties": {"repobilityId": "a868c93bfe480dc5", "scanner": "scanner-primary", "fingerprint": "02525d39071dd2c7", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-02525d39071dd2c7", "level": "note", "message": {"text": "Near-duplicate function bodies in 5 places"}, "properties": {"repobilityId": "73fb5954dcebd70b", "scanner": "scanner-primary", "fingerprint": "02525d39071dd2c7", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}