Firm lane
Firm control
Kind: Fixed templates and rules — no model call.
Availability
ShippedLive on this deployment: it needs nothing more to run.
- Door
/admin/firm-control · /api/admin/firm-control · /consult/[slug]- Unlocks with
- A law firm's staff session, signed in with its second factor.
Every status follows one rule from this deployment's own configuration: a capability is marked shipped only when everything it needs is in place.
What it does
Keeps the firm's own switches and its house voice on one page: the firm can close its public consult door, and its documents are drafted in its house voice — every change a new version on the record, with who, when and why.
Keep in mind
A switch only ever takes something away; the voice shapes wording only — it changes no citation, statutory text or client fact — and only a firm administrator turns a switch or sets the firm's voice, each attorney their own.
What it refuses
| Answer | HTTP | Meaning |
|---|---|---|
forbidden | 403 | The session is not the firm's staff for this matter; the door reads nothing further. |
mfa-required | — | A staff session needs its second factor before any staff door opens: 401 to verify it, 403 to set one up. |
unavailable | 503 | The record could not be read: the door answers unavailable, never an empty list or a zero. |
- Answer
forbidden- HTTP
- 403
- Meaning
- The session is not the firm's staff for this matter; the door reads nothing further.
- Answer
mfa-required- HTTP
- —
- Meaning
- A staff session needs its second factor before any staff door opens: 401 to verify it, 403 to set one up.
- Answer
unavailable- HTTP
- 503
- Meaning
- The record could not be read: the door answers unavailable, never an empty list or a zero.
What can leave EstateDraft
The registry declares no action of this capability that reaches outside EstateDraft.
Evidence
src/lib/db/phase4c4-migration.test.tssrc/lib/firm-control/firm-control.test.tssrc/lib/firm-control/voice.test.tssrc/lib/phase4c4-routes.test.tssrc/lib/firm-control/policies.tssrc/lib/firm-control/voice.tssrc/app/api/admin/firm-control/route.tssrc/components/firm-control/FirmControl.tsx
Reviewed: