Integrate formal decisions with cases
This commit is contained in:
+20
-2
@@ -163,6 +163,15 @@ Cases links formal Decision records and may retain a current outcome/status
|
||||
projection. It does not own decision authority, rule versions, reasoning,
|
||||
correction, revocation, or remedy semantics.
|
||||
|
||||
The Case detail decision path is a guarded composition boundary. It resolves an
|
||||
exact Case revision, rechecks Case update access, verifies the current acting
|
||||
assignment through Access, and requires exactly one effective Mandate for
|
||||
`cases.formal_decision` and the selected Decision type. Only then does it call
|
||||
the optional Decisions registry and append the exact Decision reference to a
|
||||
new Case revision in the same transaction. Deterministic identifiers make an
|
||||
unchanged retry safe, while changed replay payloads and stale Case revisions
|
||||
fail closed. Cases still does not store the protected result or reasoning.
|
||||
|
||||
Evidence links should store only stable module/resource references and display
|
||||
metadata snapshots. The owning module remains responsible for the real object.
|
||||
|
||||
@@ -173,6 +182,12 @@ valid interval, recorded time, canonical snapshot digest, and launch link.
|
||||
Records owns the filing decision and chronology; Cases remains authoritative
|
||||
for the case and its revision history.
|
||||
|
||||
When Search is enabled, `cases.cases` indexes current Case titles, numbers,
|
||||
types, states, and the existing bounded search projection. It includes no
|
||||
provider-owned evidence content or protected Decision reasoning. Restricted
|
||||
Case candidates carry bounded ACL tokens and every result is checked again
|
||||
against the current Case object-access decision before disclosure.
|
||||
|
||||
## WebUI
|
||||
|
||||
Initial route contributions:
|
||||
@@ -180,8 +195,11 @@ Initial route contributions:
|
||||
- `/cases`
|
||||
- `/cases/:caseId`
|
||||
|
||||
The initial detail view renders the module-owned record, stable references,
|
||||
history, and timeline. Future linked forms, files, tasks, workflow state,
|
||||
The detail view renders the module-owned record, stable references, history,
|
||||
timeline, and provider-resolved formal Decisions when currently authorized. It
|
||||
can record a direct officer Decision when Access, Mandates, and Decisions are
|
||||
enabled and can launch exact Case or Decision filing when Records is enabled.
|
||||
Future linked forms, files, tasks, workflow state,
|
||||
appointments, documents, communication, payment evidence, and richer audit
|
||||
panels must arrive through declarative extension points, without direct UI
|
||||
imports from sibling modules.
|
||||
|
||||
Reference in New Issue
Block a user