{"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-9c35564771bb73f3", "name": "Possibly dead Python function: hello", "shortDescription": {"text": "Possibly dead Python function: hello"}, "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-30f0538c6898ce0f", "name": "Possibly dead Python function: process_cycle", "shortDescription": {"text": "Possibly dead Python function: process_cycle"}, "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-5b537c281c772e6a", "name": "Possibly dead Python function: collect", "shortDescription": {"text": "Possibly dead Python function: collect"}, "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-9dc2b9ad62d11075", "name": "Possibly dead Python function: store_observations", "shortDescription": {"text": "Possibly dead Python function: store_observations"}, "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-c7259f23ab4008cf", "name": "Possibly dead Python function: search_users", "shortDescription": {"text": "Possibly dead Python function: search_users"}, "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-d63da3583b14afc0", "name": "Dockerfile runs as root: Dockerfile", "shortDescription": {"text": "Dockerfile runs as root: 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-49cfbd1e060fcc41", "name": "Docker base image is tag-pinned but not digest-pinned: oven/bun:1-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: oven/bun:1-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-de3c1f217d72a063", "name": "Docker base image is tag-pinned but not digest-pinned: python:3.12-slim", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.12-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-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-2e4869c25cd73485", "name": "package.json defines install-time lifecycle scripts", "shortDescription": {"text": "package.json defines install-time lifecycle scripts"}, "fullDescription": {"text": "preinstall/install/postinstall/prepare scripts execute during dependency installation. Review them carefully for network calls, obfuscation, shell execution, or credential access."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "low", "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-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 91 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-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 license, 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-ac0bd4fa8f22bb6e", "name": "Agent authority lacks a verifier contract: .claude/skills/phi-check/SKILL.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/skills/phi-check/SKILL.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-adde3476c24f3889", "name": "Agent authority lacks a verifier contract: skills/phi-prompt-inspect/SKILL.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: skills/phi-prompt-inspect/SKILL.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-6c9a8af5735f2b9f", "name": "Agent authority lacks a verifier contract: skills/pdsx-fundamentals/SKILL.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: skills/pdsx-fundamentals/SKILL.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-e50ebd48fdf234a1", "name": "Legacy-named symbol `rec_v1` in tests/test_docket_fetch.py:110", "shortDescription": {"text": "Legacy-named symbol `rec_v1` in tests/test_docket_fetch.py:110"}, "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-934a75109c6bce86", "name": "Legacy-named symbol `record_v1` in tests/test_atlas_fetch.py:111", "shortDescription": {"text": "Legacy-named symbol `record_v1` in tests/test_atlas_fetch.py:111"}, "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-80c8d583739ce205", "name": "Network/subprocess call without timeout or try/except \u2014 scripts/memory_versions.py:36", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 scripts/memory_versions.py:36"}, "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-5f0555f8d4df529d", "name": "`fetch()` without try/.catch or AbortSignal \u2014 web/vite.config.ts:7", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web/vite.config.ts:7"}, "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-23f3bc4c4c4064c5", "name": "Commented-code block (5 lines) in web/src/app.d.ts:4", "shortDescription": {"text": "Commented-code block (5 lines) in web/src/app.d.ts:4"}, "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-1ee3c6c770d1e05b", "name": "`fetch()` without try/.catch or AbortSignal \u2014 web/src/lib/api.ts:39", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web/src/lib/api.ts:39"}, "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-699bd8caf6c325f4", "name": "Commented-code block (6 lines) in src/bot/config.py:181", "shortDescription": {"text": "Commented-code block (6 lines) in src/bot/config.py:181"}, "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-6faf8bdadf8edb79", "name": "Commented-code block (5 lines) in src/bot/agent.py:171", "shortDescription": {"text": "Commented-code block (5 lines) in src/bot/agent.py:171"}, "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-a9b988c8f34620fd", "name": "Commented-code block (5 lines) in src/bot/main.py:507", "shortDescription": {"text": "Commented-code block (5 lines) in src/bot/main.py:507"}, "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-8598bc8d7147adfc", "name": "Commented-code block (5 lines) in src/bot/tools/posting.py:104", "shortDescription": {"text": "Commented-code block (5 lines) in src/bot/tools/posting.py:104"}, "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-d81042352aa2ce03", "name": "Commented-code block (5 lines) in src/bot/tools/_helpers.py:27", "shortDescription": {"text": "Commented-code block (5 lines) in src/bot/tools/_helpers.py:27"}, "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-ffdfeee9057fd67e", "name": "Commented-code block (5 lines) in src/bot/core/recent_flow_mentions.py:26", "shortDescription": {"text": "Commented-code block (5 lines) in src/bot/core/recent_flow_mentions.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-e83cb10a6ad8e454", "name": "Commented-code block (5 lines) in src/bot/core/workflow_state.py:34", "shortDescription": {"text": "Commented-code block (5 lines) in src/bot/core/workflow_state.py:34"}, "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-319e66a630e14977", "name": "2 env vars used in code but missing from .env.example", "shortDescription": {"text": "2 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "info", "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:\nscripts/memory_inspect.py:get_client, scripts/memory_versions.py:get_client\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:\nsrc/bot/tools/posting.py:like_post, src/bot/tools/posting.py:repost_post, src/bot/tools/media.py:inspect_record_media\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-f55f4da3a46c3831", "name": "FastAPI POST `pause` without auth dependency \u2014 src/bot/main.py:147", "shortDescription": {"text": "FastAPI POST `pause` without auth dependency \u2014 src/bot/main.py:147"}, "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-265c4c71037030b3", "name": "FastAPI POST `resume` without auth dependency \u2014 src/bot/main.py:159", "shortDescription": {"text": "FastAPI POST `resume` without auth dependency \u2014 src/bot/main.py:159"}, "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-72e51afed20f0ec6", "name": "FastAPI POST `trigger_post` without auth dependency \u2014 src/bot/main.py:171", "shortDescription": {"text": "FastAPI POST `trigger_post` without auth dependency \u2014 src/bot/main.py:171"}, "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-d4b2beca6652768c", "name": "Unused endpoint: POST /api/control/pause", "shortDescription": {"text": "Unused endpoint: POST /api/control/pause"}, "fullDescription": {"text": "`src/bot/main.py` declares `POST /api/control/pause` 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-bcf167e14962ae14", "name": "Unused endpoint: POST /api/control/resume", "shortDescription": {"text": "Unused endpoint: POST /api/control/resume"}, "fullDescription": {"text": "`src/bot/main.py` declares `POST /api/control/resume` 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-992cff479c5b8c03", "name": "Unused endpoint: POST /api/control/post", "shortDescription": {"text": "Unused endpoint: POST /api/control/post"}, "fullDescription": {"text": "`src/bot/main.py` declares `POST /api/control/post` 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/23751"}, "properties": {"repository": "zzstoatzz/bot", "repoUrl": "https://github.com/zzstoatzz/bot", "branch": "main"}, "results": [{"ruleId": "scanner-9c35564771bb73f3", "level": "note", "message": {"text": "Possibly dead Python function: hello"}, "properties": {"repobilityId": "8b01404a72d76209", "scanner": "scanner-primary", "fingerprint": "9c35564771bb73f3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/__init__.py:1"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-30f0538c6898ce0f", "level": "note", "message": {"text": "Possibly dead Python function: process_cycle"}, "properties": {"repobilityId": "ecedca235d9e157d", "scanner": "scanner-primary", "fingerprint": "30f0538c6898ce0f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/agent.py:748"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5b537c281c772e6a", "level": "note", "message": {"text": "Possibly dead Python function: collect"}, "properties": {"repobilityId": "2ca815d847997153", "scanner": "scanner-primary", "fingerprint": "5b537c281c772e6a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/utils/thread.py:223"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9dc2b9ad62d11075", "level": "note", "message": {"text": "Possibly dead Python function: store_observations"}, "properties": {"repobilityId": "80883a16c12e5047", "scanner": "scanner-primary", "fingerprint": "9dc2b9ad62d11075", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/memory/namespace_memory.py:267"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c7259f23ab4008cf", "level": "note", "message": {"text": "Possibly dead Python function: search_users"}, "properties": {"repobilityId": "7660ae2795fa3070", "scanner": "scanner-primary", "fingerprint": "c7259f23ab4008cf", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/core/atproto_client.py:207"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d63da3583b14afc0", "level": "warning", "message": {"text": "Dockerfile runs as root: Dockerfile"}, "properties": {"repobilityId": "a2ed1bd120e507db", "scanner": "scanner-primary", "fingerprint": "d63da3583b14afc0", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["security", "container"]}}, {"ruleId": "scanner-49cfbd1e060fcc41", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: oven/bun:1-slim"}, "properties": {"repobilityId": "d5503d6dbb35a6ff", "scanner": "scanner-primary", "fingerprint": "49cfbd1e060fcc41", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 4}}}]}, {"ruleId": "scanner-de3c1f217d72a063", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.12-slim"}, "properties": {"repobilityId": "f5870aaf851a6662", "scanner": "scanner-primary", "fingerprint": "de3c1f217d72a063", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 12}}}]}, {"ruleId": "scanner-de3c1f217d72a063", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: python:3.12-slim"}, "properties": {"repobilityId": "2e2a3047a2269c8f", "scanner": "scanner-primary", "fingerprint": "de3c1f217d72a063", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 39}}}]}, {"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-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-2e4869c25cd73485", "level": "note", "message": {"text": "package.json defines install-time lifecycle scripts"}, "properties": {"repobilityId": "3b0c08096003fdda", "scanner": "scanner-primary", "fingerprint": "2e4869c25cd73485", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "npm", "install-scripts"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "web/package.json"}, "region": {"startLine": 1}}}]}, {"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-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "1dc77e51f799235e", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "f034cdcfbfe69eee", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "49c4fb89adec5aba", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "10029ca9d52e47fd", "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": "0f1e6aef25b4c78a", "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": "37d27deca6ad6228", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-ac0bd4fa8f22bb6e", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/skills/phi-check/SKILL.md"}, "properties": {"repobilityId": "9965d9218ad44a45", "scanner": "scanner-primary", "fingerprint": "ac0bd4fa8f22bb6e", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/skills/phi-check/SKILL.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-adde3476c24f3889", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: skills/phi-prompt-inspect/SKILL.md"}, "properties": {"repobilityId": "d7047705908125f3", "scanner": "scanner-primary", "fingerprint": "adde3476c24f3889", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "skill_file"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "skills/phi-prompt-inspect/SKILL.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6c9a8af5735f2b9f", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: skills/pdsx-fundamentals/SKILL.md"}, "properties": {"repobilityId": "69aabbe18fd6211d", "scanner": "scanner-primary", "fingerprint": "6c9a8af5735f2b9f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "skill_file"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "skills/pdsx-fundamentals/SKILL.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-e50ebd48fdf234a1", "level": "note", "message": {"text": "Legacy-named symbol `rec_v1` in tests/test_docket_fetch.py:110"}, "properties": {"repobilityId": "f845c5658ef5151b", "scanner": "scanner-primary", "fingerprint": "e50ebd48fdf234a1", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-934a75109c6bce86", "level": "note", "message": {"text": "Legacy-named symbol `record_v1` in tests/test_atlas_fetch.py:111"}, "properties": {"repobilityId": "56e2f125ad1a7535", "scanner": "scanner-primary", "fingerprint": "934a75109c6bce86", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-80c8d583739ce205", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 scripts/memory_versions.py:36"}, "properties": {"repobilityId": "85d2e31c1e908f12", "scanner": "scanner-primary", "fingerprint": "80c8d583739ce205", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-5f0555f8d4df529d", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web/vite.config.ts:7"}, "properties": {"repobilityId": "2eb781246cacf3c0", "scanner": "scanner-primary", "fingerprint": "5f0555f8d4df529d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-23f3bc4c4c4064c5", "level": "none", "message": {"text": "Commented-code block (5 lines) in web/src/app.d.ts:4"}, "properties": {"repobilityId": "d7ce1cbd85d7162f", "scanner": "scanner-primary", "fingerprint": "23f3bc4c4c4064c5", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-1ee3c6c770d1e05b", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 web/src/lib/api.ts:39"}, "properties": {"repobilityId": "18b47ec76768f167", "scanner": "scanner-primary", "fingerprint": "1ee3c6c770d1e05b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-699bd8caf6c325f4", "level": "none", "message": {"text": "Commented-code block (6 lines) in src/bot/config.py:181"}, "properties": {"repobilityId": "2a34a459718cc991", "scanner": "scanner-primary", "fingerprint": "699bd8caf6c325f4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-6faf8bdadf8edb79", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/bot/agent.py:171"}, "properties": {"repobilityId": "0baab1b8f00e72cb", "scanner": "scanner-primary", "fingerprint": "6faf8bdadf8edb79", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-a9b988c8f34620fd", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/bot/main.py:507"}, "properties": {"repobilityId": "45340c59a4a0c123", "scanner": "scanner-primary", "fingerprint": "a9b988c8f34620fd", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-8598bc8d7147adfc", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/bot/tools/posting.py:104"}, "properties": {"repobilityId": "b575e845bb9d399b", "scanner": "scanner-primary", "fingerprint": "8598bc8d7147adfc", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d81042352aa2ce03", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/bot/tools/_helpers.py:27"}, "properties": {"repobilityId": "199ef3ad4fd2b5ba", "scanner": "scanner-primary", "fingerprint": "d81042352aa2ce03", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-ffdfeee9057fd67e", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/bot/core/recent_flow_mentions.py:26"}, "properties": {"repobilityId": "e0780d1823394ad9", "scanner": "scanner-primary", "fingerprint": "ffdfeee9057fd67e", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e83cb10a6ad8e454", "level": "none", "message": {"text": "Commented-code block (5 lines) in src/bot/core/workflow_state.py:34"}, "properties": {"repobilityId": "8612754e9e2e55d6", "scanner": "scanner-primary", "fingerprint": "e83cb10a6ad8e454", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-319e66a630e14977", "level": "none", "message": {"text": "2 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "d838d1fc5d8231c9", "scanner": "scanner-primary", "fingerprint": "319e66a630e14977", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "config-drift"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "ace7a6bdab4728e3", "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": "b5ab23fdf3bd314b", "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": "80a97d6bea59bf73", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}, {"ruleId": "scanner-f55f4da3a46c3831", "level": "error", "message": {"text": "FastAPI POST `pause` without auth dependency \u2014 src/bot/main.py:147"}, "properties": {"repobilityId": "e2674c6108326d23", "scanner": "scanner-primary", "fingerprint": "f55f4da3a46c3831", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/main.py"}, "region": {"startLine": 147}}}]}, {"ruleId": "scanner-265c4c71037030b3", "level": "error", "message": {"text": "FastAPI POST `resume` without auth dependency \u2014 src/bot/main.py:159"}, "properties": {"repobilityId": "11f0e44b8d59e387", "scanner": "scanner-primary", "fingerprint": "265c4c71037030b3", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/main.py"}, "region": {"startLine": 159}}}]}, {"ruleId": "scanner-72e51afed20f0ec6", "level": "error", "message": {"text": "FastAPI POST `trigger_post` without auth dependency \u2014 src/bot/main.py:171"}, "properties": {"repobilityId": "ab2d8e9f019bdc89", "scanner": "scanner-primary", "fingerprint": "72e51afed20f0ec6", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["auth", "owasp", "auth.fastapi.unauth_mutation"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "src/bot/main.py"}, "region": {"startLine": 171}}}]}, {"ruleId": "scanner-d4b2beca6652768c", "level": "note", "message": {"text": "Unused endpoint: POST /api/control/pause"}, "properties": {"repobilityId": "60d2bae82f9123a3", "scanner": "scanner-primary", "fingerprint": "d4b2beca6652768c", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-bcf167e14962ae14", "level": "note", "message": {"text": "Unused endpoint: POST /api/control/resume"}, "properties": {"repobilityId": "d992278ea05280dd", "scanner": "scanner-primary", "fingerprint": "bcf167e14962ae14", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}, {"ruleId": "scanner-992cff479c5b8c03", "level": "note", "message": {"text": "Unused endpoint: POST /api/control/post"}, "properties": {"repobilityId": "b487862244cf2403", "scanner": "scanner-primary", "fingerprint": "992cff479c5b8c03", "layer": "api", "severity": "low", "confidence": 1.0, "tags": ["wiring", "unused-endpoint"]}}]}]}