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.

russoreagan/super-intelligence

https://github.com/russoreagan/super-intelligence · scanned 2026-06-15 23:57 UTC (2 months, 3 weeks ago)

194 raw signals (0 security + 194 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 3 weeks ago · v1 · 176 actionable findings from 1 signal source. 18 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 63.6/100 with 100.0% coverage. It contains 5144 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 194 findings — concentrated in quality (85), security (46), api (39). Risk profile is high: 0 critical, 39 high, 12 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

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

high System graph security auth conf 1.00 FastAPI DELETE `api_keys_delete` without auth dependency — brain/gateway/server.py:246
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/gateway/server.py:246 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `deactivate_mandate_route` without auth dependency — brain/api/server.py:309
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:309 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `deactivate_mandate_ui` without auth dependency — brain/ui/server.py:755
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:755 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_agent_route` without auth dependency — brain/api/server.py:410
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:410 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `delete_agent_ui` without auth dependency — brain/ui/server.py:887
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:887 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `purge_end_user` without auth dependency — brain/api/server.py:428
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:428 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `revoke_partner_key_route` without auth dependency — brain/api/server.py:473
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:473 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `revoke_partner_key_ui` without auth dependency — brain/ui/server.py:942
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:942 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI DELETE `unassign_route` without auth dependency — brain/api/server.py:346
`@router.delete` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:346 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `api_keys_set` without auth dependency — brain/gateway/server.py:227
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/gateway/server.py:227 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `assign_mandate_ui` without auth dependency — brain/ui/server.py:773
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:773 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_admission` without auth dependency — brain/gateway/server.py:179
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/gateway/server.py:179 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_admission` without auth dependency — brain/ui/server.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.
brain/ui/server.py:289 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_forgot` without auth dependency — brain/gateway/server.py:164
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/gateway/server.py:164 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_forgot` without auth dependency — brain/ui/server.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.
brain/ui/server.py:264 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_login` without auth dependency — brain/gateway/server.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.
brain/gateway/server.py:147 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_login` without auth dependency — brain/ui/server.py:238
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:238 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_logout` without auth dependency — brain/gateway/server.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.
brain/gateway/server.py:136 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_logout` without auth dependency — brain/gateway/server.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.
brain/gateway/server.py:205 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `auth_logout` without auth dependency — brain/ui/server.py:334
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:334 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `confirm_action` without auth dependency — brain/api/server.py:228
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:228 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_agent_ui` without auth dependency — brain/ui/server.py:827
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:827 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `create_session` without auth dependency — brain/api/server.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.
brain/api/server.py:91 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `mint_partner_key_route` without auth dependency — brain/api/server.py:457
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:457 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `mint_partner_key_ui` without auth dependency — brain/ui/server.py:925
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:925 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `reset_settings` without auth dependency — brain/ui/server.py:620
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:620 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `restart_brain` without auth dependency — brain/ui/server.py:965
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:965 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `run_turn_stream` without auth dependency — brain/api/server.py:160
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:160 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `run_turn` without auth dependency — brain/api/server.py:127
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:127 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `save_settings` without auth dependency — brain/ui/server.py:435
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:435 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `set_agent_name_ui` without auth dependency — brain/ui/server.py:870
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:870 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `set_agent_permissions_ui` without auth dependency — brain/ui/server.py:852
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:852 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `shutdown_brain` without auth dependency — brain/ui/server.py:978
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:978 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `tasks_clear` without auth dependency — brain/ui/server.py:638
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:638 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `upload_image` without auth dependency — brain/ui/server.py:1078
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:1078 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI POST `upsert_mandate_ui` without auth dependency — brain/ui/server.py:734
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/ui/server.py:734 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `assign_route` without auth dependency — brain/api/server.py:332
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:332 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `upsert_agent_route` without auth dependency — brain/api/server.py:388
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:388 securityAuth fastapi unauth mutation
high System graph security auth conf 1.00 FastAPI PUT `upsert_mandate_route` without auth dependency — brain/api/server.py:288
`@router.put` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
brain/api/server.py:288 securityAuth fastapi unauth mutation
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — brain/ui/settings-ui.js:823
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 security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in brain/gateway/keys.html:146
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
brain/gateway/keys.html:146 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in brain/ui/index.html:4824
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
brain/ui/index.html:4824 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in brain/ui/lightweight-charts.standalone.production.js:7
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
brain/ui/lightweight-charts.standalone.production.js:7 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in brain/ui/login.html:220
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
brain/ui/login.html:220 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in brain/ui/reset.html:155
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
brain/ui/reset.html:155 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in brain/ui/settings-ui.js:513
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
brain/ui/settings-ui.js:513 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in brain/ui/workspaces.js:38
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
brain/ui/workspaces.js:38 Direct innerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — brain/provisioner.py:293
`subprocess.Popen(...)` 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 35 placeholder/mock markers across 11 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph quality Placeholder conf 1.00 Runtime service client appears to use placeholder configuration
A runtime source file appears to wire Supabase/Firebase/AI/payment-style clients to placeholder URLs, keys, or fallback values. In the Fable corpus this often means the UI/API shape is present while the backend service is not actually configured.
Runtime configService clientGenerated repo pattern
low System graph quality Integrity conf 1.00 100 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `ADMISSION_NOTIFY_EMAIL`, `ALPACA_API_KEY`, `ALPACA_LIVE_API_KEY`, `ALPACA_LIVE_SECRET_KEY`, `ALPACA_PAPER_TRADE`, `ALPACA_SECRET_KEY`, `ALPACA_TOOLSETS`, `ALPACA_USE_SIP` + 92 more. Add them (with a placeholder/comment) to .env.example so onboardi…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 375 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 quality Integrity conf 1.00 15 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: eval/langfuse_batch_eval.py:main, eval/langfuse_judge.py:main This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
15 occurrences
repo-level (15 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 5 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: brain/client_chem.py:load, brain/client_chem.py:load, brain/client_chem.py:load This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
5 occurrences
repo-level (5 hits)
duplicatesduplication
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `handler_v1` in tests/test_lobe_bridge.py:55
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_requires_action_returns_partial_v1` in tests/test_cma_executor.py:194
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_snapshot_is_copy` in tests/test_hormonal_system.py:135
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: affection_score
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/metacognition.py:291
low System graph software Dead code conf 1.00 Possibly dead Python function: api_confirm
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/session_turn.py:92
low System graph software Dead code conf 1.00 Possibly dead Python function: api_purge_end_user
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/session_turn.py:126
low System graph software Dead code conf 1.00 Possibly dead Python function: api_turn
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/session_turn.py:63
low System graph software Dead code conf 1.00 Possibly dead Python function: append_fact
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/second_brain/store.py:647
low System graph software Dead code conf 1.00 Possibly dead Python function: attach_router
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/clusters/generic_executor.py:183
low System graph software Dead code conf 1.00 Possibly dead Python function: canonical_fact
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/security.py:155
low System graph software Dead code conf 1.00 Possibly dead Python function: check_bearer
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/api/auth.py:92
low System graph software Dead code conf 1.00 Possibly dead Python function: clear_active_skill_context
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/clusters/parietal.py:232
low System graph software Dead code conf 1.00 Possibly dead Python function: client_disconnected
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/session_manager.py:74
low System graph software Dead code conf 1.00 Possibly dead Python function: flush_frames
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/clusters/occipital.py:248
low System graph software Dead code conf 1.00 Possibly dead Python function: fmt_score
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
eval/report.py:74
low System graph software Dead code conf 1.00 Possibly dead Python function: ingest_frame
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/clusters/occipital.py:220
low System graph software Dead code conf 1.00 Possibly dead Python function: make_threshold_gate
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/neuron.py:425
low System graph software Dead code conf 1.00 Possibly dead Python function: mic_listen
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/pns.py:1303
low System graph software Dead code conf 1.00 Possibly dead Python function: read_relationship_stage
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/metacognition.py:158
low System graph software Dead code conf 1.00 Possibly dead Python function: replace_for_display
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/pns.py:410
low System graph software Dead code conf 1.00 Possibly dead Python function: replace_for_tts
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/pns.py:413
low System graph software Dead code conf 1.00 Possibly dead Python function: session_summary
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/clusters/parietal.py:217
low System graph software Dead code conf 1.00 Possibly dead Python function: set_org_id
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/second_brain/supabase_client.py:63
low System graph software Dead code conf 1.00 Possibly dead Python function: subscribe_prefix
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/bus.py:423
low System graph software Dead code conf 1.00 Possibly dead Python function: top_transitions
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/sequence_predictor.py:153
low System graph software Dead code conf 1.00 Possibly dead Python function: warmup_local
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
brain/model_router.py:429
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph api Wiring conf 1.00 Unused endpoint: ANY /{path:path}
`brain/gateway/server.py` declares `ANY /{path:path}` 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: DELETE /agents/{agent_id}
`brain/api/server.py` declares `DELETE /agents/{agent_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: DELETE /api/keys/{provider}
`brain/gateway/server.py` declares `DELETE /api/keys/{provider}` 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: DELETE /end_users/{end_user_id}
`brain/api/server.py` declares `DELETE /end_users/{end_user_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: DELETE /mandates/{mandate_id}
`brain/api/server.py` declares `DELETE /mandates/{mandate_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: DELETE /partner_keys/{key_id}
`brain/api/server.py` declares `DELETE /partner_keys/{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 consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: DELETE /personas/{persona}/mandates/{mandate_id}
`brain/api/server.py` declares `DELETE /personas/{persona}/mandates/{mandate_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 /
`brain/ui/server.py` declares `GET /` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /__brain_status
`brain/gateway/server.py` declares `GET /__brain_status` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /agents/{agent_id}
`brain/api/server.py` declares `GET /agents/{agent_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 /api/keys
`brain/gateway/server.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 /auth/logout
`brain/gateway/server.py` declares `GET /auth/logout` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /auth/reset
`brain/ui/server.py` declares `GET /auth/reset` 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 /keys
`brain/gateway/server.py` declares `GET /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 /login
`brain/ui/server.py` declares `GET /login` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: GET /personas/{persona}/mandates
`brain/api/server.py` declares `GET /personas/{persona}/mandates` 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 /self-model
`brain/ui/server.py` declares `GET /self-model` 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 /user-model
`brain/ui/server.py` declares `GET /user-model` 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 /wiring
`brain/ui/server.py` declares `GET /wiring` 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 /{filename}
`brain/ui/server.py` declares `GET /{filename}` 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 /agents/{agent_id}/name
`brain/ui/server.py` declares `POST /agents/{agent_id}/name` 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 /agents/{agent_id}/permissions
`brain/ui/server.py` declares `POST /agents/{agent_id}/permissions` 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 /api/keys
`brain/gateway/server.py` declares `POST /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: POST /auth/admission
`brain/ui/server.py` declares `POST /auth/admission` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/forgot
`brain/ui/server.py` declares `POST /auth/forgot` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/login
`brain/ui/server.py` declares `POST /auth/login` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /auth/logout
`brain/ui/server.py` declares `POST /auth/logout` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph api Wiring conf 1.00 Unused endpoint: POST /mandates/{mandate_id}/assign
`brain/ui/server.py` declares `POST /mandates/{mandate_id}/assign` 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 /restart
`brain/ui/server.py` declares `POST /restart` 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 /sessions
`brain/api/server.py` declares `POST /sessions` 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 /sessions/{session_id}/confirm
`brain/api/server.py` declares `POST /sessions/{session_id}/confirm` 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 /sessions/{session_id}/turns
`brain/api/server.py` declares `POST /sessions/{session_id}/turns` 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 /sessions/{session_id}/turns/stream
`brain/api/server.py` declares `POST /sessions/{session_id}/turns/stream` 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 /shutdown
`brain/ui/server.py` declares `POST /shutdown` 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 /tasks/clear
`brain/ui/server.py` declares `POST /tasks/clear` 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 /upload_image
`brain/ui/server.py` declares `POST /upload_image` 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: PUT /agents/{agent_id}
`brain/api/server.py` declares `PUT /agents/{agent_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: PUT /mandates/{mandate_id}
`brain/api/server.py` declares `PUT /mandates/{mandate_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: PUT /personas/{persona}/mandates/{mandate_id}
`brain/api/server.py` declares `PUT /personas/{persona}/mandates/{mandate_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 quality Complexity conf 1.00 Very large file: brain/clusters/frontal.py (2123 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/clusters/hippocampus.py (1316 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/clusters/motor_cortex.py (2465 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/dmn.py (3653 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/model_router.py (1535 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/pns.py (1391 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/session_turn.py (1874 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/settings.py (892 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/ui/server.py (1836 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: brain/ui/settings-ui.js (1886 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_motor_cortex.py (2322 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/9a9db232-5c81-4211-acfc-b573e30b58f8/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/9a9db232-5c81-4211-acfc-b573e30b58f8/

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.