{"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-af08e6d70f4494f1", "name": "Possibly dead Python function: env_var_enabled", "shortDescription": {"text": "Possibly dead Python function: env_var_enabled"}, "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-44886437df230e6b", "name": "Possibly dead Python function: atomic_yaml_write", "shortDescription": {"text": "Possibly dead Python function: atomic_yaml_write"}, "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-4684fdc3908666cc", "name": "Possibly dead Python function: safe_json_loads", "shortDescription": {"text": "Possibly dead Python function: safe_json_loads"}, "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-d2943f88b0ddc487", "name": "Possibly dead Python function: env_int", "shortDescription": {"text": "Possibly dead Python function: env_int"}, "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-420405b99c20b5c6", "name": "Possibly dead Python function: env_bool", "shortDescription": {"text": "Possibly dead Python function: env_bool"}, "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-83a9c25fa3ce7ea0", "name": "Possibly dead Python function: normalize_proxy_env_vars", "shortDescription": {"text": "Possibly dead Python function: normalize_proxy_env_vars"}, "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-cbd45836af8242e1", "name": "Possibly dead Python function: run_background", "shortDescription": {"text": "Possibly dead Python function: run_background"}, "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-a2c0dc3f332485c8", "name": "Possibly dead Python function: display_callback", "shortDescription": {"text": "Possibly dead Python function: display_callback"}, "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-3fc7861de1586542", "name": "Possibly dead Python function: stream_callback", "shortDescription": {"text": "Possibly dead Python function: stream_callback"}, "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-634b5ac2813b1ddd", "name": "Possibly dead Python function: handle_enter", "shortDescription": {"text": "Possibly dead Python function: handle_enter"}, "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-be2a86b33bc8502f", "name": "Possibly dead Python function: handler", "shortDescription": {"text": "Possibly dead Python function: handler"}, "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-1aeba6beceff05db", "name": "Possibly dead Python function: apply_transformation", "shortDescription": {"text": "Possibly dead Python function: apply_transformation"}, "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-8f7ba56d88cd9c86", "name": "Possibly dead Python function: spinner_loop", "shortDescription": {"text": "Possibly dead Python function: spinner_loop"}, "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-3015d9e96cee77aa", "name": "Possibly dead Python function: process_loop", "shortDescription": {"text": "Possibly dead Python function: process_loop"}, "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-7e82fa51679dea49", "name": "Possibly dead Python function: run_mcp_server", "shortDescription": {"text": "Possibly dead Python function: run_mcp_server"}, "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-1b7ea0c194c90734", "name": "Possibly dead Python function: clear_interrupt", "shortDescription": {"text": "Possibly dead Python function: clear_interrupt"}, "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-3545419e54292414", "name": "Possibly dead Python function: handle_function_call", "shortDescription": {"text": "Possibly dead Python function: handle_function_call"}, "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-e7841031fd38c81d", "name": "Possibly dead Python function: set_hermes_home_override", "shortDescription": {"text": "Possibly dead Python function: set_hermes_home_override"}, "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-3604eb1673d5c27a", "name": "Possibly dead Python function: reset_hermes_home_override", "shortDescription": {"text": "Possibly dead Python function: reset_hermes_home_override"}, "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-43660fcb33ed5cb3", "name": "Docker base image is tag-pinned but not digest-pinned: debian:13.4", "shortDescription": {"text": "Docker base image is tag-pinned but not digest-pinned: debian:13.4"}, "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-d5a1cefd13bcd7ed", "name": "Dockerfile ADD downloads remote content without checksum", "shortDescription": {"text": "Dockerfile ADD downloads remote content without checksum"}, "fullDescription": {"text": "Remote build inputs can change or be replaced upstream. Use Dockerfile ADD --checksum or download with an explicit digest/signature verification step."}, "properties": {"scanner": "scanner-primary", "layer": "hardware", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-e2e57110e7699fb7", "name": "Insecure pattern 'subprocess_shell_true' in cli.py:8634", "shortDescription": {"text": "Insecure pattern 'subprocess_shell_true' in cli.py:8634"}, "fullDescription": {"text": "Found a known-risky pattern (subprocess_shell_true). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-cb639d9a10a47b23", "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-4f1de208914713e7", "name": "Very large file: batch_runner.py (1321 lines)", "shortDescription": {"text": "Very large file: batch_runner.py (1321 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6c008155fe9f9413", "name": "Very large file: cli.py (15089 lines)", "shortDescription": {"text": "Very large file: cli.py (15089 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-043c13dcc6ea89bc", "name": "Very large file: run_agent.py (4410 lines)", "shortDescription": {"text": "Very large file: run_agent.py (4410 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-f0c1a3c2e45efe60", "name": "Very large file: trajectory_compressor.py (1508 lines)", "shortDescription": {"text": "Very large file: trajectory_compressor.py (1508 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-e63e779d8ae5b7f3", "name": "Very large file: hermes_state.py (3279 lines)", "shortDescription": {"text": "Very large file: hermes_state.py (3279 lines)"}, "fullDescription": {"text": "Files with >800 lines often hide complexity hotspots and discourage tests."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "0 test file(s) for 16 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 312 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-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: ci, tests. 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 ci, tests. 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-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-33fa801af3e58334", "name": "Commented-code block (8 lines) in batch_runner.py:867", "shortDescription": {"text": "Commented-code block (8 lines) in batch_runner.py:867"}, "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-e85c8b27b513e3da", "name": "Legacy-named symbol `ghost_session_prune_v1` in cli.py:1258", "shortDescription": {"text": "Legacy-named symbol `ghost_session_prune_v1` in cli.py:1258"}, "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-f9c1be800370827c", "name": "Commented-code block (6 lines) in cli.py:491", "shortDescription": {"text": "Commented-code block (6 lines) in cli.py:491"}, "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-12074f9c0103ed42", "name": "Commented-code block (5 lines) in toolsets.py:550", "shortDescription": {"text": "Commented-code block (5 lines) in toolsets.py:550"}, "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-19f4c27f58849e74", "name": "Legacy-named symbol `children_copy` in run_agent.py:1787", "shortDescription": {"text": "Legacy-named symbol `children_copy` in run_agent.py:1787"}, "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-446bb69b23d38fe8", "name": "Commented-code block (6 lines) in run_agent.py:56", "shortDescription": {"text": "Commented-code block (6 lines) in run_agent.py:56"}, "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-0995c0ac8f2174fb", "name": "Commented-code block (5 lines) in model_tools.py:110", "shortDescription": {"text": "Commented-code block (5 lines) in model_tools.py:110"}, "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-90c781cc29dc25d3", "name": "Commented-code block (5 lines) in hermes_constants.py:81", "shortDescription": {"text": "Commented-code block (5 lines) in hermes_constants.py:81"}, "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-cffb4cc0de1b6565", "name": "Legacy-named symbol `cfg_backup` in hermes_logging.py:203", "shortDescription": {"text": "Legacy-named symbol `cfg_backup` in hermes_logging.py:203"}, "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-ba856a4ba5c15c15", "name": "Commented-code block (6 lines) in hermes_state.py:60", "shortDescription": {"text": "Commented-code block (6 lines) in hermes_state.py:60"}, "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-7de670297e14f2a1", "name": "41 env vars used in code but missing from .env.example", "shortDescription": {"text": "41 env vars used in code but missing from .env.example"}, "fullDescription": {"text": "Drift between code and config docs. The first few: `ANTHROPIC_API_KEY`, `BROWSER_CDP_URL`, `COLORFGBG`, `HERMES_ACCEPT_HOOKS`, `HERMES_API_CALL_STALE_TIMEOUT`, `HERMES_API_TIMEOUT`, `HERMES_BUNDLED_SKILLS`, `HERMES_DEFER_AGENT_STARTUP` + 33 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:\ncli.py:run_background, cli.py:run\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:\ncli.py:handler, cli.py:handler, cli.py:handler\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}}]}}, "automationDetails": {"id": "repobility/30123"}, "properties": {"repository": "troika03/troika", "repoUrl": "https://github.com/troika03/troika", "branch": "main"}, "results": [{"ruleId": "scanner-af08e6d70f4494f1", "level": "note", "message": {"text": "Possibly dead Python function: env_var_enabled"}, "properties": {"repobilityId": "8719a997dd456d95", "scanner": "scanner-primary", "fingerprint": "af08e6d70f4494f1", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "utils.py:31"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-44886437df230e6b", "level": "note", "message": {"text": "Possibly dead Python function: atomic_yaml_write"}, "properties": {"repobilityId": "ee23d7784e1eb888", "scanner": "scanner-primary", "fingerprint": "44886437df230e6b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "utils.py:139"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4684fdc3908666cc", "level": "note", "message": {"text": "Possibly dead Python function: safe_json_loads"}, "properties": {"repobilityId": "e9e7eef90431029d", "scanner": "scanner-primary", "fingerprint": "4684fdc3908666cc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "utils.py:258"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d2943f88b0ddc487", "level": "note", "message": {"text": "Possibly dead Python function: env_int"}, "properties": {"repobilityId": "6789d87227baeb90", "scanner": "scanner-primary", "fingerprint": "d2943f88b0ddc487", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "utils.py:274"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-420405b99c20b5c6", "level": "note", "message": {"text": "Possibly dead Python function: env_bool"}, "properties": {"repobilityId": "ac376b37cf19df97", "scanner": "scanner-primary", "fingerprint": "420405b99c20b5c6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "utils.py:285"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-83a9c25fa3ce7ea0", "level": "note", "message": {"text": "Possibly dead Python function: normalize_proxy_env_vars"}, "properties": {"repobilityId": "d48b96dc39b85fd2", "scanner": "scanner-primary", "fingerprint": "83a9c25fa3ce7ea0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "utils.py:314"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-cbd45836af8242e1", "level": "note", "message": {"text": "Possibly dead Python function: run_background"}, "properties": {"repobilityId": "08913be92a79f49f", "scanner": "scanner-primary", "fingerprint": "cbd45836af8242e1", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:8787"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a2c0dc3f332485c8", "level": "note", "message": {"text": "Possibly dead Python function: display_callback"}, "properties": {"repobilityId": "a5454cd5ccbeed8c", "scanner": "scanner-primary", "fingerprint": "a2c0dc3f332485c8", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:11684"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3fc7861de1586542", "level": "note", "message": {"text": "Possibly dead Python function: stream_callback"}, "properties": {"repobilityId": "e812d95731a1f9c5", "scanner": "scanner-primary", "fingerprint": "3fc7861de1586542", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:11705"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-634b5ac2813b1ddd", "level": "note", "message": {"text": "Possibly dead Python function: handle_enter"}, "properties": {"repobilityId": "f62068212ea33aec", "scanner": "scanner-primary", "fingerprint": "634b5ac2813b1ddd", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:12568"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-be2a86b33bc8502f", "level": "note", "message": {"text": "Possibly dead Python function: handler"}, "properties": {"repobilityId": "bd219af3bd678eef", "scanner": "scanner-primary", "fingerprint": "be2a86b33bc8502f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:12933"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1aeba6beceff05db", "level": "note", "message": {"text": "Possibly dead Python function: apply_transformation"}, "properties": {"repobilityId": "a4e51d16c6421fcf", "scanner": "scanner-primary", "fingerprint": "1aeba6beceff05db", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:13561"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8f7ba56d88cd9c86", "level": "note", "message": {"text": "Possibly dead Python function: spinner_loop"}, "properties": {"repobilityId": "28c0baa28b897dc8", "scanner": "scanner-primary", "fingerprint": "8f7ba56d88cd9c86", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:14279"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3015d9e96cee77aa", "level": "note", "message": {"text": "Possibly dead Python function: process_loop"}, "properties": {"repobilityId": "a675ee415509c6fc", "scanner": "scanner-primary", "fingerprint": "3015d9e96cee77aa", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py:14299"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7e82fa51679dea49", "level": "note", "message": {"text": "Possibly dead Python function: run_mcp_server"}, "properties": {"repobilityId": "a3e644f34440eab6", "scanner": "scanner-primary", "fingerprint": "7e82fa51679dea49", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "mcp_serve.py:866"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1b7ea0c194c90734", "level": "note", "message": {"text": "Possibly dead Python function: clear_interrupt"}, "properties": {"repobilityId": "d9e0f40de021dd90", "scanner": "scanner-primary", "fingerprint": "1b7ea0c194c90734", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "run_agent.py:1796"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3545419e54292414", "level": "note", "message": {"text": "Possibly dead Python function: handle_function_call"}, "properties": {"repobilityId": "34f827fa2a62558a", "scanner": "scanner-primary", "fingerprint": "3545419e54292414", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "model_tools.py:741"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e7841031fd38c81d", "level": "note", "message": {"text": "Possibly dead Python function: set_hermes_home_override"}, "properties": {"repobilityId": "575d2538bec4cb68", "scanner": "scanner-primary", "fingerprint": "e7841031fd38c81d", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "hermes_constants.py:20"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3604eb1673d5c27a", "level": "note", "message": {"text": "Possibly dead Python function: reset_hermes_home_override"}, "properties": {"repobilityId": "fef2d216987fc43d", "scanner": "scanner-primary", "fingerprint": "3604eb1673d5c27a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "hermes_constants.py:30"}, "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-43660fcb33ed5cb3", "level": "note", "message": {"text": "Docker base image is tag-pinned but not digest-pinned: debian:13.4"}, "properties": {"repobilityId": "8214ec0e1d903984", "scanner": "scanner-primary", "fingerprint": "43660fcb33ed5cb3", "layer": "hardware", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "docker", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 2}}}]}, {"ruleId": "scanner-d5a1cefd13bcd7ed", "level": "warning", "message": {"text": "Dockerfile ADD downloads remote content without checksum"}, "properties": {"repobilityId": "d49ae97720648bab", "scanner": "scanner-primary", "fingerprint": "d5a1cefd13bcd7ed", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "docker", "checksum"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 49}}}]}, {"ruleId": "scanner-d5a1cefd13bcd7ed", "level": "warning", "message": {"text": "Dockerfile ADD downloads remote content without checksum"}, "properties": {"repobilityId": "03ba6f6afa69860b", "scanner": "scanner-primary", "fingerprint": "d5a1cefd13bcd7ed", "layer": "hardware", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "docker", "checksum"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "Dockerfile"}, "region": {"startLine": 50}}}]}, {"ruleId": "scanner-e2e57110e7699fb7", "level": "error", "message": {"text": "Insecure pattern 'subprocess_shell_true' in cli.py:8634"}, "properties": {"repobilityId": "b1d9cbd94cc4c80e", "scanner": "scanner-primary", "fingerprint": "e2e57110e7699fb7", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "subprocess_shell_true"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "cli.py"}, "region": {"startLine": 8634}}}]}, {"ruleId": "scanner-cb639d9a10a47b23", "level": "note", "message": {"text": "package.json defines install-time lifecycle scripts"}, "properties": {"repobilityId": "edeab51902066991", "scanner": "scanner-primary", "fingerprint": "cb639d9a10a47b23", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "npm", "install-scripts"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "package.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4f1de208914713e7", "level": "note", "message": {"text": "Very large file: batch_runner.py (1321 lines)"}, "properties": {"repobilityId": "4cfc442d1784e1f5", "scanner": "scanner-primary", "fingerprint": "4f1de208914713e7", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-6c008155fe9f9413", "level": "note", "message": {"text": "Very large file: cli.py (15089 lines)"}, "properties": {"repobilityId": "f169f0b234c07b84", "scanner": "scanner-primary", "fingerprint": "6c008155fe9f9413", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-043c13dcc6ea89bc", "level": "note", "message": {"text": "Very large file: run_agent.py (4410 lines)"}, "properties": {"repobilityId": "3470d9d770e9e5a4", "scanner": "scanner-primary", "fingerprint": "043c13dcc6ea89bc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-f0c1a3c2e45efe60", "level": "note", "message": {"text": "Very large file: trajectory_compressor.py (1508 lines)"}, "properties": {"repobilityId": "0ec59a2a29cf7f14", "scanner": "scanner-primary", "fingerprint": "f0c1a3c2e45efe60", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-e63e779d8ae5b7f3", "level": "note", "message": {"text": "Very large file: hermes_state.py (3279 lines)"}, "properties": {"repobilityId": "5a2fa51636e8c46d", "scanner": "scanner-primary", "fingerprint": "e63e779d8ae5b7f3", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-6893a6c8b0861585", "level": "warning", "message": {"text": "Very low test-to-source ratio"}, "properties": {"repobilityId": "54a7de3f06314bf0", "scanner": "scanner-primary", "fingerprint": "6893a6c8b0861585", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["tests", "coverage"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "b6bd81356b040e2f", "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": "dc02e1be8c2578ae", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "note", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "65b30a3e3d9f0eef", "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": "abdf5f09a23cb980", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"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-33fa801af3e58334", "level": "none", "message": {"text": "Commented-code block (8 lines) in batch_runner.py:867"}, "properties": {"repobilityId": "85093e36a8479052", "scanner": "scanner-primary", "fingerprint": "33fa801af3e58334", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-e85c8b27b513e3da", "level": "note", "message": {"text": "Legacy-named symbol `ghost_session_prune_v1` in cli.py:1258"}, "properties": {"repobilityId": "e1de59bb40a0fdb1", "scanner": "scanner-primary", "fingerprint": "e85c8b27b513e3da", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-f9c1be800370827c", "level": "none", "message": {"text": "Commented-code block (6 lines) in cli.py:491"}, "properties": {"repobilityId": "1e7dc59a74948fd1", "scanner": "scanner-primary", "fingerprint": "f9c1be800370827c", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-12074f9c0103ed42", "level": "none", "message": {"text": "Commented-code block (5 lines) in toolsets.py:550"}, "properties": {"repobilityId": "70ff1e15591cb81c", "scanner": "scanner-primary", "fingerprint": "12074f9c0103ed42", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-19f4c27f58849e74", "level": "note", "message": {"text": "Legacy-named symbol `children_copy` in run_agent.py:1787"}, "properties": {"repobilityId": "582c40df84eb82eb", "scanner": "scanner-primary", "fingerprint": "19f4c27f58849e74", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-446bb69b23d38fe8", "level": "none", "message": {"text": "Commented-code block (6 lines) in run_agent.py:56"}, "properties": {"repobilityId": "3ba7fccc0a23dfea", "scanner": "scanner-primary", "fingerprint": "446bb69b23d38fe8", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-0995c0ac8f2174fb", "level": "none", "message": {"text": "Commented-code block (5 lines) in model_tools.py:110"}, "properties": {"repobilityId": "55b1700e595c427e", "scanner": "scanner-primary", "fingerprint": "0995c0ac8f2174fb", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-90c781cc29dc25d3", "level": "none", "message": {"text": "Commented-code block (5 lines) in hermes_constants.py:81"}, "properties": {"repobilityId": "55ffb84ffee1c67f", "scanner": "scanner-primary", "fingerprint": "90c781cc29dc25d3", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-cffb4cc0de1b6565", "level": "note", "message": {"text": "Legacy-named symbol `cfg_backup` in hermes_logging.py:203"}, "properties": {"repobilityId": "3b19c566e692852d", "scanner": "scanner-primary", "fingerprint": "cffb4cc0de1b6565", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-ba856a4ba5c15c15", "level": "none", "message": {"text": "Commented-code block (6 lines) in hermes_state.py:60"}, "properties": {"repobilityId": "372977be7c81aacd", "scanner": "scanner-primary", "fingerprint": "ba856a4ba5c15c15", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-7de670297e14f2a1", "level": "note", "message": {"text": "41 env vars used in code but missing from .env.example"}, "properties": {"repobilityId": "1c11cebf17f19045", "scanner": "scanner-primary", "fingerprint": "7de670297e14f2a1", "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": "2c99d43185a33c56", "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": "1d7c65a64f5f0289", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "518ca42370045e5c", "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": "a5e261782918de48", "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": "7ea7ba23e00fe06e", "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": "8621e2a19d07de91", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}