Skip to content

Narrows the signup back edge to outcome slots - #263

Merged
johnnyt merged 2 commits into
mainfrom
se-lly-back-edge-and-spike-notes
Nov 20, 2026
Merged

johnnyt merged 2 commits into
mainfrom
se-lly-back-edge-and-spike-notes

Conversation

@johnnyt

@johnnyt johnnyt commented Nov 20, 2026

Copy link
Copy Markdown
Member

Summary

  • The signup Path's back-edge check now counts a block as a back edge only when it sits in a composite's derived outcome slot. Before, any slot whose name starts with on_ counted, including fixed core slots such as core.invoke's on_error. A new test pins both a core slot and an on_ slot no outcome derives; the moduledoc and the helper comment say so.
  • Three later passages in the signup skeleton spike that still say Back moves the Path forward each get a dated cross-reference line to the dated paragraph under the Back finding. No existing line is edited.

Test plan

  • Full mix quality green on SQLite (format, compile with warnings as errors, credo, dialyzer, tests).
  • Sabotage check: restoring the old on_ prefix test turns the new test red on an assertion; the file was restored byte-equal.

Provenance

  • The spike file on main is docs/spikes/signup-skeleton-spike.md; the bead text names it differently.
  • Choice: narrow the rule rather than document the breadth as intended.
  • Review tier: gate; own in-turn review, no advisories rejected beyond a negligible per-call palette build.

Refs: se-lly, se-g5p

back_edge?/2 treated a block in any on_-prefixed slot as a back
edge, core slots such as core.invoke's on_error included. It now
counts only a composite's derived outcome slots, with a test for a
core slot and for a slot no outcome derives.

Refs: se-lly
Three later passages in the signup skeleton spike still say Back
moves the Path forward. Each gets a dated cross-reference to the
paragraph that says what landed; the history stays unedited.

Refs: se-g5p
@johnnyt
johnnyt merged commit dd43466 into main Nov 20, 2026
4 checks passed
@johnnyt
johnnyt deleted the se-lly-back-edge-and-spike-notes branch November 20, 2026 17:56
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