Skip to content

Regenerate docs/requirements.md against spec v7.0 #386

Closed

Description

@ehartford

Summary

Regenerate docs/requirements.md against Specification v7.1 while preserving the 2026-06-10 triage annotations and issue links by requirement ID.

Spec

docs/requirements.md:20-34 already records the v7.1 amendment pass and calls out the pending regeneration. New normative sections include §4.3c, §9.1c, §13.5d, §15.8, §16.3d, and §29.14. Amended sections include §18.5 and §18.6.

Current state

docs/requirements.md:3 says the document is derived from Specification v7.1, but docs/requirements.md:20-34 also states that v7.1 changes are only amended inline and that all line ranges remain v6.9-layout until this issue. The triage campaign summary at docs/requirements.md:5-18 is valuable and must be preserved.

The original issue title mentioned v7.0, but the current repo state has moved on to v7.1. Closing this issue now means regenerating against v7.1, not redoing the stale v7.0 target.

Implementation plan

  1. Identify the requirements-generation script or workflow that originally produced docs/requirements.md.
  2. Regenerate requirements from docs/with-specification.md v7.1.
  3. Preserve existing 2026-06-10 triage state by joining old entries to new entries by stable requirement ID where possible.
  4. For new v7.1 requirements without an existing ID, add unchecked or appropriately annotated entries without losing existing issue links.
  5. Refresh source line ranges so they point at the current spec layout.
  6. Keep the triage summary accurate: if counts change, update them based on the regenerated file rather than carrying stale totals forward.

Test plan

  • Run the requirements generator and inspect the diff for deleted issue links or dropped triage annotations.
  • Run scripts/check-requirements-informative.py docs/requirements.md or the build target wired through build.w:457-463.
  • Spot-check regenerated entries for the v7.1 new sections listed above.
  • Run the spec inventory gate from Add the spec inventory gate (keywords/attributes/CLI/modules vs spec tables) #410 if it exists by the time this lands.

Acceptance criteria

  • docs/requirements.md is regenerated from the current v7.1 spec.
  • Source line ranges match the current docs/with-specification.md.
  • Existing triage checkboxes, impl: #N, and tests: #N annotations are preserved where the requirement ID still exists.
  • New v7.1 requirements are represented and traceable.
  • with build, with build :fixpoint, with build :test, and with build :test-green pass before this issue is closed.

Dependencies

Related to #410, but this issue updates the human-readable requirements matrix while #410 adds an automated inventory drift gate.

Activity

  1. ehartford commented on Jun 10, 2026

    @ehartford
    ContributorAuthor

    Implemented in ea46d18. Added scripts/generate-requirements.py and regenerated docs/requirements.md from docs/with-specification.md v7.1, including the new v7.1 sections such as 4.3c, 9.1c, 13.5d, 15.8, 16.3d, and 29.14. Existing triage checkboxes and issue-link suffixes are preserved when the regenerated requirement text still matches or the stable ID still names the same text. Verification passed: requirements informative check, build, fixpoint, full test, and test-green with the explicit v0.15.1 seed.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions