feat(coverage): add calibrated ascent automation#1405
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: be117381a7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| _write_json(plan, out_dir) | ||
| _write_markdown(plan, out_dir) |
There was a problem hiding this comment.
Gate invalid evidence before emitting plans
When a valid summary has evidence_valid: false and the CLI is run with the default --enforce-evidence behavior, these writes still create both JSON and Markdown plans before the later EXIT_EVIDENCE_INVALID return. That leaves machine-readable work plans derived from evidence the tool claims to refuse, and any wrapper or rerun that consumes existing outputs can advance from invalid coverage evidence; perform the enforcement check before writing, reserving artifact emission for --no-enforce-evidence.
Useful? React with 👍 / 👎.
python-quality runs black AND ruff; the file was ruff-clean but not black-clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0468df9 to
a755b46
Compare
Summary
Adds a deterministic calibration automation layer for the TD-023 coverage-ascent campaign.
This PR does not measure coverage and does not claim a new coverage percentage. It consumes the existing machine-written
coverage_summary.jsonfromtools.coverage.geosync_coverage_intelligenceand converts that evidence into a ranked 90 → 92 → 95 → 97 work plan.What this adds
tools/coverage/calibrate_coverage_ascent.pytests/tools/test_coverage_calibration.py.claude/commit_acceptors/coverage-calibration-automation.yamlQuality discipline
Measurement command