{"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-f2dd0d90bc38b892", "name": "Possibly dead Python function: rag_management_panel", "shortDescription": {"text": "Possibly dead Python function: rag_management_panel"}, "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-cab71e63494cbffe", "name": "Possibly dead Python function: create_message_payload", "shortDescription": {"text": "Possibly dead Python function: create_message_payload"}, "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-127fc3a0865bae45", "name": "Possibly dead Python function: delete_source", "shortDescription": {"text": "Possibly dead Python function: delete_source"}, "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-b9c4cf2d68b98180", "name": "Possibly dead Python function: test_rag_init", "shortDescription": {"text": "Possibly dead Python function: test_rag_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-8e5397cac2607823", "name": "Possibly dead Python function: test_rag_retrieval", "shortDescription": {"text": "Possibly dead Python function: test_rag_retrieval"}, "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-855e52df5c2bb454", "name": "Possibly dead Python function: test_config", "shortDescription": {"text": "Possibly dead Python function: test_config"}, "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-6b2aeb10f152a605", "name": "Possibly dead Python function: test_llm_client", "shortDescription": {"text": "Possibly dead Python function: test_llm_client"}, "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-4b70a9942f0f1287", "name": "Possibly dead Python function: test_agent_init", "shortDescription": {"text": "Possibly dead Python function: test_agent_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-35e8fa38abffad89", "name": "Possibly dead Python function: test_injection", "shortDescription": {"text": "Possibly dead Python function: test_injection"}, "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-599b357bf1567b26", "name": "Possibly dead Python function: test_rate_limit", "shortDescription": {"text": "Possibly dead Python function: test_rate_limit"}, "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-e9f235656a02a404", "name": "Possibly dead Python function: test_security_keywords", "shortDescription": {"text": "Possibly dead Python function: test_security_keywords"}, "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-182eb24edb157179", "name": "Possibly dead Python function: test_rag_threshold", "shortDescription": {"text": "Possibly dead Python function: test_rag_threshold"}, "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-5a35fba07732b0c6", "name": "Possibly dead Python function: test_e2e_response", "shortDescription": {"text": "Possibly dead Python function: test_e2e_response"}, "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-41f9b2feb6b60d7a", "name": "Possibly dead Python function: truncate_to_tokens", "shortDescription": {"text": "Possibly dead Python function: truncate_to_tokens"}, "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-8742d6ef25d7cdc0", "name": "Possibly dead Python function: estimate_conversation_tokens", "shortDescription": {"text": "Possibly dead Python function: estimate_conversation_tokens"}, "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-92b10f3022f45add", "name": "Possibly dead Python function: add_message_tokens", "shortDescription": {"text": "Possibly dead Python function: add_message_tokens"}, "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-7859a55318c03c17", "name": "Possibly dead Python function: delete_source", "shortDescription": {"text": "Possibly dead Python function: delete_source"}, "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-8c8d92926c37a8fe", "name": "Very large file: app.py (1885 lines)", "shortDescription": {"text": "Very large file: app.py (1885 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-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 172 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "low", "confidence": 1.0}}, {"id": "scanner-2d0c7b7ab8f8aacf", "name": "Critical user flow still appears backed by mock or placeholder data", "shortDescription": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "fullDescription": {"text": "A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded."}, "properties": {"scanner": "scanner-primary", "layer": "quality", "severity": "medium", "confidence": 1.0}}, {"id": "scanner-b9088664ace7f748", "name": "Composite production-readiness gap", "shortDescription": {"text": "Composite production-readiness gap"}, "fullDescription": {"text": "Multiple low-cost hardening controls are missing together: 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-af42fbf5dea8ac10", "name": "Network/subprocess call without timeout or try/except \u2014 verify_ollama.py:19", "shortDescription": {"text": "Network/subprocess call without timeout or try/except \u2014 verify_ollama.py:19"}, "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-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:\nagent_engine.py:generate_response, agent_engine.py:generate_response_stream\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/25748"}, "properties": {"repository": "ExceptionApril/petcare-assistant-ai", "repoUrl": "https://github.com/ExceptionApril/petcare-assistant-ai", "branch": "main"}, "results": [{"ruleId": "scanner-f2dd0d90bc38b892", "level": "note", "message": {"text": "Possibly dead Python function: rag_management_panel"}, "properties": {"repobilityId": "1961e67e0048b3e8", "scanner": "scanner-primary", "fingerprint": "f2dd0d90bc38b892", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "rag_management.py:139"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-cab71e63494cbffe", "level": "note", "message": {"text": "Possibly dead Python function: create_message_payload"}, "properties": {"repobilityId": "9a0240ed7de82085", "scanner": "scanner-primary", "fingerprint": "cab71e63494cbffe", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "llm_client.py:22"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-127fc3a0865bae45", "level": "note", "message": {"text": "Possibly dead Python function: delete_source"}, "properties": {"repobilityId": "b4da6864161a423b", "scanner": "scanner-primary", "fingerprint": "127fc3a0865bae45", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "rag_engine.py:317"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-b9c4cf2d68b98180", "level": "note", "message": {"text": "Possibly dead Python function: test_rag_init"}, "properties": {"repobilityId": "08d8b83b105e35a7", "scanner": "scanner-primary", "fingerprint": "b9c4cf2d68b98180", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:45"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8e5397cac2607823", "level": "note", "message": {"text": "Possibly dead Python function: test_rag_retrieval"}, "properties": {"repobilityId": "13d00f4580ea005a", "scanner": "scanner-primary", "fingerprint": "8e5397cac2607823", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:53"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-855e52df5c2bb454", "level": "note", "message": {"text": "Possibly dead Python function: test_config"}, "properties": {"repobilityId": "52aa9a46e9f3e691", "scanner": "scanner-primary", "fingerprint": "855e52df5c2bb454", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:69"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-6b2aeb10f152a605", "level": "note", "message": {"text": "Possibly dead Python function: test_llm_client"}, "properties": {"repobilityId": "13a3e9fdc796486d", "scanner": "scanner-primary", "fingerprint": "6b2aeb10f152a605", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:78"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-4b70a9942f0f1287", "level": "note", "message": {"text": "Possibly dead Python function: test_agent_init"}, "properties": {"repobilityId": "746cf22c482dae10", "scanner": "scanner-primary", "fingerprint": "4b70a9942f0f1287", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:87"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-35e8fa38abffad89", "level": "note", "message": {"text": "Possibly dead Python function: test_injection"}, "properties": {"repobilityId": "e429b81723ed5d9f", "scanner": "scanner-primary", "fingerprint": "35e8fa38abffad89", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:99"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-599b357bf1567b26", "level": "note", "message": {"text": "Possibly dead Python function: test_rate_limit"}, "properties": {"repobilityId": "9498d6136ec7bd90", "scanner": "scanner-primary", "fingerprint": "599b357bf1567b26", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:122"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-e9f235656a02a404", "level": "note", "message": {"text": "Possibly dead Python function: test_security_keywords"}, "properties": {"repobilityId": "bc428a5d240a2377", "scanner": "scanner-primary", "fingerprint": "e9f235656a02a404", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:145"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-182eb24edb157179", "level": "note", "message": {"text": "Possibly dead Python function: test_rag_threshold"}, "properties": {"repobilityId": "141a55765b93cfbd", "scanner": "scanner-primary", "fingerprint": "182eb24edb157179", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:160"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-5a35fba07732b0c6", "level": "note", "message": {"text": "Possibly dead Python function: test_e2e_response"}, "properties": {"repobilityId": "628accfb60ee5b11", "scanner": "scanner-primary", "fingerprint": "5a35fba07732b0c6", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "final_verification.py:169"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-41f9b2feb6b60d7a", "level": "note", "message": {"text": "Possibly dead Python function: truncate_to_tokens"}, "properties": {"repobilityId": "5dadde48222ebddb", "scanner": "scanner-primary", "fingerprint": "41f9b2feb6b60d7a", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "token_utils.py:23"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-8742d6ef25d7cdc0", "level": "note", "message": {"text": "Possibly dead Python function: estimate_conversation_tokens"}, "properties": {"repobilityId": "587de58f9424a7fc", "scanner": "scanner-primary", "fingerprint": "8742d6ef25d7cdc0", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "token_utils.py:38"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-92b10f3022f45add", "level": "note", "message": {"text": "Possibly dead Python function: add_message_tokens"}, "properties": {"repobilityId": "36dbb1b7c6e80b27", "scanner": "scanner-primary", "fingerprint": "92b10f3022f45add", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "token_utils.py:54"}, "region": {"startLine": 1}}}]}, {"ruleId": "scanner-7859a55318c03c17", "level": "note", "message": {"text": "Possibly dead Python function: delete_source"}, "properties": {"repobilityId": "b4da6864161a423b", "scanner": "scanner-primary", "fingerprint": "7859a55318c03c17", "layer": "software", "severity": "low", "confidence": 1.0, "tags": ["dead-code"]}, "locations": [{"physicalLocation": {"artifactLocation": {"uri": "supabase_store.py:156"}, "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-8c8d92926c37a8fe", "level": "note", "message": {"text": "Very large file: app.py (1885 lines)"}, "properties": {"repobilityId": "5a74e6652f3a10d4", "scanner": "scanner-primary", "fingerprint": "8c8d92926c37a8fe", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["complexity"]}}, {"ruleId": "scanner-141b30a41e03817b", "level": "note", "message": {"text": "No license file detected"}, "properties": {"repobilityId": "63be5e292c542764", "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": "154e7782981b7bae", "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": "39915cea895b6d52", "scanner": "scanner-primary", "fingerprint": "3ab5d313dda8e5f9", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["debug", "cleanup", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-2d0c7b7ab8f8aacf", "level": "warning", "message": {"text": "Critical user flow still appears backed by mock or placeholder data"}, "properties": {"repobilityId": "8a2a4fd085f78024", "scanner": "scanner-primary", "fingerprint": "2d0c7b7ab8f8aacf", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["placeholder", "mock-data", "critical-flow", "generated-repo-pattern"]}}, {"ruleId": "scanner-b9088664ace7f748", "level": "warning", "message": {"text": "Composite production-readiness gap"}, "properties": {"repobilityId": "6e0b73e37edb233d", "scanner": "scanner-primary", "fingerprint": "b9088664ace7f748", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["production-readiness", "repo-hardening", "generated-repo-pattern"]}}, {"ruleId": "scanner-af42fbf5dea8ac10", "level": "warning", "message": {"text": "Network/subprocess call without timeout or try/except \u2014 verify_ollama.py:19"}, "properties": {"repobilityId": "380382dccf2becae", "scanner": "scanner-primary", "fingerprint": "af42fbf5dea8ac10", "layer": "quality", "severity": "medium", "confidence": 1.0, "tags": ["integrity", "fragile-runtime", "robustness"]}}, {"ruleId": "scanner-2c04133e54348533", "level": "note", "message": {"text": "Near-duplicate function bodies in 2 places"}, "properties": {"repobilityId": "c4348685445fd214", "scanner": "scanner-primary", "fingerprint": "2c04133e54348533", "layer": "quality", "severity": "low", "confidence": 1.0, "tags": ["integrity", "duplicate", "dry"]}}]}]}