Skip to content

Accepts the loop child Amendment 0.27.0 shipped - #304

Merged
johnnyt merged 2 commits into
mainfrom
accept-0-27-0-amendment
Nov 23, 2026
Merged

johnnyt merged 2 commits into
mainfrom
accept-0-27-0-amendment

Conversation

@johnnyt

@johnnyt johnnyt commented Nov 23, 2026

Copy link
Copy Markdown
Member

What

Flips the ADR-0008 Amendment of 2026-11-22 ("every pass of a loop over a durable subchart gets a child of its own, and a re-drive of a pass still adopts that pass's child") from proposed to accepted, in place, and adds a dated foot Note recording the flip. Nothing else in the repo flips.

The record

  • Record: docs/adr/0008-durable-subchart-child-runs.md, the 2026-11-22 Amendment.
  • Version: statifier_persistence 0.27.0, published on Hex 2026-11-22 by the release workflow; the code landed in PR 302 and the release prep in PR 303.
  • Verified at: 5791dd6 (tag v0.27.0), which is also main.
  • Claims checked: the opening's account of the pre-change code (cited at 46746e4) and the statifier 2.15.0 cites (generate_invoke_id/3, the invoke effect's macrostep and round, begin_macrostep/1, the exported position fields); point 1, the token from Linkage.invocation/1 taken from the emitted effect; point 2, Linkage.child_execution_id/3 unchanged, /4 appending @ and the token, the same linkage values on every pass, and the reference embedder's derivation; point 3, both tables (create_child/6, existing/2, first_child/2, later_pass/5, adopt_later/2, recorded_answer/1), the newest-child answer rule (current_pass?/3, asked only once the invoke id reads live, true on a failed listing, invocation-named and fan-out answers on the invoke id alone), the read-before-create order; point 3's known limit, which the operator ruled on 2026-11-22, read against current_pass?/3 (it ranks a stray by its token whatever its status) and the two in-memory tests that pin it; point 4, started_before?/3 and Executions.cascade_cancel_where/4 (@doc false), with cascade_cancel/3 unchanged; points 5 and 6, no migration, no adapter change, start_child_at/6 unchanged; the telemetry paragraph; and every test file the Amendment names.

The opening cites late_answer/3 as read at 46746e4; at the tag the function is late_answer/4, its added argument being the newest-child condition this Amendment introduces. The Note records this; it is the pre-change cite the Amendment's status paragraph scopes, not a claim that no longer holds. The changelog fragment the Amendment mentions was promoted into the 0.27.0 section of CHANGELOG.md by the release prep, under Added, Changed and Fixed.

Direction check (in-turn)

Every claim was verified by anchor at v0.27.0. No commit touching lib/ or test/ landed after PR 302. git diff origin/main -- docs/adr/ removes one line, the status line whose word flips; the Amendment's own sentence that it "is proposed until the code that implements it ships" stays as written and is met in the foot Note. The cryptographic carve-out does not apply: this record decides child execution naming and answer routing, not a ciphertext shape, key, algorithm or parameter.

Gate

The branch touches only docs/adr/, outside gate.build_paths (lib/, test/, config/, mix.exs, mix.lock), so it touches no Elixir code and has no gate to run (CLAUDE.md and .claude/wurk/mr.md). CI still runs. No changelog fragment: ADRs are on the changelog.d/README.md "do not" side.

The ADR-0008 Amendment that gives every pass of a loop over a durable
subchart a child of its own, routes a single child's answer to the
newest pass's child and names the limit on a store where a child's
create and its parent's step commit apart, merged at proposed; the
code it decides shipped in statifier_persistence 0.27.0 (tag v0.27.0,
5791dd6). Each claim was re-read at the tag, which is also main, and
each held. The Amendment's status word flips in place from proposed to
accepted, and a dated foot Note records the flip, the version, the SHA
and what was re-read. No other line is removed.

Review: the diff touches only docs/adr/, outside gate.build_paths (lib/
test/ config/ mix.exs mix.lock), so it touches no Elixir code and has no
gate to run; committed on review of the diff. No changelog fragment:
ADRs are on the changelog.d/README.md "do not" side.
Narrows one sentence of the flip Note: on a store that cannot list
children the listing refuses before any :list_executions_by_metadata
adapter call, while its capability check may itself report a
:supports_metadata? or :supports_linkage? call first.

Review: docs/adr/ only, outside gate.build_paths; no gate to run.
@johnnyt
johnnyt merged commit b0defbb into main Nov 23, 2026
1 check passed
@johnnyt
johnnyt deleted the accept-0-27-0-amendment branch November 23, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant