{"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-96aad77e78cb3a68", "name": "Possibly dead Python function: cmd_init", "shortDescription": {"text": "Possibly dead Python function: cmd_init"}, "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-64e1ae20eeac8970", "name": "Possibly dead Python function: cmd_memory", "shortDescription": {"text": "Possibly dead Python function: cmd_memory"}, "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-45592ae378845d04", "name": "Possibly dead Python function: cmd_journal", "shortDescription": {"text": "Possibly dead Python function: cmd_journal"}, "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-f959f722bc4f5143", "name": "Possibly dead Python function: cmd_pack", "shortDescription": {"text": "Possibly dead Python function: cmd_pack"}, "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-d944081fee187a95", "name": "Possibly dead Python function: cmd_areas", "shortDescription": {"text": "Possibly dead Python function: cmd_areas"}, "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-ea285411c71b5b72", "name": "Possibly dead Python function: cmd_identity", "shortDescription": {"text": "Possibly dead Python function: cmd_identity"}, "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-d746776ddbc2a187", "name": "Possibly dead Python function: cmd_mdlab", "shortDescription": {"text": "Possibly dead Python function: cmd_mdlab"}, "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-7166bad9ad1dcc72", "name": "Possibly dead Python function: cmd_agents", "shortDescription": {"text": "Possibly dead Python function: cmd_agents"}, "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-5bd207282df1f63c", "name": "Possibly dead Python function: cmd_cockpit", "shortDescription": {"text": "Possibly dead Python function: cmd_cockpit"}, "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-9163d860c9116ffd", "name": "Possibly dead Python function: log_message", "shortDescription": {"text": "Possibly dead Python function: log_message"}, "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-85b9176b327fd5a9", "name": "Possibly dead Python function: do_GET", "shortDescription": {"text": "Possibly dead Python function: do_GET"}, "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-6124d5214fa60120", "name": "Possibly dead Python function: cmd_connect", "shortDescription": {"text": "Possibly dead Python function: cmd_connect"}, "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-f634db9d723605c6", "name": "Possibly dead Python function: cmd_gui", "shortDescription": {"text": "Possibly dead Python function: cmd_gui"}, "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-ea745d83c9df7c51", "name": "Possibly dead Python function: cmd_mcp", "shortDescription": {"text": "Possibly dead Python function: cmd_mcp"}, "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-0c137f7ab0f51898", "name": "Possibly dead Python function: cmd_doctor", "shortDescription": {"text": "Possibly dead Python function: cmd_doctor"}, "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-4bd55cf7107a573f", "name": "Possibly dead Python function: cmd_install_launcher", "shortDescription": {"text": "Possibly dead Python function: cmd_install_launcher"}, "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-1f9075324613ff56", "name": "Possibly dead Python function: probe", "shortDescription": {"text": "Possibly dead Python function: probe"}, "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-e2d21a9d5ebb7821", "name": "Possibly dead Python function: add_project", "shortDescription": {"text": "Possibly dead Python function: add_project"}, "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-a920c1c5475013af", "name": "Possibly dead Python function: connect_remote", "shortDescription": {"text": "Possibly dead Python function: connect_remote"}, "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-be3a32bda745e6ad", "name": "Possibly dead Python function: reader", "shortDescription": {"text": "Possibly dead Python function: reader"}, "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-1d6ed6063a5cf0cf", "name": "Possibly dead Python function: worker", "shortDescription": {"text": "Possibly dead Python function: worker"}, "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-2601057f763cfa1a", "name": "Possibly dead Python function: open_docs", "shortDescription": {"text": "Possibly dead Python function: open_docs"}, "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-92aec6535c32561a", "name": "Possibly dead Python function: try_with_agent", "shortDescription": {"text": "Possibly dead Python function: try_with_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-d159dfa59b27f118", "name": "Possibly dead Python function: load_examples", "shortDescription": {"text": "Possibly dead Python function: load_examples"}, "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-5c457e64056a0a08", "name": "Possibly dead Python function: remove_examples", "shortDescription": {"text": "Possibly dead Python function: remove_examples"}, "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-6445e8db5d34140e", "name": "Possibly dead Python function: work", "shortDescription": {"text": "Possibly dead Python function: work"}, "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-fa06e3d25796404f", "name": "Possibly dead Python function: agents_uninstall", "shortDescription": {"text": "Possibly dead Python function: agents_uninstall"}, "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-c6b8a68da446b323", "name": "Possibly dead Python function: open_cockpit", "shortDescription": {"text": "Possibly dead Python function: open_cockpit"}, "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-335e02b38662142a", "name": "Possibly dead Python function: download_model", "shortDescription": {"text": "Possibly dead Python function: download_model"}, "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-0db230da521e4609", "name": "Possibly dead Python function: update_software", "shortDescription": {"text": "Possibly dead Python function: update_software"}, "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-043a1afb326bfc9b", "name": "Insecure pattern 'exec_used' in priorstates/cli.py:899", "shortDescription": {"text": "Insecure pattern 'exec_used' in priorstates/cli.py:899"}, "fullDescription": {"text": "Found a known-risky pattern (exec_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-38e010d9b0600900", "name": "Insecure pattern 'cors_wildcard' in priorstates/cli.py:820", "shortDescription": {"text": "Insecure pattern 'cors_wildcard' in priorstates/cli.py:820"}, "fullDescription": {"text": "Found a known-risky pattern (cors_wildcard). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-4fdcb1cf71318193", "name": "Possible secret in priorstates/gui/app.py", "shortDescription": {"text": "Possible secret in priorstates/gui/app.py"}, "fullDescription": {"text": "Detected pattern matching password_literal. Rotate the credential and move to a secret manager."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "critical", "confidence": 1.0}}, {"id": "scanner-b89d8a5eeffdbad5", "name": "Insecure pattern 'exec_used' in priorstates/mdlab/runner.py:43", "shortDescription": {"text": "Insecure pattern 'exec_used' in priorstates/mdlab/runner.py:43"}, "fullDescription": {"text": "Found a known-risky pattern (exec_used). Review and replace if possible."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "high", "confidence": 1.0}}, {"id": "scanner-d1e6deaf34d0f4a8", "name": "Insecure pattern 'direct_innerhtml_assignment' in priorstates/cockpit/public/app.js:8", "shortDescription": {"text": "Insecure pattern 'direct_innerhtml_assignment' in priorstates/cockpit/public/app.js:8"}, "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-46c644c6227e4d4a", "name": "GitHub Action is tag-pinned rather than SHA-pinned", "shortDescription": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "fullDescription": {"text": "pypa/gh-action-pypi-publish@release/v1 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-1838a141491ce38c", "name": "GitHub Actions workflow grants broad write permissions", "shortDescription": {"text": "GitHub Actions workflow grants broad write permissions"}, "fullDescription": {"text": "CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions."}, "properties": {"scanner": "scanner-primary", "layer": "cicd", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-0923243d6a525444", "name": "Very large file: priorstates/cli.py (1628 lines)", "shortDescription": {"text": "Very large file: priorstates/cli.py (1628 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-902c2836df43d186", "name": "Very large file: priorstates/gui/app.py (2139 lines)", "shortDescription": {"text": "Very large file: priorstates/gui/app.py (2139 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-3ab5d313dda8e5f9", "name": "Debug logging residue appears in source files", "shortDescription": {"text": "Debug logging residue appears in source files"}, "fullDescription": {"text": "Found 204 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-72b2a6250083a784", "name": "Placeholder or mock-heavy implementation detected", "shortDescription": {"text": "Placeholder or mock-heavy implementation detected"}, "fullDescription": {"text": "Found 16 placeholder/mock markers across 3 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-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-8663f7605ff496dc", "name": "Legacy-named symbol `desk_copy` in priorstates/cli.py:1341", "shortDescription": {"text": "Legacy-named symbol `desk_copy` in priorstates/cli.py:1341"}, "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-e63f000986721bfd", "name": "Commented-code block (6 lines) in priorstates/cli.py:72", "shortDescription": {"text": "Commented-code block (6 lines) in priorstates/cli.py:72"}, "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-d8f898ddc26f799d", "name": "Network/subprocess call without timeout or try/except \u2014 priorstates/cli.py:754", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 priorstates/cli.py:754"}, "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-75d0a21574944d42", "name": "Stub function `log_message` (body is just `pass`/`return`) \u2014 priorstates/cli.py:795", "shortDescription": {"text": "Stub function `log_message` (body is just `pass`/`return`) \u2014 priorstates/cli.py:795"}, "fullDescription": {"text": "Likely an AI scaffold that was never filled in. Remove or implement."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-5d58eec4a1495def", "name": "Network/subprocess call without timeout or try/except \u2014 priorstates/gui/app.py:1686", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 priorstates/gui/app.py:1686"}, "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-f96506ea3145b027", "name": "Commented-code block (5 lines) in priorstates/cockpit/server.py:72", "shortDescription": {"text": "Commented-code block (5 lines) in priorstates/cockpit/server.py:72"}, "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-ece0950ae27666b7", "name": "Legacy-named symbol `from_buffer_copy` in priorstates/cockpit/ptybridge_win.py:208", "shortDescription": {"text": "Legacy-named symbol `from_buffer_copy` in priorstates/cockpit/ptybridge_win.py:208"}, "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-a71695572308de85", "name": "`fetch()` without try/.catch or AbortSignal \u2014 priorstates/cockpit/public/app.js:16", "shortDescription": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 priorstates/cockpit/public/app.js:16"}, "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-763bc6cff9aa3a5f", "name": "Commented-code block (5 lines) in priorstates/agents/adapters.py:140", "shortDescription": {"text": "Commented-code block (5 lines) in priorstates/agents/adapters.py:140"}, "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-1da832e8a45ba5e5", "name": "Commented-code block (5 lines) in priorstates/core/config.py:88", "shortDescription": {"text": "Commented-code block (5 lines) in priorstates/core/config.py:88"}, "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-71994a0d94a8002b", "name": "Legacy-named symbol `test_freshness_demotes_old` in tests/test_trust_graph_phase1.py:78", "shortDescription": {"text": "Legacy-named symbol `test_freshness_demotes_old` in tests/test_trust_graph_phase1.py:78"}, "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-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:\npriorstates/cli.py:cmd_install_launcher_windows, priorstates/cli.py:cmd_install_launcher\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:\npriorstates/gui/app.py:worker, priorstates/gui/app.py:work, priorstates/gui/app.py:work\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:\npriorstates/gui/app.py:goto_tab, priorstates/gui/app.py:go, priorstates/gui/app.py:go, priorstates/gui/app.py:go\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/23699"}, "properties": {"repository": "zqin2012/priorstates", "repoUrl": "https://github.com/zqin2012/priorstates", "branch": "main"}, "results": [{"ruleId": "scanner-96aad77e78cb3a68", "level": "note", "message": {"text": "Possibly dead Python function: cmd_init"}, "properties": {"repobilityId": "3f17b7245a36f920", "scanner": "scanner-primary", "fingerprint": "96aad77e78cb3a68", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:25"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-64e1ae20eeac8970", "level": "note", "message": {"text": "Possibly dead Python function: cmd_memory"}, "properties": {"repobilityId": "3070df5a30344c2e", "scanner": "scanner-primary", "fingerprint": "64e1ae20eeac8970", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:341"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-45592ae378845d04", "level": "note", "message": {"text": "Possibly dead Python function: cmd_journal"}, "properties": {"repobilityId": "9499c834180470ac", "scanner": "scanner-primary", "fingerprint": "45592ae378845d04", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:517"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f959f722bc4f5143", "level": "note", "message": {"text": "Possibly dead Python function: cmd_pack"}, "properties": {"repobilityId": "08ec141ee077d5b5", "scanner": "scanner-primary", "fingerprint": "f959f722bc4f5143", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:545"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d944081fee187a95", "level": "note", "message": {"text": "Possibly dead Python function: cmd_areas"}, "properties": {"repobilityId": "b445e08c87b2dc16", "scanner": "scanner-primary", "fingerprint": "d944081fee187a95", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:614"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ea285411c71b5b72", "level": "note", "message": {"text": "Possibly dead Python function: cmd_identity"}, "properties": {"repobilityId": "d4da2103a2f45ec1", "scanner": "scanner-primary", "fingerprint": "ea285411c71b5b72", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:636"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d746776ddbc2a187", "level": "note", "message": {"text": "Possibly dead Python function: cmd_mdlab"}, "properties": {"repobilityId": "662f7019b4b77bd7", "scanner": "scanner-primary", "fingerprint": "d746776ddbc2a187", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:658"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7166bad9ad1dcc72", "level": "note", "message": {"text": "Possibly dead Python function: cmd_agents"}, "properties": {"repobilityId": "3f42ddbcd463d570", "scanner": "scanner-primary", "fingerprint": "7166bad9ad1dcc72", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:679"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5bd207282df1f63c", "level": "note", "message": {"text": "Possibly dead Python function: cmd_cockpit"}, "properties": {"repobilityId": "de0f6cdde14498ba", "scanner": "scanner-primary", "fingerprint": "5bd207282df1f63c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:693"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9163d860c9116ffd", "level": "note", "message": {"text": "Possibly dead Python function: log_message"}, "properties": {"repobilityId": "965f3150b4af5b2e", "scanner": "scanner-primary", "fingerprint": "9163d860c9116ffd", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:795"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-85b9176b327fd5a9", "level": "note", "message": {"text": "Possibly dead Python function: do_GET"}, "properties": {"repobilityId": "2d943bb45e4f13bd", "scanner": "scanner-primary", "fingerprint": "85b9176b327fd5a9", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:798"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6124d5214fa60120", "level": "note", "message": {"text": "Possibly dead Python function: cmd_connect"}, "properties": {"repobilityId": "5aab01dc302fbcdc", "scanner": "scanner-primary", "fingerprint": "6124d5214fa60120", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:842"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f634db9d723605c6", "level": "note", "message": {"text": "Possibly dead Python function: cmd_gui"}, "properties": {"repobilityId": "c41253f4bdd1e215", "scanner": "scanner-primary", "fingerprint": "f634db9d723605c6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:976"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-ea745d83c9df7c51", "level": "note", "message": {"text": "Possibly dead Python function: cmd_mcp"}, "properties": {"repobilityId": "76e3b78bba8a0066", "scanner": "scanner-primary", "fingerprint": "ea745d83c9df7c51", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:981"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0c137f7ab0f51898", "level": "note", "message": {"text": "Possibly dead Python function: cmd_doctor"}, "properties": {"repobilityId": "9a95a890c390a044", "scanner": "scanner-primary", "fingerprint": "0c137f7ab0f51898", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:986"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4bd55cf7107a573f", "level": "note", "message": {"text": "Possibly dead Python function: cmd_install_launcher"}, "properties": {"repobilityId": "458262553709a947", "scanner": "scanner-primary", "fingerprint": "4bd55cf7107a573f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py:1328"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1f9075324613ff56", "level": "note", "message": {"text": "Possibly dead Python function: probe"}, "properties": {"repobilityId": "90ebf24a9b031ee2", "scanner": "scanner-primary", "fingerprint": "1f9075324613ff56", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:388"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e2d21a9d5ebb7821", "level": "note", "message": {"text": "Possibly dead Python function: add_project"}, "properties": {"repobilityId": "66eacb6dc554c56f", "scanner": "scanner-primary", "fingerprint": "e2d21a9d5ebb7821", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:732"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a920c1c5475013af", "level": "note", "message": {"text": "Possibly dead Python function: connect_remote"}, "properties": {"repobilityId": "fab1b2d23c8da283", "scanner": "scanner-primary", "fingerprint": "a920c1c5475013af", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:781"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-be3a32bda745e6ad", "level": "note", "message": {"text": "Possibly dead Python function: reader"}, "properties": {"repobilityId": "b4268f483a87ecad", "scanner": "scanner-primary", "fingerprint": "be3a32bda745e6ad", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:826"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1d6ed6063a5cf0cf", "level": "note", "message": {"text": "Possibly dead Python function: worker"}, "properties": {"repobilityId": "fbe2b50200068803", "scanner": "scanner-primary", "fingerprint": "1d6ed6063a5cf0cf", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1044"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2601057f763cfa1a", "level": "note", "message": {"text": "Possibly dead Python function: open_docs"}, "properties": {"repobilityId": "cf38bfac8954739f", "scanner": "scanner-primary", "fingerprint": "2601057f763cfa1a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1213"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-92aec6535c32561a", "level": "note", "message": {"text": "Possibly dead Python function: try_with_agent"}, "properties": {"repobilityId": "0774c33ac4b0d2b5", "scanner": "scanner-primary", "fingerprint": "92aec6535c32561a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1248"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d159dfa59b27f118", "level": "note", "message": {"text": "Possibly dead Python function: load_examples"}, "properties": {"repobilityId": "730d199e5d9ad892", "scanner": "scanner-primary", "fingerprint": "d159dfa59b27f118", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1260"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5c457e64056a0a08", "level": "note", "message": {"text": "Possibly dead Python function: remove_examples"}, "properties": {"repobilityId": "3df9130fdb1b25f5", "scanner": "scanner-primary", "fingerprint": "5c457e64056a0a08", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1274"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6445e8db5d34140e", "level": "note", "message": {"text": "Possibly dead Python function: work"}, "properties": {"repobilityId": "c5b0e9acf413d08f", "scanner": "scanner-primary", "fingerprint": "6445e8db5d34140e", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1532"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fa06e3d25796404f", "level": "note", "message": {"text": "Possibly dead Python function: agents_uninstall"}, "properties": {"repobilityId": "e5ddbf55a82d12a7", "scanner": "scanner-primary", "fingerprint": "fa06e3d25796404f", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1359"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c6b8a68da446b323", "level": "note", "message": {"text": "Possibly dead Python function: open_cockpit"}, "properties": {"repobilityId": "9c1cf8d7b8d03856", "scanner": "scanner-primary", "fingerprint": "c6b8a68da446b323", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1445"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-335e02b38662142a", "level": "note", "message": {"text": "Possibly dead Python function: download_model"}, "properties": {"repobilityId": "d4b969b0ebdc2f8a", "scanner": "scanner-primary", "fingerprint": "335e02b38662142a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1514"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0db230da521e4609", "level": "note", "message": {"text": "Possibly dead Python function: update_software"}, "properties": {"repobilityId": "8530e31aff46ec0b", "scanner": "scanner-primary", "fingerprint": "0db230da521e4609", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py:1653"}, "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-043a1afb326bfc9b", "level": "error", "message": {"text": "Insecure pattern 'exec_used' in priorstates/cli.py:899"}, "properties": {"repobilityId": "0ca872dd2783c247", "scanner": "scanner-primary", "fingerprint": "043a1afb326bfc9b", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "exec_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py"}, "region": {"startLine": 899}}}]}, {"ruleId": "scanner-38e010d9b0600900", "level": "warning", "message": {"text": "Insecure pattern 'cors_wildcard' in priorstates/cli.py:820"}, "properties": {"repobilityId": "b044d68f7c045508", "scanner": "scanner-primary", "fingerprint": "38e010d9b0600900", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "cors_wildcard"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cli.py"}, "region": {"startLine": 820}}}]}, {"ruleId": "scanner-4fdcb1cf71318193", "level": "error", "message": {"text": "Possible secret in priorstates/gui/app.py"}, "properties": {"repobilityId": "2dad4d4321c398f0", "scanner": "scanner-primary", "fingerprint": "4fdcb1cf71318193", "layer": "security", "severity": "critical", "confidence": 1.0, "tags": ["secrets"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/gui/app.py"}, "region": {"startLine": 2078}}}]}, {"ruleId": "scanner-b89d8a5eeffdbad5", "level": "error", "message": {"text": "Insecure pattern 'exec_used' in priorstates/mdlab/runner.py:43"}, "properties": {"repobilityId": "7d3bb5b0604fff21", "scanner": "scanner-primary", "fingerprint": "b89d8a5eeffdbad5", "layer": "security", "severity": "high", "confidence": 1.0, "tags": ["owasp", "exec_used"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/mdlab/runner.py"}, "region": {"startLine": 43}}}]}, {"ruleId": "scanner-d1e6deaf34d0f4a8", "level": "warning", "message": {"text": "Insecure pattern 'direct_innerhtml_assignment' in priorstates/cockpit/public/app.js:8"}, "properties": {"repobilityId": "d1476a80ad939ae3", "scanner": "scanner-primary", "fingerprint": "d1e6deaf34d0f4a8", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["owasp", "direct_innerhtml_assignment"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "priorstates/cockpit/public/app.js"}, "region": {"startLine": 8}}}]}, {"ruleId": "scanner-46c644c6227e4d4a", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "8eb96fb1706184f3", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 69}}}]}, {"ruleId": "scanner-46c644c6227e4d4a", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "5ab0c5bd71e63ad8", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 210}}}]}, {"ruleId": "scanner-46c644c6227e4d4a", "level": "warning", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "9837611b7d5cad7d", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 226}}}]}, {"ruleId": "scanner-46c644c6227e4d4a", "level": "note", "message": {"text": "GitHub Action is tag-pinned rather than SHA-pinned"}, "properties": {"repobilityId": "5ab0c5bd71e63ad8", "scanner": "scanner-primary", "fingerprint": "46c644c6227e4d4a", "layer": "cicd", "severity": "low", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "pinned-dependencies"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 237}}}]}, {"ruleId": "scanner-1838a141491ce38c", "level": "warning", "message": {"text": "GitHub Actions workflow grants broad write permissions"}, "properties": {"repobilityId": "b8fd4f5048f96576", "scanner": "scanner-primary", "fingerprint": "1838a141491ce38c", "layer": "cicd", "severity": "medium", "confidence": 1.0, "tags": ["supply-chain", "github-actions", "least-privilege"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".github/workflows/release.yml"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0923243d6a525444", "level": "note", "message": {"text": "Very large file: priorstates/cli.py (1628 lines)"}, "properties": {"repobilityId": "b1706a6b367ea5cb", "scanner": "scanner-primary", "fingerprint": "0923243d6a525444", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-902c2836df43d186", "level": "note", "message": {"text": "Very large file: priorstates/gui/app.py (2139 lines)"}, "properties": {"repobilityId": "cdb2dd696614042a", "scanner": "scanner-primary", "fingerprint": "902c2836df43d186", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "f0966b8a2280e132", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-72b2a6250083a784", "level": "warning", "message": {"text": "Placeholder or mock-heavy implementation detected"}, "properties": {"repobilityId": "b05b98e002bd3bc4", "scanner": "scanner-primary", "fingerprint": "72b2a6250083a784", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "incomplete", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "68f9916451cd959e", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-ea8f3013f588db25", "level": "note", "message": {"text": "Shallow git history limits provenance confidence"}, "properties": {"repobilityId": "8ea614b305e63b53", "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": "efd8ca4287fcd875", "scanner": "scanner-primary", "fingerprint": "8424db9c75e04ba4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["provenance", "git-history", "generated-repo-pattern"]}}, {"ruleId": "scanner-8663f7605ff496dc", "level": "note", "message": {"text": "Legacy-named symbol `desk_copy` in priorstates/cli.py:1341"}, "properties": {"repobilityId": "5944942f41171a56", "scanner": "scanner-primary", "fingerprint": "8663f7605ff496dc", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-e63f000986721bfd", "level": "none", "message": {"text": "Commented-code block (6 lines) in priorstates/cli.py:72"}, "properties": {"repobilityId": "7bcc60d8955dfc5d", "scanner": "scanner-primary", "fingerprint": "e63f000986721bfd", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-d8f898ddc26f799d", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 priorstates/cli.py:754"}, "properties": {"repobilityId": "1d8dfb9636a6ad1f", "scanner": "scanner-primary", "fingerprint": "d8f898ddc26f799d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-75d0a21574944d42", "level": "note", "message": {"text": "Stub function `log_message` (body is just `pass`/`return`) \u2014 priorstates/cli.py:795"}, "properties": {"repobilityId": "61dbefec03579dfc", "scanner": "scanner-primary", "fingerprint": "75d0a21574944d42", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "empty-handler", "dead-code"]}}, {"ruleId": "scanner-5d58eec4a1495def", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 priorstates/gui/app.py:1686"}, "properties": {"repobilityId": "8134f90fb2b9361f", "scanner": "scanner-primary", "fingerprint": "5d58eec4a1495def", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-f96506ea3145b027", "level": "none", "message": {"text": "Commented-code block (5 lines) in priorstates/cockpit/server.py:72"}, "properties": {"repobilityId": "7a055412997b058a", "scanner": "scanner-primary", "fingerprint": "f96506ea3145b027", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-ece0950ae27666b7", "level": "note", "message": {"text": "Legacy-named symbol `from_buffer_copy` in priorstates/cockpit/ptybridge_win.py:208"}, "properties": {"repobilityId": "943d81fe3652eacb", "scanner": "scanner-primary", "fingerprint": "ece0950ae27666b7", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-a71695572308de85", "level": "warning", "message": {"text": "`fetch()` without try/.catch or AbortSignal \u2014 priorstates/cockpit/public/app.js:16"}, "properties": {"repobilityId": "2993a4d77428bf26", "scanner": "scanner-primary", "fingerprint": "a71695572308de85", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-763bc6cff9aa3a5f", "level": "none", "message": {"text": "Commented-code block (5 lines) in priorstates/agents/adapters.py:140"}, "properties": {"repobilityId": "f7a822a41324ffe6", "scanner": "scanner-primary", "fingerprint": "763bc6cff9aa3a5f", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-1da832e8a45ba5e5", "level": "none", "message": {"text": "Commented-code block (5 lines) in priorstates/core/config.py:88"}, "properties": {"repobilityId": "0a1cf0b5cffe9f0c", "scanner": "scanner-primary", "fingerprint": "1da832e8a45ba5e5", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-71994a0d94a8002b", "level": "note", "message": {"text": "Legacy-named symbol `test_freshness_demotes_old` in tests/test_trust_graph_phase1.py:78"}, "properties": {"repobilityId": "799a10a9f4f4626b", "scanner": "scanner-primary", "fingerprint": "71994a0d94a8002b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "legacy-marker", "dead-code"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "8b3737d527c3711a", "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": "1d3252914cc6319e", "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": "9f1c9eb2f2f5697a", "scanner": "scanner-primary", "fingerprint": "49c98f7cedd9c977", "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": "a1ad635e19f562d6", "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": "fb9fcefe3a14d8e2", "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": "d706e58e234b08ac", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "45df4e1fa23332dd", "scanner": "scanner-primary", "fingerprint": "be46ea126aa5d8dc", "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": "826c721fbc5b7c77", "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": "f04bde3c12f8041f", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}