Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

stevenshelley58-afk/cuz.fail

https://github.com/stevenshelley58-afk/cuz.fail · scanned 2026-06-16 00:22 UTC (2 months, 2 weeks ago)

156 raw signals (0 security + 156 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 136 actionable findings from 1 signal source. 20 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 55.4/100 with 100.0% coverage. It contains 3041 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 156 findings — concentrated in quality (57), api (50), software (23). Risk profile is high: 0 critical, 16 high, 12 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 120 of 136 actionable findings. 156 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high System graph security auth conf 1.00 FastAPI POST `activate_agent_skill` without auth dependency — src/draftcheck/api/v1.py:363
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:363 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `cancel_agent_job` without auth dependency — src/draftcheck/api/v1.py:333
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:333 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_export` without auth dependency — src/draftcheck/api/v1.py:298
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:298 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `dev_login` without auth dependency — src/draftcheck/api/auth.py:218
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/auth.py:218 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `draft_rfi_response` without auth dependency — src/draftcheck/api/v1.py:288
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:288 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `guest_login` without auth dependency — src/draftcheck/api/auth.py:278
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/auth.py:278 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `parse_project_rfi` without auth dependency — src/draftcheck/api/v1.py:278
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:278 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `promote_rule_candidate` without auth dependency — src/draftcheck/api/v1.py:252
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:252 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reject_rule_candidate` without auth dependency — src/draftcheck/api/v1.py:257
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:257 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `request_magic_link` without auth dependency — src/draftcheck/api/auth.py:191
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/auth.py:191 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `resolve_review` without auth dependency — src/draftcheck/api/v1.py:318
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:318 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `retry_agent_job` without auth dependency — src/draftcheck/api/v1.py:328
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:328 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `review_rule` without auth dependency — src/draftcheck/api/v1.py:267
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:267 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `run_agent_evals` without auth dependency — src/draftcheck/api/v1.py:373
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:373 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `verify_magic_link` without auth dependency — src/draftcheck/api/auth.py:207
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/auth.py:207 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `update_agent_memory` without auth dependency — src/draftcheck/api/v1.py:348
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
src/draftcheck/api/v1.py:348 securityAuth fastapi unauth mutation
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — web/src/views/home.tsx:362
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license. 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.
Repo hardeningGenerated repo pattern
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
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.
Mock dataCritical flowGenerated repo pattern
medium System graph hardware Security conf 1.00 Dockerfile runs as root: infra/v3/db/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in web/src/views/home.tsx:362
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
web/src/views/home.tsx:362 Dangerous innerhtml
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/precommit_guard.py:52
`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.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/wp2_spatial_load.py:38
`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.
runtime safetyRobustness
medium System graph security Coverage conf 1.00 No auth library detected
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.
auth
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 34 placeholder/mock markers across 16 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph quality Integrity conf 1.00 42 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `ANTHROPIC_API_KEY`, `APP_ENV`, `AUTH_TOKEN_HASH_PEPPER`, `CHROME_PATH`, `DRAFTCHECK_ASSISTANT_MAX_CONTEXT_CHUNKS`, `DRAFTCHECK_ASSISTANT_MIN_SCORE`, `DRAFTCHECK_ASSISTANT_RELATIVE_FLOOR`, `DRAFTCHECK_AUTH_STORE` + 34 more. Add them (with a placeho…
config drift
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 115 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: postgis/postgis:16-3.5
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
infra/v3/db/Dockerfile:1 containersPinned dependencies
low System graph quality Agent instructions conf 1.00 Multiple root agent instruction files without precedence
The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies.
Governance
low System graph quality Integrity conf 1.00 16 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: scripts/wp6_decode.py:openai_decode, scripts/wp6_redecode.py:openai_decode This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
16 occurrences
repo-level (16 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: src/draftcheck/ai/substrate.py:complete, src/draftcheck/ai/substrate.py:complete, src/draftcheck/ai/substrate.py:complete This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate o…
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: scripts/wp6_decode.py:db_url, scripts/wp6_correct.py:db_url, scripts/wp6_review.py:db_url, scripts/wp6_promote_decode.py:db_url This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consoli…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `doc_legacy` in tests/test_document_parser_registry.py:33
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `lotfile_guest_usage_v1` in web/src/config.ts:3
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `parser_real_sample_evidence_v1` in scripts/parser_sample_evidence.py:20
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `parser_real_sample_evidence_v1` in src/draftcheck/domain/documents/parsing.py:63
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `parser_real_sample_evidence_v1` in tests/test_parser_sample_evidence.py:39
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `parser_real_sample_evidence_v1` in tests/test_v3_documents.py:64
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_v3_health_and_ready_are_mounted_only_under_api_v1` in tests/test_v3_api_shell.py:18
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `wp6_adjudicate_v2` in scripts/wp6_adjudicate.py:168
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `wp6_apply_adv_review_v1` in scripts/wp6_apply_adv_review.py:198
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `wp6_lot_area_operator_curation_v1` in scripts/wp6_curate_lot_area_operators.py:46
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `wp6_open_adversarial_review_v1` in scripts/wp6_apply_open_review.py:23
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `wp6_sonnet_v1` in scripts/wp6_solo_promote.py:48
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.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `wp6_sonnet_v1` in scripts/wp6_sonnet_postprocess.py:39
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.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: auto_promote
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/domain/rules/gate.py:195
low System graph software Dead code conf 1.00 Possibly dead Python function: automated_licence_review
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/wp9_complete_db.py:112
low System graph software Dead code conf 1.00 Possibly dead Python function: backfill_skill_version
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/wp9_complete_db.py:75
low System graph software Dead code conf 1.00 Possibly dead Python function: build_model_adapter
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/ai/substrate.py:479
low System graph software Dead code conf 1.00 Possibly dead Python function: classify_clause
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/domain/rules/service.py:125
low System graph software Dead code conf 1.00 Possibly dead Python function: db_state
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/wp9_complete_db.py:329
low System graph software Dead code conf 1.00 Possibly dead Python function: decorate
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/jobs/__init__.py:34
low System graph software Dead code conf 1.00 Possibly dead Python function: dep
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/api/guest_quota.py:47
low System graph software Dead code conf 1.00 Possibly dead Python function: embed_chunk
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/jobs/embedding.py:88
low System graph software Dead code conf 1.00 Possibly dead Python function: enqueue_extraction_group
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/domain/rules/service.py:192
low System graph software Dead code conf 1.00 Possibly dead Python function: eval_gate_pass
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/domain/rules/gate.py:101
low System graph software Dead code conf 1.00 Possibly dead Python function: generate_source_chunk_embeddings
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/jobs/embedding.py:165
low System graph software Dead code conf 1.00 Possibly dead Python function: import_gnaf_wa
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/domain/address/importers/gnaf_importer.py:67
low System graph software Dead code conf 1.00 Possibly dead Python function: populate_legal_edges
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/wp9_complete_db.py:161
low System graph software Dead code conf 1.00 Possibly dead Python function: record
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/agent/memory.py:10
low System graph software Dead code conf 1.00 Possibly dead Python function: require_allowed_origin
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/api/auth.py:134
low System graph software Dead code conf 1.00 Possibly dead Python function: run_validators
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/domain/rules/gate.py:44
low System graph software Dead code conf 1.00 Possibly dead Python function: seed_golden_fixture
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/wp9_complete_db.py:244
low System graph software Dead code conf 1.00 Possibly dead Python function: stop
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/draftcheck/agent/hermes.py:30
low System graph software Dead code conf 1.00 4 occurrences Possibly dead Python function: work
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
4 files, 4 locations
scripts/wp6_correct.py:206
scripts/wp6_decode.py:278
scripts/wp6_extract.py:1010
scripts/wp6_redecode.py:258
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /{project_id}
`src/draftcheck/api/projects.py` declares `DELETE /{project_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /
`src/draftcheck/api/projects.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /address/search
`src/draftcheck/api/address.py` declares `GET /address/search` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /auth/session
`src/draftcheck/api/auth.py` declares `GET /auth/session` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /candidates
`src/draftcheck/api/rules.py` declares `GET /candidates` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /candidates/{candidate_id}
`src/draftcheck/api/rules.py` declares `GET /candidates/{candidate_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /clauses
`src/draftcheck/api/rules.py` declares `GET /clauses` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /clauses/{clause_id}
`src/draftcheck/api/rules.py` declares `GET /clauses/{clause_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /documents/parsers
`src/draftcheck/api/documents.py` declares `GET /documents/parsers` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /documents/parsers/accuracy
`src/draftcheck/api/documents.py` declares `GET /documents/parsers/accuracy` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /documents/projects/{project_id}/evidence-search
`src/draftcheck/api/documents.py` declares `GET /documents/projects/{project_id}/evidence-search` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenti…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /documents/{document_id}/persisted-facts
`src/draftcheck/api/documents.py` declares `GET /documents/{document_id}/persisted-facts` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /projects/{project_id}/matrix
`src/draftcheck/api/compliance.py` declares `GET /projects/{project_id}/matrix` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /projects/{project_id}/property
`src/draftcheck/api/address.py` declares `GET /projects/{project_id}/property` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /runs/{run_id}
`src/draftcheck/api/compliance.py` declares `GET /runs/{run_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources
`src/draftcheck/api/sources.py` declares `GET /sources` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources/freshness
`src/draftcheck/api/sources.py` declares `GET /sources/freshness` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources/ingestion-status
`src/draftcheck/api/sources.py` declares `GET /sources/ingestion-status` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources/quality-report
`src/draftcheck/api/sources.py` declares `GET /sources/quality-report` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources/review-worklist
`src/draftcheck/api/sources.py` declares `GET /sources/review-worklist` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources/{source_id}
`src/draftcheck/api/sources.py` declares `GET /sources/{source_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources/{source_id}/versions
`src/draftcheck/api/sources.py` declares `GET /sources/{source_id}/versions` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /sources/{source_id}/versions/{source_version_id}/review-packet
`src/draftcheck/api/sources.py` declares `GET /sources/{source_id}/versions/{source_version_id}/review-packet` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{project_id}
`src/draftcheck/api/projects.py` declares `GET /{project_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /{rule_id}
`src/draftcheck/api/rules.py` declares `GET /{rule_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /documents/{doc_id}/facts/{fact_id}
`src/draftcheck/api/documents.py` declares `PATCH /documents/{doc_id}/facts/{fact_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /{project_id}
`src/draftcheck/api/projects.py` declares `PATCH /{project_id}` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /
`src/draftcheck/api/projects.py` declares `POST /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /assistant
`src/draftcheck/api/sources.py` declares `POST /assistant` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/dev-login
`src/draftcheck/api/auth.py` declares `POST /auth/dev-login` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/guest
`src/draftcheck/api/auth.py` declares `POST /auth/guest` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/logout
`src/draftcheck/api/auth.py` declares `POST /auth/logout` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/magic-link/request
`src/draftcheck/api/auth.py` declares `POST /auth/magic-link/request` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/magic-link/verify
`src/draftcheck/api/auth.py` declares `POST /auth/magic-link/verify` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /candidates/{candidate_id}/review
`src/draftcheck/api/rules.py` declares `POST /candidates/{candidate_id}/review` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /documents/projects/{project_id}/upload
`src/draftcheck/api/documents.py` declares `POST /documents/projects/{project_id}/upload` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who c…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /documents/upload
`src/draftcheck/api/documents.py` declares `POST /documents/upload` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /documents/{doc_id}/facts/{fact_id}/promote
`src/draftcheck/api/documents.py` declares `POST /documents/{doc_id}/facts/{fact_id}/promote` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting w…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /projects/{project_id}/resolve-address
`src/draftcheck/api/address.py` declares `POST /projects/{project_id}/resolve-address` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who cons…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /projects/{project_id}/run
`src/draftcheck/api/compliance.py` declares `POST /projects/{project_id}/run` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /results/{result_id}/override
`src/draftcheck/api/compliance.py` declares `POST /results/{result_id}/override` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /search/ask
`src/draftcheck/api/sources.py` declares `POST /search/ask` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /search/chunks
`src/draftcheck/api/sources.py` declares `POST /search/chunks` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /sources/import
`src/draftcheck/api/sources.py` declares `POST /sources/import` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /sources/{source_id}/refresh
`src/draftcheck/api/sources.py` declares `POST /sources/{source_id}/refresh` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /sources/{source_id}/review
`src/draftcheck/api/sources.py` declares `POST /sources/{source_id}/review` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{project_id}/property/override
`src/draftcheck/api/projects.py` declares `POST /{project_id}/property/override` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes i…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{project_id}/proposal
`src/draftcheck/api/projects.py` declares `POST /{project_id}/proposal` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{rule_id}/approve
`src/draftcheck/api/rules.py` declares `POST /{rule_id}/approve` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /{rule_id}/review
`src/draftcheck/api/rules.py` declares `POST /{rule_id}/review` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: src/draftcheck/db/models.py (2227 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/draftcheck/domain/documents/parsing.py (2261 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/a24ec181-f960-4b26-bdce-d009d48bfb3c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/a24ec181-f960-4b26-bdce-d009d48bfb3c/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.