The closing block MUST be data (closingOf) in this order: the problems (the first failure is the verdict, so it is not listed twice; then the other failures, then the warnings), what is the person's to do, what is pending, the hints that are due, the steps the command spelled out; then the verdict; then ONE next command. A failure MUST be shown once, with its code. The verdict where nothing failed MUST say the title, then the counts of warnings, of what is for the person, of what is pending and of the optional features, in that order; the next command MUST be the failure's own, else the first step for the person, else the one the command suggested, and a failure whose fix holds no command MUST have none. Taken from: stolos 105-calm-output FR-004 (honest marks), FR-005 (one run, one summary), FR-006 (the order of the closing block), FR-007 (a failure is printed once).
Enforced (check): .github: cd commons/headless && bun run verify — suite/logical-closing.test.ts: the closing block is in the order problems, your move, pending, hints, steps; the first failure is the verdict and is not listed twice; suite/logical-closing.test.ts: where nothing failed the verdict states counts and never 'all well'; the next command is the first step for the person, else the suggested one; suite/logical-closing.test.ts: pending is never a failure and shows its next step (the case of stolos 052); suite/logical-closing.test.ts: for any problems: the verdict and the counts agree, a failure is listed once, and there is at most one next command
Proved by: headless/suite/logical-closing.test.ts
Written in: headless/src/logical/closing.ts
Tests: passed: suite/logical-closing.test.ts for any problems: the verdict and the counts agree, a failure is listed once, and there is; passed: suite/logical-closing.test.ts pending is never a failure and shows its next step (the case of stolos 052); passed: suite/logical-closing.test.ts the closing block is in the order problems, your move, pending, hints, steps; the first fa; passed: suite/logical-closing.test.ts where nothing failed the verdict states counts and never 'all well'; the next command is t
Cited by: Headless, logical/closing