Repository navigation
test(ci): golden PR-verdict fixture corpus, 48 fixtures (S2) - #193
Conversation
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/proven-cicd-and-workflows/pull/193 |
|
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 9 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. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
docs/design/pr-verdict/gen-fixtures.jq generates one fixture per verdict arm, BrokenCause, Infra kind and section 3.6 property witness, each a complete schema-valid evidence record plus the verdict design 3.3 assigns. tests/pr-verdict-fixtures.sh checks the committed files equal the generator output, validate against both schemas, cover every arm, cause and derivation step, and are internally consistent. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDjgxz1iRFdu63KxE1K
…nown, owner_acts, cause order (S2) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDjgxz1iRFdu63KxE1K
fb7ae87 to
aed4533
Compare
|



What
S2 of the W49 CI programme (design: #189, section 6.1). Stacked on #192 (S1): the base is the S1 branch and retargets when #192 merges.
55 golden fixtures in
docs/design/pr-verdict/fixtures/, one per verdict arm, perBrokenCause, per Infra kind and per section 3.6 property witness or counter-example. Each is a completeproven/pr-evidence/v1record plus the verdict section 3.3 assigns. They are generated (gen-fixtures.jq,gen-fixtures.sh) and the test fails if a committed file differs from the generator. Expected values are hand-written from section 3.3; there is deliberately no second implementation. squabble-core's conformance test (S3) is what will confirm or refute them.Evidence
bash tests/pr-verdict-fixtures.shbash tests/unit.shAmbiguities in the design found while writing the corpus (to resolve before S3)
review_threadsisnull(unreadable) and the ruleset requires resolution, 3.3 does not say what happens. No fixture.CI-BROKEN { cause, checks }has a single cause, but different required checks can have different causes. Fixtures avoid mixing; proposal: report the cause of the first matching clause in the order listed in step 4.ReviewBlockervalues are not enumerated; the corpus useschanges-requested,unresolved-threads,approvals-missing,blocked-unexplained. SUPERSEDED reasons used:head-already-landed,empty-diff,newer-duplicate,base-branch-gone,base-not-default-or-release,bump-superseded.Failand anAbsentbase tip is neither introduced nor inherited; the corpus follows the doc (falls toNeverOnBase).🤖 Generated with Claude Code
https://claude.ai/code/session_01J4QvDjgxz1iRFdu63KxE1K
Update (after architect 7208a2e and hub provisional rulings): signatures are now complete-set (failed_count == identities; subset inheritance); new fixtures for complete-subset inherited, new test in red check, count != identities, generic-annotation weak, first-clause cause order, threads-unknown, named owner act. Still unverified against any verdict implementation (S3).
Generated by Claude Code