Skip to content

Records the back event as outside accepts on ADR-0014 - #783

Merged
johnnyt merged 1 commit into
mainfrom
sb-ydms-back-outside-accepts
Nov 20, 2026
Merged

johnnyt merged 1 commit into
mainfrom
sb-ydms-back-outside-accepts

Conversation

@johnnyt

@johnnyt johnnyt commented Nov 20, 2026

Copy link
Copy Markdown
Member

What this records

An Amendment at proposed on ADR-0014 (docs/adr/0014-document-accepts-declaration.md), clause 4a on decision 4: the reserved back event statifier_blocks.back, spelled by ADR-0004's Amendment of 2026-11-20 (L3), stands outside the accepts declaration.

  • A host may deliver it, as an external event, to an execution of any document, whatever its accepts list names.
  • Decision 4's reading of a reachable undeclared descriptor as internal does not apply to it.
  • With an empty trail it takes no transition (ADR-0004's Amendment, L5).
  • The publish check never requires it, and never refuses it for being undeclared. A document that declares it while its chart has no transition on it is refused by decision 4's first bullet, like any declared name the chart cannot take; the record states that as the engine answers today and does not change it.

The rule was ruled by the operator, 2026-11-20: "the reserved back event is outside accepts; any host may deliver it, and with no trail it takes no transition."

Docs only, no code and no changelog fragment (changelog.d/README.md excludes ADRs). The repo's CLAUDE.md: "a change touching no Elixir code has no gate to run and may commit on review of the diff alone"; CI runs the gate.

Direction check

Every claim was read against main at b71247e. The new clause is appended after the 2026-09-22 flip Note at the foot of the file, and git diff origin/main -- docs/adr/ shows zero removed lines. ADR-0004's Amendment of 2026-11-20 is cited by heading for L3, L4 and L5, and its quoted "What this Amendment does not decide" line was checked verbatim. ADR-0002 decision 10's bullet "The statifier_blocks. event-name prefix is reserved" is cited by heading. The code cites carry anchors read at b71247e: @back and defp scope_back/2 / defp step_back/3 in lib/statifier_blocks/compiler/trail.ex, and defp statifier_dep/0 in mix.exs. The engine's behaviour (Statifier.Chart.events/1 and check_accepts/2, which report and refuse nothing and treat no prefix specially, first in 2.7.0) was read on statifier-ex main at 76742af. The mix.lock here resolves statifier 2.5.0, which carries neither function. The per-case table therefore rests on reading the code, not on a run. statifier_router's defp judge/3 in lib/statifier_router/contracts.ex was read at 150d62b. The record says this Amendment does not change what that function answers, and claims nothing changed there. Every SHA cited is an ancestor of its repo's origin/main.

Provenance

  • I left the ruling's last sentence out of the quote and wrote its substance instead ("before the reader that answers whether Back is offered is built"). That sentence names a planning step label, not a public word.
  • The clause label 4a follows the decision-number-plus-letter scheme the family's records use for clauses that extend a numbered decision.

Appends an Amendment at proposed to ADR-0014, clause 4a on decision 4:
the reserved back event, statifier_blocks.back, stands outside the
accepts declaration. A host may deliver it to an execution of any
document whatever its accepts list names; decision 4's reading of a
reachable undeclared descriptor as internal does not apply to it; with
an empty trail it takes no transition; and the publish check never
requires it or refuses it for being undeclared. A declared back event
the chart cannot take stays a publish error under decision 4, as the
engine answers today. Ruled by the operator, 2026-11-20.

Docs only; no text above the Amendment changes.

Refs: sb-ydms
@johnnyt
johnnyt merged commit 405543f into main Nov 20, 2026
2 checks passed
@johnnyt
johnnyt deleted the sb-ydms-back-outside-accepts branch November 20, 2026 16:49
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