{"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-388509eb5b1f07cf", "name": "Possibly dead Python function: aput", "shortDescription": {"text": "Possibly dead Python function: aput"}, "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-d9ec2e661358d394", "name": "Possibly dead Python function: aget", "shortDescription": {"text": "Possibly dead Python function: aget"}, "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-e61843d82bc956e4", "name": "Possibly dead Python function: adelete", "shortDescription": {"text": "Possibly dead Python function: adelete"}, "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-231e25274a8ce740", "name": "Possibly dead Python function: asearch", "shortDescription": {"text": "Possibly dead Python function: asearch"}, "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-0180729c7ad0bbb3", "name": "Possibly dead Python function: alist_namespaces", "shortDescription": {"text": "Possibly dead Python function: alist_namespaces"}, "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-57856eed7c6d9996", "name": "Possibly dead Python function: abatch", "shortDescription": {"text": "Possibly dead Python function: abatch"}, "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-e23912af7928fd68", "name": "Possibly dead Python function: batch", "shortDescription": {"text": "Possibly dead Python function: batch"}, "fullDescription": {"text": "No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler."}, "properties": {"scanner": "scanner-primary", "layer": "software", "severity": "low", "confidence": 1.0}}, {"id": "scanner-36a3d8dbde75183c", "name": "Possibly dead Python function: metric_card", "shortDescription": {"text": "Possibly dead Python function: metric_card"}, "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-25139fa820c10ed9", "name": "Possibly dead Python function: update_cronograma_status", "shortDescription": {"text": "Possibly dead Python function: update_cronograma_status"}, "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-0201b68ae499e537", "name": "Possibly dead Python function: update_flashcard_fields", "shortDescription": {"text": "Possibly dead Python function: update_flashcard_fields"}, "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-6893a6c8b0861585", "name": "Very low test-to-source ratio", "shortDescription": {"text": "Very low test-to-source ratio"}, "fullDescription": {"text": "2 test file(s) for 50 source file(s) (ratio 0.04). 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 280 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-749d4bc1bd66df5f", "name": "Agent instructions exist but release-hardening basics are missing", "shortDescription": {"text": "Agent instructions exist but release-hardening basics are missing"}, "fullDescription": {"text": "AI-coder instruction files were found, but the repo is missing ci. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-ecb0d2c55ed6875d", "name": "Agent authority lacks a verifier contract: .claude/settings.local.json", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/settings.local.json"}, "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-7151f3e6db8fe81f", "name": "Agent authority lacks a verifier contract: .claude/commands/analisar-questao.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/analisar-questao.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-abd22f480ae3afae", "name": "Agent authority lacks a verifier contract: .claude/commands/revisar.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/revisar.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-da8f3dc43f0d714e", "name": "Agent authority lacks a verifier contract: .claude/commands/auditar-resumos.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/auditar-resumos.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-93b9da0f3560d589", "name": "Agent authority lacks a verifier contract: .claude/commands/extrair-pdf.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/extrair-pdf.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-9f951cf2b59f1a2b", "name": "Agent authority lacks a verifier contract: .claude/commands/performance.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/performance.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-3d6af8a43415ee18", "name": "Agent authority lacks a verifier contract: .claude/commands/importar-planilha.md", "shortDescription": {"text": "Agent authority lacks a verifier contract: .claude/commands/importar-planilha.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-585af4236b9339f4", "name": "Commented-code block (9 lines) in app/utils/fsrs.py:29", "shortDescription": {"text": "Commented-code block (9 lines) in app/utils/fsrs.py:29"}, "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-15fafcc37f9f5fd3", "name": "Legacy-named symbol `rag_benchmark_report_v2` in app/engine/rag.py:371", "shortDescription": {"text": "Legacy-named symbol `rag_benchmark_report_v2` in app/engine/rag.py:371"}, "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:\napp/pages/1_dashboard.py:get_trend_data, app/pages/1_dashboard.py:get_erros_por_area\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/25179"}, "properties": {"repository": "daanmt/MedHub", "repoUrl": "https://github.com/daanmt/MedHub", "branch": "main"}, "results": [{"ruleId": "scanner-388509eb5b1f07cf", "level": "note", "message": {"text": "Possibly dead Python function: aput"}, "properties": {"repobilityId": "23744ad9b48fdc4e", "scanner": "scanner-primary", "fingerprint": "388509eb5b1f07cf", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/memory/store.py:194"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-d9ec2e661358d394", "level": "note", "message": {"text": "Possibly dead Python function: aget"}, "properties": {"repobilityId": "f12a3070c0a7621d", "scanner": "scanner-primary", "fingerprint": "d9ec2e661358d394", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/memory/store.py:197"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e61843d82bc956e4", "level": "note", "message": {"text": "Possibly dead Python function: adelete"}, "properties": {"repobilityId": "5ec65db79359f8a2", "scanner": "scanner-primary", "fingerprint": "e61843d82bc956e4", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/memory/store.py:200"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-231e25274a8ce740", "level": "note", "message": {"text": "Possibly dead Python function: asearch"}, "properties": {"repobilityId": "63cedd34425bdd39", "scanner": "scanner-primary", "fingerprint": "231e25274a8ce740", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/memory/store.py:203"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0180729c7ad0bbb3", "level": "note", "message": {"text": "Possibly dead Python function: alist_namespaces"}, "properties": {"repobilityId": "0a08ad835db816f7", "scanner": "scanner-primary", "fingerprint": "0180729c7ad0bbb3", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/memory/store.py:206"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-57856eed7c6d9996", "level": "note", "message": {"text": "Possibly dead Python function: abatch"}, "properties": {"repobilityId": "b975776a0182a520", "scanner": "scanner-primary", "fingerprint": "57856eed7c6d9996", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/memory/store.py:209"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e23912af7928fd68", "level": "note", "message": {"text": "Possibly dead Python function: batch"}, "properties": {"repobilityId": "191157112a4ad11d", "scanner": "scanner-primary", "fingerprint": "e23912af7928fd68", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/memory/store.py:212"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-36a3d8dbde75183c", "level": "note", "message": {"text": "Possibly dead Python function: metric_card"}, "properties": {"repobilityId": "3bb50e8eee666a40", "scanner": "scanner-primary", "fingerprint": "36a3d8dbde75183c", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/utils/styles.py:148"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-25139fa820c10ed9", "level": "note", "message": {"text": "Possibly dead Python function: update_cronograma_status"}, "properties": {"repobilityId": "e27a70bbb65a2b51", "scanner": "scanner-primary", "fingerprint": "25139fa820c10ed9", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/utils/db.py:74"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-0201b68ae499e537", "level": "note", "message": {"text": "Possibly dead Python function: update_flashcard_fields"}, "properties": {"repobilityId": "b35bb7e3a90d9872", "scanner": "scanner-primary", "fingerprint": "0201b68ae499e537", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "app/utils/db.py:266"}, "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-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": "7996e2230ac34e3c", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-749d4bc1bd66df5f", "level": "warning", "message": {"text": "Agent instructions exist but release-hardening basics are missing"}, "properties": {"repobilityId": "2c557fb452c90f5a", "scanner": "scanner-primary", "fingerprint": "749d4bc1bd66df5f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-ecb0d2c55ed6875d", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/settings.local.json"}, "properties": {"repobilityId": "d8bae33a6d517bf0", "scanner": "scanner-primary", "fingerprint": "ecb0d2c55ed6875d", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/settings.local.json"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7151f3e6db8fe81f", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/analisar-questao.md"}, "properties": {"repobilityId": "c903d029d2a1815f", "scanner": "scanner-primary", "fingerprint": "7151f3e6db8fe81f", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/analisar-questao.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-abd22f480ae3afae", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/revisar.md"}, "properties": {"repobilityId": "9d575562d6eb5410", "scanner": "scanner-primary", "fingerprint": "abd22f480ae3afae", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/revisar.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-da8f3dc43f0d714e", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/auditar-resumos.md"}, "properties": {"repobilityId": "b4ee3cb458bcef5e", "scanner": "scanner-primary", "fingerprint": "da8f3dc43f0d714e", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/auditar-resumos.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-93b9da0f3560d589", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/extrair-pdf.md"}, "properties": {"repobilityId": "ae8e973a87d23690", "scanner": "scanner-primary", "fingerprint": "93b9da0f3560d589", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/extrair-pdf.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-9f951cf2b59f1a2b", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/performance.md"}, "properties": {"repobilityId": "b52e0a8440b54c1a", "scanner": "scanner-primary", "fingerprint": "9f951cf2b59f1a2b", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/performance.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-3d6af8a43415ee18", "level": "warning", "message": {"text": "Agent authority lacks a verifier contract: .claude/commands/importar-planilha.md"}, "properties": {"repobilityId": "d4a85af2dc0d8aea", "scanner": "scanner-primary", "fingerprint": "3d6af8a43415ee18", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["agent-instructions", "verification", "claude_instruction"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": ".claude/commands/importar-planilha.md"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-585af4236b9339f4", "level": "none", "message": {"text": "Commented-code block (9 lines) in app/utils/fsrs.py:29"}, "properties": {"repobilityId": "7abef2664c9ade71", "scanner": "scanner-primary", "fingerprint": "585af4236b9339f4", "layer": "quality", "severity": "info", "confidence": 1.0, "tags": ["integrity", "commented-code", "dead-code"]}}, {"ruleId": "scanner-15fafcc37f9f5fd3", "level": "note", "message": {"text": "Legacy-named symbol `rag_benchmark_report_v2` in app/engine/rag.py:371"}, "properties": {"repobilityId": "387e3ef8c96516d0", "scanner": "scanner-primary", "fingerprint": "15fafcc37f9f5fd3", "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": "e10e7ba05548a60c", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}