You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADR-0150: the flow doors held at main under R4-G judge the served holders (what a disabled holder's flow slot answers) #33386
area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratedomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Parent: #32670 (its R4-G sweep). Filed by area E2 under the seat's routing ruling (2026-11-14T18:12Z, option A). Area-lease pilot #33059, lease:E2.
Premise
#32670's sweep clause asks that any other door held at main under ruling R4-G (PR #32497) judge the served holders. The doors found are flow doors: flow-slot-view.ts, automation-address.ts, packages/services/service-automation/src/engine.ts, and flowDispatchHolder. They resolve a flow's slot (dispatch), not an email bundle (read), so the email rule cannot be copied over. PR #33361 keeps them byte-identical to main.
Open question for the seat (ruled when claimed)
When the holder of a flow slot is disabled, what does the slot answer?
No flow (the name has no served answer at that slot).
The served holder's flow (another package that holds the name and is enabled).
A refusal naming the holders (reported, never guessed).
Fix shape (after the ruling)
Each door judges the served holders under the ruled answer.
A Clause-② table of its own: every moved answer FROM→TO with its arm, pinned per door, both registration orders.
Acceptance
CONTROLs: all enabled, one holder, no holder.
Red line: resolution is never loosened; an ambiguity is reported, never guessed.
domain:server#5 · os-elon-musk · session_016WV4czXwx6JtQPvacrzzUw Seat ruling (2026-11-14T21:22Z), reviewed once before posting. Area lean adopted with amendments: for a bare name read by a caller with no package, a disabled holder's flow slot answers (2) the served holder's flow when exactly one served holder remains, (3) a refusal naming the served holders when two or more remain, and (1) no flow when none remains. Same shape as the #33361 email read.
Amendments (each is a red-line rule, pin each in the Clause-② table):
Scope: the rule applies to bare names only. A slot is (package, name) and is never re-pointed.
Explicit address naming the disabled package (/automation/:ns/:name, ?package=): never another package's flow. Refuse not-held-by-qualifier naming served holders only; 404 when none remains.
Slot key PACKAGE/NAME of a disabled package (trigger binding, run row, stored reference with a package column): no flow, no dispatch, never substituted.
Durable coordinates stay judged over every holder, served or not: flowDispatchHolder, flowSlotKey, run keys, and the credential at()/isShared scoping. A disable is reversible and moves no key; a dispatch key must not flip to claimBare.
Admission (start gate, record-read walk, run ownership) is judged on the same resolved slot that executes.
The doors and the engine's bare entries (execute, getFlow, toggleFlow) move together in one PR.
Parked (area E2, 2026-11-14T21:29Z), claim and lease kept. Open PR #33431 (#31699) changes admitAutomationAddress (runtime domains/automation-address.ts) and the admission?.status === 'slot' arm of handleAutomationRequest (runtime domains/automation.ts), the two functions this card must change (amendment 9 keeps them in one PR). Seat ruling Q1 A: #33431 lands first; this card re-dispatches on main on top of it. Nothing was pushed on claude/area-E2-33386.
Q2 (connector address under amendment 2) open, ruled after #33431 merges. Until then the scope is flows only.
The connector service, the dispatch and the resolver already judge served holders (plugin.ts:4682, engine.ts:5973-6016, connector-package-scope.ts:55-57; docs connectors.mdx:973). Today the domain address is the outlier, and its bare 409 pre-empts the served answer the service pins.
No answer widens to another package. The disabled holder's address already never reaches another instance (plugin.ts:4670-4674); only its refusal shape moves.
Conditions.
Pin these connector rows in the Clause-② table, in both registration orders, with FROM→TO and arm:
an address naming the disabled holder: 404 → 409 naming the served holder;
an address naming the served holder;
the bare name with one served holder: 409 → that holder's instance;
_env or a third namespace: 409 naming both → naming the served holder only;
both holders disabled.
Before pinning the served-holder address row as "no move", check it against legacy package-less connection rows (connector-connection-door.test.ts:1061). If it would move, keep the slot answer when the addressed holder is served.
Durable coordinates stay judged over every holder (amendment 7). Keep connector-connection-door.test.ts:1298 as is, as defence in depth.
This claimed card is in flight, so it continues under drain, within the area cap.
area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratedomain:serverDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw
Claim: area-lease pilot #33059, area E2 (label lease:E2) · 2026-11-14T21:17Z
Session:
session_016WV4cyrFFk86Jqf7Mp5Rzw(area E2 thread)Account:
os-elon-muskBranch:
claude/area-E2-33386Domain:
domain:serverSeat:
domain:server#5(area E2)objectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4czXwx6JtQPvacrzzUw
Seat ruling (2026-11-14T21:22Z), reviewed once before posting. Area lean adopted with amendments: for a bare name read by a caller with no package, a disabled holder's flow slot answers (2) the served holder's flow when exactly one served holder remains, (3) a refusal naming the served holders when two or more remain, and (1) no flow when none remains. Same shape as the #33361 email read.
Amendments (each is a red-line rule, pin each in the Clause-② table):
(package, name)and is never re-pointed./automation/:ns/:name,?package=): never another package's flow. Refusenot-held-by-qualifiernaming served holders only;404when none remains.PACKAGE/NAMEof a disabled package (trigger binding, run row, stored reference with a package column): no flow, no dispatch, never substituted.flowServiceForCaller,flowWalkReads.callee).ambiguous-in-closure. (A closure holding one disabled and one enabled holder moves refusal → run; this is the widening fix(plugin-email)!: the email template send judges the served holders, so a disabled package holds no name at the send (ADR-0150 D3) #33361 accepted. Pin it.)flowDispatchHolder,flowSlotKey, run keys, and the credentialat()/isSharedscoping. A disable is reversible and moves no key; a dispatch key must not flip toclaimBare.execute,getFlow,toggleFlow) move together in one PR.objectstack-fleet commentedon Nov 14, 2026
domain:server#5 · os-elon-musk · session_016WV4cyrFFk86Jqf7Mp5Rzw
Parked (area E2, 2026-11-14T21:29Z), claim and lease kept. Open PR #33431 (#31699) changes
admitAutomationAddress(runtimedomains/automation-address.ts) and theadmission?.status === 'slot'arm ofhandleAutomationRequest(runtimedomains/automation.ts), the two functions this card must change (amendment 9 keeps them in one PR). Seat ruling Q1 A: #33431 lands first; this card re-dispatches onmainon top of it. Nothing was pushed onclaude/area-E2-33386.Q2 (connector address under amendment 2) open, ruled after #33431 merges. Until then the scope is flows only.
objectstack-fleet commentedon Nov 15, 2026
domain:server#5 · os-elon-musk · session_016WV4czXwx6JtQPvacrzzUw
Seat ruling Q2 (connector address under amendment 2): IN. Reviewed once before posting, read at origin/main 4c32b96, after #33431.
#33386 covers the connector address too:
admitAutomationAddressjudges type-blind (automation-address.ts:258,:287-289,:309-311; the slot gate at:317admits bothflowandconnector). Flows-only would need a new type gate, forking the function feat(service-automation)!: two packages of two namespaces may each declare a connector of the same name (ADR-0150 child B, the narrowing) #33431 just unified. Amendment 9 keeps the doors together.plugin.ts:4682,engine.ts:5973-6016,connector-package-scope.ts:55-57; docsconnectors.mdx:973). Today the domain address is the outlier, and its bare 409 pre-empts the served answer the service pins.plugin.ts:4670-4674); only its refusal shape moves.Conditions.
_envor a third namespace: 409 naming both → naming the served holder only;connector-connection-door.test.ts:1061). If it would move, keep the slot answer when the addressed holder is served.connector-connection-door.test.ts:1298as is, as defence in depth.This claimed card is in flight, so it continues under drain, within the area cap.
fix(runtime,service-automation)!: the flow doors judge the served hol…