Runtime config inventory for the signed-in app
Use this inventory before publish. Each value states required or optional, the safe default from this pack, and the fail-fast or fallback rule. No secret value is listed. Worker environment variable names that are not stated in this pack are not invented here.
Inventory, required or optional, safe default
Required values block publish when missing. Optional values use the safe default below until an administrator chooses otherwise. Missing never means everyone, ready, or both.
| Config value | Stated in this pack | Required or optional | Safe default | Fail-fast or fallback |
|---|---|---|---|---|
| Database binding, D1 | Health readiness and safe defaults guides | Required | No fallback database | Readiness shows not ready for database and publish is blocked |
| MAJIC sign-in and workspace store | Health readiness and safe defaults guides | Required | No fallback sign-in path | Readiness shows not ready and publish is blocked |
| Public live check, GET /api/health | Health, liveness, and readiness checks; Set retention and access, Health, readiness and liveness checks | Required for publish | No sign-in, no cookies, cache no-store, on demand only, 5000 millisecond timeout per attempt, up to 3 attempts, and public page reads only ok, status, service, and checked_at | 200 with ok true, status live, and service campus passes. 503 means answered but not confirmed live and does not pass. Any other status, timeout, or network failure means did not complete and does not pass. No version, uptime, dependency status, host, address, configuration, secret, or error text is shown on a public page |
| Unauthenticated readiness probe, GET /api/ready and alias paths | Health, liveness, and readiness checks; Set retention and access, Health, readiness and liveness checks | Required for publish | Fails closed with 404 and no readiness detail. No alias endpoint is offered for /health, /ready, /readyz, /live, or /healthz | Any readiness detail, dependency status, version, uptime, address, configuration, secret, or error text returned without sign-in fails the check and blocks publish |
| Authenticated readiness inside the signed-in app, no new route | Health, liveness, and readiness checks; Set retention and access, Health, readiness and liveness checks | Required for publish | On demand only inside the signed-in app with existing sign-in, showing ready or not ready per dependency only, for database, MAJIC sign-in, and workspace store | Missing or invalid dependency shows not ready and blocks publish. No secret, token, password, connection string, host, port, address, region, configuration name or value, error text, stack, or other college data is returned or shown |
| FILES R2 binding for file sources | Safe defaults and config matrix guides | Required for file sources, optional otherwise | File sources unavailable | Checked by hand before any file source is published |
| Retention mode, session-only or retention days | Set retention and access | Required admin choice | No silent numeric default | Mode must be session-only or positive retention days and the audit entry is checked |
| Who may view full questions | Set retention and access | Optional | None by default, separate detail permission only | Everyone fails the check |
| Who may export report detail | Set retention and access | Optional | None by default, separate export permission only | Everyone fails the check |
| Notification digest choice and quiet period | Set retention and access and notification guides | Optional | Off by default, weekly or monthly only not both, no non-essential send from 21:00 to 08:00 college local time | Both, or quiet period not respected, fails the check |
| CAMPUS_ANALYTICS_OPT_OUT with Do Not Track and Global Privacy Control | Weekly quality rate | Optional, name only and no secret value | Not set, recording follows those signals and opt-out suppresses recording | Safe fallback suppresses recording |
| Storage keys campus-answers:my-answers:v1, campus-answers:canonical-record:v1, campus-answers:campaign:v1 | Config matrix and weekly quality rate | Optional fixed versioned keys | Same versioned key, a new version uses a new key | Entered key must match the matrix |
| Worker environment variables, wrangler bindings, KV namespaces | Config matrix, names not stated in this pack | Required values read by reference in the Worker slice | No substitute value from this guide | Block publish until the Worker slice check passes for every required value |
Deterministic start rule from this inventory: a missing required value means not ready, a missing optional value means off or none, and a missing dependency in a readiness summary means not ready. That rule matches the deny-by-default guide and the readiness rule that a live result is not a readiness result and a readiness result inside the signed-in app is not a live result on a public page. A public live check that shows version or internal detail fails the check.
Run the fail-fast check on this page
Enter fields as example only. Nothing entered here is sent to a server and nothing changes college records. Defaults are fail-closed, so an untouched form shows Not ready.
Fields marked are required for the check.
Choose each field, then choose Run fail-fast check.
Start deterministically, publish only on pass
Keep every required value bound and ready, keep every optional value at its safe default or chosen on purpose, keep the public live check live with no version or internal detail on a public page and the unauthenticated readiness probe failing closed, and stop on any fail.