Expand description
A person’s decision that a story’s acceptance tests are written at a Setup or Foundational task: the fix for a plan that implements a story’s behaviour before the story. Recorded in the state directory — never an edit of the spec (constitution I) — and changing no order or dependency (IV): only which task’s acceptance author receives the story’s scenarios.
Structs§
- Decision
- One decision.
- Ruling
- A person’s ruling that a task’s tests are wrong: one scenario’s oracle tests (an oracle amendment, nothing else of the oracle), or the task’s own test outside a story. The next run writes them again.
Functions§
- accept_
untestable speccoder story accept <scenario> --reason R: a person accepts a scenario its test author called untestable.- acted_
on - Forgets the rulings an amendment acted on.
- acted_
on_ task - Forgets the rulings on
task’s own test: written again, or ticked. - all
read_all, an unreadable file read as no decision.- decide
- Records (or, with
revoke, removes) the decision forstoryof the project atroot;stateis the state directory. - read_
all - Every recorded decision of the project whose state is
plane; an absent file is none, an unreadable one an error (never silently none). - rule_
tests_ wrong - Records a person’s ruling that a task’s tests are wrong: for a story
task one
scenario’s oracle tests, for a task outside a story its own test. The next run writes them again, the reason told to their author. Refused, with the choices there are, for a scenario the task’s story does not have, a story task without one, a scenario on a task outside a story, or a task without tests of its own. - rulings
- Every ruling not yet acted on; an absent file is none, an unreadable one an error (never silently none).
- rulings_
for - The rulings on
story’s scenarios offeature. An unreadable list is an error, never “none”. - rulings_
for_ task - The rulings on
task’s own test (outside a story), oldest first. An unreadable list is an error, never “none”. - story_
at - The story
taskoffeaturewrites the acceptance tests of, if any.