Skip to content

Infra CW2-2: ci/selection/invalid folds into one table of cases #1485

Closed

Description

@jparker2006

Parent

Ticket CW2-2 of spec #1388 (Infra). Size: S.

What to build

Fold ci/selection/invalid/ (54 files, 5,560 lines) into one table, per the wave 2 table's fold row: a valid base plan, then one edit and one refusal reason per case, about 300 lines. Every case and every refusal reason in ci/selection/README.md stays. duplicate-key.json (rule 1) cannot be a parsed base plus one edit, so it stays as raw text. Repoint the readers in the same change: ci/escapes/test.py (every file, and line 503's test-twice.json), ci/shard/test.py (lines 28, 103, 166, 180) and ci/selection/reads/plan-refused.json:17.

Owned paths

  • ci/selection/invalid/ in openwizdev/OpenWiz (fold)
  • ci/selection/README.md in openwizdev/OpenWiz (shared: the fixtures' description)
  • ci/selection/reads/plan-refused.json in openwizdev/OpenWiz (shared: one path)
  • ci/escapes/test.py in openwizdev/OpenWiz (shared: reader)
  • ci/shard/test.py in openwizdev/OpenWiz (shared: reader)

Relies on: contracts/ci-selection.v1.md, docs/cleanup/wave2-table.md

Links

none

Acceptance criteria

  • Red first: a case dropped from the table makes ci/escapes/test.py fail (shown on a scratch copy and recorded)
  • The folded table expands to exactly the 54 invalid plans at the base (each expanded case byte-equal, or JSON-equal where the original is parsed), and each case keeps its refusal reason
  • ci/escapes/test.py, ci/shard/test.py and the ci-escapes workflow pass; git grep -n 'selection/invalid/' finds only the table and its readers
  • Test rule (The test rule: what earns a test, and what never does #687): every new test protects a supported behaviour, a contract others rely on or a safety invariant, and the pull request says per test catches: <the bug>, or no new test: <why>. No mock-returns-stub, source mirroring, compiler re-checks, quota tests or unreachable cases; a bug gets a failing test first.
  • Every test the pull request deletes names its keeper (a test that still catches its bug) or says the behaviour it protected is gone.

Proof

The expansion check against the base files, and green CI at the exact head.

Builder Claude Code Opus 5.5 Medium and reviewer a fresh Claude Code Opus 5.5 Medium thread that never built it (J246; same-family review as J224), no helper agents.

Activity

  1. added
    held
    on Nov 20, 2026
  2. added
    ready-for-agent
    and removed
    held
    on Nov 20, 2026
  3. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started

  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: working
    harness: claude-code
    model: claude-opus-5-5 medium
    skills: build-ticket@0.1.2
    step: Claimed: folding the 54 invalid selection plans into one table of cases, red first.
    time: 2026-11-20T00:08:31Z

  5. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: codex
    model: gpt-6.2-sol medium
    skills: review-ticket@0.1.2
    step: Posted APPROVE for PR #1493 at 9dc5f6c.
    time: 2026-11-20T00:56:43Z
    pr: #1493

  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: archived

    PR #1493 merged as 8975386 through the merge queue at its approved head 9dc5f6c (Codex APPROVE 7026940438). Builder and reviewer archived.

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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions