Expand description
Guardianship approval escrow — M-of-N co-signature for proxy actions.
Supported agency, not warden control. When an agent acting on behalf of a principal
(a proxy / supporter) writes a protected record, the write does not auto-commit. It is held
in escrow as a GuardianshipProposal; designated guardians co-sign with immutable
GuardianshipVote records. The current status is a derived projection over the votes
(latest vote per guardian) — replay-safe, so duplicated / reordered / replayed co-signatures
never change the outcome. On reaching the approval threshold the actual escrowed record
commits through the normal signed vault path.
The escrow protects the principal from an ill-considered or erring supporter — a co-guardian objection halts the escrow (a protective veto). That guards the principal’s agency against a rogue proxy; it is not a warden overriding the principal, who is not the actor here.
Merge discipline mirrors the rest of wellfare-core: proposals and votes are immutable
append-only records merged by stable id; status is derived, never a mutated field.
Structs§
- Guardianship
Proposal - A proxy write held pending M-of-N guardian co-signature.
- Guardianship
Vote - A guardian’s immutable co-signature (approve) or objection (deny) on a proposal.
- Proposal
Status - Derived status of a proposal — a pure projection over the votes, never a stored field.
Enums§
- Proposal
State - Terminal / in-flight state of a proposal.
Functions§
- build_
proposal_ envelope - Builds the envelope.
- build_
vote_ envelope - Builds the envelope.
- derive_
status - Derive the status of a proposal from its votes.
- parse_
proposal_ summary - summary.
- parse_
vote_ summary - summary.
- proposal_
record_ id - record ID.
- proposal_
summary - summary.
- vote_
record_ id - record ID.
- vote_
summary - summary.