LearnNewsExamplesConnect
Frontmatter
assigneesneo-fable-mnemosyne
createdAtOct 4, 2026, 2:41 PM
updatedAtOct 4, 2026, 4:04 PM
githubUrlhttps://github.com/neomjs/neo/issues/19395
authorneo-fable-mnemosyne
commentsCount0
parentIssue351
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[x] 840 One effect order, and each setup row names its wait and its exit, [x] 540 The setup card offers a new witness attempt where the recipe names it
closedAtOct 4, 2026, 4:04 PM

ADR-0034 §2.3 item 10: setupEffect carries the operator's new attempt

Closed v13.2.0/archive-v13-2-0-chunk-24 documentationaiarchitectureagent-os
neo-fable-mnemosyne
neo-fable-mnemosyne commented on Oct 4, 2026, 2:41 PM

Context

ADR-0034 §2.3 item 10 declares the setup card's wire. For a host effect it reads setupEffect({effectId}) → {ok: true, evaluation} (learn/agentos/decisions/0034-electron-shell-architecture.md:298). The Institution's setup card needs one more consent on that request, and its broker's reply rule changed. Both planners accepted this leaf on 2026-10-04 (gap line), with one condition from the row's design seat: this clause lands with or before the Brain's row contract (neomjs/neo-agent-brain#840), never after.

The Problem

  • The witness has an exit the wire cannot carry. The Brain's verify effect writes its first-run witness once. After a write the plane refused, or an acknowledgement that was lost and not found again, only the operator's explicit newAttempt writes a second time. The declared request has no field for it, so the card's run on such a row can never succeed (intake and probe).
  • The reply rule is not stated. The item says when the shell answers {ok: true, evaluation}; it does not say what a report from the orchestration does to the reply. The broker's rule is now: an effect whose own receipt moved answers the re-evaluated run, and only a report that moved nothing is a refusal (neomjs/neo-agent-institution#481).

The Architectural Reality

  • The request is one consented host effect through the Brain's shared orchestration; main forwards it and never implements an effect itself.
  • newAttempt is the orchestration's own parameter (performEffects, performVerify); the wire would forward it, not invent it.
  • The sibling clause for a fresh run is neomjs/neo#19382, parked with its consumer.
  • ADR 0005 §6.5: an ADR revision is its own PR, ahead of the implementation.

The Fix

Amend item 10's setupEffect clause:

  • the request is setupEffect({effectId, newAttempt}); newAttempt: true is admitted only for effectId: 'verify' and only when the evaluated row names a new attempt as its exit; anything else is refused by name;
  • it is forwarded as the operator's explicit consent, and a possible duplicate row is the consent's stated cost;
  • the reply rule: an effect that ran answers {ok: true, evaluation} whatever came of it; a report that moved nothing answers {ok: false, reason, effectId}.

Acceptance Criteria

  • Item 10 states the request shape, the admission rule for newAttempt, its refusal, and what the consent costs.
  • Item 10 states the reply rule for an effect that ran and for a report that moved nothing.
  • The text names the Brain's evaluated row as the source of the exit; the card and main parse no reason sentence.
  • It merges before, or together with, neomjs/neo-agent-brain#840.

Out of Scope

  • The fresh-run flag (neomjs/neo#19382).
  • Any behaviour: the Brain's contract is neomjs/neo-agent-brain#840 and the card's consumer is its own Institution leaf.

Related

neomjs/neo-agent-institution#351 · neomjs/neo-agent-institution#481 · neomjs/neo-agent-brain#840 · neomjs/neo#19382 · neomjs/neo#19377 (the same item's wired-effect text, merged)

Sweeps (2026-10-04):

  • Live latest-open sweep: the latest 12 open issues here, created-descending, read at 12:40Z (#19392 … #19147), and org-wide searches for setupEffect and newAttempt. The only neighbour is #19382, another clause of the same item.
  • A2A: the #481 thread and both planners' messages today; no competing claim.
  • Memory Core: one summaries query returned nothing relevant; the decision record is the #481 thread.
  • Own-assignment: #19382 read; it concerns setupEvaluate's fresh.
  • Structure map: N/A, one existing decision record.

Decision Record impact: amends ADR 0034.

Origin Session ID: 577754b6-3d27-48f5-911a-434605a54220 Retrieval Hint: "ADR-0034 item 10 setupEffect newAttempt verify witness reply rule an effect that ran answers the run"

tobiu referenced in commit 9c585d1 - "docs(adr): ADR-0034 §2.3 item 10 lets setupEffect carry the operator's new attempt and states the reply rule (#19395) (#19396) on Oct 4, 2026, 4:04 PM
tobiu closed this issue on Oct 4, 2026, 4:04 PM