Sync Repo-docs-MANDATES-DOMAIN from project files
@@ -0,0 +1,41 @@
|
|||||||
|
<!-- codex-wiki-sync:2e0fbca8619115a43c108546 -->
|
||||||
|
|
||||||
|
> Mirrored from `/mnt/DATA/git/govoplan-mandates/docs/MANDATES_DOMAIN.md`.
|
||||||
|
> Origin: `repository`.
|
||||||
|
> Active tasks and changing state belong in Gitea issues; this wiki page is durable project context.
|
||||||
|
|
||||||
|
---
|
||||||
|
# Mandates Domain
|
||||||
|
|
||||||
|
## Ownership
|
||||||
|
|
||||||
|
Mandates owns stable mandate identities and immutable revisions. A revision
|
||||||
|
states effective time, task and authority types, constrained organization
|
||||||
|
units/functions, jurisdiction, subject scope, authority ceiling, legal bases,
|
||||||
|
evidence, lifecycle state, and explicit conflicts.
|
||||||
|
|
||||||
|
It does not own organization structures, function incumbency, accounts,
|
||||||
|
application permissions, policy rules, cases, or formal decisions.
|
||||||
|
|
||||||
|
## Resolution
|
||||||
|
|
||||||
|
Resolution is tenant-bound and deterministic. It evaluates the requested time,
|
||||||
|
task, authority, unit, function, jurisdiction, and subject against the latest
|
||||||
|
effective revision of each mandate. Conflicting effective mandates fail closed
|
||||||
|
and return their conflict/evidence references.
|
||||||
|
|
||||||
|
Consumers must freeze the exact mandate reference and evidence used for a
|
||||||
|
consequential action. A later mandate correction does not rewrite historical
|
||||||
|
decisions or effects.
|
||||||
|
|
||||||
|
## Revision And Recovery
|
||||||
|
|
||||||
|
Creation and revision use optimistic concurrency. Every new revision has a new
|
||||||
|
revision identifier, `recorded_at`, and change reason. Lifecycle transitions
|
||||||
|
follow the shared Core contract. Rows are append-only apart from marking the
|
||||||
|
previous row superseded; destructive retirement requires the platform database
|
||||||
|
snapshot and module-retirement preflight.
|
||||||
|
|
||||||
|
Database restore is the recovery unit. Replaying a request with the same
|
||||||
|
tenant, mandate identity, and revision is idempotent; a different payload under
|
||||||
|
an existing revision is rejected.
|
||||||
Reference in New Issue
Block a user