{"version": "2.1.0", "$schema": "https://json.schemastore.org/sarif-2.1.0.json", "runs": [{"tool": {"driver": {"name": "Repobility", "informationUri": "https://repobility.com", "rules": [{"id": "foundry_unresolved_feedback", "name": "Foundry mined unresolved feedback: RobLe3/IICP", "shortDescription": {"text": "Foundry mined unresolved feedback: RobLe3/IICP"}, "fullDescription": {"text": "Graph query export: Human feedback without linked fix evidence\nQuery id: unresolved_feedback\nQuery type: motif_query\nIntent: Negative/unresolved examples that should not be hallucinated into fixes.\nMotif: unlinked_feedback_needs_evidence\nTraining usage: negative_or_unresolved\nGraph gold label: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nEvidence:\nGraph motif: Human feedback exists without a linked fix\nMotif id: unlinked_feedback_needs_evidence\nPolarity: bad\nTraining usage: negative_or_unresolved\nSeverity: medium\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1, 'fix_"}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_blueprint_gap", "name": "Foundry mined blueprint gap alignment: RobLe3/IICP", "shortDescription": {"text": "Foundry mined blueprint gap alignment: RobLe3/IICP"}, "fullDescription": {"text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nEvidence:\nGraph motif: Human feedback aligns with blueprint or architecture gaps\nMotif id: blueprint_gap_alignment\nPolarity: mixed\nTraining usage: curriculum_gap\nSeverity: medium\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1, '"}, "properties": {"scanner": "foundry_dataset", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_assumption_check", "name": "Foundry mined assumption checks: RobLe3/IICP", "shortDescription": {"text": "Foundry mined assumption checks: RobLe3/IICP"}, "fullDescription": {"text": "Comment chain pattern product: assumption_checks\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nOutcome: ambiguous_needs_more_evidence\nThread label: thread_has_human_issue_and_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_weak_supervision, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: RobLe3/IICP#1\nRepo: RobLe3/IICP\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 9\nLinked commit count: 8\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 0\nLabels: {'security_auth_secret': 1, 'positive_human_signal': 2, 'data_schema_persistence': 4, 'human_feedback_general': 1, 'api_integration_gap': 1}\nPolarities: {'bad': 6, 'good': 2, 'neutral': 1}\nChanged file labels: {}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-e85999759d9fa553\",\n    \"kind\": \"issue_body\",\n    \"label\": \"security_auth_secret\",\n    \"polarity\": \"bad\",\n "}, "properties": {"scanner": "foundry_dataset", "category": "practices", "severity": "medium", "confidence": 0.62, "cwe": "", "owasp": ""}}, {"id": "foundry_schema_ui_api_gap", "name": "Foundry mined schema ui api mismatch: RobLe3/IICP", "shortDescription": {"text": "Foundry mined schema ui api mismatch: RobLe3/IICP"}, "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: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\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: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality'"}, "properties": {"scanner": "foundry_dataset", "category": "quality", "severity": "high", "confidence": 0.76, "cwe": "", "owasp": ""}}, {"id": "foundry_auth_guardrail_gap", "name": "Foundry mined security auth guardrail gaps: RobLe3/IICP", "shortDescription": {"text": "Foundry mined security auth guardrail gaps: RobLe3/IICP"}, "fullDescription": {"text": "Graph query export: Security/auth changes without enough guardrails\nQuery id: security_auth_guardrail_gaps\nQuery type: motif_query\nIntent: Assumption-check security/auth examples requiring stronger tests or CI.\nMotif: security_auth_without_guardrails\nTraining usage: assumption_check\nGraph gold label: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nEvidence:\nGraph motif: Security/auth change without enough guardrails\nMotif id: security_auth_without_guardrails\nPolarity: bad\nTraining usage: assumption_check\nSeverity: critical\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1"}, "properties": {"scanner": "foundry_dataset", "category": "auth", "severity": "critical", "confidence": 0.78, "cwe": "", "owasp": ""}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 2 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 62 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-ea8f3013f588db25", "name": "Shallow git history limits provenance confidence", "shortDescription": {"text": "Shallow git history limits provenance confidence"}, "fullDescription": {"text": "The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-76a9f082a309088c", "name": "Legacy-named symbol `validation_results_v1` in tools/quick_validation.py:179", "shortDescription": {"text": "Legacy-named symbol `validation_results_v1` in tools/quick_validation.py:179"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-73730c35f15f9f4d", "name": "Legacy-named symbol `validation_results_v1` in tools/protocol_integrity_analysis.py:575", "shortDescription": {"text": "Legacy-named symbol `validation_results_v1` in tools/protocol_integrity_analysis.py:575"}, "fullDescription": {"text": "Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/18323"}, "properties": {"repository": "RobLe3/IICP", "repoUrl": "https://github.com/RobLe3/IICP", "branch": "main"}, "results": [{"ruleId": "foundry_unresolved_feedback", "level": "warning", "message": {"text": "Foundry mined unresolved feedback: RobLe3/IICP"}, "properties": {"repobilityId": 360922, "scanner": "foundry_dataset", "fingerprint": "3ce76af2e9cd27c0e245f384d61ebce5e5669e25bd4e694d509930761ea362ac", "category": "practices", "severity": "medium", "confidence": 0.7, "triageState": "open", "verdict": "needs_review", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Human feedback without linked fix evidence", "intent": "Negative/unresolved examples that should not be hallucinated into fixes.", "labels": {"keys": ["blueprint_human_gap_alignment", "ambiguous_needs_more_evidence", "data_schema_persistence", "comment_has_related_commit_context", "positive_human_signal", "human_reported_issue_no_linked_fix", "not_resolved_or_not_observed", "positive_feedback_no_linked_change", "human_positive_or_acceptance_signal", "verification_or_tests", "thread_has_human_issue_and_fix_context", "issue_or_pull_request_thread", "security_auth_secret", "human_feedback_general", "api_integration_gap", "unlinked_human_feedback", "human_reported_issue_then_verified_fix_attempt", "bug_fix", "claimed_resolved_with_verification_signal", "weak blueprint fit", "partial blueprint fit"], "count": 21, "_omitted": "large_dict"}, "source": "graph_query_export", "motif_id": "unlinked_feedback_needs_evidence", "outcomes": {"not_resolved_or_not_observed": 4, "ambiguous_needs_more_evidence": 12, "human_positive_or_acceptance_signal": 4, "claimed_resolved_with_verification_signal": 2}, "polarity": "bad", "query_id": "unresolved_feedback", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 99, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 9, "thread_has_comment": 9, "alignment_uses_comment": 10, "alignment_uses_finding": 10, "chain_has_link_quality": 21, "comment_aligns_finding": 10, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "thread_has_comment_chain": 9, "comment_chain_links_commit": 8, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 9}, "node_count": 58, "node_types": {"repo": 1, "commit": 3, "thread": 1, "comment": 9, "alignment": 10, "fix_outcome": 1, "issue_chain": 1, "link_quality": 21, "comment_chain": 9, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "RobLe3/IICP#1", "issue_number": "1", "quality_tiers": {"unresolved": 5, "assumption_check": 10, "weak_supervision": 6}, "repo_full_name": "RobLe3/IICP", "training_usage": "negative_or_unresolved", "source_motif_id": "graph-pattern-motif-thread-5d06f71eea0f3bfb", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {}}, "text": "Graph query export: Human feedback without linked fix evidence\nQuery id: unresolved_feedback\nQuery type: motif_query\nIntent: Negative/unresolved examples that should not be hallucinated into fixes.\nMotif: unlinked_feedback_needs_evidence\nTraining usage: negative_or_unresolved\nGraph gold label: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nEvidence:\nGraph motif: Human feedback exists without a linked fix\nMotif id: unlinked_feedback_needs_evidence\nPolarity: bad\nTraining usage: negative_or_unresolved\nSeverity: medium\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 21, 'alignment_uses_comment': 10, 'alignment_uses_finding': 10, 'comment_aligns_finding': 10, 'thread_has_comment': 9, 'thread_has_comment_chain': 9, 'comment_has_chain': 9, 'issue_chain_has_comment_chain': 9, 'comment_chain_links_commit': 8, 'repo_has_thread': 1, 'thread_has_issue_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'blueprint_human_gap_alignment': 10, 'ambiguous_needs_more_evidence': 6, 'data_schema_persistence': 4, 'comment_has_related_commit_context': 3, 'positive_human_signal': 2, 'human_reported_issue_no_linked_fix': 2, 'not_resolved_or_not_observed': 2, 'positive_feedback_no_linked_change': 2, 'human_positive_or_acceptance_signal': 2, 'verification_or_tests': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'security_auth_secret': 1, 'human_feedback_general': 1, 'api_integration_gap': 1, 'unlinked_human_feedback': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 12, 'not_resolved_or_not_observed': 4, 'human_positive_or_acceptance_signal': 4, 'claimed_resolved_with_verification_signal': 2}\nQuality tiers: {'assumption_check': 10, 'weak_supervision': 6, 'unresolved': 5}\nCI labels: {}\nCurriculum targets:\n- Teach models to preserve unresolved human feedback instead of hallucinating fixes.\n- Build issue-to-regression examples where no accepted fix exists yet.\nAssumption checks:\n- Can a commit be linked by issue number, SHA, changed path, or time window?\n- If no link exists, is this explicitly labelled unresolved?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/RobLe3/IICP", "source_id": "graph-query-motif_query-2fcb3040553779e3", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/unresolved_feedback/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "RobLe3/IICP", "source_dataset": "graph_queries/unresolved_feedback", "training_usage": "negative_or_unresolved"}}}, {"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: RobLe3/IICP"}, "properties": {"repobilityId": 344432, "scanner": "foundry_dataset", "fingerprint": "fc0c653719e14fae20223d4607039721c5ef93db458c17839d600a1b87bf7414", "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": {"keys": ["blueprint_human_gap_alignment", "ambiguous_needs_more_evidence", "data_schema_persistence", "comment_has_related_commit_context", "positive_human_signal", "human_reported_issue_no_linked_fix", "not_resolved_or_not_observed", "positive_feedback_no_linked_change", "human_positive_or_acceptance_signal", "verification_or_tests", "thread_has_human_issue_and_fix_context", "issue_or_pull_request_thread", "security_auth_secret", "human_feedback_general", "api_integration_gap", "unlinked_human_feedback", "human_reported_issue_then_verified_fix_attempt", "bug_fix", "claimed_resolved_with_verification_signal", "weak blueprint fit", "partial blueprint fit"], "count": 21, "_omitted": "large_dict"}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"not_resolved_or_not_observed": 4, "ambiguous_needs_more_evidence": 12, "human_positive_or_acceptance_signal": 4, "claimed_resolved_with_verification_signal": 2}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 99, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 9, "thread_has_comment": 9, "alignment_uses_comment": 10, "alignment_uses_finding": 10, "chain_has_link_quality": 21, "comment_aligns_finding": 10, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "thread_has_comment_chain": 9, "comment_chain_links_commit": 8, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 9}, "node_count": 58, "node_types": {"repo": 1, "commit": 3, "thread": 1, "comment": 9, "alignment": 10, "fix_outcome": 1, "issue_chain": 1, "link_quality": 21, "comment_chain": 9, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "RobLe3/IICP#1", "issue_number": "1", "quality_tiers": {"unresolved": 5, "assumption_check": 10, "weak_supervision": 6}, "repo_full_name": "RobLe3/IICP", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-52aa1c5bc96bc982", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {}}, "text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nEvidence:\nGraph motif: Human feedback aligns with blueprint or architecture gaps\nMotif id: blueprint_gap_alignment\nPolarity: mixed\nTraining usage: curriculum_gap\nSeverity: medium\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 21, 'alignment_uses_comment': 10, 'alignment_uses_finding': 10, 'comment_aligns_finding': 10, 'thread_has_comment': 9, 'thread_has_comment_chain': 9, 'comment_has_chain': 9, 'issue_chain_has_comment_chain': 9, 'comment_chain_links_commit': 8, 'repo_has_thread': 1, 'thread_has_issue_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'blueprint_human_gap_alignment': 10, 'ambiguous_needs_more_evidence': 6, 'data_schema_persistence': 4, 'comment_has_related_commit_context': 3, 'positive_human_signal': 2, 'human_reported_issue_no_linked_fix': 2, 'not_resolved_or_not_observed': 2, 'positive_feedback_no_linked_change': 2, 'human_positive_or_acceptance_signal': 2, 'verification_or_tests': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'security_auth_secret': 1, 'human_feedback_general': 1, 'api_integration_gap': 1, 'unlinked_human_feedback': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 12, 'not_resolved_or_not_observed': 4, 'human_positive_or_acceptance_signal': 4, 'claimed_resolved_with_verification_signal': 2}\nQuality tiers: {'assumption_check': 10, 'weak_supervision': 6, 'unresolved': 5}\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/RobLe3/IICP", "source_id": "graph-query-motif_query-3dd4ce57b34ce0d8", "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": "RobLe3/IICP", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_assumption_check", "level": "warning", "message": {"text": "Foundry mined assumption checks: RobLe3/IICP"}, "properties": {"repobilityId": 300230, "scanner": "foundry_dataset", "fingerprint": "32efb234287c4fdd4b95bb1f2b4e5ad663399fb60cd729f97df21abcee209a45", "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": "RobLe3/IICP#1", "human_labels": ["api_integration_gap", "data_schema_persistence", "human_feedback_general", "positive_human_signal", "security_auth_secret"], "issue_number": "1", "thread_label": "thread_has_human_issue_and_fix_context", "outcome_label": "ambiguous_needs_more_evidence", "source_backed": true, "max_confidence": 0.65, "repo_full_name": "RobLe3/IICP", "training_usage": "weak_supervision", "confidence_tier": "weak_supervision", "source_chain_id": "evidence-chain-issue_chain-9026d04b0123a899", "helicopter_views": {}, "artifact_families": {"docs": 1}, "source_chain_kind": "issue_chain", "changed_file_count": 0, "source_graph_label": "source_artifact_without_verification_graph", "changed_file_labels": {}, "linked_commit_count": 8, "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: RobLe3/IICP\nThread: RobLe3/IICP#1\nOutcome: ambiguous_needs_more_evidence\nThread label: thread_has_human_issue_and_fix_context\nSource graph label: source_artifact_without_verification_graph\nReasons: source_graph_has_real_artifacts, link_quality_weak_supervision, high_risk_human_feedback_label\nChain evidence:\nIssue/PR evidence chain: RobLe3/IICP#1\nRepo: RobLe3/IICP\nThread label: thread_has_human_issue_and_fix_context\nOutcome: ambiguous_needs_more_evidence\nComment count: 9\nLinked commit count: 8\nLinked CI commit count: 0\nLinked CI labels: {}\nChanged file count: 0\nLabels: {'security_auth_secret': 1, 'positive_human_signal': 2, 'data_schema_persistence': 4, 'human_feedback_general': 1, 'api_integration_gap': 1}\nPolarities: {'bad': 6, 'good': 2, 'neutral': 1}\nChanged file labels: {}\nExamples:\n[\n  {\n    \"id\": \"github-feedback-comment-e85999759d9fa553\",\n    \"kind\": \"issue_body\",\n    \"label\": \"security_auth_secret\",\n    \"polarity\": \"bad\",\n    \"url\": \"https://github.com/RobLe3/IICP/issues/1\",\n    \"text\": \"GitHub feedback: security_auth_secret\\nPolarity: bad\\nKind: issue_body\\nRepo: RobLe3/IICP\\nAuthor: flyoung588 (User)\\nURL: https://github.com/RobLe3/IICP/issues/1\\nTitle: Design question: intent vs constraints split, QoS as protocol primitive, observability without privacy loss\\nBody:\\nHi \u2014 I'm working on [OM World](https://github.com/omworldprotocol/om-world), a protocol for a decentralized intent economy. IICP's framing \u2014 intent-based protocol for AI agents with discovery, security, **QoS**, and observability built in \u2014 is unusual: most intent-protocol attempts stop at the first three and treat QoS/observability as out-of-scope. The fact that you put them in the protocol layer is exactly the kind of thinking we're trying to apply to our [Intent Schema](https://github.com/omworldprotocol/om-world/blob/main/docs/intent-schema.md) primitive.\\n\\nThree design questions:\\n\\n**1. Intent vs constraints split at the wire format**\\n\\nWe've been treating an intent as *body* (the natural-language statement of what the user wants) + *constraints* (budget, deadline, allowed tools, success criteria). The solver has freedom inside the constraint envelope but no freedom to exceed it. How does IICP draw this li\"\n  },\n  {\n    \"id\": \"github-feedback-comment-dbc54e19bdb2234e\",\n    \"kind\": \"issue_comment\",\n    \"label\": \"positive_human_signal\",\n    \"polarity\": \"good\",\n    \"url\": \"https://github.com/RobLe3/IICP/issues/1#issuecomment-4476332439\",\n    \"text\": \"GitHub feedback: positive_human_signal\\nPolarity: good\\nKind: issue_comment\\nRepo: RobLe3/IICP\\nAuthor: RobLe3 (User)\\nURL: https://github.com/RobLe3/IICP/issues/1#issuecomment-4476332439\\nTitle: \\nBody:\\nThanks for the feedback, working on an implementation currently and the spec is a living thing which will be influenced by the findings of the implementation and vice versa. So please bear with me and be a bit patient, as soon as I find\n[truncated by importer]", "source": "foundry_mined_dataset", "repo_url": "https://github.com/RobLe3/IICP", "source_id": "comment-chain-pattern-assumption_checks-8b54001ec3b0b107", "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": "RobLe3/IICP", "source_dataset": "comment_chain_patterns/assumption_checks", "training_usage": "weak_supervision"}}}, {"ruleId": "foundry_schema_ui_api_gap", "level": "error", "message": {"text": "Foundry mined schema ui api mismatch: RobLe3/IICP"}, "properties": {"repobilityId": 328252, "scanner": "foundry_dataset", "fingerprint": "4ef18d47fce6ec3ebbddc40a71285afe9c20b30d8ec6adb535b99b688b2bc4f2", "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": {"keys": ["blueprint_human_gap_alignment", "ambiguous_needs_more_evidence", "data_schema_persistence", "comment_has_related_commit_context", "positive_human_signal", "human_reported_issue_no_linked_fix", "not_resolved_or_not_observed", "positive_feedback_no_linked_change", "human_positive_or_acceptance_signal", "verification_or_tests", "thread_has_human_issue_and_fix_context", "issue_or_pull_request_thread", "security_auth_secret", "human_feedback_general", "api_integration_gap", "unlinked_human_feedback", "human_reported_issue_then_verified_fix_attempt", "bug_fix", "claimed_resolved_with_verification_signal", "weak blueprint fit", "partial blueprint fit"], "count": 21, "_omitted": "large_dict"}, "source": "graph_query_export", "motif_id": "schema_ui_api_mismatch", "outcomes": {"not_resolved_or_not_observed": 4, "ambiguous_needs_more_evidence": 12, "human_positive_or_acceptance_signal": 4, "claimed_resolved_with_verification_signal": 2}, "polarity": "bad", "query_id": "schema_ui_api_mismatch", "severity": "high", "ci_labels": {}, "synthetic": false, "edge_count": 99, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 9, "thread_has_comment": 9, "alignment_uses_comment": 10, "alignment_uses_finding": 10, "chain_has_link_quality": 21, "comment_aligns_finding": 10, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "thread_has_comment_chain": 9, "comment_chain_links_commit": 8, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 9}, "node_count": 58, "node_types": {"repo": 1, "commit": 3, "thread": 1, "comment": 9, "alignment": 10, "fix_outcome": 1, "issue_chain": 1, "link_quality": 21, "comment_chain": 9, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "RobLe3/IICP#1", "issue_number": "1", "quality_tiers": {"unresolved": 5, "assumption_check": 10, "weak_supervision": 6}, "repo_full_name": "RobLe3/IICP", "training_usage": "assumption_check", "source_motif_id": "graph-pattern-motif-thread-b0d531465b95a447", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {}}, "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: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\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: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 21, 'alignment_uses_comment': 10, 'alignment_uses_finding': 10, 'comment_aligns_finding': 10, 'thread_has_comment': 9, 'thread_has_comment_chain': 9, 'comment_has_chain': 9, 'issue_chain_has_comment_chain': 9, 'comment_chain_links_commit': 8, 'repo_has_thread': 1, 'thread_has_issue_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'blueprint_human_gap_alignment': 10, 'ambiguous_needs_more_evidence': 6, 'data_schema_persistence': 4, 'comment_has_related_commit_context': 3, 'positive_human_signal': 2, 'human_reported_issue_no_linked_fix': 2, 'not_resolved_or_not_observed': 2, 'positive_feedback_no_linked_change': 2, 'human_positive_or_acceptance_signal': 2, 'verification_or_tests': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'security_auth_secret': 1, 'human_feedback_general': 1, 'api_integration_gap': 1, 'unlinked_human_feedback': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 12, 'not_resolved_or_not_observed': 4, 'human_positive_or_acceptance_signal': 4, 'claimed_resolved_with_verification_signal': 2}\nQuality tiers: {'assumption_check': 10, 'weak_supervision': 6, 'unresolved': 5}\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/RobLe3/IICP", "source_id": "graph-query-motif_query-09b16acdde7f746e", "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": "RobLe3/IICP", "source_dataset": "graph_queries/schema_ui_api_mismatch", "training_usage": "assumption_check"}}}, {"ruleId": "foundry_auth_guardrail_gap", "level": "error", "message": {"text": "Foundry mined security auth guardrail gaps: RobLe3/IICP"}, "properties": {"repobilityId": 331938, "scanner": "foundry_dataset", "fingerprint": "582da3492179ef9c511b275596ead82ec647a7ea39638b365fd5d36660b2aeb3", "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": {"keys": ["blueprint_human_gap_alignment", "ambiguous_needs_more_evidence", "data_schema_persistence", "comment_has_related_commit_context", "positive_human_signal", "human_reported_issue_no_linked_fix", "not_resolved_or_not_observed", "positive_feedback_no_linked_change", "human_positive_or_acceptance_signal", "verification_or_tests", "thread_has_human_issue_and_fix_context", "issue_or_pull_request_thread", "security_auth_secret", "human_feedback_general", "api_integration_gap", "unlinked_human_feedback", "human_reported_issue_then_verified_fix_attempt", "bug_fix", "claimed_resolved_with_verification_signal", "weak blueprint fit", "partial blueprint fit"], "count": 21, "_omitted": "large_dict"}, "source": "graph_query_export", "motif_id": "security_auth_without_guardrails", "outcomes": {"not_resolved_or_not_observed": 4, "ambiguous_needs_more_evidence": 12, "human_positive_or_acceptance_signal": 4, "claimed_resolved_with_verification_signal": 2}, "polarity": "bad", "query_id": "security_auth_guardrail_gaps", "severity": "critical", "ci_labels": {}, "synthetic": false, "edge_count": 99, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 9, "thread_has_comment": 9, "alignment_uses_comment": 10, "alignment_uses_finding": 10, "chain_has_link_quality": 21, "comment_aligns_finding": 10, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "thread_has_comment_chain": 9, "comment_chain_links_commit": 8, "issue_chain_has_fix_outcome": 1, "issue_chain_has_comment_chain": 9}, "node_count": 58, "node_types": {"repo": 1, "commit": 3, "thread": 1, "comment": 9, "alignment": 10, "fix_outcome": 1, "issue_chain": 1, "link_quality": 21, "comment_chain": 9, "blueprint_finding": 2}, "query_type": "motif_query", "thread_key": "RobLe3/IICP#1", "issue_number": "1", "quality_tiers": {"unresolved": 5, "assumption_check": 10, "weak_supervision": 6}, "repo_full_name": "RobLe3/IICP", "training_usage": "assumption_check", "source_motif_id": "graph-pattern-motif-thread-29af5c6b290f3be8", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {}}, "text": "Graph query export: Security/auth changes without enough guardrails\nQuery id: security_auth_guardrail_gaps\nQuery type: motif_query\nIntent: Assumption-check security/auth examples requiring stronger tests or CI.\nMotif: security_auth_without_guardrails\nTraining usage: assumption_check\nGraph gold label: supported_by_verification_signal\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nEvidence:\nGraph motif: Security/auth change without enough guardrails\nMotif id: security_auth_without_guardrails\nPolarity: bad\nTraining usage: assumption_check\nSeverity: critical\nRepo: RobLe3/IICP\nThread: RobLe3/IICP#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: RobLe3/IICP#1\nRepo: RobLe3/IICP\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 58\nEdges: 99\nNode types: {'link_quality': 21, 'alignment': 10, 'comment': 9, 'comment_chain': 9, 'commit': 3, 'blueprint_finding': 2, 'thread': 1, 'repo': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'chain_has_link_quality': 21, 'alignment_uses_comment': 10, 'alignment_uses_finding': 10, 'comment_aligns_finding': 10, 'thread_has_comment': 9, 'thread_has_comment_chain': 9, 'comment_has_chain': 9, 'issue_chain_has_comment_chain': 9, 'comment_chain_links_commit': 8, 'repo_has_thread': 1, 'thread_has_issue_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'blueprint_human_gap_alignment': 10, 'ambiguous_needs_more_evidence': 6, 'data_schema_persistence': 4, 'comment_has_related_commit_context': 3, 'positive_human_signal': 2, 'human_reported_issue_no_linked_fix': 2, 'not_resolved_or_not_observed': 2, 'positive_feedback_no_linked_change': 2, 'human_positive_or_acceptance_signal': 2, 'verification_or_tests': 2, 'thread_has_human_issue_and_fix_context': 2, 'issue_or_pull_request_thread': 1, 'security_auth_secret': 1, 'human_feedback_general': 1, 'api_integration_gap': 1, 'unlinked_human_feedback': 1}\nOutcomes: {'ambiguous_needs_more_evidence': 12, 'not_resolved_or_not_observed': 4, 'human_positive_or_acceptance_signal': 4, 'claimed_resolved_with_verification_signal': 2}\nQuality tiers: {'assumption_check': 10, 'weak_supervision': 6, 'unresolved': 5}\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/RobLe3/IICP", "source_id": "graph-query-motif_query-9753b6d094c80bd1", "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": "RobLe3/IICP", "source_dataset": "graph_queries/security_auth_guardrail_gaps", "training_usage": "assumption_check"}}}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "0aac20d558e8b082", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "296d9464f47196fb", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "466ca4f025318817", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "9c8060288f8b7681", "scanner": "scanner-primary", "fingerprint": "ea8f3013f588db25", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-76a9f082a309088c", "level": "note", "message": {"text": "Legacy-named symbol `validation_results_v1` in tools/quick_validation.py:179"}, "properties": {"repobilityId": "b4f2553289de7780", "scanner": "scanner-primary", "fingerprint": "76a9f082a309088c", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-73730c35f15f9f4d", "level": "note", "message": {"text": "Legacy-named symbol `validation_results_v1` in tools/protocol_integrity_analysis.py:575"}, "properties": {"repobilityId": "229d6329b000a353", "scanner": "scanner-primary", "fingerprint": "73730c35f15f9f4d", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}]}]}