Merged
Conversation
Signed-off-by: Jake Strawn <bandy.strawn@clarityhouse.press>
…guage) Signed-off-by: Jake Strawn <bandy.strawn@clarityhouse.press>
f2c7913 to
79656a6
Compare
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.1
Single patch release — governance recovery + audit integrity + base-branch resolution + audit-chain corruption-tolerance. Closes defects S + P + N (partial) + T + U on one branch.
Note on the main-branch commit title: the merged commit
933fc79onmainhas the titlefix(cli,hooks,middleware): governance recovery + audit integrity (S+P+N+T+U) (0.10.2). The "(0.10.2)" in that subject line is a planning-artifact from the working tree — the shipped npm version is0.10.1(Changesets correctly generated a single patch bump from thepatch-kind changeset). No0.10.1was ever published standalone; this IS that release. Commit titles drift from release numbers; no history rewrite was attempted.Patch Changes
933fc79: Governance recovery + audit integrity + base-branch resolution + audit-chain corruption-tolerance (Defects S + P + N + T + U)
Five independent fixes shipped on one branch because the push-gate and audit-helper surfaces they touch overlap enough that landing T and U as a follow-up patch would have required a second Codex pass over code already under review.
rea tofu list [--json]andrea tofu accept <name> [--reason <text>]subcommands so operators can recover from a drift fail-close without restarting the gateway withREA_ACCEPT_DRIFT=<name>. Audit trail viatofu.drift_accepted_by_cli/tofu.first_seen_accepted_by_clirecords on the hash chain.codex.reviewaudit record forgery surface (CRITICAL, integrity): new requiredemission_sourcefield onAuditRecord, hashed into the chain. PublicappendAuditRecord()stamps"other"; only the newappendCodexReviewAuditRecord()helper (reachable exclusively viarea audit record codex-reviewCLI) stamps"rea-cli". Push-review cache gate's jq predicate now requiresrea-cliorcodex-cli. Legacy pre-0.10.1 records are rejected — first push per branch after upgrade requires a freshrea audit record codex-reviewinvocation.branch.<name>.base(MEDIUM, partial):hooks/_lib/push-review-core.shnow readsgit config branch.<source>.base <ref>before falling through toorigin/HEAD. Full fail-loud + general-label-fix halves deferred to defect G.appendAuditRecord()/appendCodexReviewAuditRecord()verify the JSON line round-trips before touching.rea/audit.jsonl.rea audit verifynow collects every unparseable line across the walk instead of aborting at the first one; chain verification continues over the parseable subset.jq -R ... 'fromjson? | select(<predicate>)'so a single corrupt line in.rea/audit.jsonlno longer locks the push gate closed. Forgery-rejection guarantee (P) still holds line-by-line.Followups (tracked separately, not in this patch)
push-review-core.shTypeScript port (1154 LOC + 10 integration test suites). Tracked for 0.11.0. Completes defect N's general label fix.src/gateway/middleware/audit.tsandsrc/gateway/audit/rotator.tsvia a shared serialization helper.rea-cli; narrow residual surface (no current exploit).rea tofu acceptwrites fingerprint before audit append; reverse order or document recovery in error message.