Firm lane
Matter Brain
Kind: Fixed templates and rules — no model call.
Availability
ShippedLive on this deployment: it needs nothing more to run.
- Door
/admin/matter/[id] · /api/admin/matter-brain- Unlocks with
- A law firm's workspace, with the matter's plan or the firm's membership.
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
Answers a staff member's question about a matter from its stored record — the facts, the documents' pinned fields and the open steps — with no model; once the platform connects the model, the model may write over that answer from the same record.
Keep in mind
Every answer says whether it is the record's own or the model's, and a part of the record that could not be read is named, never shown as none.
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. |
payment-required | 402 | The matter holds no plan or purchase for this engine; nothing runs and nothing is charged. |
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
payment-required- HTTP
- 402
- Meaning
- The matter holds no plan or purchase for this engine; nothing runs and nothing is charged.
- 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/matter-brain-floor.test.tssrc/lib/matter-brain-route.test.tssrc/lib/matter-brain.test.tssrc/lib/matter-brain-floor.tssrc/app/api/admin/matter-brain/route.ts
Reviewed: