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.

werkgraph/wg

https://github.com/werkgraph/wg · scanned 2026-06-16 00:57 UTC (2 months, 1 week ago)

316 raw signals (0 security + 316 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 280 actionable findings from 1 signal source. 36 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 57.9/100 with 100.0% coverage. It contains 9373 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 316 findings — concentrated in quality (122), security (101), api (53). Risk profile is high: 1 critical, 89 high, 44 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 270 of 280 actionable findings. 316 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.

critical System graph security Secrets conf 1.00 Possible secret in apps/web/e2e/audit-ui-fixture.ts
Detected pattern matching generic_api_key. Rotate the credential and move to a secret manager.
apps/web/e2e/audit-ui-fixture.ts:31
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/artifacts?${params.toString()} (apps/web/components/wg/ArtifactsPanelClient.tsx:152)
`apps/web/components/wg/ArtifactsPanelClient.tsx:152` calls `GET /api/artifacts?${params.toString()}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/artifacts` If this points at an external API, prefix it with `http…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/realtime/revalidate (apps/web/components/wg/ProjectOverviewRealtimeScope.tsx:16)
`apps/web/components/wg/ProjectOverviewRealtimeScope.tsx:16` calls `GET /api/realtime/revalidate` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/realtime/revalidate` If this points at an external API, prefix it with…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/realtime/revalidate (apps/web/components/wg/ProjectsList.tsx:46)
`apps/web/components/wg/ProjectsList.tsx:46` calls `GET /api/realtime/revalidate` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/realtime/revalidate` If this points at an external API, prefix it with `https://` so t…
Dangling fetchFetch
high System graph security auth conf 1.00 FastAPI DELETE `deactivate_actor` without auth dependency — apps/api/src/werkgraph_api/routes/actors.py:82
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/actors.py:82 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `detach_label` without auth dependency — apps/api/src/werkgraph_api/routes/labels.py:66
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/labels.py:66 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `detach_tool` without auth dependency — apps/api/src/werkgraph_api/routes/tools.py:243
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tools.py:243 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `revoke_api_key` without auth dependency — apps/api/src/werkgraph_api/routes/api_keys.py:58
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/api_keys.py:58 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `unlink_jobs` without auth dependency — apps/api/src/werkgraph_api/routes/edges.py:72
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/edges.py:72 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `edit_learning` without auth dependency — apps/api/src/werkgraph_api/routes/learnings.py:174
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/learnings.py:174 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_artifact` without auth dependency — apps/api/src/werkgraph_api/routes/artifacts.py:251
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/artifacts.py:251 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_component` without auth dependency — apps/api/src/werkgraph_api/routes/components.py:111
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/components.py:111 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_document` without auth dependency — apps/api/src/werkgraph_api/routes/documents.py:114
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/documents.py:114 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:467
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:467 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_objective` without auth dependency — apps/api/src/werkgraph_api/routes/objectives.py:100
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/objectives.py:100 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_project` without auth dependency — apps/api/src/werkgraph_api/routes/projects.py:165
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/projects.py:165 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_skill` without auth dependency — apps/api/src/werkgraph_api/routes/skills.py:156
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/skills.py:156 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_tool` without auth dependency — apps/api/src/werkgraph_api/routes/tools.py:129
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tools.py:129 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_visual` without auth dependency — apps/api/src/werkgraph_api/routes/visuals.py:96
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/visuals.py:96 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PATCH `update_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:400
`@router.patch` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:400 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `add_screenshot_dod` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:480
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:480 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `admin_deactivate_actor` without auth dependency — apps/api/src/werkgraph_api/routes/admin.py:72
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/admin.py:72 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `admin_deactivate_decision` without auth dependency — apps/api/src/werkgraph_api/routes/admin.py:110
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/admin.py:110 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `admin_deactivate_learning` without auth dependency — apps/api/src/werkgraph_api/routes/admin.py:129
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/admin.py:129 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `admin_revoke_api_key` without auth dependency — apps/api/src/werkgraph_api/routes/admin.py:91
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/admin.py:91 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `archive_artifact` without auth dependency — apps/api/src/werkgraph_api/routes/artifacts.py:287
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/artifacts.py:287 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `archive_document` without auth dependency — apps/api/src/werkgraph_api/routes/documents.py:132
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/documents.py:132 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `archive_project` without auth dependency — apps/api/src/werkgraph_api/routes/projects.py:178
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/projects.py:178 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `archive_template` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:240
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:240 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `archive_tool` without auth dependency — apps/api/src/werkgraph_api/routes/tools.py:264
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tools.py:264 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `archive_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:452
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:452 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `attach_label` without auth dependency — apps/api/src/werkgraph_api/routes/labels.py:53
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/labels.py:53 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `attach_subject_tags` without auth dependency — apps/api/src/werkgraph_api/routes/subject_tags.py:74
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/subject_tags.py:74 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `attach_tool_globally` without auth dependency — apps/api/src/werkgraph_api/routes/tools.py:168
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tools.py:168 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `attach_tool_to_job` without auth dependency — apps/api/src/werkgraph_api/routes/tools.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.
apps/api/src/werkgraph_api/routes/tools.py:218 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `attach_tool_to_project` without auth dependency — apps/api/src/werkgraph_api/routes/tools.py:193
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tools.py:193 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_archive_workflow_artifacts` without auth dependency — apps/api/src/werkgraph_api/routes/bulk.py:155
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/bulk.py:155 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_provision_decision` without auth dependency — apps/api/src/werkgraph_api/routes/bulk.py:117
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/bulk.py:117 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_provision_job` without auth dependency — apps/api/src/werkgraph_api/routes/bulk.py:98
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/bulk.py:98 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_provision_learning` without auth dependency — apps/api/src/werkgraph_api/routes/bulk.py:136
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/bulk.py:136 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_provision_project` without auth dependency — apps/api/src/werkgraph_api/routes/bulk.py:60
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/bulk.py:60 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `bulk_provision_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/bulk.py:79
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/bulk.py:79 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `cancel_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:289
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:289 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `claim_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:139
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:139 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `claim_next_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:122
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:122 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `clone_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:417
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:417 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `close_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:464
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:464 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `comment_on_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:205
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:205 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `complete_local_bridge_call` without auth dependency — apps/api/src/werkgraph_api/routes/tool_bridge.py:53
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tool_bridge.py:53 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_actor` without auth dependency — apps/api/src/werkgraph_api/routes/actors.py:70
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/actors.py:70 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_artifact` without auth dependency — apps/api/src/werkgraph_api/routes/artifacts.py:96
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/artifacts.py:96 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_component` without auth dependency — apps/api/src/werkgraph_api/routes/components.py:52
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/components.py:52 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_decision` without auth dependency — apps/api/src/werkgraph_api/routes/decisions.py:50
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/decisions.py:50 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_document_blob` without auth dependency — apps/api/src/werkgraph_api/routes/documents.py:144
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/documents.py:144 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_document` without auth dependency — apps/api/src/werkgraph_api/routes/documents.py:61
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/documents.py:61 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:110
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:110 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_objective` without auth dependency — apps/api/src/werkgraph_api/routes/objectives.py:49
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/objectives.py:49 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_project` without auth dependency — apps/api/src/werkgraph_api/routes/projects.py:70
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/projects.py:70 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_skill` without auth dependency — apps/api/src/werkgraph_api/routes/skills.py:52
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/skills.py:52 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_visual` without auth dependency — apps/api/src/werkgraph_api/routes/visuals.py:45
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/visuals.py:45 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:118
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:118 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `deactivate_fixture_pollution` without auth dependency — apps/api/src/werkgraph_api/routes/admin.py:53
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/admin.py:53 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `deactivate_skill` without auth dependency — apps/api/src/werkgraph_api/routes/skills.py:82
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/skills.py:82 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `deactivate_tool` without auth dependency — apps/api/src/werkgraph_api/routes/tools.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.
apps/api/src/werkgraph_api/routes/tools.py:288 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `decide_approval` without auth dependency — apps/api/src/werkgraph_api/routes/approvals.py:57
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/approvals.py:57 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `deprecate_workflow_template` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:305
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:305 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `detach_subject_tags` without auth dependency — apps/api/src/werkgraph_api/routes/subject_tags.py:86
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/subject_tags.py:86 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `edit_artifact_blocks` without auth dependency — apps/api/src/werkgraph_api/routes/artifacts.py:269
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/artifacts.py:269 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `heartbeat_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:332
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:332 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `link_jobs` without auth dependency — apps/api/src/werkgraph_api/routes/edges.py:60
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/edges.py:60 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `move_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:454
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:454 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `poll_local_bridge_session` without auth dependency — apps/api/src/werkgraph_api/routes/tool_bridge.py:35
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tool_bridge.py:35 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reconcile_tool_methods` without auth dependency — apps/api/src/werkgraph_api/routes/tools.py:147
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tools.py:147 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `release_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:302
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:302 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `renew_claim` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:152
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:152 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `request_approval` without auth dependency — apps/api/src/werkgraph_api/routes/approvals.py:45
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/approvals.py:45 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reset_claim` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:314
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:314 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `review_complete` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:187
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:187 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `set_workflow_template_visibility` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:320
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:320 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `submit_job` without auth dependency — apps/api/src/werkgraph_api/routes/jobs.py:165
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/jobs.py:165 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `submit_learning` without auth dependency — apps/api/src/werkgraph_api/routes/learnings.py:53
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/learnings.py:53 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `supersede_artifact` without auth dependency — apps/api/src/werkgraph_api/routes/artifacts.py:305
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/artifacts.py:305 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `supersede_decision` without auth dependency — apps/api/src/werkgraph_api/routes/decisions.py:171
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/decisions.py:171 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `supersede_learning` without auth dependency — apps/api/src/werkgraph_api/routes/learnings.py:192
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/learnings.py:192 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `supersede_skill` without auth dependency — apps/api/src/werkgraph_api/routes/skills.py:64
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/skills.py:64 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `supersede_workflow_template` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:340
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:340 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `supersede_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:173
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:173 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `unarchive_template` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:255
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:255 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `unarchive_tool` without auth dependency — apps/api/src/werkgraph_api/routes/tools.py:276
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/tools.py:276 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `unarchive_workflow` without auth dependency — apps/api/src/werkgraph_api/routes/workflows.py:476
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
apps/api/src/werkgraph_api/routes/workflows.py:476 securityAuth fastapi unauth mutation
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — apps/web/components/wg/EquationBlock.tsx:63
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 frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — apps/web/components/wg/MermaidBlock.tsx:87
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 frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — apps/web/components/wg/VisualRenderer.tsx:142
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 Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/app/api-keys/page.tsx:39
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/app/api/setup/route.ts:85
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/app/events/route.ts:27
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/app/lib/setup-status.ts:16
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/app/whoami/page.tsx:23
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/components/wg/DecisionsTabList.tsx:346
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/components/wg/JobActivityTabs.tsx:49
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/components/wg/LearningsTabList.tsx:281
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/components/wg/ProjectOverviewRealtimeScope.tsx:16
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — apps/web/components/wg/ProjectsList.tsx:46
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
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: apps/api/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph hardware Security conf 1.00 Dockerfile runs as root: apps/web/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
Container
medium System graph cicd CI/CD security conf 1.00 9 occurrences GitHub Action is tag-pinned rather than SHA-pinned
docker/build-push-action@v6 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
4 files, 9 locations
.github/workflows/test.yml:77, 100, 250, 273 (4 hits)
.github/workflows/build.yml:55, 78 (2 hits)
.github/workflows/visual-regression.yml:67, 90 (2 hits)
.github/workflows/codeql.yml:40
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/publish.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in apps/web/components/wg/EquationBlock.tsx:63
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
apps/web/components/wg/EquationBlock.tsx:63 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in apps/web/components/wg/MermaidBlock.tsx:87
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
apps/web/components/wg/MermaidBlock.tsx:87 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in apps/web/components/wg/VisualRenderer.tsx:142
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
apps/web/components/wg/VisualRenderer.tsx:142 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in apps/web/components/wg/VisualRenderer.tsx:89
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
apps/web/components/wg/VisualRenderer.tsx:89 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in apps/web/components/wg/SignInForm.tsx:68
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
apps/web/components/wg/SignInForm.tsx:68 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in apps/web/e2e/_isolated-web.ts:2
Found a known-risky pattern (node_child_process). Review and replace if possible.
apps/web/e2e/_isolated-web.ts:2 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in apps/web/scripts/profile-hot-routes.mjs:2
Found a known-risky pattern (node_child_process). Review and replace if possible.
apps/web/scripts/profile-hot-routes.mjs:2 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/install-preflight-hook.mjs:2
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/install-preflight-hook.mjs:2 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/preflight.mjs:2
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/preflight.mjs:2 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/web-e2e-staging.mjs:2
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/web-e2e-staging.mjs:2 Node child process
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — .github/scripts/vocabulary_scan.py:191
`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 — apps/cli/src/werkgraph_cli/_config.py:107
`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/bootstrap-staging-keys.py:137
`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/tool_registry_launch_gate.py:229
`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 Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 27 placeholder/mock markers across 9 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 43 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `AQ2_187_EVIDENCE_DIR`, `CI`, `NEXT_PUBLIC_PLAYWRIGHT`, `NEXT_PUBLIC_WG_REALTIME_ENABLED`, `NODE_ENV`, `PLAYWRIGHT`, `PLAYWRIGHT_USE_DOCKER`, `RUN_RETRY_SMOKE` + 35 more. Add them (with a placeholder/comment) to .env.example so onboarding doesn't b…
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 75 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: ghcr.io/astral-sh/uv:0.7.21
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
apps/api/Dockerfile:1 containersPinned dependencies
low System graph hardware Supply chain conf 1.00 2 occurrences Docker base image is tag-pinned but not digest-pinned: node:20-alpine
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
lines 1, 22
apps/web/Dockerfile:1, 22 (2 hits)
containersPinned dependencies
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: python:3.12-slim
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
apps/api/Dockerfile:2 containersPinned dependencies
low System graph cicd CI/CD security conf 1.00 13 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/cache@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
5 files, 13 locations
.github/workflows/test.yml:92, 265, 308, 403, 411, 437, 448 (7 hits)
.github/workflows/visual-regression.yml:82, 158, 187 (3 hits)
.github/workflows/build.yml:70
.github/workflows/parity.yml:139
.github/workflows/secret-scan.yml:59
CI/CD securitySupply chainGithub actions
low System graph security security conf 1.00 Insecure pattern 'document_write' in apps/web/components/wg/SetupCTA.tsx:41
Found a known-risky pattern (document_write). Review and replace if possible.
apps/web/components/wg/SetupCTA.tsx:41 Document write
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 11 places
Functions with the same first-5-line body hash: apps/api/src/werkgraph_api/models/components.py:created_at_must_be_utc, apps/api/src/werkgraph_api/models/skills.py:created_at_must_be_utc, apps/api/src/werkgraph_api/models/visuals.py:created_at_must_be_utc, apps/api/src/werkgraph_api/models/tools.py…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 14 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: apps/api/alembic/versions/0039_global_skill_scope.py:upgrade, apps/api/alembic/versions/0039_global_skill_scope.py:downgrade This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidat…
14 occurrences
repo-level (14 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: apps/api/scripts/move_urgent_jobs.py:main, apps/api/scripts/refresh_inline_contracts.py:main, apps/api/scripts/cascade_existing_orphans.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-h…
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: apps/api/alembic/versions/0001_initial.py:downgrade, apps/api/alembic/versions/0037_project_read_permission_catchup.py:downgrade, apps/api/alembic/versions/0030_project_read_backfill.py:downgrade, apps/api/alembic/versions/0053_submission_record_cost.…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: apps/api/alembic/versions/0028_audit_log_notify_trigger.py:upgrade, apps/api/alembic/versions/0049_actor_api_key_realtime_scope.py:upgrade, apps/api/alembic/versions/0049_actor_api_key_realtime_scope.py:downgrade, apps/api/alembic/versions/0031_realti…
duplicatesduplication
low System graph quality dependencies conf 1.00 Node manifest has dependencies but no lockfile: apps/web/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
apps/web/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `0043_clone_workflow_v2` in apps/api/alembic/versions/0043_clone_workflow_v2.py: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 `0043_clone_workflow_v2` in apps/api/alembic/versions/0044_workflow_template_versioning.py:4
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 `_learning_drafts_v1` in apps/api/tests/test_survey.py:17
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 `deprecated_v1` in apps/api/src/werkgraph_api/services/survey.py:58
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 `is_deprecated_v1` in apps/api/src/werkgraph_api/models/jobs.py:490
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 `is_deprecated_v1` in apps/api/src/werkgraph_api/routes/jobs.py:180
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 `job_contract_v1` in apps/api/tests/_bulk_workflow_test_support.py:25
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 `job_contract_v1` in apps/api/tests/_jobs_test_support.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 `job_contract_v1` in apps/api/tests/_submit_job_test_support.py:26
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 `job_contract_v1` in apps/api/tests/_workflow_template_deprecation_support.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 `job_contract_v1` in apps/api/tests/integration/test_cross_links_decision_warning.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 `job_contract_v1` in apps/api/tests/services/test_create_job_multi_error.py:11
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 `job_contract_v1` in apps/api/tests/services/test_describe_operation_create_job.py:21
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 `job_contract_v1` in apps/api/tests/services/test_subject_tag_dx.py:13
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 `job_contract_v1` in apps/api/tests/test_bulk_cross_link_broader.py:27
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 `job_contract_v1` in apps/api/tests/test_bulk_cross_link_references.py:25
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 `job_contract_v1` in apps/api/tests/test_bulk_workflow_service.py:32
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 `job_contract_v1` in apps/api/tests/test_canonical_hash.py: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 `job_contract_v1` in apps/api/tests/test_cap10_edges.py:31
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 `job_contract_v1` in apps/api/tests/test_cap10_foundation.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 `job_contract_v1` in apps/api/tests/test_clone_workflow_v2.py:17
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 `job_contract_v1` in apps/api/tests/test_context_pack.py:15
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 `job_contract_v1` in apps/api/tests/test_cross_link_broader.py:16
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 `job_contract_v1` in apps/api/tests/test_cross_link_references.py:19
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 `job_contract_v1` in apps/api/tests/test_job_add_screenshot_dod_mcp.py:11
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 `job_contract_v1` in apps/api/tests/test_job_contract_touches.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 `job_contract_v1` in apps/api/tests/test_job_revision.py:11
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 `job_contract_v1` in apps/api/tests/test_job_signals.py:8
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 `job_contract_v1` in apps/api/tests/test_jobs.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 `job_contract_v1` in apps/api/tests/test_jobs_assignee.py:12
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 `job_contract_v1` in apps/api/tests/test_mcp_cross_link_errors.py:8
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 `job_contract_v1` in apps/api/tests/test_mcp_list_coercion.py:24
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 `job_contract_v1` in apps/api/tests/test_mcp_list_jobs.py:14
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 `job_contract_v1` in apps/api/tests/test_models_bulk.py:6
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 `job_contract_v1` in apps/api/tests/test_parity.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 `job_contract_v1` in apps/api/tests/test_related_work.py:10
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 `job_contract_v1` in apps/api/tests/test_schema_export.py:9
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 `job_contract_v1` in apps/api/tests/test_subject_tags_foundation.py:5
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 `job_contract_v1` in apps/api/tests/test_submit_cross_link_regression.py:6
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 `job_contract_v1` in apps/api/tests/test_submit_job_done.py:26
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 `job_contract_v1` in apps/api/tests/test_unicode_roundtrip.py:9
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 `job_contract_v1` in apps/api/tests/test_workflow_template_versioning.py:17
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 `job_contract_v1` in apps/api/tests/test_workflow_template_visibility.py:16
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 `job_contract_v1` in tests/parity/test_audit_create_job_parity.py:26
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 `model_copy` in apps/api/src/werkgraph_api/services/_response_cache.py:73
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 `model_copy` in apps/api/src/werkgraph_api/services/artifacts.py:523
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 `model_copy` in apps/api/src/werkgraph_api/services/bulk.py:169
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 `model_copy` in apps/api/src/werkgraph_api/services/bulk_job.py:541
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 `model_copy` in apps/api/src/werkgraph_api/services/bulk_workflow.py:285
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 `model_copy` in apps/api/src/werkgraph_api/services/tools.py:1254
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 `model_copy` in apps/api/tests/test_projects.py:343
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 `model_copy` in apps/api/tests/test_reusable_workflows_static.py:131
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 `model_copy` in apps/api/tests/test_workflows.py:426
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 `set_template_deprecated` in apps/api/tests/test_clone_against_deprecated.py:8
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 `template_deprecated` in apps/api/src/werkgraph_api/services/workflows.py:1646
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 `template_deprecated` in tests/parity/test_four_surface_parity.py:7958
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_artifact_supersede_atomic_creates_replacement_and_deactivates_old` in apps/api/tests/test_artifacts.py:659
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_supersede_decision_sets_replacement_pointer_and_deactivates_old` in apps/api/tests/test_supersede_decision.py:26
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_supersede_learning_creates_replacement_and_deactivates_old` in apps/api/tests/test_supersede_learning.py:56
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 `too_old` in apps/api/tests/test_artifact_time_travel.py:187
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 `validate_job_contract_if_v1` in apps/api/src/werkgraph_api/services/_contract_validator.py:11
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 `validate_job_contract_if_v1` in apps/api/src/werkgraph_api/services/_job_contracts.py:169
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 `wg_old` in apps/cli/tests/test_main.py:541
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: current_actor
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/api/src/werkgraph_api/_auth.py:64
low System graph software Dead code conf 1.00 Possibly dead Python function: default_touches
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/api/src/werkgraph_api/models/contract.py:670
low System graph software Dead code conf 1.00 Possibly dead Python function: has_external_links
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/api/src/werkgraph_api/models/common.py:79
low System graph software Dead code conf 1.00 Possibly dead Python function: is_commit_sha
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/api/src/werkgraph_api/models/contract.py:996
low System graph software Dead code conf 1.00 Possibly dead Python function: list_project_stats
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/api/src/werkgraph_api/services/projects.py:283
low System graph software Dead code conf 1.00 Possibly dead Python function: refresh_permissions
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
apps/api/src/werkgraph_api/routes/events.py:174
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 quality Integrity conf 1.00 Stub function `downgrade` (body is just `pass`/`return`) — apps/api/alembic/versions/0030_project_read_backfill.py:34
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `downgrade` (body is just `pass`/`return`) — apps/api/alembic/versions/0037_project_read_permission_catchup.py:40
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `downgrade` (body is just `pass`/`return`) — apps/api/alembic/versions/0053_submission_record_cost.py:24
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `upgrade` (body is just `pass`/`return`) — apps/api/alembic/versions/0001_initial.py:16
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /api-keys/{api_key_id}
`apps/api/src/werkgraph_api/routes/api_keys.py` declares `DELETE /api-keys/{api_key_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 co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /api-keys
`apps/api/src/werkgraph_api/routes/api_keys.py` declares `GET /api-keys` 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 /components
`apps/api/src/werkgraph_api/routes/components.py` declares `GET /components` 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 /components/{component_id}
`apps/api/src/werkgraph_api/routes/components.py` declares `GET /components/{component_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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /context_pack
`apps/api/src/werkgraph_api/routes/context_pack.py` declares `GET /context_pack` 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: GET /objectives
`apps/api/src/werkgraph_api/routes/objectives.py` declares `GET /objectives` 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 /objectives/{objective_id}
`apps/api/src/werkgraph_api/routes/objectives.py` declares `GET /objectives/{objective_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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /projects
`apps/api/src/werkgraph_api/routes/projects.py` declares `GET /projects` 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/stats
`apps/api/src/werkgraph_api/routes/projects.py` declares `GET /projects/stats` 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}
`apps/api/src/werkgraph_api/routes/projects.py` declares `GET /projects/{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 consu…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /projects/{project_id}/graph
`apps/api/src/werkgraph_api/routes/projects.py` declares `GET /projects/{project_id}/graph` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /response-cache/stats
`apps/api/src/werkgraph_api/app.py` declares `GET /response-cache/stats` 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
`apps/api/src/werkgraph_api/routes/runs.py` declares `GET /runs` 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}
`apps/api/src/werkgraph_api/routes/runs.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 /skill-gap-clusters
`apps/api/src/werkgraph_api/routes/skill_gap_clusters.py` declares `GET /skill-gap-clusters` 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 wh…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /skills/{skill_id}
`apps/api/src/werkgraph_api/routes/skills.py` declares `GET /skills/{skill_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 /templates
`apps/api/src/werkgraph_api/routes/workflows.py` declares `GET /templates` 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 /visuals
`apps/api/src/werkgraph_api/routes/visuals.py` declares `GET /visuals` 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 /visuals/{visual_id}
`apps/api/src/werkgraph_api/routes/visuals.py` declares `GET /visuals/{visual_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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /workflow_templates/{template_id}
`apps/api/src/werkgraph_api/routes/workflows.py` declares `GET /workflow_templates/{template_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 documenti…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /workflow_templates/{template_id}/versions
`apps/api/src/werkgraph_api/routes/workflows.py` declares `GET /workflow_templates/{template_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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /workflows
`apps/api/src/werkgraph_api/routes/workflows.py` declares `GET /workflows` 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 /workflows/state_counts
`apps/api/src/werkgraph_api/routes/workflows.py` declares `GET /workflows/state_counts` 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 con…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /workflows/{workflow_id}
`apps/api/src/werkgraph_api/routes/workflows.py` declares `GET /workflows/{workflow_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 co…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /workflows/{workflow_id}/template_params
`apps/api/src/werkgraph_api/routes/workflows.py` declares `GET /workflows/{workflow_id}/template_params` 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 do…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /components/{component_id}
`apps/api/src/werkgraph_api/routes/components.py` declares `PATCH /components/{component_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 w…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /objectives/{objective_id}
`apps/api/src/werkgraph_api/routes/objectives.py` declares `PATCH /objectives/{objective_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 w…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /projects/{project_id}
`apps/api/src/werkgraph_api/routes/projects.py` declares `PATCH /projects/{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 con…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /skills/{skill_id}
`apps/api/src/werkgraph_api/routes/skills.py` declares `PATCH /skills/{skill_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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /visuals/{visual_id}
`apps/api/src/werkgraph_api/routes/visuals.py` declares `PATCH /visuals/{visual_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 consum…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: PATCH /workflows/{workflow_id}
`apps/api/src/werkgraph_api/routes/workflows.py` declares `PATCH /workflows/{workflow_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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /components
`apps/api/src/werkgraph_api/routes/components.py` declares `POST /components` 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 /objectives
`apps/api/src/werkgraph_api/routes/objectives.py` declares `POST /objectives` 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 /projects
`apps/api/src/werkgraph_api/routes/projects.py` declares `POST /projects` 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 /projects/{project_id}/archive
`apps/api/src/werkgraph_api/routes/projects.py` declares `POST /projects/{project_id}/archive` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /skills
`apps/api/src/werkgraph_api/routes/skills.py` declares `POST /skills` 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 /skills/{skill_id}/deactivate
`apps/api/src/werkgraph_api/routes/skills.py` declares `POST /skills/{skill_id}/deactivate` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /skills/{skill_id}/supersede
`apps/api/src/werkgraph_api/routes/skills.py` declares `POST /skills/{skill_id}/supersede` 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 …
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /templates/{template_id}/archive
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /templates/{template_id}/archive` 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: POST /templates/{template_id}/unarchive
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /templates/{template_id}/unarchive` 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 documen…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /visuals
`apps/api/src/werkgraph_api/routes/visuals.py` declares `POST /visuals` 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 /workflow_templates/{template_id}/deprecate
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflow_templates/{template_id}/deprecate` 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 o…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /workflow_templates/{template_id}/supersede
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflow_templates/{template_id}/supersede` 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 o…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /workflow_templates/{template_id}/visibility
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflow_templates/{template_id}/visibility` 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: POST /workflows
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflows` 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 /workflows/{workflow_id}/archive
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflows/{workflow_id}/archive` 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: POST /workflows/{workflow_id}/clone
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflows/{workflow_id}/clone` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /workflows/{workflow_id}/close
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflows/{workflow_id}/close` 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…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /workflows/{workflow_id}/supersede
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflows/{workflow_id}/supersede` 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 documen…
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /workflows/{workflow_id}/unarchive
`apps/api/src/werkgraph_api/routes/workflows.py` declares `POST /workflows/{workflow_id}/unarchive` 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 documen…
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: apps/api/src/werkgraph_api/mcp.py (6564 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: apps/api/src/werkgraph_api/models/db.py (1593 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: apps/api/src/werkgraph_api/services/artifacts.py (1737 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: apps/api/src/werkgraph_api/services/tools.py (2155 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: apps/api/src/werkgraph_api/services/workflows.py (2691 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: apps/cli/tests/test_main.py (3365 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: apps/web/app/lib/job-detail.ts (2131 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: apps/web/app/lib/wg-substrate-types.d.ts (13491 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/parity/test_four_surface_parity.py (14007 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/e86d930f-eeb5-4a87-a290-d4764e95e145/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/e86d930f-eeb5-4a87-a290-d4764e95e145/

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.