Accepted locally. One bounded ownership aggregate, with no sender or receiver inbox. Current verification and historical evidence belong to build review. Installed contract · human guide · planning.
Intelligence: none — Immutable proposal generations and first-offer ownership follow an explicit current authority fence; no model supplies permission or settles an unknown effect.
Sources: proposal-ownership-contract.ts, proposal-ownership-core.ts, proposal-ownership.ts. Public entry: software-factory/proposal-ownership. Its exact runtime closure includes the shared observation/body helpers and additive Notification mode; graph checks own the complete list. Journal access stays in the Ownership and Notification host facades. The neutral declarations require ES2024, no Node types.
ProposalOwnership(journal,scope,fence) captures methods; construction starts nothing. mutate admits six actions: initialise, propose, supersede, first-offer, cancel, expire. read reconciles original event history; pending returns version-pinned retained operations, including closed ones. ownershipValues parses exact mutation/state/event data, replays fixed v1 and converts an existing Guidance generation without changing its ID.
Scope is persistent producer/store/namespace/Product. Exactly one immutable commissioned RulePin owns sorted required roles, targets and original window. Root occupies one of eight causes; notifications additionally require exactly one real BranchHealth trigger pin. Source identity includes producer/store/kind/record/revision. Conflicting retained bytes refuse. Actual current source meaning and permissions belong to the qualified host.
All new mutations require a current allow/passed admission under a synchronous non-expiring local authority lock. Every ACL/rule writer uses that lock before Journal's lock. The host qualifies the actual opened Journal/fence pair and physical stores; JSON IDs cannot prove this. The captured callback runs once, holds the lock through commit/rollback and returns its exact result. Current checkedAt is the admission observation, not physical commit time. No contact authority is returned.
Collaborator results remain synchronous. Returned native Promises, including nested own string and symbol data, are observed before the original refusal checks without awaiting authority or exposing their reasons. Descriptor traversal, including fulfilled native Promise data, shares the existing depth/state ceilings; generic thenables and result data accessors are not invoked and prototypes are not walked. Observing a native Promise uses Promise.prototype.then, which may still read its constructor and Symbol.species, so a Promise subclass or constructor accessor can run host code. Observation failures cannot become Journal refusals. Malformed outcomes after possible commit retain UNKNOWN_COMMIT; only the original request reconciles them. Strict child-process source and installed regressions cover these boundaries.
First-offer and supersession compete in the same expected-version Journal decision. Supersession is possible only before any offer. The first offer permanently fixes the generation with effect unknown; cancellation, expiry, process death and lost reply never free it. Replacement, transport attempts and receipt ingestion are absent. Historical mutation replay remains available without new admission; changed reuse conflicts. Host failure after possible commit yields UNKNOWN_COMMIT with the original mutation ID.
Bounds: 8 roots/operations/targets, 4 generations each, 8 causes/roles, 256 pins intersecting 64 KiB catalogue, 2 parents, depth 4, fanout 4; explicit UTC years 2000–2099 and positive lifetimes ≤31 days. Frames reserve 22 KiB base +2 KiB controls; non-frame overhead ≤128 KiB; state ≤1 MiB; mutation/event ≤64 KiB. The finite grammar needs at most 49 of 64 lifetime transitions. Exhaustion retains originals and reserved closure ability; no purge/reset/renewal.
Reads capture one aggregate version, inspect at most four pages of 16 and replay the exact original prefix. Later concurrent commits do not change that prefix. Reconciliation compares derived state and refuses corruption without repair. parseState checks internal consistency; replay checks original admissions/transitions. Mutate replay additionally checks the Journal receipt. Read cannot authenticate a wholly substituted trusted store. Read access is caller-owned.
Checks: source semantics, strict processes, the installed consumer and exact graph cover immutable history, physical lock participation, concurrent writers, killed transactions, passive replay and declaration boundaries. Disposable hosts establish local scope; live dispatch and E36 acceptance remain separate. Build review owns results.
Notification mode component
The additive NotificationOwnership facade shares this public entry and original aggregate, with a once-selected /2 history grammar. Sources: notification contract, value core, adapter, and pure body encoder. Its neutral contract reuses v1 types; the grammar reuses the original identities/frame validators and EV1 parser. Only the adapter adds Journal; the value core uses the shared helper to recognise genuine native Promises for bounded rejection observation.
One original binding, one occurrence/generation, three lifetime ordinals, 16 reserved/13 reachable transitions. No supersession, reset, namespace refund, sender or second ledger. run admits one synchronous current decision or exact zero-callback refusal; its return is honestly R | NotificationRefusal. verifyHeld requires the already-held qualified physical frame and never re-enters. Markers with uncertain acknowledgement grant no contact. Unknown and terminal-unknown exclude retry; no receipt changes domainEffect from unobserved. Original grants/expiry/actual-start backoff remain pinned. See the installed contract and bounds.
Notification checks cover source semantics, strict processes, the installed consumer and both physical host/private-store arrangements. Build review owns results; sender and live-host qualification remain separate.
The storage-refusal source correction routes original replay execute failures and the secondary captured-empty read through the existing refusal classifier. Receipt/history validation still reports corruption; possible new commits remain unknown. Current source/package evidence belongs to build review; earlier acceptance pins remain historical.
Shared value implementation: common contracts. Owning errors, limits, stored identities and authority remain as specified above.
