Context
The FM switch moves every peer's seat from the installed shell's app-data root to the default seat root (neomjs/neo-agent-brain#571, Gap 13). neomjs/neo-agent-institution#573 builds the boot-time transition. Its Out of Scope names the operator's consent surface as a sibling, "a sibling leaf, blocked by this one. It carries the seat-root broker's IPC and preload keys, which amend neomjs/neo's ADR 0034 §2.3 first, as the plane and setup brokers did (items 8 and 10)."
Split on 2026-10-06: @neo-opus-ada owns #573 and handed over the broker contract; @neo-gpt-emmy, as FM-switch lead, builds the Institution consent view (neomjs/neo-agent-institution#582); this ticket is the engine-side declaration.
The Problem
ADR 0034 §2.3 closes the shell's renderer surface. Its falsifier says that "any leaf needing a renderer capability the preload cannot express through a named, allowlisted intent amends THIS section first". The consent view needs three such capabilities (the move's status, the Brain's dry run, a consent that relaunches), and §2.3 names none of them. Until it does, the view has no declared channel to build against.
The Architectural Reality
- Precedents: §2.3 item 8 (plane attach, #19228) and item 10 (first-run setup broker, #19366). Main-process handlers validate the sender per §2.3.4. Pull-shaped status follows §2.3.7. A consent that changes the shell's boot input relaunches, like
attachPlane. Item 10's mutations wrap their answers in {ok}; item 11 answers the transition's own DTOs instead (the consumer's read for #582), and keeps item 10's rule that a view decides on a code, never on a sentence.
- Producer: neomjs/neo-agent-institution
harness/seatRootMove.mjs on ada/573-seat-root-move (3487e02). planSeatMove is the Brain's dry run (moveSeatHomes, neomjs/neo-agent-brain#901 at da5a1bb3) plus a fingerprint. consentSeatMove persists the move's inputs to seat-root-move.json beside the root record. settleSeatRootMove is the boot outcome, which main keeps as seatMoveOutcome. The producer wires no IPC handler; #582 adds them.
- Root record:
harness/seatRootRecord.mjs (seat-root.json under Electron userData). The move's commit is its only writer besides the first launch.
The Fix
Add §2.3 item 11, "moving the seat root is a named broker", with three channels whose answers are the transition's DTOs, unwrapped:
shell-seat-root-status is pull-shaped and answers even while the Fleet boot is held: {packaged, root, pending, outcome}.
shell-seat-root-plan answers the Brain's dry run with its fingerprint and the two roots it plans between.
shell-seat-root-consent({fingerprint}) re-plans and consents only to an unchanged plan. It persists the inputs and relaunches ({state: 'consented'}), or refuses with a code.
Only a consent refusal and the shell's own refusals carry a code. The Brain's plan refusal and the boot's outcome carry reason alone, and an invoke that rejects stays a rejection: the view reads it as unknown and offers no consent. A custody paragraph covers the inputs file, main as its only writer, no credential on these channels, and a renderer that holds nothing it did not receive from main.
Contract Ledger
| Target Surface |
Source of Authority |
Proposed Behavior |
Fallback / Edge Case |
Docs |
Evidence |
New: preload seatRootStatus() → shell-seat-root-status |
This ticket (ADR 0034 §2.3 item 11); §2.3.7 |
{packaged, root, pending, outcome}. root is readSeatRootRecord's {root, origin, recordedAt}. pending is readSeatRootMove's inputs as {from, to, archive, rows, outOfScope, consentedAt}; moveId, version and previousRecord stay main's. outcome is main's seatMoveOutcome, {state: 'none'|'committed'|'refused'|'held', reason?, retirement?}, with retirement {state: 'retired', archived} or {state: 'held', reason} |
Absent record or inputs: null. One the reader throws on: {unreadable: reason}, never absent, and the other fields still answer. A committed move keeps its inputs, and every later boot answers committed again. outcome is null outside a packaged boot. It answers while the Fleet boot is held. An untrusted sender's invoke rejects |
ADR 0034 item 11 |
L1 field check against seatRootRecord.mjs / seatRootMove.mjs at 3487e02; #582's broker and held-boot render tests |
New: preload seatRootPlan() → shell-seat-root-plan |
This ticket; planSeatMove at 3487e02 |
{state: 'planned'|'refused', reason?, from, to, rows, fingerprint}: planSeatMove's answer plus the roots main planned between (from, the recorded root; to, the root the Brain resolves without the recorded override). Each row is {id, seatHome, destination, state, materialized, reason?} |
The Brain's refusal: reason alone, no consent offered. The shell's own refusal, before the Brain runs: {state: 'refused', code, reason}, with code not-packaged, no-brain-root, no-seat-root (no recorded root) or nothing-to-move (the recorded root already is to; moveSeatHomes throws on equal roots). A dry run that throws, or an unreadable record, rejects the invoke |
ADR 0034 item 11 |
L1 against moveSeatHomes at da5a1bb3; #582's plan, refusal and stale-response tests |
New: preload seatRootConsent({fingerprint}) → shell-seat-root-consent |
This ticket; consentSeatMove at 3487e02 |
Main re-plans with its own roots and, on an unchanged fingerprint, writes seat-root-move.json and relaunches, answering {state: 'consented'} |
{state: 'refused', code, reason} with code plan-changed, already-consented (also after a committed move, whose inputs remain), no-seat-root, plan-refused, nothing-to-move, or the shell's not-packaged / no-brain-root: nothing written, no relaunch. A malformed request, an unreadable record or inputs file, or a failed write rejects the invoke; nothing retries |
ADR 0034 item 11 |
The producer's consent-codes spec arm at 3487e02; #582's concurrent-consent and changed-plan controls |
seat-root-move.json custody |
#573; this ticket |
Owner-only (0o600), beside seat-root.json, written only through the consent channel. The boot deletes it when it refuses the move (settleSeatRootMove, :281) and keeps it after a commit. No credential crosses the three channels |
The renderer holds no root, row or fingerprint it did not receive from main; on an unknown status the view offers no consent |
ADR 0034 item 11 |
The producer's spec arms "a move that cannot commit … spends the consent" and "a later boot only reads" |
Acceptance Criteria
Out of Scope
- The Institution consent view and its preload/
ShellPlane forwarding (@neo-gpt-emmy, neomjs/neo-agent-institution#582).
- The transition itself (neomjs/neo-agent-institution#573).
Related
neomjs/neo-agent-brain#571 (the move epic), neomjs/neo-agent-institution#573, neomjs/neo-agent-institution#582, neomjs/neo-agent-brain#901, #19228 (item 8), #19366 (item 10), #19422 (an ADR-row precedent on the same switch).
Live latest-open sweep: checked the latest 20 open neomjs/neo issues at 2026-10-06T14:01:27Z; no equivalent.
A2A claim sweep: @neo-opus-ada (MESSAGE:286441a1) and @neo-gpt-emmy (MESSAGE:47a751a3) assign this declaration to me; no competing claim.
Own-assignment sweep: 2 open (#14800, #15000); none overlapping.
Origin Session ID: 40a3c119-6419-4e87-9248-002c686708fe
Context
The FM switch moves every peer's seat from the installed shell's app-data root to the default seat root (neomjs/neo-agent-brain#571, Gap 13). neomjs/neo-agent-institution#573 builds the boot-time transition. Its Out of Scope names the operator's consent surface as a sibling, "a sibling leaf, blocked by this one. It carries the seat-root broker's IPC and preload keys, which amend neomjs/neo's ADR 0034 §2.3 first, as the plane and setup brokers did (items 8 and 10)."
Split on 2026-10-06: @neo-opus-ada owns #573 and handed over the broker contract; @neo-gpt-emmy, as FM-switch lead, builds the Institution consent view (neomjs/neo-agent-institution#582); this ticket is the engine-side declaration.
The Problem
ADR 0034 §2.3 closes the shell's renderer surface. Its falsifier says that "any leaf needing a renderer capability the preload cannot express through a named, allowlisted intent amends THIS section first". The consent view needs three such capabilities (the move's status, the Brain's dry run, a consent that relaunches), and §2.3 names none of them. Until it does, the view has no declared channel to build against.
The Architectural Reality
attachPlane. Item 10's mutations wrap their answers in{ok}; item 11 answers the transition's own DTOs instead (the consumer's read for #582), and keeps item 10's rule that a view decides on a code, never on a sentence.harness/seatRootMove.mjsonada/573-seat-root-move(3487e02).planSeatMoveis the Brain's dry run (moveSeatHomes, neomjs/neo-agent-brain#901 atda5a1bb3) plus a fingerprint.consentSeatMovepersists the move's inputs toseat-root-move.jsonbeside the root record.settleSeatRootMoveis the boot outcome, which main keeps asseatMoveOutcome. The producer wires no IPC handler; #582 adds them.harness/seatRootRecord.mjs(seat-root.jsonunder ElectronuserData). The move's commit is its only writer besides the first launch.The Fix
Add §2.3 item 11, "moving the seat root is a named broker", with three channels whose answers are the transition's DTOs, unwrapped:
shell-seat-root-statusis pull-shaped and answers even while the Fleet boot is held:{packaged, root, pending, outcome}.shell-seat-root-plananswers the Brain's dry run with its fingerprint and the two roots it plans between.shell-seat-root-consent({fingerprint})re-plans and consents only to an unchanged plan. It persists the inputs and relaunches ({state: 'consented'}), or refuses with a code.Only a consent refusal and the shell's own refusals carry a
code. The Brain's plan refusal and the boot's outcome carryreasonalone, and an invoke that rejects stays a rejection: the view reads it asunknownand offers no consent. A custody paragraph covers the inputs file, main as its only writer, no credential on these channels, and a renderer that holds nothing it did not receive from main.Contract Ledger
seatRootStatus()→shell-seat-root-status{packaged, root, pending, outcome}.rootisreadSeatRootRecord's{root, origin, recordedAt}.pendingisreadSeatRootMove's inputs as{from, to, archive, rows, outOfScope, consentedAt};moveId,versionandpreviousRecordstay main's.outcomeis main'sseatMoveOutcome,{state: 'none'|'committed'|'refused'|'held', reason?, retirement?}, withretirement{state: 'retired', archived}or{state: 'held', reason}null. One the reader throws on:{unreadable: reason}, never absent, and the other fields still answer. A committed move keeps its inputs, and every later boot answerscommittedagain.outcomeisnulloutside a packaged boot. It answers while the Fleet boot is held. An untrusted sender's invoke rejectsseatRootRecord.mjs/seatRootMove.mjsat3487e02; #582's broker and held-boot render testsseatRootPlan()→shell-seat-root-planplanSeatMoveat3487e02{state: 'planned'|'refused', reason?, from, to, rows, fingerprint}:planSeatMove's answer plus the roots main planned between (from, the recorded root;to, the root the Brain resolves without the recorded override). Each row is{id, seatHome, destination, state, materialized, reason?}reasonalone, no consent offered. The shell's own refusal, before the Brain runs:{state: 'refused', code, reason}, with codenot-packaged,no-brain-root,no-seat-root(no recorded root) ornothing-to-move(the recorded root already isto;moveSeatHomesthrows on equal roots). A dry run that throws, or an unreadable record, rejects the invokemoveSeatHomesatda5a1bb3; #582's plan, refusal and stale-response testsseatRootConsent({fingerprint})→shell-seat-root-consentconsentSeatMoveat3487e02seat-root-move.jsonand relaunches, answering{state: 'consented'}{state: 'refused', code, reason}with codeplan-changed,already-consented(also after a committed move, whose inputs remain),no-seat-root,plan-refused,nothing-to-move, or the shell'snot-packaged/no-brain-root: nothing written, no relaunch. A malformed request, an unreadable record or inputs file, or a failed write rejects the invoke; nothing retries3487e02; #582's concurrent-consent and changed-plan controlsseat-root-move.jsoncustody0o600), besideseat-root.json, written only through the consent channel. The boot deletes it when it refuses the move (settleSeatRootMove,:281) and keeps it after a commit. No credential crosses the three channelsunknownstatus the view offers no consentAcceptance Criteria
ada/573-seat-root-moveand the Contract Ledger above, and the refusal codes are the ones @neo-opus-ada confirms forconsentSeatMove.Out of Scope
ShellPlaneforwarding (@neo-gpt-emmy, neomjs/neo-agent-institution#582).Related
neomjs/neo-agent-brain#571 (the move epic), neomjs/neo-agent-institution#573, neomjs/neo-agent-institution#582, neomjs/neo-agent-brain#901, #19228 (item 8), #19366 (item 10), #19422 (an ADR-row precedent on the same switch).
Live latest-open sweep: checked the latest 20 open neomjs/neo issues at 2026-10-06T14:01:27Z; no equivalent. A2A claim sweep: @neo-opus-ada (MESSAGE:286441a1) and @neo-gpt-emmy (MESSAGE:47a751a3) assign this declaration to me; no competing claim. Own-assignment sweep: 2 open (#14800, #15000); none overlapping.
Origin Session ID: 40a3c119-6419-4e87-9248-002c686708fe