feat: baseline sanity gate, standing-failure delta, health_command - #84
Merged
Conversation
TDD-Run: 11 TDD-Cycle: 1 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 1 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 2 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 2 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 3 TDD-Phase: pin
TDD-Run: 11 TDD-Cycle: 4 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 4 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 5 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 5 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 6 TDD-Phase: pin
TDD-Run: 11 TDD-Cycle: 7 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 7 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 8 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 8 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 9 TDD-Phase: pin
TDD-Run: 11 TDD-Cycle: 10 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 10 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 11 TDD-Phase: red
TDD-Run: 11 TDD-Cycle: 11 TDD-Phase: green
TDD-Run: 11 TDD-Cycle: 12 TDD-Phase: pin
Merged
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.
Summary
run startnow refuses a baseline where more than 50% of a suite with ≥10 collected tests is failing — the pattern observed when backing services are down. Returnsreason: baseline_implausible. Pass--accept-baselineto override; the override records abaseline_acceptedintegrity event. Per-projectbaseline_max_failure_ratiointdd.tomltunes the threshold.run startemits abaseline_standing_deltaevent partitioning standing failures intonew/inherited/resolvedagainst the previous run's baseline for that worktree, making a permanently-red set visible as a trend instead of ambient noise.health_commandintdd.toml;run startruns it before probing and refuses withreason: services_unreachableon non-zero exit — the precise diagnosis rather than a ~1000-failure baseline being silently recorded.Commits
Quality gates
uv run ruff check src tests— passeduv run pytest— 418 passedTest coverage note
All decision-point operators in new code are covered by at least one test (pseudo-mutation analysis passed). Sensitivity checks for all four pin cycles confirmed each boundary is detectable.
Closes #67