Skip to content

Close the M4 discipline gaps: executed docs, reachable evidence #98

Closed

Description

@radiusred-cody

Goal

Deliver M5-R4, the pair of M4 close-gaps that have both re-bitten during this milestone: (1) roles/reviewer.md requires that documented commands in a diff are executed, not read — the method QA's runnability audit proved when both M4 not-satisfied verdicts were commands that read correctly and failed when run, and testy's live experiments this milestone (the stub-path 403, the set -e death) caught what inspection could not; (2) every evidence link cited in a milestone's findings and verdict-prep resolves as reachable before QA is dispatched — the M4-R4 transcript 404, repeated twice this milestone (the M2 transcript existing only in a working tree, the routing edit never committed) — implemented as a contract step or a verb, decided in the task plan. Both are proven on M5's own close: this milestone's QA dispatch runs the check, and its reviewer contract carries the execution rule. Tests ride along per #46 where code is touched.

Requirements

M5-R4

Plan

  1. Executed docs (contract): roles/reviewer.md gains the obligation — documented commands in a diff are executed, not read; a command that cannot be run verbatim is a finding. Rationale cited from the record: both M4 not-satisfied verdicts, and this milestone's stub-path and set -e defects, were caught by execution where reading passed them.
  2. Reachable evidence (verb): the decided form is a verb — deterministic and dispatcher-consumable, per "gates run code": codecrew milestone evidence <n> walks the milestone issue and every sub-issue (bodies and comments), extracts https?:// links, deduplicates, and checks each resolves — gh api for github.com issue/PR/comment/blob references (auth rides the caller's token), HTTP GET for the rest — reporting each unreachable link and exiting nonzero on any. URL extraction and the github-reference mapping are pure and unit-tested; reachability is checked against an httptest server.
  3. Wiring the norm: roles/qa.md — first act on dispatch: run codecrew milestone evidence <n>, refuse to proceed past unreachable evidence (the M4-R4 "untestable" precedent is the point); the dispatch section of docs/identities.md tells the coordination layer to run it before dispatching QA. SPEC §6 gains the verb row.
  4. Proven on M5's own close, as the requirement demands: the verb runs against milestone 5 before this milestone's QA dispatch, and its output is part of the QA-prep record.

Ask-the-human points

None — the requirement names the deliverables; the verb-vs-contract choice was left to this plan and is decided above.

Activity

  1. added
    cc:task
    on Aug 25, 2026
  2. radiusred-cody commented on Aug 25, 2026

    @radiusred-cody
    ContributorAuthor

    Started by @radiusred-cody[bot].

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

    cc:task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions