Closed
Conversation
Contributor
Author
|
Closing unmerged. 0.10.4 was going to ship Phase 2b of the push/commit review-gate TypeScript port (G). That entire stack is being replaced in 0.11.0 with a stateless pre-push Codex gate — no cache, no SHA attestation, no audit-receipt consultation. The 1,250-LOC bash core, the TS port at See |
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@bookedsolid/rea@0.10.4
Patch Changes
93ec02f: review-gate Phase 2b — push/commit gate composition (G)
Adds
runPushReviewGate()andrunCommitReviewGate()as the top-levelTypeScript composers over the Phase 1 primitives (args, banner, cache-key,
constants, errors, hash, metadata, policy, protected-paths) and Phase 2a
supporting modules (base-resolve, diff, audit, cache). Also adds the
codex-gate.tsmodule that folds thereview.codex_requiredpolicy field,the
REA_SKIP_CODEX_REVIEWwaiver env var, CI refusal, actor resolution,and audit-record emission into a single
evaluateCodexGate()call thatboth composers share.
No behavioral surface is wired to the hook entry points yet — the bash
core at
hooks/_lib/push-review-core.shcontinues to run in production.Phase 3 wires the TS composers to
rea hook push-review-gate/rea hook commit-review-gateCLI subcommands; Phase 4 swaps the shims over anddeletes the bash core. See
docs/design/push-review-ts-port.md§11.1.Coverage includes integration-shaped tests for the five security
invariants — defect J (mixed-push deletion guard), defect P (Codex-receipt
forgery rejection), defect U (streaming-parse tolerance), C0/C1
control-character stripping, and protected-path prefix-match integrity
against crafted paths.