Skip to content

tools/export.py: copy its own files verbatim; the export changes Markdown prose only - #1

Merged
gitgat merged 2 commits into
mainfrom
export-verbatim
Oct 27, 2026
Merged

gitgat merged 2 commits into
mainfrom
export-verbatim

Conversation

@gitgat

@gitgat gitgat commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The first CI run on main failed: the "blank lines around a dropped region doubled" mutant survived. The export had applied its drop-region transform to tests/test_export.py itself, so the published test lost the fixture region that kills that mutant.

  • tools/export.py copies the tool, its lint and their tests verbatim; the dev-link check is one helper.
  • New test: an export changes Markdown prose only (every other file byte for byte), so the published tests are the ones the tool was developed against. This restores the dropped fixture.
  • Evidence: RED in docs/tdd/export-red.txt; export mutants 13/13; bats 429/429; unit tests, lints and scrub clean.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

gitgat and others added 2 commits October 27, 2026 01:28
…down prose only

The first CI run here failed: the "blank lines around a dropped region doubled" mutant
survived. The export had applied its drop-region transform to tests/test_export.py itself, so
this copy of the test lost the fixture region that kills that mutant.
- The tool, its lint and their tests are copied verbatim; the dev-link check is one helper.
- A new test checks that an export changes Markdown prose only, so the published tests are the
  tests the tool was developed against. This restores the dropped fixture.
Mutants: export 13/13.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…fits the 20-minute job

This PR's first run cancelled "mutation check landing-lib-ci.json" at 20m18s (no mutant
survived). Those specs run tests/landing-lib.bats and tests/land-batch.bats per mutant, about a
minute each on the runners, so:
- landing-lib-ci (20) -> landing-lib-gates (6), -workflow (5), -ci (5), -inputs (4);
- land-batch (20, 16 min) -> land-batch (10) and land-batch-merge (10);
- landing-lib-verdict (12, 12 min) -> landing-lib-verdict (6) and landing-lib-model (6).
Same mutants, target and suite; every spec is in the CI matrix (the lint checks it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gitgat
gitgat merged commit 474fd13 into main Oct 27, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant