Skip to content

Accepts the inherited metadata Amendment - #309

Merged
johnnyt merged 1 commit into
mainfrom
sp-va03-accept-inherited-metadata
Nov 23, 2026
Merged

johnnyt merged 1 commit into
mainfrom
sp-va03-accept-inherited-metadata

Conversation

@johnnyt

@johnnyt johnnyt commented Nov 23, 2026

Copy link
Copy Markdown
Member

What

Flips the ADR-0008 Amendment of 2026-11-23 ("a durable child carries the host metadata keys the host names as inherited") 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-23 Amendment.
  • Version: statifier_persistence 0.28.0, published on Hex 2026-11-23 by the release workflow; the code landed in PR 306 (the copy at a child's create) and PR 307 (the reader), and the release prep in PR 308.
  • Verified at: 3b12ffd (tag v0.28.0), which is also main.
  • Claims checked: the opening's account of the pre-change code (cited at b0defbb): create_linked/5 as the one create every durable child goes through; point 1, inherited_metadata_keys: on Driver.new/3 with its [] default and its validation (inherited_metadata_keys!/1), the docstring naming it beside dispatch: as not overridden per call, the per-call refusal on Driver.create/3, Driver.send_event/4, Driver.done_invocation/5 and Driver.failed_invocation/5 before any read or write (refuse_per_call_inheritance!/1), a grandchild driven by the same list, and the reserved-key posture of Executions.create/4; point 2, the copy (Map.take/2 of the named keys, no metadata: when nothing is copied), read from the create's own metadata:, from the stored parent on a step (Storage.fetch_execution/2), or from the record start_context/3 read for a fan-out, a failed read refusing the child, no read with [], and the cited persist_tail/8 order and write-once documentation; point 3, ADR-0006's rule restated in the docstring; point 4, supports_metadata?/1 on both adapters and check_metadata_supported/2; point 5, the adoption functions write nothing, and no migration, adapter callback or schema change; point 6, Executions.inherited_metadata/3 as stated, and Execution unchanged; and "What a host sees" (the listing's unordered containment match, the cascade functions' linkage matches, retained on the cascade event, the extra :fetch_execution reported through the adapter call event, no telemetry module change).

Two sentences describe the code as it stood when the Amendment was written, and the Note records both without rewording them: the status paragraph's "the option and the function this amendment decides do not exist yet and are cited by name alone" was true at b0defbb and both exist at the tag; and the execution_opts/3 cite is execution_opts/4 at the tag, its added argument being where a child's create reads the parent's map. Neither is a claim that no longer holds: the status paragraph scopes its cites to b0defbb.

Direction check (in-turn)

Every claim was verified by anchor at v0.28.0. The two commits after PR 307 (fd9f867, the upgrading page, and 3b12ffd, the release prep) touch no file under lib/ or test/. Every SHA the Note cites is an ancestor of origin/main. 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 which host metadata keys a child copies, 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.

Refs: sp-va03

The ADR-0008 Amendment that lets a durable subchart child carry the
host metadata keys a host names on the driver, and adds a reader for
them, merged at proposed; the code it decides shipped in
statifier_persistence 0.28.0 (tag v0.28.0, 3b12ffd). 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,
including that its sentence about the option and the function not yet
existing no longer holds. 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.

Refs: sp-va03
@johnnyt
johnnyt merged commit a2304eb into main Nov 23, 2026
1 check passed
@johnnyt
johnnyt deleted the sp-va03-accept-inherited-metadata branch November 23, 2026 23:12
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