Skip to content

Cases for proposal 0008 (Steps) - #13

Merged
marlon-sousa merged 1 commit into
mainfrom
cases/0008-steps
Oct 2, 2026
Merged

marlon-sousa merged 1 commit into
mainfrom
cases/0008-steps

Conversation

@marlon-sousa

Copy link
Copy Markdown
Contributor

Closes #8

Refs itinera-dev/spec#8. Written from the agreed design in spec#8, which is status: ready. Under PROCESS.md step 6, this pull request is merged before the proposal pull request.

Scenarios (18)

  • building.feature (2): a fresh instance per attempt; a step that cannot be built aborts the journey without retrying.
  • outcomes.feature (5): an escaping error is an abnormal termination, retried; a failure that is not retriable fails on its first attempt; a retriable failure is retried within the budget; the failure hook receives the reason (code, message, details); exhausted retries reach the failure hook with "retries exhausted".
  • skipped.feature (4): a skipped step is out of the flow (no hook called, next step runs, event with its code); its contributions are discarded; a later required input aborts; a later optional input is absent.
  • contributions.feature (5): only a successful attempt's contributions are committed; a failed step's contributions reach its hooks but not the bag; an abnormal termination carries none; the last value wins within an attempt; overwriting the bag is allowed and recorded.
  • identity.feature (2): duplicate names refused at admission; names are case-sensitive.

Catalogue

New sentences in STEPS.md for scripting attempts, build failures, the retry budget, the reasons and causes hooks request, step statuses in the result and the result's data bag; provisional event names; the violation duplicate step name. FORMAT.md adds a code column to event tables.

The retry budget sentence and the event names are provisional until spec#9 and spec#11 are accepted.

🤖 Generated with Claude Code

Building, outcomes, skipped steps, contributions and identity, with the
catalogue sentences they need and an event code column.

Closes #8

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@marlon-sousa
marlon-sousa merged commit 887eba0 into main Oct 2, 2026
2 checks passed
@marlon-sousa
marlon-sousa deleted the cases/0008-steps branch October 2, 2026 18:45
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.

Cases for spec#8 (Steps)

1 participant