{"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-a3bfaff5ae080cd6", "name": "Possibly dead Python function: cmd_review", "shortDescription": {"text": "Possibly dead Python function: cmd_review"}, "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-3b389cfc4a35e4d6", "name": "Possibly dead Python function: cmd_morning", "shortDescription": {"text": "Possibly dead Python function: cmd_morning"}, "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-1b722ec50f358a14", "name": "Possibly dead Python function: cmd_monitor", "shortDescription": {"text": "Possibly dead Python function: cmd_monitor"}, "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-b250aa294a095f86", "name": "Possibly dead Python function: cmd_collect", "shortDescription": {"text": "Possibly dead Python function: cmd_collect"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-711b6dfa3549cb9c", "name": "Possibly dead Python function: cmd_cleanup", "shortDescription": {"text": "Possibly dead Python function: cmd_cleanup"}, "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-75e23a83ea5a7ccf", "name": "Possibly dead Python function: cmd_portfolio", "shortDescription": {"text": "Possibly dead Python function: cmd_portfolio"}, "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-6de0f4dbddda56dc", "name": "Possibly dead Python function: cmd_strategy", "shortDescription": {"text": "Possibly dead Python function: cmd_strategy"}, "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-a7042cc82449dc51", "name": "Possibly dead Python function: cmd_compare", "shortDescription": {"text": "Possibly dead Python function: cmd_compare"}, "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-c0fdf8c1a24f2d4a", "name": "Possibly dead Python function: cmd_trade", "shortDescription": {"text": "Possibly dead Python function: cmd_trade"}, "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-dd85aca5fae6966a", "name": "Possibly dead Python function: cmd_track", "shortDescription": {"text": "Possibly dead Python function: cmd_track"}, "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-5dadf72b283fadb5", "name": "Possibly dead Python function: cmd_listen", "shortDescription": {"text": "Possibly dead Python function: cmd_listen"}, "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-f2fb318a50bbff62", "name": "Possibly dead Python function: cmd_qmt_collect", "shortDescription": {"text": "Possibly dead Python function: cmd_qmt_collect"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b2bacf8705bb1f0b", "name": "Possibly dead Python function: cmd_strategy_audit", "shortDescription": {"text": "Possibly dead Python function: cmd_strategy_audit"}, "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-2f4b46f89f6a3b39", "name": "Possibly dead Python function: cmd_audit", "shortDescription": {"text": "Possibly dead Python function: cmd_audit"}, "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-fb2e0ee209e21d56", "name": "Possibly dead Python function: cmd_verify_predictions", "shortDescription": {"text": "Possibly dead Python function: cmd_verify_predictions"}, "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-46d3279f0b0a2dec", "name": "Possibly dead Python function: cmd_test", "shortDescription": {"text": "Possibly dead Python function: cmd_test"}, "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-2ffa00e04afbc37c", "name": "Possibly dead Python function: cmd_stock", "shortDescription": {"text": "Possibly dead Python function: cmd_stock"}, "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-6372cebde0220094", "name": "No auth library detected", "shortDescription": {"text": "No auth library detected"}, "fullDescription": {"text": "The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing."}, "properties": {"scanner": "scanner-primary", "layer": "security", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-141b30a41e03817b", "name": "No license file detected", "shortDescription": {"text": "No license file detected"}, "fullDescription": {"text": "No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-faccb9061e9b52a0", "name": "No README detected", "shortDescription": {"text": "No README detected"}, "fullDescription": {"text": "No README file was found. Generated repos without README context are hard to operate, validate, or safely hand off."}, "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 32 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: license, ci, operator-readme. 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": "medium", "confidence": 1.0}}, {"id": "scanner-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing license, ci, operator-readme. 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-bea357a6497a2d5d", "name": "Agent authority lacks a verifier contract: CLAUDE.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: CLAUDE.md"}, "fullDescription": {"text": "This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-624d812a4ee66a09", "name": "Commented-code block (5 lines) in main.py:5", "shortDescription": {"text": "Commented-code block (5 lines) in main.py:5"}, "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}}]}}, "automationDetails": {"id": "repobility/30607"}, "properties": {"repository": "yuhuaimaomao/trading-system", "repoUrl": "https://github.com/yuhuaimaomao/trading-system", "branch": "main"}, "results": [{"ruleId": "scanner-a3bfaff5ae080cd6", "level": "note", "message": {"text": "Possibly dead Python function: cmd_review"}, "properties": {"repobilityId": "59acf5ab148ca1da", "scanner": "scanner-primary", "fingerprint": "a3bfaff5ae080cd6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:32"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3b389cfc4a35e4d6", "level": "note", "message": {"text": "Possibly dead Python function: cmd_morning"}, "properties": {"repobilityId": "efbad0f49603cf78", "scanner": "scanner-primary", "fingerprint": "3b389cfc4a35e4d6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:44"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-1b722ec50f358a14", "level": "note", "message": {"text": "Possibly dead Python function: cmd_monitor"}, "properties": {"repobilityId": "54a5898b2714ccd2", "scanner": "scanner-primary", "fingerprint": "1b722ec50f358a14", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:63"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b250aa294a095f86", "level": "note", "message": {"text": "Possibly dead Python function: cmd_collect"}, "properties": {"repobilityId": "17881517d05b4352", "scanner": "scanner-primary", "fingerprint": "b250aa294a095f86", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:152"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-711b6dfa3549cb9c", "level": "note", "message": {"text": "Possibly dead Python function: cmd_cleanup"}, "properties": {"repobilityId": "d9945c7fa5e5ad21", "scanner": "scanner-primary", "fingerprint": "711b6dfa3549cb9c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:297"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-75e23a83ea5a7ccf", "level": "note", "message": {"text": "Possibly dead Python function: cmd_portfolio"}, "properties": {"repobilityId": "83ac977485fc9735", "scanner": "scanner-primary", "fingerprint": "75e23a83ea5a7ccf", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:304"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6de0f4dbddda56dc", "level": "note", "message": {"text": "Possibly dead Python function: cmd_strategy"}, "properties": {"repobilityId": "40ec6334fda76b21", "scanner": "scanner-primary", "fingerprint": "6de0f4dbddda56dc", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:312"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-a7042cc82449dc51", "level": "note", "message": {"text": "Possibly dead Python function: cmd_compare"}, "properties": {"repobilityId": "d772a3190ff9bcdb", "scanner": "scanner-primary", "fingerprint": "a7042cc82449dc51", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:338"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-c0fdf8c1a24f2d4a", "level": "note", "message": {"text": "Possibly dead Python function: cmd_trade"}, "properties": {"repobilityId": "88bfc6f0b5bc2853", "scanner": "scanner-primary", "fingerprint": "c0fdf8c1a24f2d4a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:363"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-dd85aca5fae6966a", "level": "note", "message": {"text": "Possibly dead Python function: cmd_track"}, "properties": {"repobilityId": "a7db492ef95e19b9", "scanner": "scanner-primary", "fingerprint": "dd85aca5fae6966a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:380"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5dadf72b283fadb5", "level": "note", "message": {"text": "Possibly dead Python function: cmd_listen"}, "properties": {"repobilityId": "0e4962c56e982f97", "scanner": "scanner-primary", "fingerprint": "5dadf72b283fadb5", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:401"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-f2fb318a50bbff62", "level": "note", "message": {"text": "Possibly dead Python function: cmd_qmt_collect"}, "properties": {"repobilityId": "8323e8b31ee0ecb3", "scanner": "scanner-primary", "fingerprint": "f2fb318a50bbff62", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:454"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b2bacf8705bb1f0b", "level": "note", "message": {"text": "Possibly dead Python function: cmd_strategy_audit"}, "properties": {"repobilityId": "3e3c7b498a0c8305", "scanner": "scanner-primary", "fingerprint": "b2bacf8705bb1f0b", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:494"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2f4b46f89f6a3b39", "level": "note", "message": {"text": "Possibly dead Python function: cmd_audit"}, "properties": {"repobilityId": "51ac11579de8cd34", "scanner": "scanner-primary", "fingerprint": "2f4b46f89f6a3b39", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:525"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-fb2e0ee209e21d56", "level": "note", "message": {"text": "Possibly dead Python function: cmd_verify_predictions"}, "properties": {"repobilityId": "a3078b35e11ac5a4", "scanner": "scanner-primary", "fingerprint": "fb2e0ee209e21d56", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:583"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-46d3279f0b0a2dec", "level": "note", "message": {"text": "Possibly dead Python function: cmd_test"}, "properties": {"repobilityId": "44a1ae43bb9bbdcb", "scanner": "scanner-primary", "fingerprint": "46d3279f0b0a2dec", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:650"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-2ffa00e04afbc37c", "level": "note", "message": {"text": "Possibly dead Python function: cmd_stock"}, "properties": {"repobilityId": "51f0728ea5c090fc", "scanner": "scanner-primary", "fingerprint": "2ffa00e04afbc37c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "main.py:660"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6372cebde0220094", "level": "warning", "message": {"text": "No auth library detected"}, "properties": {"repobilityId": "a5b6035a5bbf8054", "scanner": "scanner-primary", "fingerprint": "6372cebde0220094", "layer": "security", "severity": "medium", "confidence": 1.0, "tags": ["coverage", "auth"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "4735e116101792dd", "scanner": "scanner-primary", "fingerprint": "141b30a41e03817b", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["license", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-faccb9061e9b52a0", "level": "note", "message": {"text": "No README detected"}, "properties": {"repobilityId": "bb975149f1cc22a2", "scanner": "scanner-primary", "fingerprint": "faccb9061e9b52a0", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["docs", "readme", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-3ab5d313dda8e5f9", "level": "note", "message": {"text": "Debug logging residue appears in source files"}, "properties": {"repobilityId": "c42218ff30088534", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "88f3dff1d33e20f5", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "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": "bc9c07cd6d3409f7", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-bea357a6497a2d5d", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: CLAUDE.md"}, "properties": {"repobilityId": "aae72df3934829ac", "scanner": "scanner-primary", "fingerprint": "bea357a6497a2d5d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "CLAUDE.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-624d812a4ee66a09", "level": "none", "message": {"text": "Commented-code block (5 lines) in main.py:5"}, "properties": {"repobilityId": "46ce58e941902d27", "scanner": "scanner-primary", "fingerprint": "624d812a4ee66a09", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}]}]}