{"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-78c82658e4da5f72", "name": "Possibly dead Python function: read_node", "shortDescription": {"text": "Possibly dead Python function: read_node"}, "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-ac8d4a849c075112", "name": "Possibly dead Python function: cost_by_agent", "shortDescription": {"text": "Possibly dead Python function: cost_by_agent"}, "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-15f3d015fb590f6b", "name": "Possibly dead Python function: chat_batch", "shortDescription": {"text": "Possibly dead Python function: chat_batch"}, "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-0f55760154f1583d", "name": "Possibly dead Python function: cost_by_agent", "shortDescription": {"text": "Possibly dead Python function: cost_by_agent"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-9710c8d059e53154", "name": "No frontend routes/components detected", "shortDescription": {"text": "No frontend routes/components detected"}, "fullDescription": {"text": "No React/Vue/Next routes were found. This is fine for backend-only repos."}, "properties": {"scanner": "scanner-primary", "layer": "frontend", "severity": "info", "confidence": 1.0}}, {"id": "scanner-79faef7515447c04", "name": "Insecure pattern 'direct_innerhtml_assignment' in .claude/skills/codebase-to-course/references/main.js:193", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in .claude/skills/codebase-to-course/references/main.js:193"}, "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-9a025f6fc9c50abb", "name": "Insecure pattern 'direct_innerhtml_assignment' in gateway/static/dashboard.html:150", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in gateway/static/dashboard.html:150"}, "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-d9b956c0bb0a9bf1", "name": "Insecure pattern 'direct_innerhtml_assignment' in course/main.js:193", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in course/main.js:193"}, "fullDescription": {"text": "Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-4601e3ad3bb28677", "name": "No CI/CD pipelines detected", "shortDescription": {"text": "No CI/CD pipelines detected"}, "fullDescription": {"text": "No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 76 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-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 ci. 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-c7dd88dac5a5abbf", "name": "Commented-code block (6 lines) in code/skills.py:36", "shortDescription": {"text": "Commented-code block (6 lines) in code/skills.py:36"}, "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-f292699cda891289", "name": "Commented-code block (9 lines) in code/perception.py:199", "shortDescription": {"text": "Commented-code block (9 lines) in code/perception.py:199"}, "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-327a14c1d29a81e4", "name": "Commented-code block (6 lines) in code/mcp_server.py:250", "shortDescription": {"text": "Commented-code block (6 lines) in code/mcp_server.py:250"}, "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-850956a620f823df", "name": "Commented-code block (9 lines) in code/decision.py:82", "shortDescription": {"text": "Commented-code block (9 lines) in code/decision.py:82"}, "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-d385da8d3e60d303", "name": "Commented-code block (5 lines) in code/memory.py:243", "shortDescription": {"text": "Commented-code block (5 lines) in code/memory.py:243"}, "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-c130280fb8869ffe", "name": "Network/subprocess call without timeout or try/except \u2014 code/gateway.py:46", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 code/gateway.py:46"}, "fullDescription": {"text": "`subprocess.Popen(...)` 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-19c395b7b9735ab4", "name": "Commented-code block (8 lines) in code/persistence.py:117", "shortDescription": {"text": "Commented-code block (8 lines) in code/persistence.py:117"}, "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-a6fd55dd8ea12298", "name": "Commented-code block (6 lines) in code/flow.py:33", "shortDescription": {"text": "Commented-code block (6 lines) in code/flow.py:33"}, "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-d1022eea8b3e97a7", "name": "Commented-code block (6 lines) in code/browser/skill.py:166", "shortDescription": {"text": "Commented-code block (6 lines) in code/browser/skill.py:166"}, "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-c930ba4e77399dd1", "name": "Commented-code block (5 lines) in gateway/main.py:143", "shortDescription": {"text": "Commented-code block (5 lines) in gateway/main.py:143"}, "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-50d091a2af52017f", "name": "Commented-code block (5 lines) in gateway/providers.py:998", "shortDescription": {"text": "Commented-code block (5 lines) in gateway/providers.py:998"}, "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-b0b7578dd2a289b6", "name": "26 env vars used in code but missing from .env.example", "shortDescription": {"text": "26 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `CEREBRAS_API_KEY`, `CEREBRAS_MODEL`, `EMBED_FALLBACK_MODEL`, `EMBED_FALLBACK_PROVIDER`, `EMBED_OLLAMA_MODEL`, `EMBED_ORDER`, `GATEWAY_V9_PORT`, `GEMINI_API_KEY` + 18 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2c04133e54348533", "name": "Near-duplicate function bodies in 2 places", "shortDescription": {"text": "Near-duplicate function bodies in 2 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\ncode/browser/dom.py:legend_line, code/browser/dom.py:legend\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-be46ea126aa5d8dc", "name": "Near-duplicate function bodies in 3 places", "shortDescription": {"text": "Near-duplicate function bodies in 3 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\ngateway/embedders.py:embed, gateway/embedders.py:embed, gateway/embedders.py:embed\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-49c98f7cedd9c977", "name": "Near-duplicate function bodies in 4 places", "shortDescription": {"text": "Near-duplicate function bodies in 4 places"}, "fullDescription": {"text": "Functions with the same first-5-line body hash:\ngateway/providers.py:chat, gateway/providers.py:chat, gateway/providers.py:chat, gateway/providers.py:chat\n\nThis is *the* AI-coder failure mode (4\u00d7 more duplication in vibe-coded repos \u2014 see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-64bf44065a0618f9", "name": "FastAPI POST `chat` without auth dependency \u2014 gateway/main.py:349", "shortDescription": {"text": "FastAPI POST `chat` without auth dependency \u2014 gateway/main.py:349"}, "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-ceeaea5bcf5f94bf", "name": "FastAPI POST `chat_batch` without auth dependency \u2014 gateway/main.py:618", "shortDescription": {"text": "FastAPI POST `chat_batch` without auth dependency \u2014 gateway/main.py:618"}, "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-28322c64cad9af59", "name": "FastAPI POST `vision` without auth dependency \u2014 gateway/main.py:641", "shortDescription": {"text": "FastAPI POST `vision` without auth dependency \u2014 gateway/main.py:641"}, "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-ebae3789afc0eff3", "name": "FastAPI POST `embed` without auth dependency \u2014 gateway/main.py:698", "shortDescription": {"text": "FastAPI POST `embed` without auth dependency \u2014 gateway/main.py:698"}, "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-ccc1f1eb89948c62", "name": "Unused endpoint: POST /v1/chat", "shortDescription": {"text": "Unused endpoint: POST /v1/chat"}, "fullDescription": {"text": "`gateway/main.py` declares `POST /v1/chat` 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-8a6765db74586e5c", "name": "Unused endpoint: POST /v1/chat/batch", "shortDescription": {"text": "Unused endpoint: POST /v1/chat/batch"}, "fullDescription": {"text": "`gateway/main.py` declares `POST /v1/chat/batch` 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-320c17eee0b3a6b4", "name": "Unused endpoint: POST /v1/vision", "shortDescription": {"text": "Unused endpoint: POST /v1/vision"}, "fullDescription": {"text": "`gateway/main.py` declares `POST /v1/vision` 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-26df0f921a1ef120", "name": "Unused endpoint: GET /v1/cost/by_agent", "shortDescription": {"text": "Unused endpoint: GET /v1/cost/by_agent"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /v1/cost/by_agent` 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-8e6cc48346adf837", "name": "Unused endpoint: POST /v1/embed", "shortDescription": {"text": "Unused endpoint: POST /v1/embed"}, "fullDescription": {"text": "`gateway/main.py` declares `POST /v1/embed` 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-e1886abc857d1ed0", "name": "Unused endpoint: GET /v1/embedders", "shortDescription": {"text": "Unused endpoint: GET /v1/embedders"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /v1/embedders` 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-6465d9c6744746b9", "name": "Unused endpoint: GET /v1/providers", "shortDescription": {"text": "Unused endpoint: GET /v1/providers"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /v1/providers` 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-5a1b622d452aff4a", "name": "Unused endpoint: GET /v1/capabilities", "shortDescription": {"text": "Unused endpoint: GET /v1/capabilities"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /v1/capabilities` 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-e4beadb34770367c", "name": "Unused endpoint: GET /v1/status", "shortDescription": {"text": "Unused endpoint: GET /v1/status"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /v1/status` 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-cd8d6aeca155dbe1", "name": "Unused endpoint: GET /v1/routers", "shortDescription": {"text": "Unused endpoint: GET /v1/routers"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /v1/routers` 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-ba144eb4793d3fba", "name": "Unused endpoint: GET /v1/calls", "shortDescription": {"text": "Unused endpoint: GET /v1/calls"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /v1/calls` 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-5baa8971ebe192a1", "name": "Unused endpoint: GET /", "shortDescription": {"text": "Unused endpoint: GET /"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /` 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-169dbaef5902cd9c", "name": "Unused endpoint: GET /help", "shortDescription": {"text": "Unused endpoint: GET /help"}, "fullDescription": {"text": "`gateway/main.py` declares `GET /help` 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/20477"}, "properties": {"repository": "sujitojha1/repo-genesis", "repoUrl": "https://github.com/sujitojha1/repo-genesis", "branch": "main"}, "results": [{"ruleId": "scanner-78c82658e4da5f72", "level": "note", "message": {"text": "Possibly dead Python function: read_node"}, "properties": {"repobilityId": "ac828d131f3555d5", "scanner": "scanner-primary", "fingerprint": "78c82658e4da5f72", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "code/persistence.py:161"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ac8d4a849c075112", "level": "note", "message": {"text": "Possibly dead Python function: cost_by_agent"}, "properties": {"repobilityId": "f14f95982b93350b", "scanner": "scanner-primary", "fingerprint": "ac8d4a849c075112", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "code/browser/client.py:133"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-15f3d015fb590f6b", "level": "note", "message": {"text": "Possibly dead Python function: chat_batch"}, "properties": {"repobilityId": "2fcbb3aa85900835", "scanner": "scanner-primary", "fingerprint": "15f3d015fb590f6b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway/client.py:57"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0f55760154f1583d", "level": "note", "message": {"text": "Possibly dead Python function: cost_by_agent"}, "properties": {"repobilityId": "f14f95982b93350b", "scanner": "scanner-primary", "fingerprint": "0f55760154f1583d", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway/client.py:70"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9710c8d059e53154", "level": "none", "message": {"text": "No frontend routes/components detected"}, "properties": {"repobilityId": "44ca61485762e494", "scanner": "scanner-primary", "fingerprint": "9710c8d059e53154", "layer": "frontend", "severity": "info", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-79faef7515447c04", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in .claude/skills/codebase-to-course/references/main.js:193"}, "properties": {"repobilityId": "8d585f417c18a354", "scanner": "scanner-primary", "fingerprint": "79faef7515447c04", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/skills/codebase-to-course/references/main.js"}, "region": {"startLine": 193}}}]}, {"ruleId": "scanner-9a025f6fc9c50abb", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in gateway/static/dashboard.html:150"}, "properties": {"repobilityId": "4ac838b16a00fde4", "scanner": "scanner-primary", "fingerprint": "9a025f6fc9c50abb", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway/static/dashboard.html"}, "region": {"startLine": 150}}}]}, {"ruleId": "scanner-d9b956c0bb0a9bf1", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in course/main.js:193"}, "properties": {"repobilityId": "91d56831ecd6cf0e", "scanner": "scanner-primary", "fingerprint": "d9b956c0bb0a9bf1", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "course/main.js"}, "region": {"startLine": 193}}}]}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"ruleId": "scanner-4601e3ad3bb28677", "level": "warning", "message": {"text": "No CI/CD pipelines detected"}, "properties": {"repobilityId": "c3ee439bce2bc51e", "scanner": "scanner-primary", "fingerprint": "4601e3ad3bb28677", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["coverage"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "ce397c7af6e67152", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "9da60e2bc20e84c5", "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": "7539f5653be7f4dd", "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": "490867c1ea3312c5", "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": "938afcfe847ebf85", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-c7dd88dac5a5abbf", "level": "none", "message": {"text": "Commented-code block (6 lines) in code/skills.py:36"}, "properties": {"repobilityId": "ba234283f2a3d7f6", "scanner": "scanner-primary", "fingerprint": "c7dd88dac5a5abbf", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-f292699cda891289", "level": "none", "message": {"text": "Commented-code block (9 lines) in code/perception.py:199"}, "properties": {"repobilityId": "186a6d5e953e75a7", "scanner": "scanner-primary", "fingerprint": "f292699cda891289", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-327a14c1d29a81e4", "level": "none", "message": {"text": "Commented-code block (6 lines) in code/mcp_server.py:250"}, "properties": {"repobilityId": "ea37800f7f649435", "scanner": "scanner-primary", "fingerprint": "327a14c1d29a81e4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-850956a620f823df", "level": "none", "message": {"text": "Commented-code block (9 lines) in code/decision.py:82"}, "properties": {"repobilityId": "aae504f03e6135ce", "scanner": "scanner-primary", "fingerprint": "850956a620f823df", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d385da8d3e60d303", "level": "none", "message": {"text": "Commented-code block (5 lines) in code/memory.py:243"}, "properties": {"repobilityId": "8a8004fbb67ede3e", "scanner": "scanner-primary", "fingerprint": "d385da8d3e60d303", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c130280fb8869ffe", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 code/gateway.py:46"}, "properties": {"repobilityId": "221c2a1def4e91ea", "scanner": "scanner-primary", "fingerprint": "c130280fb8869ffe", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-19c395b7b9735ab4", "level": "none", "message": {"text": "Commented-code block (8 lines) in code/persistence.py:117"}, "properties": {"repobilityId": "cd13af771570eba1", "scanner": "scanner-primary", "fingerprint": "19c395b7b9735ab4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a6fd55dd8ea12298", "level": "none", "message": {"text": "Commented-code block (6 lines) in code/flow.py:33"}, "properties": {"repobilityId": "4ff2cb30766bb5a7", "scanner": "scanner-primary", "fingerprint": "a6fd55dd8ea12298", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d1022eea8b3e97a7", "level": "none", "message": {"text": "Commented-code block (6 lines) in code/browser/skill.py:166"}, "properties": {"repobilityId": "8cc08535a24249b8", "scanner": "scanner-primary", "fingerprint": "d1022eea8b3e97a7", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-c930ba4e77399dd1", "level": "none", "message": {"text": "Commented-code block (5 lines) in gateway/main.py:143"}, "properties": {"repobilityId": "33d4da0d78a70bb4", "scanner": "scanner-primary", "fingerprint": "c930ba4e77399dd1", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-50d091a2af52017f", "level": "none", "message": {"text": "Commented-code block (5 lines) in gateway/providers.py:998"}, "properties": {"repobilityId": "048b2067e550af48", "scanner": "scanner-primary", "fingerprint": "50d091a2af52017f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-b0b7578dd2a289b6", "level": "note", "message": {"text": "26 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "8099a5c5713d37b9", "scanner": "scanner-primary", "fingerprint": "b0b7578dd2a289b6", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "ae45383875dd7ed6", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "0ff3aa396a002ff4", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "f32844ecef711d46", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "e665014cc6050991", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-be46ea126aa5d8dc", "level": "note", "message": {"text": "Near-duplicate function bodies in 3 places"}, "properties": {"repobilityId": "c8c50224f27bb1f0", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-49c98f7cedd9c977", "level": "note", "message": {"text": "Near-duplicate function bodies in 4 places"}, "properties": {"repobilityId": "41d133eb019867b8", "scanner": "scanner-primary", "fingerprint": "49c98f7cedd9c977", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "2c58b93262d0f81d", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-64bf44065a0618f9", "level": "error", "message": {"text": "FastAPI POST `chat` without auth dependency \u2014 gateway/main.py:349"}, "properties": {"repobilityId": "5d490e57e1f88f20", "scanner": "scanner-primary", "fingerprint": "64bf44065a0618f9", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway/main.py"}, "region": {"startLine": 349}}}]}, {"ruleId": "scanner-ceeaea5bcf5f94bf", "level": "error", "message": {"text": "FastAPI POST `chat_batch` without auth dependency \u2014 gateway/main.py:618"}, "properties": {"repobilityId": "078304ebf83720f5", "scanner": "scanner-primary", "fingerprint": "ceeaea5bcf5f94bf", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway/main.py"}, "region": {"startLine": 618}}}]}, {"ruleId": "scanner-28322c64cad9af59", "level": "error", "message": {"text": "FastAPI POST `vision` without auth dependency \u2014 gateway/main.py:641"}, "properties": {"repobilityId": "14601de1b17fe676", "scanner": "scanner-primary", "fingerprint": "28322c64cad9af59", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway/main.py"}, "region": {"startLine": 641}}}]}, {"ruleId": "scanner-ebae3789afc0eff3", "level": "error", "message": {"text": "FastAPI POST `embed` without auth dependency \u2014 gateway/main.py:698"}, "properties": {"repobilityId": "610e6c37e3bcd945", "scanner": "scanner-primary", "fingerprint": "ebae3789afc0eff3", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "gateway/main.py"}, "region": {"startLine": 698}}}]}, {"ruleId": "scanner-ccc1f1eb89948c62", "level": "note", "message": {"text": "Unused endpoint: POST /v1/chat"}, "properties": {"repobilityId": "1ebd78f08e273936", "scanner": "scanner-primary", "fingerprint": "ccc1f1eb89948c62", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-8a6765db74586e5c", "level": "note", "message": {"text": "Unused endpoint: POST /v1/chat/batch"}, "properties": {"repobilityId": "d727f1e07c32b15f", "scanner": "scanner-primary", "fingerprint": "8a6765db74586e5c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-320c17eee0b3a6b4", "level": "note", "message": {"text": "Unused endpoint: POST /v1/vision"}, "properties": {"repobilityId": "0fe61fb2d8f4f0c5", "scanner": "scanner-primary", "fingerprint": "320c17eee0b3a6b4", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-26df0f921a1ef120", "level": "note", "message": {"text": "Unused endpoint: GET /v1/cost/by_agent"}, "properties": {"repobilityId": "5c133015a5317438", "scanner": "scanner-primary", "fingerprint": "26df0f921a1ef120", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-8e6cc48346adf837", "level": "note", "message": {"text": "Unused endpoint: POST /v1/embed"}, "properties": {"repobilityId": "4febcee66e9c1de9", "scanner": "scanner-primary", "fingerprint": "8e6cc48346adf837", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-e1886abc857d1ed0", "level": "note", "message": {"text": "Unused endpoint: GET /v1/embedders"}, "properties": {"repobilityId": "21ffda50a715acf5", "scanner": "scanner-primary", "fingerprint": "e1886abc857d1ed0", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-6465d9c6744746b9", "level": "note", "message": {"text": "Unused endpoint: GET /v1/providers"}, "properties": {"repobilityId": "8d800fe6b654da33", "scanner": "scanner-primary", "fingerprint": "6465d9c6744746b9", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5a1b622d452aff4a", "level": "note", "message": {"text": "Unused endpoint: GET /v1/capabilities"}, "properties": {"repobilityId": "0c441c56189e01ea", "scanner": "scanner-primary", "fingerprint": "5a1b622d452aff4a", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-e4beadb34770367c", "level": "note", "message": {"text": "Unused endpoint: GET /v1/status"}, "properties": {"repobilityId": "c12c3adc7764f34d", "scanner": "scanner-primary", "fingerprint": "e4beadb34770367c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-cd8d6aeca155dbe1", "level": "note", "message": {"text": "Unused endpoint: GET /v1/routers"}, "properties": {"repobilityId": "5cbe4d0896083344", "scanner": "scanner-primary", "fingerprint": "cd8d6aeca155dbe1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-ba144eb4793d3fba", "level": "note", "message": {"text": "Unused endpoint: GET /v1/calls"}, "properties": {"repobilityId": "9453fc4bcc8afbee", "scanner": "scanner-primary", "fingerprint": "ba144eb4793d3fba", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-5baa8971ebe192a1", "level": "note", "message": {"text": "Unused endpoint: GET /"}, "properties": {"repobilityId": "643f6d75959eb63f", "scanner": "scanner-primary", "fingerprint": "5baa8971ebe192a1", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-169dbaef5902cd9c", "level": "note", "message": {"text": "Unused endpoint: GET /help"}, "properties": {"repobilityId": "d545b69848d69c76", "scanner": "scanner-primary", "fingerprint": "169dbaef5902cd9c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}