Skip to content

Cycle 6 Minors: pipe parsing, version coupling, regex Markdown, anchor re-parsing, mandated-vs-measured steps #43

Open

Description

@duizendstra

Recorded from blind cycle 6 (Claude Opus, 0.4.0 + scripts/), verified against the files. All Minor; grouped rather than filed separately.

VAR-3 — pipe characters shift every column. check_review.py parses index and Scorecard rows by splitting on |. Any cell containing a literal pipe shifts the columns and produces "illegal verdict"/"illegal severity" failures against a correct review. PROMPT.md itself writes the Cobra levels pipe-separated (prototype | production | library/framework), so a reviewer restating them in the Governors row triggers it. Fix: require escaping in the mandated format, or parse with an escape-aware splitter.

W5H-3 — no version coupling between the scripts and the instrument. VERDICTS and SEVERITIES are hard-coded. A verdict string added in a later release would fail every review with "illegal verdict", against the wrong instrument, silently. The cycle-6 PR partly addresses this — the Scorecard row set is now version-gated and the checker prints the instrument version it read — but the vocabularies are still hard-coded. Overlaps #39.

W5H-4 — all three scripts hand-parse Markdown with regex. This is the direct cause of VAR-3 and of the heading heuristics in lens_sections. The project controls its own output format, so a stdlib-only alternative exists (a fenced delimited block, or a companion machine-readable file). The reviewer's own verdict was Skip:Cobra — changing the mandated index format would invalidate every review already in the calibration record — so this is a note for a format revision, not a task.

EFF-1 — anchors_of() re-reads and re-parses the target file once per anchor link. README's eleven same-file anchors cause eleven full re-parses. Verdict was Skip:Compass. Trivial to cache if anyone touches that function.

SUB-1 — the instrument mandates its unmeasured step and makes its measured one optional. The per-lens "would my process have caught it?" step is required at one sentence per lens while the same paragraph disclaims its measured effect; the Calibration Test, the one step with a measurement protocol, is optional. Verdict was Skip:Cobra — de-mandating a step changes the process readers derived from the document — but the asymmetry is worth revisiting when calibration is next revised.

Full review: cycle 6, 27 findings / 13 Major / 23 Fix verdicts.

Activity

  1. duizendstra commented on Oct 7, 2026

    @duizendstra
    MemberAuthor

    Fixed, merged to main in 75137cd (PR #53). VAR-3: table rows now split on unescaped pipes only (d01b090; tests test_43_*). EFF-1 was already fixed in e06c779. W5H-3 is covered by #39's fix (e37a089).

  2. duizendstra commented on Oct 7, 2026

    @duizendstra
    MemberAuthor

    Reopened. I closed this too early, and that was my error. VAR-3 (d01b090), EFF-1 (e06c779) and W5H-3 (e37a089) are fixed on main. Two items are not:

  3. duizendstra commented on Oct 7, 2026

    @duizendstra
    MemberAuthor

    Progress from PR #56 (merge b68ae1b): the scripts now read their vocabulary from the JSON spec block in PROMPT.md, not from the prose. W5H-4 is narrowed, not fixed. The prose parsers moved into check.py's agreement gate, which still reads Markdown with regex, and reviews are still parsed with regex. SUB-1 is untouched. This stays open.

  4. moved this to Backlog in diffracton Nov 8, 2026
  5. added theissue type on Nov 8, 2026
  6. moved this from Backlog to In Progress in diffracton Nov 8, 2026
  7. duizendstra commented on Nov 8, 2026

    @duizendstra
    MemberAuthor

    Reposted with internal references removed. First posted at 09:30 UTC; otherwise unchanged.

    Measured on main b2f2360. No PR from me, because both open items need a ruling, not code.

    • W5H-4. Reviews are still parsed with regex (check_review.py). The fix the item points to is a machine-readable index format. The cycle-6 verdict was Skip:Cobra because changing the mandated index format invalidates every review in the calibration record. That trade is Jasper's call.
    • SUB-1. Unchanged. The Calibration Test is still "optional but recommended" (PROMPT.md:714), and the per-lens step is still mandated. Changing either changes the protocol, so it waits for the next calibration revision.

    The title's "version coupling" is W5H-3, which is fixed (e37a089). It is a different coupling from the tag-to-version guard in #61. This stays at Backlog.

  8. duizendstra commented on Nov 8, 2026

    @duizendstra
    MemberAuthor

    Reposted with an internal name removed. First posted at 10:16 UTC; otherwise unchanged.

    Jasper's rulings on the index format (W5H-4 / VAR-3). These come from a design review run on main b2f2360.

    • D1: Option A now. Every reader that drops a table row of the wrong width will name it, with an escape hint (\|). There are three of them: check_review.py scorecard_cells(), render_scorecard.py fix_row(), and score_seeds.py findings(). Today the first gives a misleading "Scorecard has no … row", and the other two say nothing at all. This lands by PR.
    • D2: Option B ships in 0.5.0. B adds a machine-readable companion block for the Findings Index, version-gated. 0.5.0 already makes every measured reviewer tier stale, so B adds no re-run of its own. The agreement-check spec goes to Jasper before anyone builds it.
    • D3: W5H-4 stays "narrowed, not closed". The CHANGELOG wording is unchanged.
    • D4: B is the first step toward ROADMAP's machine-readable output item (JSON/SARIF). That item stays open and points to B.
    • D5: The two hash-pinned 0.3.0 reviews keep the table parser. They stay under CI ("Every review this repo publishes must pass the checker this repo ships").
    • D6: render_scorecard.py may generate the block, as an option.
    • D7: From 0.5.0, a review with no Instrument row is a named failure.

    SUB-1 is untouched. This issue stays open.

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

    Projects

    • Status
      In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions