{"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": "scanner-3e2285aa60c24e04", "name": "Possibly dead Python function: retrieve", "shortDescription": {"text": "Possibly dead Python function: retrieve"}, "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-4f91dbfbbed70ae9", "name": "Possibly dead Python function: run_nightly_baseline", "shortDescription": {"text": "Possibly dead Python function: run_nightly_baseline"}, "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-95a67b63381b316f", "name": "Possibly dead Python function: train_baseline", "shortDescription": {"text": "Possibly dead Python function: train_baseline"}, "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-24fc74d609ece4f3", "name": "Possibly dead Python function: verify_citations", "shortDescription": {"text": "Possibly dead Python function: verify_citations"}, "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-f7e8b21b125c1220", "name": "Possibly dead Python function: require_api_key", "shortDescription": {"text": "Possibly dead Python function: require_api_key"}, "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-5c501774e07e92a0", "name": "`truncate` class without `title=` for hover reveal \u2014 app/apps/web/src/app/scenario/[id]/page.tsx:225", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 app/apps/web/src/app/scenario/[id]/page.tsx:225"}, "fullDescription": {"text": "A truncated value should reveal the full text on hover. Pass the full string via `title={...}` so the user can read it.\n\nWhy: P2 in CHECKLIST.md \u2014 truncate without hover-reveal.\nRule id: fq.truncate.no-title"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-eb8569885caff89d", "name": "`truncate` class without `title=` for hover reveal \u2014 app/apps/web/src/components/InspectDrawer.tsx:255", "shortDescription": {"text": "`truncate` class without `title=` for hover reveal \u2014 app/apps/web/src/components/InspectDrawer.tsx:255"}, "fullDescription": {"text": "A truncated value should reveal the full text on hover. Pass the full string via `title={...}` so the user can read it.\n\nWhy: P2 in CHECKLIST.md \u2014 truncate without hover-reveal.\nRule id: fq.truncate.no-title"}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-af3f30d871566e6a", "name": "Insecure pattern 'dangerous_innerhtml' in app/apps/web/playwright-report/index.html:58", "shortDescription": {"text": "Insecure pattern 'dangerous_innerhtml' in app/apps/web/playwright-report/index.html:58"}, "fullDescription": {"text": "Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-7ee349fca555cbb6", "name": "Insecure pattern 'direct_innerhtml_assignment' in app/apps/web/playwright-report/index.html:57", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app/apps/web/playwright-report/index.html:57"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-df4d775cc2bd3a52", "name": "Insecure pattern 'direct_innerhtml_assignment' in presentation/deck/index.html:369", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in presentation/deck/index.html:369"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-27924aa79fa4a517", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "actions/setup-node@v6 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "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 30 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 20 placeholder/mock markers across 13 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-bea357a6497a2d5d", "name": "Agent authority lacks a verifier contract: CLAUDE.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: CLAUDE.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2679282aa1c484b5", "name": "Agent authority lacks a verifier contract: AGENTS.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: AGENTS.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e2ef7e03200462c1", "name": "Agent authority lacks a verifier contract: .claude/agents/glass-box-auditor.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/agents/glass-box-auditor.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-30b8af4d7dafc71d", "name": "Agent authority lacks a verifier contract: .claude/agents/data-pipeline-runner.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/agents/data-pipeline-runner.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-0043a5ce100d8dca", "name": "Agent authority lacks a verifier contract: .claude/agents/eval-test-runner.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/agents/eval-test-runner.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e725d2ab884fbd49", "name": "Multiple root agent instruction files without precedence", "shortDescription": {"text": "Multiple root agent instruction files without precedence"}, "fullDescription": {"text": "The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b447287bc653a1f7", "name": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/tests/test_scenario_dispatch.py:118", "shortDescription": {"text": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/tests/test_scenario_dispatch.py:118"}, "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-f5c1f3eabb7a51f3", "name": "Network/subprocess call without timeout or try/except \u2014 app/packages/kernel/matrix_kernel/baseline.py:63", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 app/packages/kernel/matrix_kernel/baseline.py:63"}, "fullDescription": {"text": "`subprocess.run(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-9b69cf201b541d22", "name": "Commented-code block (6 lines) in app/packages/kernel/matrix_kernel/config.py:41", "shortDescription": {"text": "Commented-code block (6 lines) in app/packages/kernel/matrix_kernel/config.py:41"}, "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-af8329a9b9312006", "name": "Commented-code block (6 lines) in app/packages/kernel/matrix_kernel/personas.py:26", "shortDescription": {"text": "Commented-code block (6 lines) in app/packages/kernel/matrix_kernel/personas.py:26"}, "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-c9870f8bfa2055f1", "name": "Commented-code block (5 lines) in app/packages/kernel/matrix_kernel/confidence.py:18", "shortDescription": {"text": "Commented-code block (5 lines) in app/packages/kernel/matrix_kernel/confidence.py:18"}, "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-fc3d78b1a8a28f21", "name": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/matrix_kernel/runner.py:129", "shortDescription": {"text": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/matrix_kernel/runner.py:129"}, "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-c68dd3b3714d8a21", "name": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/matrix_kernel/scenario.py:135", "shortDescription": {"text": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/matrix_kernel/scenario.py:135"}, "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-ccb4eb8aed7ba22a", "name": "Legacy-named symbol `model_copy` in app/packages/kernel/matrix_kernel/llm.py:124", "shortDescription": {"text": "Legacy-named symbol `model_copy` in app/packages/kernel/matrix_kernel/llm.py:124"}, "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-92bdd60f13fc7529", "name": "Commented-code block (5 lines) in app/apps/api/matrix_api/auth.py:107", "shortDescription": {"text": "Commented-code block (5 lines) in app/apps/api/matrix_api/auth.py:107"}, "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-9e579a3f48135d8b", "name": "Commented-code block (6 lines) in app/apps/web/src/components/map/congestionLayer.ts:37", "shortDescription": {"text": "Commented-code block (6 lines) in app/apps/web/src/components/map/congestionLayer.ts:37"}, "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-b24094dee4228455", "name": "Commented-code block (6 lines) in presentation/scripts/capture-shots.mjs:1", "shortDescription": {"text": "Commented-code block (6 lines) in presentation/scripts/capture-shots.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-043948d9d0b60314", "name": "Commented-code block (5 lines) in presentation/scripts/export-pdf.mjs:3", "shortDescription": {"text": "Commented-code block (5 lines) in presentation/scripts/export-pdf.mjs:3"}, "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-5fa5af25316da646", "name": "16 env vars used in code but missing from .env.example", "shortDescription": {"text": "16 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `CI`, `GEMINI_API_KEY`, `MATRIX_ALLOWED_ORIGINS`, `MATRIX_API_KEYS`, `MATRIX_DATABASE_URL`, `MATRIX_DB_BACKEND`, `MATRIX_MAX_CONCURRENT_SIMS`, `MATRIX_QUEUE_TIMEOUT_S` + 8 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-cd28c0f622eb4f17", "name": "FastAPI POST `create_scenario` without auth dependency \u2014 app/apps/api/matrix_api/main.py:100", "shortDescription": {"text": "FastAPI POST `create_scenario` without auth dependency \u2014 app/apps/api/matrix_api/main.py:100"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-7192118777a9badc", "name": "FastAPI POST `generate_report` without auth dependency \u2014 app/apps/api/matrix_api/main.py:184", "shortDescription": {"text": "FastAPI POST `generate_report` without auth dependency \u2014 app/apps/api/matrix_api/main.py:184"}, "fullDescription": {"text": "`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-0e6cd776b7e1d999", "name": "Dangling fetch: GET http://localhost:8000/audit/${runId} (app/apps/web/src/components/BiasAuditLog.tsx:18)", "shortDescription": {"text": "Dangling fetch: GET http://localhost:8000/audit/${runId} (app/apps/web/src/components/BiasAuditLog.tsx:18)"}, "fullDescription": {"text": "`app/apps/web/src/components/BiasAuditLog.tsx:18` calls `GET http://localhost:8000/audit/${runId}` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/http:/localhost:8000/audit/<p>`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-3371cfc892bfe313", "name": "Dangling fetch: GET /layers/${name}.geojson (app/apps/web/src/components/map/fetchStaticLayer.ts:40)", "shortDescription": {"text": "Dangling fetch: GET /layers/${name}.geojson (app/apps/web/src/components/map/fetchStaticLayer.ts:40)"}, "fullDescription": {"text": "`app/apps/web/src/components/map/fetchStaticLayer.ts:40` calls `GET /layers/${name}.geojson` but no backend route matches that path. This is a runtime 404 waiting to happen.\n\nTool: fetch\nNormalized path used for matching: `/layers/<p>.geojson`\nIf this points at an external API, prefix it with `https://` so the matcher skips it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "high", "confidence": 1.0}}, {"id": "scanner-33c8cf5520e40617", "name": "Unused endpoint: POST /scenario", "shortDescription": {"text": "Unused endpoint: POST /scenario"}, "fullDescription": {"text": "`app/apps/api/matrix_api/main.py` declares `POST /scenario` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-55f8c8cf959a5664", "name": "Unused endpoint: GET /runs/{run_id}", "shortDescription": {"text": "Unused endpoint: GET /runs/{run_id}"}, "fullDescription": {"text": "`app/apps/api/matrix_api/main.py` declares `GET /runs/{run_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-cf74bac0aa718263", "name": "Unused endpoint: GET /audit/{run_id}", "shortDescription": {"text": "Unused endpoint: GET /audit/{run_id}"}, "fullDescription": {"text": "`app/apps/api/matrix_api/main.py` declares `GET /audit/{run_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ecf35c25f8bbf40", "name": "Unused endpoint: GET /validation", "shortDescription": {"text": "Unused endpoint: GET /validation"}, "fullDescription": {"text": "`app/apps/api/matrix_api/main.py` declares `GET /validation` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2be09cebff5bcc24", "name": "Unused endpoint: POST /report/{run_id}", "shortDescription": {"text": "Unused endpoint: POST /report/{run_id}"}, "fullDescription": {"text": "`app/apps/api/matrix_api/main.py` declares `POST /report/{run_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code \u2014 consider removing or documenting who consumes it."}, "properties": {"scanner": "scanner-primary", "layer": "api", "severity": "low", "confidence": 1.0}}]}}, "automationDetails": {"id": "repobility/25322"}, "properties": {"repository": "delatorrecj/matrix", "repoUrl": "https://github.com/delatorrecj/matrix", "branch": "main"}, "results": [{"ruleId": "scanner-3e2285aa60c24e04", "level": "note", "message": {"text": "Possibly dead Python function: retrieve"}, "properties": {"repobilityId": "c349ec42611056dc", "scanner": "scanner-primary", "fingerprint": "3e2285aa60c24e04", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/packages/kernel/matrix_kernel/graphrag.py:41"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4f91dbfbbed70ae9", "level": "note", "message": {"text": "Possibly dead Python function: run_nightly_baseline"}, "properties": {"repobilityId": "afb4e71d96f56535", "scanner": "scanner-primary", "fingerprint": "4f91dbfbbed70ae9", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/packages/kernel/matrix_kernel/baseline.py:78"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-95a67b63381b316f", "level": "note", "message": {"text": "Possibly dead Python function: train_baseline"}, "properties": {"repobilityId": "84564bee93db803d", "scanner": "scanner-primary", "fingerprint": "95a67b63381b316f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/packages/kernel/matrix_kernel/baseline.py:117"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-24fc74d609ece4f3", "level": "note", "message": {"text": "Possibly dead Python function: verify_citations"}, "properties": {"repobilityId": "16794eeae1e6aa59", "scanner": "scanner-primary", "fingerprint": "24fc74d609ece4f3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/packages/kernel/matrix_kernel/citation_guard.py:11"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f7e8b21b125c1220", "level": "note", "message": {"text": "Possibly dead Python function: require_api_key"}, "properties": {"repobilityId": "44e8e9840fc57179", "scanner": "scanner-primary", "fingerprint": "f7e8b21b125c1220", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/apps/api/matrix_api/auth.py:172"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5c501774e07e92a0", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 app/apps/web/src/app/scenario/[id]/page.tsx:225"}, "properties": {"repobilityId": "437ae4263c198f1c", "scanner": "scanner-primary", "fingerprint": "5c501774e07e92a0", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"ruleId": "scanner-eb8569885caff89d", "level": "none", "message": {"text": "`truncate` class without `title=` for hover reveal \u2014 app/apps/web/src/components/InspectDrawer.tsx:255"}, "properties": {"repobilityId": "9d5051a985464353", "scanner": "scanner-primary", "fingerprint": "eb8569885caff89d", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["frontend-quality", "fq.truncate.no-title"]}}, {"ruleId": "scanner-af3f30d871566e6a", "level": "warning", "message": {"text": "Insecure pattern 'dangerous_innerhtml' in app/apps/web/playwright-report/index.html:58"}, "properties": {"repobilityId": "9bbd8b3e1036593d", "scanner": "scanner-primary", "fingerprint": "af3f30d871566e6a", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "dangerous_innerhtml"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/apps/web/playwright-report/index.html"}, "region": {"startLine": 58}}}]}, {"ruleId": "scanner-7ee349fca555cbb6", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in app/apps/web/playwright-report/index.html:57"}, "properties": {"repobilityId": "1f7a4874d828538a", "scanner": "scanner-primary", "fingerprint": "7ee349fca555cbb6", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/apps/web/playwright-report/index.html"}, "region": {"startLine": 57}}}]}, {"ruleId": "scanner-df4d775cc2bd3a52", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in presentation/deck/index.html:369"}, "properties": {"repobilityId": "46c7a18406468c70", "scanner": "scanner-primary", "fingerprint": "df4d775cc2bd3a52", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "presentation/deck/index.html"}, "region": {"startLine": 369}}}]}, {"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-27924aa79fa4a517", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "4a63b1fd6887cae9", "scanner": "scanner-primary", "fingerprint": "27924aa79fa4a517", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/ci.yml"}, "region": {"startLine": 121}}}]}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "ecdc70278e87e7f0", "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": "29a578aa6d0f5901", "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": "09f4dbbb62e46e10", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-bea357a6497a2d5d", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: CLAUDE.md"}, "properties": {"repobilityId": "aae72df3934829ac", "scanner": "scanner-primary", "fingerprint": "bea357a6497a2d5d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "CLAUDE.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2679282aa1c484b5", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: AGENTS.md"}, "properties": {"repobilityId": "27d579812e6be614", "scanner": "scanner-primary", "fingerprint": "2679282aa1c484b5", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "agents_md"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "AGENTS.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e2ef7e03200462c1", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/agents/glass-box-auditor.md"}, "properties": {"repobilityId": "b421b5c7489cf054", "scanner": "scanner-primary", "fingerprint": "e2ef7e03200462c1", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/agents/glass-box-auditor.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-30b8af4d7dafc71d", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/agents/data-pipeline-runner.md"}, "properties": {"repobilityId": "4faf6234e149f70e", "scanner": "scanner-primary", "fingerprint": "30b8af4d7dafc71d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/agents/data-pipeline-runner.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0043a5ce100d8dca", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/agents/eval-test-runner.md"}, "properties": {"repobilityId": "8e0c3a2aa04ca418", "scanner": "scanner-primary", "fingerprint": "0043a5ce100d8dca", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/agents/eval-test-runner.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e725d2ab884fbd49", "level": "note", "message": {"text": "Multiple root agent instruction files without precedence"}, "properties": {"repobilityId": "1953db6c89508d22", "scanner": "scanner-primary", "fingerprint": "e725d2ab884fbd49", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["agent-instructions", "governance"]}}, {"ruleId": "scanner-b447287bc653a1f7", "level": "note", "message": {"text": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/tests/test_scenario_dispatch.py:118"}, "properties": {"repobilityId": "3b7d588a805f3774", "scanner": "scanner-primary", "fingerprint": "b447287bc653a1f7", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-f5c1f3eabb7a51f3", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 app/packages/kernel/matrix_kernel/baseline.py:63"}, "properties": {"repobilityId": "3aaee82d1187dea3", "scanner": "scanner-primary", "fingerprint": "f5c1f3eabb7a51f3", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-9b69cf201b541d22", "level": "none", "message": {"text": "Commented-code block (6 lines) in app/packages/kernel/matrix_kernel/config.py:41"}, "properties": {"repobilityId": "401554f7f42b3d4a", "scanner": "scanner-primary", "fingerprint": "9b69cf201b541d22", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-af8329a9b9312006", "level": "none", "message": {"text": "Commented-code block (6 lines) in app/packages/kernel/matrix_kernel/personas.py:26"}, "properties": {"repobilityId": "e2402d939208ac33", "scanner": "scanner-primary", "fingerprint": "af8329a9b9312006", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c9870f8bfa2055f1", "level": "none", "message": {"text": "Commented-code block (5 lines) in app/packages/kernel/matrix_kernel/confidence.py:18"}, "properties": {"repobilityId": "25541a130cc39d46", "scanner": "scanner-primary", "fingerprint": "c9870f8bfa2055f1", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-fc3d78b1a8a28f21", "level": "note", "message": {"text": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/matrix_kernel/runner.py:129"}, "properties": {"repobilityId": "e1c3514ff6cfbbd1", "scanner": "scanner-primary", "fingerprint": "fc3d78b1a8a28f21", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-c68dd3b3714d8a21", "level": "note", "message": {"text": "Legacy-named symbol `lanes_closed_legacy` in app/packages/kernel/matrix_kernel/scenario.py:135"}, "properties": {"repobilityId": "dcde0d8fd38e7682", "scanner": "scanner-primary", "fingerprint": "c68dd3b3714d8a21", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-ccb4eb8aed7ba22a", "level": "note", "message": {"text": "Legacy-named symbol `model_copy` in app/packages/kernel/matrix_kernel/llm.py:124"}, "properties": {"repobilityId": "9b67383e6770c0f8", "scanner": "scanner-primary", "fingerprint": "ccb4eb8aed7ba22a", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-92bdd60f13fc7529", "level": "none", "message": {"text": "Commented-code block (5 lines) in app/apps/api/matrix_api/auth.py:107"}, "properties": {"repobilityId": "facedbc12fe5e23e", "scanner": "scanner-primary", "fingerprint": "92bdd60f13fc7529", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-9e579a3f48135d8b", "level": "none", "message": {"text": "Commented-code block (6 lines) in app/apps/web/src/components/map/congestionLayer.ts:37"}, "properties": {"repobilityId": "00328a00ceed1333", "scanner": "scanner-primary", "fingerprint": "9e579a3f48135d8b", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-b24094dee4228455", "level": "none", "message": {"text": "Commented-code block (6 lines) in presentation/scripts/capture-shots.mjs:1"}, "properties": {"repobilityId": "ec8e4995145679f4", "scanner": "scanner-primary", "fingerprint": "b24094dee4228455", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-043948d9d0b60314", "level": "none", "message": {"text": "Commented-code block (5 lines) in presentation/scripts/export-pdf.mjs:3"}, "properties": {"repobilityId": "2f5dcff0ce03a7ce", "scanner": "scanner-primary", "fingerprint": "043948d9d0b60314", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-5fa5af25316da646", "level": "note", "message": {"text": "16 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "e0919a3f6a45e8c2", "scanner": "scanner-primary", "fingerprint": "5fa5af25316da646", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-cd28c0f622eb4f17", "level": "error", "message": {"text": "FastAPI POST `create_scenario` without auth dependency \u2014 app/apps/api/matrix_api/main.py:100"}, "properties": {"repobilityId": "d211f94faf623c54", "scanner": "scanner-primary", "fingerprint": "cd28c0f622eb4f17", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/apps/api/matrix_api/main.py"}, "region": {"startLine": 100}}}]}, {"ruleId": "scanner-7192118777a9badc", "level": "error", "message": {"text": "FastAPI POST `generate_report` without auth dependency \u2014 app/apps/api/matrix_api/main.py:184"}, "properties": {"repobilityId": "4bbe2c1d014645c1", "scanner": "scanner-primary", "fingerprint": "7192118777a9badc", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/apps/api/matrix_api/main.py"}, "region": {"startLine": 184}}}]}, {"ruleId": "scanner-0e6cd776b7e1d999", "level": "error", "message": {"text": "Dangling fetch: GET http://localhost:8000/audit/${runId} (app/apps/web/src/components/BiasAuditLog.tsx:18)"}, "properties": {"repobilityId": "1a7de004e4234d5f", "scanner": "scanner-primary", "fingerprint": "0e6cd776b7e1d999", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-3371cfc892bfe313", "level": "error", "message": {"text": "Dangling fetch: GET /layers/${name}.geojson (app/apps/web/src/components/map/fetchStaticLayer.ts:40)"}, "properties": {"repobilityId": "694f69b5756f9a20", "scanner": "scanner-primary", "fingerprint": "3371cfc892bfe313", "layer": "api", "severity": "high", "confidence": 1.0, "tags": ["wiring", "dangling-fetch", "fetch"]}}, {"ruleId": "scanner-33c8cf5520e40617", "level": "note", "message": {"text": "Unused endpoint: POST /scenario"}, "properties": {"repobilityId": "8445224caf3ceb1e", "scanner": "scanner-primary", "fingerprint": "33c8cf5520e40617", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-55f8c8cf959a5664", "level": "note", "message": {"text": "Unused endpoint: GET /runs/{run_id}"}, "properties": {"repobilityId": "59f1fc80677c53a1", "scanner": "scanner-primary", "fingerprint": "55f8c8cf959a5664", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-cf74bac0aa718263", "level": "note", "message": {"text": "Unused endpoint: GET /audit/{run_id}"}, "properties": {"repobilityId": "c44f5727b5168fde", "scanner": "scanner-primary", "fingerprint": "cf74bac0aa718263", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-3ecf35c25f8bbf40", "level": "note", "message": {"text": "Unused endpoint: GET /validation"}, "properties": {"repobilityId": "3917efd5782ba813", "scanner": "scanner-primary", "fingerprint": "3ecf35c25f8bbf40", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-2be09cebff5bcc24", "level": "note", "message": {"text": "Unused endpoint: POST /report/{run_id}"}, "properties": {"repobilityId": "065f472633beb1ee", "scanner": "scanner-primary", "fingerprint": "2be09cebff5bcc24", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}