Skip to content

Give each chapter 8 rule an ID and trace it to a self-test check #72

Closed

Description

@braboj

Today's three review findings on #69 and #71 were rules with no check behind them. Each rule in chapter 8 gets an ID, and names the self-test checks that prove it.

The trace runs from the docs to the code, so the code still states each rule itself and cites no doc:

ch. 8 rule  FR-08-03  "a registration counts from when it lands on main"
            proved by: report.py "one merged after the first trial is read at the merge"
     |
trace check  every FR-08-xx names a check that exists, or the trace fails

No separate requirements document: arc42 already holds the rules (ch. 8) and the quality scenarios (ch. 10).
No BDD framework: the scripts are standard library only, and the self-test labels already read as behaviours.

  • Each rule in ch. 8 carries an ID, FR-08-<n>, in the order it appears
  • Each rule names the self-test checks that prove it, by module and label
  • Ch. 10's quality scenarios keep their Q IDs and name the rules they rest on
  • A trace check, run in CI, fails on a rule with no check or a label no self-test prints
  • Rules with no check today get one, or are listed as untestable with the reason

Activity

  1. added
    task
    P2
    on Oct 28, 2026
  2. added a commit that references this issue on Nov 1, 2026
    f57ade7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions