Repository navigation
fix(ci-gate): validate base evidence as one document with the schema shape (#204 review fixes) - #211
Merged
Merged
Conversation
…shape (review fixes on #204) - non-string or null test names fail the evidence shape (and complete re-checks them) - the file is slurped: exactly one document, validated and then used as that same document - every entry must have the documented shape; absent entries and weak signatures stay valid Seven planted-bad evidence files that the first version accepted are now refused (verified against the old script). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDjgxz1iRFdu63KxE1K
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/proven-cicd-and-workflows/pull/211 |
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 53 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
hyperpolymath
marked this pull request as ready for review
December 1, 2026 01:24
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
hyperpolymath
enabled auto-merge (squash)
December 1, 2026 01:25
hyperpolymath
disabled auto-merge
December 1, 2026 01:38
|
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
Review fixes that CodeRabbit raised on #204 (owner ruling 2026-12-01: fix them in #204). #204 was squash-merged at its old head 3294bdd before these landed, so they come as their own PR from
main. One concern: harden the base-evidence validation inscripts/ci-gate-verdict.sh.completere-checks them).headandbase.sig={failed_count: int|null, tests:[string]},base.statestring,base.red_sincenumber|null). Absent entries and weak signatures stay valid and never establish inheritance.Evidence
tests/ci-gate-differential.sh: 38/38 (was 28). Seven planted-bad evidence files are refused now; I ran the new controls against the OLD verdict script and exactly those seven failed there (null names, non-string names, two documents with an invalid first one, two valid documents, a numeric entry, a non-object base, a non-numericred_since). Controls for valid["a"], empty entries and weak signatures still pass.tests/ci-gate.shin an isolated worktree: 830 passed, 0 failed.tests/ci-gate-base-evidence.sh20/20 against the new validation (the builder's real output passes the stricter shape).Not done / open
gate-change-approved; I have not applied it. Apply it after the last push."differential": true, so nothing live changes either way.docs/CI-GATE.adocandtests/ci-gate-differential.sh; whichever merges second needs a plain merge ofmain.mainby someone else; I left its history alone).Generated by Claude Code