{"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: wakeyi-git/obsidian-covault", "shortDescription": {"text": "Foundry mined blueprint gap alignment: wakeyi-git/obsidian-covault"}, "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: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#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: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: wakeyi-git/obsidian-covault#1\nRepo: wakeyi-git/obsidian-covault\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 83\nEdges: 112\nNode types: {'pr_file': 60, 'link_quality': 6, 'commit': 5, 'alignm"}, "properties": {"scanner": "foundry_dataset", "category": "tech_debt", "severity": "medium", "confidence": 0.7, "cwe": "", "owasp": ""}}, {"id": "foundry_test_ci_gap", "name": "Foundry mined test ci gap after feedback: wakeyi-git/obsidian-covault", "shortDescription": {"text": "Foundry mined test ci gap after feedback: wakeyi-git/obsidian-covault"}, "fullDescription": {"text": "Graph query export: Feedback exposes missing tests or CI\nQuery id: test_ci_gap_after_feedback\nQuery type: motif_query\nIntent: Hard negatives for feedback/fix chains without adequate guardrails.\nMotif: test_ci_gap_after_feedback\nTraining usage: hard_negative\nGraph gold label: supported_by_verification_signal\nRepo: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#1\nEvidence:\nGraph motif: Feedback or fix context exposes missing test/CI guardrails\nMotif id: test_ci_gap_after_feedback\nPolarity: bad\nTraining usage: hard_negative\nSeverity: high\nRepo: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: wakeyi-git/obsidian-covault#1\nRepo: wakeyi-git/obsidian-covault\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 83\nEdges: 112\nNode types: {'pr_file': 60, 'link_quality': 6, 'commit': 5, 'alignment': 3, 'blueprint_find"}, "properties": {"scanner": "foundry_dataset", "category": "testing", "severity": "high", "confidence": 0.78, "cwe": "", "owasp": ""}}, {"id": "scanner-2ed5d49f5eaf8631", "name": "Stray `console.log` in TS/JS \u2014 server/hocuspocus/server.js:146", "shortDescription": {"text": "Stray `console.log` in TS/JS \u2014 server/hocuspocus/server.js:146"}, "fullDescription": {"text": "Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable.\n\nWhy: Hygiene \u2014 easy to leak debug output.\nRule id: fq.console-leak"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5987d0c21290a568", "name": "Dockerfile runs as root: server/hocuspocus/Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: server/hocuspocus/Dockerfile"}, "fullDescription": {"text": "No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-56cda315e75f2dea", "name": "Docker base image is tag-pinned but not digest-pinned: node:22-bookworm-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-bookworm-slim"}, "fullDescription": {"text": "Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "low", "confidence": 1.0}}, {"id": "scanner-aa5acaa49eb8315b", "name": "Containers defined but no K8s/orchestration manifest found", "shortDescription": {"text": "Containers defined but no K8s/orchestration manifest found"}, "fullDescription": {"text": "Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "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-299b78071dca5eb0", "name": "Insecure pattern 'new_function_used' in src/core/couch/validatePolicy.test.ts:7", "shortDescription": {"text": "Insecure pattern 'new_function_used' in src/core/couch/validatePolicy.test.ts:7"}, "fullDescription": {"text": "Found a known-risky pattern (new_function_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1838a141491ce38c", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-7cda01720d6b4d88", "name": "Node manifest has dependencies but no lockfile: server/hocuspocus/package.json", "shortDescription": {"text": "Node manifest has dependencies but no lockfile: server/hocuspocus/package.json"}, "fullDescription": {"text": "`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely."}, "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 9 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 22 placeholder/mock markers across 14 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing lockfile. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "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-6dbf5dcd4788ff91", "name": "Commented-code block (5 lines) in test/harness/pouchdb-memory.ts:1", "shortDescription": {"text": "Commented-code block (5 lines) in test/harness/pouchdb-memory.ts:1"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-91ef18f53e0d94b8", "name": "Commented-code block (6 lines) in scripts/loc-check.mjs:1", "shortDescription": {"text": "Commented-code block (6 lines) in scripts/loc-check.mjs:1"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}, {"id": "scanner-5a34befbeeb2a122", "name": "`fetch()` without try/.catch or AbortSignal \u2014 server/hocuspocus/couch.js:25", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 server/hocuspocus/couch.js:25"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-41407146c058a9a4", "name": "Commented-code block (5 lines) in server/hocuspocus/docLifecycle.js:144", "shortDescription": {"text": "Commented-code block (5 lines) in server/hocuspocus/docLifecycle.js:144"}, "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-46e99bfdae4bb287", "name": "Commented-code block (6 lines) in server/hocuspocus/server.js:71", "shortDescription": {"text": "Commented-code block (6 lines) in server/hocuspocus/server.js:71"}, "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-78c22b5516198696", "name": "Legacy-named symbol `not_a_covault_settings_backup` in src/settings/portable.ts:94", "shortDescription": {"text": "Legacy-named symbol `not_a_covault_settings_backup` in src/settings/portable.ts:94"}, "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-fa013c7b75423303", "name": "Legacy-named symbol `open_remote_copy` in src/ui/ConflictModal.ts:81", "shortDescription": {"text": "Legacy-named symbol `open_remote_copy` in src/ui/ConflictModal.ts:81"}, "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-f3c5485ae0a60fbc", "name": "Commented-code block (5 lines) in src/modes/manager/ManagerMode.ts:75", "shortDescription": {"text": "Commented-code block (5 lines) in src/modes/manager/ManagerMode.ts:75"}, "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-652551dc433c4778", "name": "Legacy-named symbol `failed_to_write_conflict_copy` in src/core/sync/ConflictManager.ts:72", "shortDescription": {"text": "Legacy-named symbol `failed_to_write_conflict_copy` in src/core/sync/ConflictManager.ts:72"}, "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-ae153716c5ebb2b5", "name": "Commented-code block (5 lines) in src/core/sync/MirrorContext.ts:128", "shortDescription": {"text": "Commented-code block (5 lines) in src/core/sync/MirrorContext.ts:128"}, "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-e1a8f7e1f63177ae", "name": "Legacy-named symbol `failed_to_save_attachment_conflict_copy` in src/core/sync/MirrorApplier.ts:302", "shortDescription": {"text": "Legacy-named symbol `failed_to_save_attachment_conflict_copy` in src/core/sync/MirrorApplier.ts:302"}, "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-c430f86703775ad4", "name": "`fetch()` without try/.catch or AbortSignal \u2014 src/core/couch/CouchAdmin.ts:15", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/core/couch/CouchAdmin.ts:15"}, "fullDescription": {"text": "Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-4e6fb0f8d9eb4885", "name": "Commented-code block (6 lines) in src/core/model/types.ts:251", "shortDescription": {"text": "Commented-code block (6 lines) in src/core/model/types.ts:251"}, "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-c7e8b254fbeda285", "name": "Commented-code block (5 lines) in src/core/realtime/excalidrawBinding.ts:77", "shortDescription": {"text": "Commented-code block (5 lines) in src/core/realtime/excalidrawBinding.ts:77"}, "fullDescription": {"text": "A long run of `//` or `#` lines usually means abandoned code. Delete or move to git history. Keeps the canvas + dead-code detection honest."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/22501"}, "properties": {"repository": "wakeyi-git/obsidian-covault", "repoUrl": "https://github.com/wakeyi-git/obsidian-covault", "branch": "main"}, "results": [{"ruleId": "foundry_blueprint_gap", "level": "warning", "message": {"text": "Foundry mined blueprint gap alignment: wakeyi-git/obsidian-covault"}, "properties": {"repobilityId": 405300, "scanner": "foundry_dataset", "fingerprint": "c8a98bc1b850c4e5df1d5cdf7cb3e828f3ee4658317f43f0787da19f6d4082ac", "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": 15, "test_ci_gap": 1, "ui_workflow": 1, "api_or_backend": 11, "docs_or_claims": 3, "ui_or_frontend": 26, "source_or_other": 3, "weak blueprint fit": 1, "dependency_or_build": 2, "partial blueprint fit": 2, "verification_or_tests": 4, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 3, "thread_has_human_issue_and_fix_context": 2, "claimed_resolved_with_verification_signal": 3, "human_reported_issue_then_verified_fix_attempt": 1}, "source": "graph_query_export", "motif_id": "blueprint_gap_alignment", "outcomes": {"claimed_resolved_with_verification_signal": 6}, "polarity": "mixed", "query_id": "blueprint_gap_alignment", "severity": "medium", "ci_labels": {}, "synthetic": false, "edge_count": 112, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 60, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 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": 83, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 60, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "wakeyi-git/obsidian-covault#1", "issue_number": "1", "quality_tiers": {"assumption_check": 3, "weak_supervision": 3}, "repo_full_name": "wakeyi-git/obsidian-covault", "training_usage": "curriculum_gap", "source_motif_id": "graph-pattern-motif-thread-6bf438bc4133dd68", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {"test_or_ci": 60, "api_or_backend": 44, "docs_or_claims": 12, "ui_or_frontend": 104, "source_or_other": 12, "dependency_or_build": 8}}, "text": "Graph query export: Human feedback aligned with blueprint or architecture gaps\nQuery id: blueprint_gap_alignment\nQuery type: motif_query\nIntent: Curriculum-gap examples connecting issue threads to helicopter-view gaps.\nMotif: blueprint_gap_alignment\nTraining usage: curriculum_gap\nGraph gold label: supported_by_verification_signal\nRepo: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#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: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: wakeyi-git/obsidian-covault#1\nRepo: wakeyi-git/obsidian-covault\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 83\nEdges: 112\nNode types: {'pr_file': 60, 'link_quality': 6, 'commit': 5, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 60, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'chain_has_link_quality': 6, 'comment_chain_links_commit': 5, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'ui_or_frontend': 26, 'test_or_ci': 15, 'api_or_backend': 11, 'verification_or_tests': 4, 'docs_or_claims': 3, 'source_or_other': 3, 'claimed_resolved_with_verification_signal': 3, 'blueprint_human_gap_alignment': 3, 'dependency_or_build': 2, 'thread_has_human_issue_and_fix_context': 2, 'partial blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'test_ci_gap': 1, 'human_reported_issue_then_verified_fix_attempt': 1, 'ui_workflow': 1, 'weak blueprint fit': 1}\nOutcomes: {'claimed_resolved_with_verification_signal': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Use helicopter-view architecture/schema/design evidence beside issue threads.\n- Teach models to compare requested product class against implementation layers.\nAssumption checks:\n- Which blueprint layer is absent: frontend, API, data, auth, tests, or deployment?\n- Does human feedback confirm the same architectural gap?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/wakeyi-git/obsidian-covault", "source_id": "graph-query-motif_query-ca0536707ff377a8", "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": "wakeyi-git/obsidian-covault", "source_dataset": "graph_queries/blueprint_gap_alignment", "training_usage": "curriculum_gap"}}}, {"ruleId": "foundry_test_ci_gap", "level": "error", "message": {"text": "Foundry mined test ci gap after feedback: wakeyi-git/obsidian-covault"}, "properties": {"repobilityId": 420775, "scanner": "foundry_dataset", "fingerprint": "cf9324fefe1a770864309c1a0fe7e70b8fe33e46ffaa3594a406b28f762aa00c", "category": "testing", "severity": "high", "confidence": 0.78, "triageState": "open", "verdict": "confirmed", "isResolved": false, "reason": "Imported from mined Foundry/Fable5 evidence with real GitHub/source provenance. Review source_id before acting.", "evidence": {"meta": {"kind": "graph_query_record", "title": "Feedback exposes missing tests or CI", "intent": "Hard negatives for feedback/fix chains without adequate guardrails.", "labels": {"test_or_ci": 15, "test_ci_gap": 1, "ui_workflow": 1, "api_or_backend": 11, "docs_or_claims": 3, "ui_or_frontend": 26, "source_or_other": 3, "weak blueprint fit": 1, "dependency_or_build": 2, "partial blueprint fit": 2, "verification_or_tests": 4, "issue_or_pull_request_thread": 1, "blueprint_human_gap_alignment": 3, "thread_has_human_issue_and_fix_context": 2, "claimed_resolved_with_verification_signal": 3, "human_reported_issue_then_verified_fix_attempt": 1}, "source": "graph_query_export", "motif_id": "test_ci_gap_after_feedback", "outcomes": {"claimed_resolved_with_verification_signal": 6}, "polarity": "bad", "query_id": "test_ci_gap_after_feedback", "severity": "high", "ci_labels": {}, "synthetic": false, "edge_count": 112, "edge_types": {"repo_has_thread": 1, "comment_has_chain": 1, "thread_has_comment": 1, "thread_touches_file": 60, "alignment_uses_comment": 3, "alignment_uses_finding": 3, "chain_has_link_quality": 6, "comment_aligns_finding": 3, "thread_has_fix_outcome": 1, "thread_has_issue_chain": 1, "issue_chain_touches_file": 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": 83, "node_types": {"repo": 1, "commit": 5, "thread": 1, "comment": 1, "pr_file": 60, "alignment": 3, "fix_outcome": 1, "issue_chain": 1, "link_quality": 6, "comment_chain": 1, "blueprint_finding": 3}, "query_type": "motif_query", "thread_key": "wakeyi-git/obsidian-covault#1", "issue_number": "1", "quality_tiers": {"assumption_check": 3, "weak_supervision": 3}, "repo_full_name": "wakeyi-git/obsidian-covault", "training_usage": "hard_negative", "source_motif_id": "graph-pattern-motif-thread-0564fa08a17cb0a0", "graph_gold_label": "supported_by_verification_signal", "changed_file_labels": {"test_or_ci": 60, "api_or_backend": 44, "docs_or_claims": 12, "ui_or_frontend": 104, "source_or_other": 12, "dependency_or_build": 8}}, "text": "Graph query export: Feedback exposes missing tests or CI\nQuery id: test_ci_gap_after_feedback\nQuery type: motif_query\nIntent: Hard negatives for feedback/fix chains without adequate guardrails.\nMotif: test_ci_gap_after_feedback\nTraining usage: hard_negative\nGraph gold label: supported_by_verification_signal\nRepo: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#1\nEvidence:\nGraph motif: Feedback or fix context exposes missing test/CI guardrails\nMotif id: test_ci_gap_after_feedback\nPolarity: bad\nTraining usage: hard_negative\nSeverity: high\nRepo: wakeyi-git/obsidian-covault\nThread: wakeyi-git/obsidian-covault#1\nGraph gold label: supported_by_verification_signal\nThread graph evidence:\nGitHub issue/PR evidence subgraph\nThread: wakeyi-git/obsidian-covault#1\nRepo: wakeyi-git/obsidian-covault\nIssue/PR number: 1\nGraph consistency label: supported_by_verification_signal\nNodes: 83\nEdges: 112\nNode types: {'pr_file': 60, 'link_quality': 6, 'commit': 5, 'alignment': 3, 'blueprint_finding': 3, 'thread': 1, 'repo': 1, 'comment': 1, 'comment_chain': 1, 'issue_chain': 1, 'fix_outcome': 1}\nEdge types: {'thread_touches_file': 60, 'comment_chain_touches_file': 12, 'issue_chain_touches_file': 12, 'chain_has_link_quality': 6, 'comment_chain_links_commit': 5, 'alignment_uses_comment': 3, 'alignment_uses_finding': 3, 'comment_aligns_finding': 3, 'repo_has_thread': 1, 'thread_has_comment': 1, 'thread_has_comment_chain': 1, 'comment_has_chain': 1, 'thread_has_issue_chain': 1, 'issue_chain_has_comment_chain': 1, 'thread_has_fix_outcome': 1, 'issue_chain_has_fix_outcome': 1}\nLabels: {'ui_or_frontend': 26, 'test_or_ci': 15, 'api_or_backend': 11, 'verification_or_tests': 4, 'docs_or_claims': 3, 'source_or_other': 3, 'claimed_resolved_with_verification_signal': 3, 'blueprint_human_gap_alignment': 3, 'dependency_or_build': 2, 'thread_has_human_issue_and_fix_context': 2, 'partial blueprint fit': 2, 'issue_or_pull_request_thread': 1, 'test_ci_gap': 1, 'human_reported_issue_then_verified_fix_attempt': 1, 'ui_workflow': 1, 'weak blueprint fit': 1}\nOutcomes: {'claimed_resolved_with_verification_signal': 6}\nQuality tiers: {'weak_supervision': 3, 'assumption_check': 3}\nCI labels: {}\nCurriculum targets:\n- Turn human feedback into regression tests and CI gates.\n- Penalize fixes that do not add or exercise verification for affected workflows.\nAssumption checks:\n- Did the fix add tests for the exact complaint?\n- Does CI run those tests, or is verification only implied?", "source": "foundry_mined_dataset", "repo_url": "https://github.com/wakeyi-git/obsidian-covault", "source_id": "graph-query-motif_query-dc24ca860ff464bd", "synthetic": false, "gold_label": "", "graph_label": "", "source_path": "/data/distillate/foundry_data/graph_queries/test_ci_gap_after_feedback/shard-0.jsonl", "bundle_label": "", "priority_band": "", "priority_score": 0, "repo_full_name": "wakeyi-git/obsidian-covault", "source_dataset": "graph_queries/test_ci_gap_after_feedback", "training_usage": "hard_negative"}}}, {"ruleId": "scanner-2ed5d49f5eaf8631", "level": "note", "message": {"text": "Stray `console.log` in TS/JS \u2014 server/hocuspocus/server.js:146"}, "properties": {"repobilityId": "ec49d988046ab190", "scanner": "scanner-primary", "fingerprint": "2ed5d49f5eaf8631", "layer": "frontend", "severity": "low", "confidence": 1.0, "tags": ["frontend-quality", "fq.console-leak"]}}, {"ruleId": "scanner-5987d0c21290a568", "level": "warning", "message": {"text": "Dockerfile runs as root: server/hocuspocus/Dockerfile"}, "properties": {"repobilityId": "1ee275314fbe773c", "scanner": "scanner-primary", "fingerprint": "5987d0c21290a568", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-56cda315e75f2dea", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: node:22-bookworm-slim"}, "properties": {"repobilityId": "e2c45ecfc68a21de", "scanner": "scanner-primary", "fingerprint": "56cda315e75f2dea", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/hocuspocus/Dockerfile"}, "region": {"startLine": 4}}}]}, {"ruleId": "scanner-aa5acaa49eb8315b", "level": "note", "message": {"text": "Containers defined but no K8s/orchestration manifest found"}, "properties": {"repobilityId": "b230ea9b68736081", "scanner": "scanner-primary", "fingerprint": "aa5acaa49eb8315b", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["coverage", "deployment"]}}, {"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-299b78071dca5eb0", "level": "error", "message": {"text": "Insecure pattern 'new_function_used' in src/core/couch/validatePolicy.test.ts:7"}, "properties": {"repobilityId": "ed86efd4e1e12e06", "scanner": "scanner-primary", "fingerprint": "299b78071dca5eb0", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "new_function_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/core/couch/validatePolicy.test.ts"}, "region": {"startLine": 7}}}]}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"ruleId": "scanner-1838a141491ce38c", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b8fd4f5048f96576", "scanner": "scanner-primary", "fingerprint": "1838a141491ce38c", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7cda01720d6b4d88", "level": "note", "message": {"text": "Node manifest has dependencies but no lockfile: server/hocuspocus/package.json"}, "properties": {"repobilityId": "42773972675f3a59", "scanner": "scanner-primary", "fingerprint": "7cda01720d6b4d88", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["dependency", "lockfile", "reproducibility", "generated-repo-pattern"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "server/hocuspocus/package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "69483c1362d8d18e", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "30d8f3a6e8a40869", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "3b34c09d58b754b1", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "63eb587320e01e49", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "40d5a7d500fea27f", "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": "36bc4422ab452762", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-6dbf5dcd4788ff91", "level": "none", "message": {"text": "Commented-code block (5 lines) in test/harness/pouchdb-memory.ts:1"}, "properties": {"repobilityId": "cf51cdad61767e5b", "scanner": "scanner-primary", "fingerprint": "6dbf5dcd4788ff91", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-91ef18f53e0d94b8", "level": "none", "message": {"text": "Commented-code block (6 lines) in scripts/loc-check.mjs:1"}, "properties": {"repobilityId": "e4dcaa4e79f4b0f9", "scanner": "scanner-primary", "fingerprint": "91ef18f53e0d94b8", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5a34befbeeb2a122", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 server/hocuspocus/couch.js:25"}, "properties": {"repobilityId": "636dc3d1a945c685", "scanner": "scanner-primary", "fingerprint": "5a34befbeeb2a122", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-41407146c058a9a4", "level": "none", "message": {"text": "Commented-code block (5 lines) in server/hocuspocus/docLifecycle.js:144"}, "properties": {"repobilityId": "0129cad63a60f98c", "scanner": "scanner-primary", "fingerprint": "41407146c058a9a4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-46e99bfdae4bb287", "level": "none", "message": {"text": "Commented-code block (6 lines) in server/hocuspocus/server.js:71"}, "properties": {"repobilityId": "48d3508181cc1489", "scanner": "scanner-primary", "fingerprint": "46e99bfdae4bb287", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-78c22b5516198696", "level": "note", "message": {"text": "Legacy-named symbol `not_a_covault_settings_backup` in src/settings/portable.ts:94"}, "properties": {"repobilityId": "3a4657e011c1e900", "scanner": "scanner-primary", "fingerprint": "78c22b5516198696", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-fa013c7b75423303", "level": "note", "message": {"text": "Legacy-named symbol `open_remote_copy` in src/ui/ConflictModal.ts:81"}, "properties": {"repobilityId": "da106bbcee033364", "scanner": "scanner-primary", "fingerprint": "fa013c7b75423303", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-f3c5485ae0a60fbc", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/modes/manager/ManagerMode.ts:75"}, "properties": {"repobilityId": "4e3d39274243ec2d", "scanner": "scanner-primary", "fingerprint": "f3c5485ae0a60fbc", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-652551dc433c4778", "level": "note", "message": {"text": "Legacy-named symbol `failed_to_write_conflict_copy` in src/core/sync/ConflictManager.ts:72"}, "properties": {"repobilityId": "a050f92c704ac963", "scanner": "scanner-primary", "fingerprint": "652551dc433c4778", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-ae153716c5ebb2b5", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/core/sync/MirrorContext.ts:128"}, "properties": {"repobilityId": "c3f810bf8dbea52f", "scanner": "scanner-primary", "fingerprint": "ae153716c5ebb2b5", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e1a8f7e1f63177ae", "level": "note", "message": {"text": "Legacy-named symbol `failed_to_save_attachment_conflict_copy` in src/core/sync/MirrorApplier.ts:302"}, "properties": {"repobilityId": "7842079a8d20614b", "scanner": "scanner-primary", "fingerprint": "e1a8f7e1f63177ae", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-c430f86703775ad4", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 src/core/couch/CouchAdmin.ts:15"}, "properties": {"repobilityId": "0c0201c556fd7b20", "scanner": "scanner-primary", "fingerprint": "c430f86703775ad4", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-4e6fb0f8d9eb4885", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/core/model/types.ts:251"}, "properties": {"repobilityId": "a35e1ae2ac19dac4", "scanner": "scanner-primary", "fingerprint": "4e6fb0f8d9eb4885", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c7e8b254fbeda285", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/core/realtime/excalidrawBinding.ts:77"}, "properties": {"repobilityId": "4614bb50a0514e31", "scanner": "scanner-primary", "fingerprint": "c7e8b254fbeda285", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}