phronesis · systems

Systems

What calls what. Every endpoint the site uses, the pages that call it, and the service behind it — read out of the source, not remembered.

This exists because /map shows pages and nothing showed the plumbing. On 18 July 2026 the hire enquiry form was posting to a Worker that had quietly stopped existing, and four other pages were calling endpoints with no handler at all. None of it was visible anywhere. Regenerated on every build, so it cannot drift from the code.

// called, but nothing handles it

None. Every endpoint the site calls has a handler.

// endpoints

endpointstatemethodscalled frombacked by
/api/[[route]]no callerALL
/api/account/datano callerGET POSTACCOUNTS, LASERBRAIN_ADMIN_TOKEN, LASERBRAIN_API, SESSION_SECRET
/api/account/emailwiredOPTIONS POST/accountACCOUNTS, SESSION_SECRET
/api/account/keywiredOPTIONS POST/accountACCOUNTS, SESSION_SECRET
/api/account/upgradeno callerGETACCOUNTS, SESSION_SECRET, SITE_ORIGIN, STRIPE_LINK_GROUP, STRIPE_LINK_PRO
/api/admin/grantno callerDELETE GET OPTIONS POSTACCOUNTS, LASERBRAIN_ADMIN_TOKEN
/api/admin/overviewwiredGET/adminACCOUNTS, LASERBRAIN_ADMIN_TOKEN, LASERBRAIN_API, SESSION_SECRET
/api/admin/paidwiredOPTIONS POST/adminACCOUNTS, SESSION_SECRET
/api/aiwiredGET OPTIONS POST/ai/chat, /field/ai, /field/proprioceptionAnthropic API, Workers AI
/api/ai/specno callerGET
/api/alice/specwiredGET OPTIONS/field/alice-spec
/api/analyticswiredGET OPTIONS POSTlib/analytics.ts
/api/analyzeno callerOPTIONS POST
/api/askwiredOPTIONS POST/work/connectdatabins (stored submissions)
/api/auth/_sessionno callerACCOUNTS
/api/auth/githubno callerGETGITHUB_CLIENT_ID, SITE_ORIGIN
/api/auth/github/callbackno callerGETACCOUNTS, GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET, SESSION_SECRET, SITE_ORIGIN
/api/auth/logoutno callerGETSITE_ORIGIN
/api/auth/mewiredGET/account, app/home-rich.tsx, app/laserbrain/b2b/intake-form.tsx, app/laserbrain/console-link.tsx, app/site-chrome.tsxACCOUNTS, SESSION_SECRET
/api/b2b/intakewiredGET OPTIONS POSTapp/laserbrain/b2b/intake-form.tsxACCOUNTS, LASERBRAIN_ADMIN_TOKEN, SESSION_SECRET, SHEETS_WEBHOOK_URL
/api/calibrationwiredOPTIONS POSTcomponents/CoherenceFeedback.tsxdatabins (stored submissions)
/api/clarityno callerOPTIONS POSTAnthropic API, Workers AI
/api/clarity-logwiredOPTIONS POST/claritydatabins (stored submissions)
/api/clarity-studywiredOPTIONS POST/clarity/studydatabins (stored submissions)
/api/icmno callerOPTIONS POST
/api/judgewiredOPTIONS POST/field/judge, /field/passthruAnthropic API, Workers AI
/api/laserbrain/[[path]]no callerALL
/api/passthruwiredOPTIONS POST/field/passthruAnthropic API, Workers AI
/api/reframewiredOPTIONS POSTlib/clarity-generation.ts
/api/seenwiredOPTIONS POST/drift
/api/send-course-emailno callerOPTIONS POSTdatabins (stored submissions)
/api/stripe-webhookno callerOPTIONS POSTStripe webhook signature, databins (stored submissions)
/api/studiono callerOPTIONS POST
/api/suggestwiredOPTIONS POST/surveydatabins (stored submissions)
/u/[[username]]no callerGETACCOUNTS

// external services

hostused by
https://databins.degibug.workers.devlib/databins.ts
https://docs-drift.degibug.workers.dev/laserbrain/docs
https://laserbrain-mcp.degibug.workers.dev/laserbrain, /laserbrain/dashboard, /laserbrain/protocols
https://laserbrain.degibug.workers.dev/signal/field/skin
https://laserfield.degibug.workers.dev/signal/field/knot
https://lasertree.degibug.workers.dev/signal/bonus
https://logic-engine.degibug.workers.devapp/HostedRuleset.tsx
https://natural-bias.degibug.workers.dev/natural-bias
https://phronesis-drift-scores.degibug.workers.dev/drift
https://phronesis-research-log.degibug.workers.dev/loglib/research.ts
https://phronesis-research-log.degibug.workers.dev/recordslib/research.ts
wss://phronesis-open-field.degibug.workers.dev/field/open-field
wss://phronesis-redtooth.degibug.workers.dev/field/redtooth

// counts

35 endpoints · 0 with no handler · 17 with no caller · 13 external hosts

An endpoint with no caller is not necessarily wrong — a webhook is called by Stripe, not by a page. An endpoint with no handler always is.