Fix 10 unified command bugs + 11 guardrail tests - #5
Merged
Conversation
Bug fixes: - temporal: resolve relative file paths against repo root directories - verify: show file, guide, tier in human output (was 'Risk: ?') - health: show excess porosity + plain-English guidance (was 'Spectral gap=0') - audit: show blast radius, mirror gap, test coverage, PR parity - temporal: show phrases tracked + decaying patterns (was just filename) - risk --ci: show pass message when no critical files - risk --ci --format json: CI gate now fires even with JSON output Doc fix: - FEATURE_MATRIX.md: restore lifecycle/timeline/provenance commands Guardrails: - 359 tests pass (snapshot updated) - All unified commands verified to produce non-empty output
Guardrails prevent bug classes from recurring: - test_risk_json_has_keys: risk output always has expected structure - test_risk_human_not_empty: human mode produces visible output - test_risk_ci_gate_fires_with_json: CI gate bypass fixed - test_risk_mode_varies: mode flag actually changes output - test_verify_json_has_keys: verify output has expected structure - test_verify_human_not_empty: human mode produces visible output - test_health_json_has_keys: health output has expected structure - test_health_human_not_empty: human mode produces visible output - test_audit_json_has_keys: audit output has expected structure - test_audit_human_not_empty: human mode produces visible output - test_temporal_relative_path_resolves: temporal resolves relative paths 370 total tests, 0 failures.
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.
Bug fixes:
Guardrails (11 new tests):
370 tests pass, 0 failures.