Skip to content

Infra CW6: second test pass: the crates' own tests #1147

Closed

Description

@jparker2006

Parent

Ticket CW6 of spec #1141 (Infra).

What to build

Cut the crates' own test targets and in-file test modules under the bolder rule, including the ones TV moved there.

Owned paths

  • crates/*/tests/
  • the #[cfg(test)] modules in crates/ (shared: tests only)
  • crates/*/Cargo.toml (shared: only the [[test]] entries of removed targets)
  • tools/test-value/evidence/cw6/

Relies on: tools/test-value/README.md

Links

Acceptance criteria

  • Every test in the crates' tests is kept with one recorded keep reason (a user-visible behaviour, a contract another repository relies on, or a safety gate) or deleted with its keeper named or why its behaviour isn't one of the three, in the kit's ledger
  • The counter's test-line counts for the area before and after, and the kit's coverage before and after; any coverage drop is explained line by line by the rule
  • Fixtures and helpers read only by deleted tests go with them
  • The full suite stays green; no product file changes
  • No test target is renamed; removed targets leave their [[test]] entry with them
  • 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

CW-A and CW-B for the crates.

Builder Codex Sol 6.1 High, reviewer Claude Code Opus 5.5 High, no helper agents.

Activity

  1. added this to the Infra milestone on Nov 19, 2026
  2. added
    ready-for-agent
    on Nov 19, 2026
  3. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1147-crate-tests

  4. added 3 commits that reference this issue on Nov 19, 2026
  5. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #1201

  6. jparker2006 commented on Nov 19, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: 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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions