test(cli): kill the surviving mutants of the copilot, codex and opencode profiles - #821
Merged
Merged
Conversation
tools-copilot under run-mutation.mjs --force, 426 mutants: - before: 82.39, 55 survived, 20 uncovered - after: 95.31, 19 survived, 1 uncovered Floor raised from 80 to 93. Refs #799 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb AIDD-Session-Id: 4acc9a1c-19bc-4468-b8b6-e86644bcba60
tools-codex under run-mutation.mjs --force, 381 mutants: - before: 89.50, 38 survived, 2 uncovered - after: 96.33, 14 survived, 0 uncovered Floor raised from 87 to 94. Refs #799 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb AIDD-Session-Id: 4acc9a1c-19bc-4468-b8b6-e86644bcba60
tools-opencode under run-mutation.mjs --force, 283 mutants: - before: 87.63, 34 survived, 1 uncovered - after: 96.82, 8 survived, 1 uncovered Floor raised from 81 to 94. Refs #799 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb AIDD-Session-Id: 4acc9a1c-19bc-4468-b8b6-e86644bcba60
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 What & why
Last lot of #799: the three tool-profile scopes left below target. Each held a floor under 90, so a profile's build contract or path mapping could change without any test noticing. This PR adds the tests their survivors named. It changes no source.
🛠️ How it works
tools-copilot(426 mutants)tools-codex(381)tools-opencode(283)cli/tests/contexts/tools/domain/profiles/. They cover each profile's path mapping, build contract, the codex agent TOML and transcript location, and the opencode hooks bridge.build.ts:65with>=turned into>fails "leaves a user's project_doc_max_bytes already at the floor untouched".run-mutation.mjs <scope> --force, before and after. Each floor is the measured score minus two, rounded down.🧪 How to verify
Measured on this branch: 379 files and 5073 tests passed. Typecheck, lint, test:arch, knip and type honesty are clean.
commandsHandler.convertFrontmatterin the copilot profile.🔗 Linked issue
Refs #799. With #815 and #819 this covers every scope #799 names, so it closes once all three are merged.
✅ I certify
🤖 Generated with Claude Code
https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb