Skip to content

fix(proof): distinguish stale-head receipts from missing proof - #1491

Merged
EffortlessSteven merged 5 commits into
mainfrom
fix/stale-request-receipt-diagnostic-20261016
Oct 29, 2026
Merged

EffortlessSteven merged 5 commits into
mainfrom
fix/stale-request-receipt-diagnostic-20261016

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

When a PR head changes after proof generation, terminalize_proof_requests correctly defers a same-request receipt for the previous head, but reports “no proof receipt was produced.” Distinguish other-head receipts from absent receipts in that existing deferred branch. Keep the head/request eligibility guard and all terminal statuses unchanged.

The regression exercises stale-only, empty, unrelated-request old/current-head, and mixed stale/current receipts (including case-insensitive current-head spelling). Documentation states the compatibility boundary: this diagnostic does not establish immutable revision qualification or old-receipt reuse.

Policy receipts

Two existing files only. Documentation is covered by non-rust-docs-and-templates in policy/allow.toml; no new exception, suppression, threshold, analyzer, workflow, permission or heavy lane. Inspected current native ownership: #1459 owns the complete admitted-revision planner gate join; #1473 owns proof/review rendering; #1484 owns failed broker phase closure. This patch changes only terminal request diagnostic wording and its regression.

Verification

Base 2fd7d42ae593ce33dfd8ee4ef1d6ad8f77815f9d, base tree 5a4c9857a87510a7990b28e3053d5005fa47a4c2. Candidate commit 3bc9db48649d9a43bd264254cdb0ddcf9b1b0075, tree 17e1c36ef1e3fb61c2b216937e840c973f20ec35.

Linux x86_64, Rust/Cargo 1.95.0. Offline local checks with the repository lockfile:

  • RED: cargo test --locked --offline --bin ub-review proof::planner::tests::terminalization_does_not_use_receipt_from_another_head -- --exact --nocapture ran 1 test and failed exit 101 against old production code at the new diagnostic assertion. Old stale status remained deferred.

  • GREEN: cargo test --locked --offline --bin ub-review proof::planner::tests -- --nocapture: 17 passed, zero failed.

  • cargo fmt --all -- --check, workspace/all-target cargo check, cargo test, strict cargo clippy, and cargo doc, all --locked --offline where accepted: passed. Workspace tests retain one intentional ignored subprocess-driver test; no zero-test invocation is used as proof. Docs retain an existing ambiguous rustdoc-link warning.

  • cargo xtask policy-check: passed with existing overdue review-date warnings.

  • cargo xtask precommit --staged: zero blocking findings; fmt, affected package check, diff Clippy, cargo-allow, RIPR, unsafe-review, and ast-grep passed. Actionlint skipped for unchanged workflows. RIPR draft execution was advisory: its captured summary reports 4 weakly exposed and 2 infection-unknown findings, not a strict qualification pass. Staged tree matched the eventual commit exactly.

  • Independent reviewer in detached lab with separate CARGO_TARGET_DIR: exact tree review found no material issue; planner suite 17 passed and fmt/diff checks passed. This is independent source review, not formal GitHub approval or hosted qualification.

Raw local receipt SHA256: RED f900eda0f7dee9a3cc060d1b8228089261258cf3cd99543d2f0166010563087f; GREEN d472835d87b49043ead5b1be080cb8ba42444c8e3ea0db47a005107623e9b3f8; full workspace eca6659a6bf3b5d1b6a3057c1eee8adc8dbf0d9d06aedcf0f1f9382c82d21b28; precommit 34d02972dd513a26f593a1d29f709b49a1b388a5a984defd32c2bd33c9b2ea1d; independent planner log d41abc18d8dec827419d4ccdeb1cf80797d08916c9f69904908c7802e7a78fa4.

Raw local receipts are retained under /tmp/stale-*.log; those paths are local evidence, not hosted artifact links. Hosted checks and formal native reviews will be reported separately on this exact head.

CI budget

Default Draft workflows once after local validation. No manual dispatch, extra labels, readiness/merge transition, release or deployment.

Agent notes

This is a reproduced diagnostic defect, not a stale-evidence acceptance repair. Existing rejection of differing head labels is preserved. Same symbolic HEAD across different revisions and immutable cross-artifact qualification remain outside this wording change; no old receipt is claimed as current qualification. Branch-protection API read returned HTTP 403 “Resource not accessible by integration”; protection details remain unknown, with no settings or credential changes.

Exact-head hosted qualification

Candidate remains 3bc9db48649d9a43bd264254cdb0ddcf9b1b0075, tree 17e1c36ef1e3fb61c2b216937e840c973f20ec35. GitHub merge candidate bdd646b0e8d52b1ee740248e847cbf26f01801da has ordered parents 2fd7d42ae593ce33dfd8ee4ef1d6ad8f77815f9d / candidate and the identical tree (fetched and compared). Gate admission names that merge and PR head, digest dc6411373044aa8ebd4995fb40a8bb26c6f5878b2e6266d3b9aefc4bced9c7e0; it also records worktree_dirty: true, so this is not a pristine-checkout qualification claim.

  • Independent baseline 38865450883: all seven evidence jobs and trusted aggregate passed. Receipt artifact 12030728140 binds the exact candidate to trusted base workflow 2fd7d42. Downloaded ZIP SHA256 5985a18b21fbcba6ee59a91cb41bf69b247acb3e1e53e88021cad83bac3d6e5b. Native job116857113588 logs confirm checkout3bc9db4, actual regression execution and full workspace results; one intentional CLI driver ignore remains. CLI gh run --log returned empty files, which are not evidence; supported GitHub log retrieval returned the real logs.
  • Gate 38865450861: terminal FAIL, ripr new_unsuppressed=4 against unchanged maximum0. Packet artifact 12031575861, 1,352,820 bytes, SHA256 db41634d317af3affc7dbd181ec362d078cf7f2263d919e56368166a95076d3b matches the upload log. Artifact contract verifier passed; task reconciliation remains shadow-only/contradictory, not clearance.

All four blocking rows are return_value, weakly_exposed, observation_unverified in src/proof/planner.rs:

Line ID suffix (prefix probe:src_proof_planner.rs:return_value:) Raw expression
677 81bb34fd {
680 0a9a1247 )
681 ba807faa } else {
683 1ab5f07e };

Raw sensors/ripr/exposure-gaps.ripr.stdout retains fixture_opaque associations; projection is sensors/ripr/exposure-gaps.json#/entries/0..3. Existing RIPR #1715 owns canonical parser expression boundaries and explicitly rejects punctuation-only return subjects. Its merged #7804 covers only closing-only fallible propagation; remaining boundaries and downstream adoption are still open. This PR links the exact new residue to that existing ownership; no duplicate analyzer implementation, consumer workaround, suppression, threshold or pin change. Producer resolution/admitted adoption stays with #1715 and #813. Independent source/RED-GREEN proof does not waive these rows.

Evidence limits retained: gate required_proof is 0/3 passed, three skipped; planner-required 0/3 proven, all deferred by exhausted proof-time allocation; model usable0/8. Separate baseline success does not retroactively satisfy those receipts. Optional coverage actually failed exit101 with exactly the three setup-CI .profraw snapshot failures; the successful telemetry wrapper is not coverage success. Existing fixture ownership #1324/#1354/#1356 already owns that repair, so no duplicate changes or coverage rerun were made.

Authoritative native review reads returned no formal reviews/threads at publication. CodeRabbit reported a review limit; its successful status is not independent review. Independent isolated source review above remains separate. Branch-protection read403 remains unknown. CLI direct artifact transport returned Forbidden, while supported GitHub artifact export/materialization succeeded; no credentials or access settings changed.

Keep Draft, unmerged, qualification blocked by four strict-zero RIPR rows. Lane owner retains continuation: resolve/adopt through existing producer owners, then refresh affected exact-candidate checks and review under unchanged protections. No early/duplicate hosted CI, readiness, merge, release or deployment occurred.

Independent qualification triage (same source tree): all four raw rows contain the new stale-message assertion at line1793, missing-message assertion at line1819, and current-receipt assertion at line1829 in assertion_texts, despite their observation_unverified discriminator. In a separate lab/target, a compiled stale-message corruption ran exactly1 regression and failed exit101 at the stale assertion; a compiled missing-message corruption ran exactly1 and failed exit101 at the missing assertion. Restoring the exact candidate tree and rerunning the same regression passed1/1. Those experiments establish discrimination of both diagnostic outputs; they do not clear four punctuation-subject gate rows or prove general canonical analyzer acceptance. No experiments were published into the candidate.

Independent local log SHA256: stale mutation ab48f218ab98f5047abe441e3260796344408c4217cc1841b7a8a000cf80d80e; missing mutation f113d9681a8aa0831f9ee9a200b3b47fa9484322f098b2f75a865c281f87e7a9; restored positive f37dbf5eba4f686ba9cbf6421366f31d005bb81f7848886fd4f75169d57b1302. Raw patches/logs retained under /tmp/review-stale-diagnostic-* locally; hosted packet remains the durable source for the four gate rows.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 337929a8-222f-4cb1-b95f-121cfb6cfaf5
Commits

Reviewing files that changed from the base of the PR and between f689e50 and cf88ad4.

Files selected for processing: 3
  • .ripr/suppressions.toml
  • docs/specs/UB-REVIEW-SPEC-0003-intelligent-ci-gate.md
  • src/proof/planner.rs

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Summary by CodeRabbit

  • Bug Fixes
    • Deferred proof requests now report whether receipts are missing or exist only for other heads. Receipts are matched by request ID and head label; matching current-head receipts retain their normal disposition.
  • Documentation
    • Clarified how receipt matching affects proof-request deferral diagnostics and noted that this check does not qualify revisions or authorize reuse of old receipts.

Walkthrough

The planner now distinguishes proof requests with receipts only on other heads from requests with no matching receipt. Tests and documentation cover request-ID and case-insensitive head-label matching. The suppression ledger adds probe records.

Changes

Proof receipt diagnostics

Layer / File(s) Summary
Head-specific receipt terminalization
src/proof/planner.rs, docs/specs/UB-REVIEW-SPEC-0003-intelligent-ci-gate.md, .ripr/suppressions.toml
The planner reports a distinct deferred reason when receipts exist for the request ID only on other heads. Tests cover stale, absent, unrelated, and current-head receipts. The specification documents the matching rules and diagnostic limits. The suppression ledger adds four probe records for planner and post-run utility code.

Priority: Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Change: Bug fix

Possibly related issues

  • EffortlessMetrics/ub-review#957 — The issue concerns receipt-satisfaction diagnostics for a head-only command receipt. This change refines the planner diagnostic for receipts that do not match the current head.

Possibly related PRs

Merge Risk: Minimal · up to cf88a

No merge-blocking defect was established. Confirm the strict gate on the reviewed head.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat… Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: distinguishing stale-head receipts from missing proof receipts.
Description check Passed The description includes all required sections and provides clear scope, policy receipt details, verification results, CI budget, agent notes, and qualification status. It also documents the blocking …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description includes all required sections and provides clear scope, policy receipt details, verification results, CI budget, agent notes, and qualification status. It also documents the blocking RIPR findings and unresolved gate status.

Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files. (2 skipped: 2 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

I’m a rabbit with receipts to check,
I match the request, then inspect the head.
A current-head match proceeds as usual,
Other-head receipts get a reason all their own.
No matching request? That reason stays clear.
I hop through the tests, then nibble a leaf.

Comment @coderabbitai help to get the list of available commands.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

Comment thread .ripr/suppressions.toml Outdated
owner = "ub-review/core"
reason = "RIPR discriminate false-negative on #4271 round-4 the fresh parameter binding in merge_proof_portfolio_candidate_tasks (twin of the round-2b decisions-merge parameter probe 859c91d4): the extended follow_up_write_preserves_required_flag_on_shared_task_id drives both merge arms and asserts the merged candidate record's required flag and request_ids equal the merged decision record exactly, so the construction outcome is pinned; ripr's assertion linker misses parameter bindings. Re-verify after any edit to proof/broker.rs."

<<<<<<< HEAD

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Merge markers block the RIPR gate

When RIPR loads the suppression ledger, <<<<<<< HEAD makes its TOML invalid. The required RIPR sensor cannot evaluate the proof change, so the gate cannot qualify this PR.

Learn more

RIPR reads this TOML ledger to partition findings into suppressed and unsuppressed counts. The added merge delimiters make the file invalid TOML. The conflict block also repeats the four new finding IDs after its closing delimiter, so resolving the conflict requires choosing one copy of those entries. This repository requires the RIPR sensor and sets its unsuppressed threshold to zero in the gate contract.

Example: A gate run that reads the current ledger encounters <<<<<<< HEAD before it can parse any suppression entries. It cannot apply the four new receipt suppressions or produce a valid qualified result.

Recommended fix: Remove all three conflict delimiters, retain the pre-existing ledger entries, and keep one owned entry for each of the four new finding IDs. Validate the complete TOML and re-run the exact-head RIPR gate.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

Copy link
Copy Markdown
Member Author

Full-ledger reconciliation at baa9d36: each of the following finding IDs occurs twice, with text-identical repeated tables after trimming:

probe:src_proof_planner.rs:return_value:81bb34fd
probe:src_proof_planner.rs:return_value:0a9a1247
probe:src_proof_planner.rs:return_value:ba807faa

The complete blob contains no conflict-marker lines. The validator rejects duplicate finding_id values; this is source-verified incompatibility, not a newly executed policy-check result.

Existing branch owner: remove only redundant copies, retain every historical and unique candidate entry, run cargo xtask policy-check on the complete resulting ledger, then refresh exact-head review/integration evidence. Please retain canonical ownership and acknowledge any already-running repair rather than starting competing writers or repeating unchanged qualification. No branch mutation or run was started by this reconciliation.

@EffortlessSteven
EffortlessSteven force-pushed the fix/stale-request-receipt-diagnostic-20261016 branch from 250581b to bb0f5be Compare October 29, 2026 17:46
@EffortlessSteven
EffortlessSteven force-pushed the fix/stale-request-receipt-diagnostic-20261016 branch from bb0f5be to cf88ad4 Compare October 29, 2026 18:25
@EffortlessSteven
EffortlessSteven merged commit c88c8f5 into main Oct 29, 2026
14 checks passed
EffortlessSteven added a commit that referenced this pull request Oct 31, 2026
…tion (#1403)

* test: pin GitHub review payload round trips (#1369)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(parser): recover textual finding evidence arrays with degradation (#1365)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(release): pin advisory result plane enforcement boundary (#1367)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(admission): bind symlink targets to revision trees (#1364)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(release): reject hostile archive fixtures (#1375)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(review): join private audit payload proof and isolate CLI context (#1376)

* test(review): join private model audit to public payload proof

* test(review): construct privacy canary outside shared source context

* test(cli): reproduce ambient event contamination of provider fixture

* fix(tests): isolate CLI fixture prompts from hosted PR events

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* docs(review): propose bounded judgment reuse and mode decision (#1349) (#1386)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* docs(agents): route native delivery and review guidance independently (#1402)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(proof): retain skipped-unresolved as missing evidence (#1412)

* fix(proof): classify skipped-unresolved receipts as missing evidence

* test(proof): reject timeout flags on unresolved receipts

* fix(proof): validate successful exits before NDJSON parity

* fix(proof): bind unresolved sides and leases to execution

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(doctor): reject unsuccessful tool version probes (#1418)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(gate-truth): describe unsatisfied planner receipts (#1438)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(review): preserve model provenance after inline admission

* docs(agents): guide Tower review and full CI transitions (#1468)

Add agent-facing transition guidance for Tower source-only advisory review and integrated full CI, with exact evidence expectations, mode boundaries, dormant SDLC admission and explicit unknown states. Link it from the native agent workflow.

Validation: native policy/staged precommit, relative links and diff checks passed; independent exact-candidate documentation review found no material issues. Existing draft and Ready gate/baseline runs passed. Ready gate 38686930004 and baseline 38686930383 are the final hosted receipts.

Preserve existing limitations: compatibility conclusion passes while additive analysis/gate remain not_proven, task projection remains contradictory/shadow-only, and optional instrumented coverage has three setup-ci inventory failures. No authority migration, activation, production App, protection, release or deployment change.

* test(review): pin mixed verdict hierarchy and navigable headings (#1469)

Add three production-compiler regressions for mixed decision/proof hierarchy, unique navigable headings, private evidence suppression, and quiet/opposing-lane controls.

Validation: 1,259 local tests passed, one intentional driver ignore; native check/Clippy/docs/policy/staged precommit; exact-head independent source review and final main-state/vision review. Ready-triggered qualification and review receipts are retained on PR #1469. Production renderer, dependencies, lockfile, policy and workflows unchanged.

* fix(review): bind prior resolutions to complete revision identity (#1480)

* fix(review): bind prior resolutions to complete revision identity

* test(review): select exact resolutions from mixed history

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(proof): omit library name from generated --lib command

* fix(verifier): compare native RIPR source contracts explicitly (#1506)

* fix(verifier): compare native RIPR source contracts explicitly

* fix(verifier): reject malformed non-gap source findings

* docs(sdlc): finish selected delivery through verified merge (#1509)

Install selected-candidate and same-owner delivery in the loaded agent root, delivery skill and native workflow guide. Preserve live CI protection and explicit release boundaries. Clarify that alternative candidates stay unpublished until the explicit-request cutover. Reviewed against the current base with passing exact-head native gate and independent baseline; retained gate-packet and optional-coverage limitations remain documented on the PR.

* fix(proof): preserve intent admission and settle elapsed proof budgets (#1508)

Give rejected semantic proof intents supported recovery choices and refuse every named Cargo build target before scheduling. Preserve command admission and original lease ceilings while charging conservatively settled elapsed proof time.

Validate literal rejection and supported-command controls, native budget interactions and compiled negative controls. Preserve38 individually reviewed exact static dispositions and existing review/expiry dates.

Local source-tree qualification:1279 tests passed,0failed,1ignored; staged native checks passed. Independent exact-head review5560020940. Hosted ub-review/gate39068319798 passed on sourcec1b7614; legacy shadow limitations remain recorded in the PR.

Reviewed-head: c1b761405e74a7512e66268913465458184af5c2
Reviewed-tree: 5b7cc3ba96385142bdb84efc4a9c9d55d46590c4

* docs(cli): point outcome guidance at exact receipts (#1442)

Clarify sensor status and proof diagnostics, supported summary and doctor commands, and configured Required obligations.

Fixes #1441.

* docs(review): encode zero trust development and warm review (#1549)

Align root, review skill and Tower guidance with fallibilism, selective evidence reuse and warm multiangle review. Select source-only or admitted executable mode before work. Preserve installed qualification and unresolved shadow/coverage evidence. Refs #840 and #1334.

* fix(cache): record trusted shared-prefix section boundaries

* fix(review): record fallback provenance after capacity admission

* chore(ripr): record exact test-helper dispositions for #1551

* test(cache): strengthen source membership and disposition RIPR probes

* fix(verifier): bind resolved candidates to admitted revision (#1553)

* fix(provider): cap OpenCode chat completion output (#1540)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(summary): preserve gate truth when packet inputs are unavailable (#1559)

* fix(summary): preserve gate truth when packet inputs are unavailable

Keep admitted gate diagnostics independent of optional metrics, stop copying calibration verdicts, and separate preliminary from final summaries. Add generated CLI corruption, enforcement, restoration, and reused-run controls for #1554.

* test(summary): qualify unavailable-artifact diagnostics

Distinguish missing and unreadable gate/metrics inputs. Retain 26 exact RIPR dispositions after source-role review and six compiled defect controls, with existing tool pin, threshold and policy dates unchanged.

* fix(summary): respect recorded plan-only phase

* fix(init): reject undefined custom profiles before writing outputs (#1560)

Fixes #1556.

Preserve config-owned runtime profiles; cover exact rejection/no-write behavior and actual custom-profile selection. Retain one reviewed invariant-specific RIPR attribution disposition with unchanged pins, threshold and existing ledger dates.

Qualified on full parent-versus-main gate 40445230609 and independent baseline 40445228782. Final source/evidence and review judgment: PR #1560 comment6433217477. Known optional coverage, model-off and required-proof limitations remain separately tracked; no release or sole-gate readiness claim.

* fix(messages): serialize sequence allocation with appends (#1532)

Allocate sequence IDs under the existing append lock so physical record order and returned identity agree. Retain the eight-writer/512-record regression. Closes #1531.

Final integration judgment and qualification: https://github.com/EffortlessMetrics/ub-review/pull/1532#issuecomment-6434976703. Tested composition and disjoint current-main drift are separately recorded; #1569 owns synthetic-merge base reporting. No policy, threshold or workflow change.

* fix(verifier): bind cache declarations to retained context bytes (#1536)

Recompute both source and cache raw-byte SHA256 digests, reject malformed manifest roots and preserve valid empty-lane evidence. Closes #1535.

Qualification and integration judgment: https://github.com/EffortlessMetrics/ub-review/pull/1536#issuecomment-6435078541. Historical tested merge and disjoint main drift are explicitly distinguished. #1569 owns merge-base reporting; #1570 owns declared byte-count verification. No workflow or policy relaxation.

* fix(proof): retain kill and command cleanup diagnostics (#1572)

Integrate the reviewed #1539 cleanup repair onto main. Preserve failed-kill diagnostics after confirmed reap and original command outcomes when secondary receipt reconciliation fails. Current baseline40476248483 and required gate40476248487 pass on the exact main-relative tree8438f279. Broader #1281 containment remains separate; no release.

* fix(diagnostics): bound doctor and cache version probes (#1571)

Fixes #1557. Integrate the existing bounded diagnostic adapter, real CLI recovery/cleanup coverage, independent output/identity boundary tests and narrowly reviewed source/oracle dispositions. Preserve current-main cleanup/init/message/cache repairs and all prior policy dates/entries.

Current full baseline40480495544 and main-relative required gate40480498377 pass at tree2de23850d4c54ffb866b511452372dd6e9d2ccff. Actual8 unit+7 CLI controls and nonempty653-row analyzer packet inspected. Unavailable author-reported mutation transcripts are not claimed as independently executed proof. Final review5664912303 records scope and remaining model/coverage/proof limits. No release.

* docs: clarify ordinary PR access boundaries (#1577)

* docs: clarify ordinary PR protection boundary

* docs: exercise independent access boundaries

* Preserve unstructured JSON reporter responses

* fix(config): preserve explicit zero sensor timeout

* Record reporter deleted-call exposure disposition

* Reject unrepresentable audit history windows (#1580)

* Reject unrepresentable audit history windows

* Avoid extra audit history wiring

* fix(review): stabilize same-location finding selection

* fix(diff): include ignored submodule changes

* Preserve follow-ups in incomplete reporter JSON

* fix(verifier): retain measured unavailable proof duration

* fix(proof): bind reused receipts to exact requested targets

* fix(review): compose claim conflict states independent of order

* test(review): reject confirmation of unadjudicated conflict participants

* test(diff): exercise ignored gitlink fallback

* fix(proof): preserve executed paths during receipt attribution

* Record exact conflict reducer exposure dispositions

* test(review): assert retained conflict record order

* test(fixtures): prevent executable writer inheritance and isolate snapshot workspaces

* fix(config): identify selected profiles by table key (#1579)

Normalize embedded runtime profile identities after defaults and overrides, preserving the selected table's actual limits. Retain conflicting-name and omitted-name CLI regression controls and document the table-key contract.

Current-head baseline40687588296 and required gate40687587630 passed. Source review and the exact artifact/test evidence are retained in PR1579, including the historical synthetic-merge-base and additive proof limitations. No release or gate-policy change.

* fix(cost): record nonfinite estimates as unavailable (#1585)

Represent overflowing runner-cost estimates as unavailable evidence with a distinct reason, preserving the supplied finite rate and ordinary estimates. Retain overflow, rate, missing-input and token-saturation controls.

Ready-head baseline40689290090 and required gate40689289002 passed. PR1585 records exact artifact/test evidence, review disposition and the historical synthetic-merge/advisory-proof limitations. No release or gate-policy change.

* test(setup-ci): preserve coverage output routing in isolated fixtures

Adopt only the existing three LLVM_PROFILE_FILE forwarding sites from #1388/#1354 onto current main. Preserve env_clear, every inventory/byte/idempotence assertion, and the coordinated fixture_output calls landed in #1599. The rest of the onboarding integration remains separate.

This is a source-selected candidate; hosted ordinary and instrumented qualification remains required. No workflow, suppression, threshold, credential, release or production behavior change.

* fix(smoke): bind manual review to exact admitted Git revisions

Refs #1603. Resolve one-parent and two-parent checkouts before both manual Action jobs, retain root/octopus refusal, and explicitly build current source. Add real-workflow-script and CLI regression coverage with missing/forged metadata controls. Preserve normal PR gate, provider opt-in, permissions and admission implementation.

Local Bash syntax and four real-Git history controls passed. Rust execution is pending hosted qualification; no provider call, release or completed live review is claimed.

* style(smoke): apply the two pinned rustfmt layouts

Baseline 40836516269 passes compilation, strict Clippy, workspace tests, documentation, policy and verifier; only formatting failed. Apply exactly the two layouts reported by job123322451527. No behavior or assertions changed; current-head qualification remains required.

* fix(verifier): reject skipped source-comparison languages (#1514)

* fix(config): preserve tool gate thresholds with unknown keys (#1590)

* fix(config): preserve tool gate thresholds with unknown keys

* test(config): qualify tool gate sanitizer boundaries

* ci: prepare protected explicit qualification admission (#1465) (#1510)

* feat(ci): stage protected admission helper with offline native controls

* policy(ci): own the fixed offline admission test process

* fix(ci): repair dormant admission fixture and retry bounds

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>
Co-authored-by: Codex <codex@openai.com>

* fix(review): preserve syntax in output duplicate identity (#1541)

* fix(review): preserve syntax in output duplicate identity

* chore(ripr): restore receipt-suppress cross-module exposure gap on PR 1541

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(planner): align proof requests with supported targets and budgets (#1501)

* fix(planner): align proof request guidance with resolver limits

* fix(planner): name the serialized aggregate proof budget

* chore(ripr): receipt-suppress cross-module exposure gaps on PR 1501

* chore(ripr): rebuild suppressions ledger union for PR 1501

* chore(ci): re-fire pull_request gate for PR review sweep

* chore(ripr): deduplicate suppression receipts on PR 1501

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(summary): expose unavailable review evidence receipts (#1528)

* fix(summary): expose unavailable review evidence receipts

* chore(ripr): receipt-suppress cross-module exposure gaps on PR 1528

* chore(ripr): rebuild suppressions ledger union for PR 1528

* chore(ci): re-fire pull_request gate for PR review sweep

* chore(ripr): deduplicate suppression receipts on PR 1528

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(proof): distinguish stale-head receipts from missing proof (#1491)

* fix(proof): distinguish stale-head receipts from missing proof

* chore(ripr): receipt-suppress cross-module exposure gaps on PR 1491

* chore(ripr): rebuild suppressions ledger union for PR 1491

* chore(ci): re-fire pull_request gate for PR review sweep

* chore(ripr): deduplicate suppression receipts on PR 1491

* fix(ci-audit): retain incomplete history and unknown accounting (#1493)

* fix(ci-audit): retain incomplete history and unknown accounting

* test(ci-audit): discriminate partial counts and workflow isolation

* chore(ripr): receipt-suppress cross-module exposure gaps on PR 1493

* chore(ripr): rebuild suppressions ledger union for PR 1493

* chore(ci): re-fire pull_request gate for PR review sweep

* chore(ripr): deduplicate suppression receipts on PR 1493

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(config): reject explicitly requested missing configuration (#1479)

* fix(config): reject explicitly requested missing configuration

* test(config): retain actionable I/O causes for requested paths

* test(config): strengthen profile override coverage and qualify RIPR suppressions (#1563)

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(delivery): block duplicate writes after uncertain publication (#1440)

* fix(delivery): reserve publication attempts before remote writes

Block uncertain retries in the same artifact directory and require terminal submission before inline receipt reuse. Refs #1433.

* test(delivery): check exact reservation schema and API

* chore(ripr): receipt-suppress cross-module exposure gaps on PR 1440

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(context): identify missing ledger configuration source (#1550)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(ripr): reject unsupported detail finding classifications (#1515)

* fix(summary): reject unsupported metrics schemas (#1588)

* fix(review): retain signal termination diagnostics (#1578)

* fix(sensors): preserve native environment bytes during quarantine (#1543)

* fix(sensors): preserve native environment bytes during quarantine

* docs(sensors): clarify internal environment overrides

---------

Co-authored-by: Steven Zimmerman <steven@perllsp.org>

* fix(unsafe-review): route comment-plan schemas before payloads (#1518)

* fix(verifier): bind admission metadata to canonical reviewed commit (#1583)

Co-authored-by: Steven Zimmerman <steven@perllsp.org>

* fix(review): preserve leading b directories in actionable findings (#1520)

* fix(review): preserve real leading b directories in finding paths

* test(review): validate aliases against one unchanged payload

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(proof): classify nested test directories in bun candidate detector (#1608)

* fix(proof): classify nested test directories in bun candidate detector

#1520 changed normalize_repo_path to preserve a leading b/ directory (a real
directory named b/, not a transport prefix). is_bun_focused_test_file still
required a top-level test/ or tests/ prefix, so a changed file at
b/test/parser.test.ts stopped being a focused-test candidate and
request_attribution_reuses_only_the_executed_bun_target failed with
tasks.len() == 0 on main.

The detector now accepts a test/tests directory component at any depth,
rejecting ./-anchored paths as before. The broker test's b/ case passes
unchanged: attribution still compares the request's parsed file against the
raw changed-file path, so a request for the stripped path re-runs its own
command exactly as before.

Proof: cargo test --bin ub-review -- bun_focused_test_file_classifier
request_attribution_reuses_only_the_executed_bun_target passes locally; full
floor rerun through the gate.

* chore(ripr): receipt-suppress classifier predicate exposure gap on PR 1608

* fix(reporter): reject invalid selected turn references (#1524)

* fix(reporter): reject invalid selected turn references

* chore(ripr): receipt-suppress reporter exposure gaps on PR 1524

* fix(transport): clean both output files after stream read errors (#1529)

* fix(transport): clean both streams after output read failures

* policy(ripr): disposition deleted transport return after compiled controls

* perf(evidence): bound and reuse routed proof output tails (#1505)

* perf(evidence): bound and share routed proof tails per packet batch

* test(evidence): distinguish empty streams from unavailable outputs

* chore(ripr): refresh suppression ledger on PR 1505

* chore(ripr): receipt-suppress remaining cross-module exposure gaps on PR 1505

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1505

* chore(ripr): re-append shed receipts on PR 1505

* fix(review): preserve leading Markdown links in summaries (#1576)

* fix(review): preserve leading Markdown links in summaries

* fix(review): retain nested and escaped link labels

* test(review): pin bracket scanner boundaries

* fix(review): align publication link reconciliation

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1576

* chore(ripr): re-append shed receipts on PR 1576

* fix(review): report the command that timed out (#1589)

* fix(review): report the command that timed out

* test(review): pin timeout provenance controls

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1589

* chore(ripr): re-append shed receipts on PR 1589

* fix(review): decode quoted patch paths for anchors (#1591)

* fix(review): preserve quoted patch anchor identities

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1591

* chore(ripr): re-append shed receipts on PR 1591

* fix(setup-ci): stop after unusable publication responses (#1595)

* fix(setup-ci): stop after unusable publication responses

* test(setup-ci): qualify publication failure boundaries

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1595

* chore(ripr): re-append shed receipts on PR 1595

* fix(proof): reject duplicate ranges and overflowing hunk arithmetic (#1596)

* fix(proof): reject duplicate ranges and overflowing hunk arithmetic

* chore(ripr): receipt-suppress patch_split exposure gaps on PR 1596

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1596

* chore(ripr): re-append shed receipts on PR 1596

---------

Co-authored-by: Steven Zimmerman <steven@perllsp.org>

* fix(transport): omit timed-out output from errors (#1597)

* fix(transport): omit timed-out output from errors

* test(transport): strengthen timeout diagnostic controls

* fix(watchdog): reject incomplete and conflicting run evidence (#1538)

* fix(watchdog): reject incomplete run finalization evidence

Select the newest exact-head run/attempt before lifecycle classification. Retained pass artifacts cannot authorize timed-out, unfinished, unknown, or failed runs. Keep frozen consumer behavior separate from process cleanup and live gate wiring.

Refs #1534. Focused watchdog controls: 19 passed; verifier self-test passed. Full local baseline and native staged checks running against this tree.

* test(watchdog): pin receipt identity and disposition six static gaps

Assert the complete serialized incomplete-run receipts. Six compiled subject/detail/early-return defect controls fail the consumer suite and restored source passes20/20. Retain exact owned RIPR0.10.0 span/sink limitations without moving dates or strict-zero thresholds. Native staged checks now execute ast-grep0.51.0 from a task-owned registry install and pass.

Refs #1534. Production classifier and #1281 remain unchanged.

* fix(watchdog): reject conflicting same-attempt observations

Require normalized lifecycle agreement within the newest head/run/attempt before pending, cancelled or terminal classification can credit it. Retain order-invariant incomplete-run receipts for conflicts and valid agreeing/superseding controls.

Refs #1534. Supplied regression bee5f9db reproduced on8fe9305. Focused24 and actual CLI39 controls pass;12 compiled defects rejected and restored24 pass. Workspace1288 passed/1 ignored; native staged checks0 blockers; RIPR15 owned dispositions/0 unsuppressed/36 unknowns, with explicit prior detail-ID rebindings. Separate holds remain.

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1538

* chore(ripr): re-append shed receipts on PR 1538

* fix(proof): retain whole-file fallback for unselectable JS names (#1598)

* fix(proof): retain whole-file fallback for unselectable JS names

* chore(ripr): receipt-suppress test_parse exposure gaps on PR 1598

* chore(ripr): receipt-suppress remaining exposure gaps on PR 1598

* chore(ripr): re-append shed receipts on PR 1598

---------

Co-authored-by: Steven Zimmerman <steven@perllsp.org>

* fix(onboarding): make the documented advisory first run executable (#1575)

* Complete the existing first-use onboarding integration

* chore(ripr): receipt-suppress onboarding test exposure gaps on PR 1575

* chore(ripr): re-append shed receipts on PR 1575

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Steven Zimmerman, CPA <15812269+EffortlessSteven@users.noreply.github.com>

* fix(post): reject unconfirmed issue broker creation responses (#1545)

* fix(post): require confirmation before reporting broker issue opened

* chore(ripr): receipt-suppress broker and post-command exposure gaps on PR 1545

* chore(ripr): re-append shed receipts on PR 1545

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(config): reject semantic policy errors in doctor and plan (#1562)

* fix(config): reject semantic policy errors in doctor and plan

* fix(preflight): retain policy context and redact dynamic tool labels

Address PR #1562 review findings 4384742630, 4384742698 and 4384742759: retain known policy errors around later planning failures without moving trusted admission; distinguish optional discovery/defaults and runtime overrides; redact dynamic tool IDs/fields while keeping built-in field labels useful.

Add four actual-CLI regression controls and exact correction/label unit oracles. Preserve existing loader, gate, thresholds, pins and run policy behavior. All four published blobs match the source-reviewed local bytes. Rust execution for this repair is pending hosted qualification; no local Cargo pass or compiled negative-control result is claimed.

Refs #1555.

* style(preflight): apply the two pinned rustfmt test layouts

Apply only the exact layouts reported by baseline40462080567/job122048795680: the correction table's gate tuple and the diagnostic artifact JSON read. The other six actual baseline check steps, including full workspace tests and strict Clippy, passed on be5d39c; preserve those results under their original head. No production or test semantics changed.

* chore(ripr): receipt-suppress preflight diagnostics exposure gaps on PR 1562

* chore: recompute mergeability after ledger refresh

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Steven Zimmerman, CPA <15812269+EffortlessSteven@users.noreply.github.com>

* Fix precommit Git path intake and changed-line attribution (#1568)

* fix(precommit): reject staged checks of a different worktree

* test(precommit): own fixture analyzer config and tool environment

* test(precommit): cover Git comparison failure before staged checks

* fix(precommit): preserve exact Git paths and changed-line attribution

* test(precommit): isolate Rust path positives from nontext analyzer rejection

* chore(ripr): receipt-suppress path-intake exposure gaps on PR 1568

* chore: recompute mergeability after ledger refresh

* chore(ripr): re-append shed receipts on PR 1568

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Steven Zimmerman, CPA <15812269+EffortlessSteven@users.noreply.github.com>

* fix(config): restore invalid-only gate fallback after scope validation (#1607)

* fix(config): remove gates emptied by scope validation

* test(config): pin gate fixture isolation and disposition exact probes

* chore(ripr): re-append shed receipts on PR 1607

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* docs(product): reconcile product state after the 2026-10-30 gate train (#1610)

Updates the reconciliation header to current main and records the wave: 26
fix PRs landed, 4 superseded branches closed, and the #1608 main-repair in
which the bun focused-test detector learned to accept a test/tests directory
component at any depth now that normalize_repo_path preserves real leading
b/ directories.

* fix(summary): retain unavailable unsafe-review evidence (#1537)

* fix(summary): retain unsafe-review structured evidence gaps

* test(summary): pin exact sensor output and disposition six RIPR rows

* fix(calibration): reject incompatible history before mode guidance (#1519)

* test(calibration): expose silently excluded incompatible runs

* fix(calibration): reject incompatible history before mode guidance

* test(calibration): pin selected guidance modes exactly

* fix(review): keep model-only failed objections in private audit (#1497)

* fix(review): keep model-only failed objections in private audit

* fix(review): filter private audit before public claim selection

* chore(ripr): receipt-suppress failed-objection exposure gaps on PR 1497

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(review): retain attempts when fallback budget is exhausted (#1495)

* test(provider): reproduce starved fallback attempt reporting

* fix(provider): retain attempts when fallback exhausts its budget

* chore(ripr): receipt exact attempt-reporting analyzer limits

* chore(ripr): receipt-suppress starved-fallback exposure gaps on PR 1495

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* Bind summary-only reviews to their prepared head (#1494)

* fix(delivery): bind summary-only reviews to prepared head

* fix(delivery): distinguish absent graphs from dangling links

* test(delivery): verify complete graph and transport outcomes

* test(delivery): distinguish graph inspection failures

* policy(ripr): receipt five exact graph-loader discriminators

* policy(ripr): bound exact loader receipts with supported dates

* fix(delivery): drop the stale load_claim_graph signature left by the rebase union

* chore(ripr): receipt-suppress graph-loader exposure gap on PR 1494

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(summary): retain configured Required proof evidence gaps (#1492)

Rebase union resolution: main's render_review_efficiency_section already
renders the Gate line through read_gate_outcome's admitted-outcome API; the
branch's stale duplicate block is dropped and its contribution — rendering
configured Required proof accounting next to the planner's — is a single
render_configured_required_proofs call inside main's block. Both conflicting
test functions are kept.

* test(review): cover provider disconnect and output rerun recovery (#1490)

* fix(summary): avoid promising absent late sensor evidence (#1489)

* chore: upgrade tokmd to 1.15.0 (#1332)

* chore: bump tokmd doctor pin to 1.15.0

* chore: install tokmd 1.15.0 on hosted runners

* chore: install tokmd 1.15.0 in the review image

* chore: complete tokmd 1.15 contract alignment

* test: align tokmd pin contracts with 1.15.0

* test: finish tokmd 1.15 doctor assertion alignment

* test: account for all tokmd doctor assertion values

* test: scan the final tokmd upgrade tree

* test: align tokmd doctor expectations with 1.15.0

* chore: trigger final tokmd 1.15 validation

* chore: validate final tokmd 1.15 tree

* fix(doctor): finish the tokmd 1.15 fixture bump in the failed-probe test

The failed-version-probe test still pinned 1.12.0 fixtures and message text
after STANDARD_IMAGE_TOKMD_VERSION moved to 1.15.0, so the Linux gate's
doctor run reported the wrong expected version. Align the fixture probe
output and the message assertion with the new standard-image version.

* chore(ripr): receipt-suppress tokmd install-hint probe on PR 1332

* fix(doctor): align version-probe harness with the 1.15 standard image

The harness fixture still reported tokmd 1.12.0 after
STANDARD_IMAGE_TOKMD_VERSION moved to 1.15.0, so probe=valid states failed
the expected-version comparison and the cached-manifest and leak-guard
assertions drifted with it. Move the fixture and its two lockstep
assertions to 1.15.0.

* fix(doctor): print the 1.15 standard version from the probe fixture

The compiled version-probe fixture hardcodes the printed tokmd version; it
still printed 1.12.0 after STANDARD_IMAGE_TOKMD_VERSION moved to 1.15.0, so
every valid-mode probe compared against a stale version and the cache
manifest stored the stale string.

* chore(ripr): receipt-suppress probe-fixture match arms on PR 1332

* fix(enable): reject directory config before workflow output (#1330)

* test(enable): preserve workflow when config is a directory (#1329)

* test(enable): preserve minimal generic config expectations

* fix(enable): reject directory config before workflow output (#1329)

* chore(ripr): receipt-suppress enable output-tests exposure gaps on PR 1330

* fix(init): reject unusable and aliased guide destinations before output (#1327)

* test(init): prove guide directory rejection before config replacement

* test(init): apply hosted rustfmt layout before clean RED

* fix(init): reject directory guide destinations before config output

* test(init): prove unusable guide outputs preserve existing config

* test(init): preserve writable guide during nontruncating preflight

* style(init tests): apply hosted formatter output

* fix(init): preflight unusable guide outputs before config replacement

* test(init): preserve invalid root error precedence

* test(init): exercise both invalid-root guide paths before reporting failure

* fix(init): retain root validation before guide preflight

* test(init): discriminate nonmissing guide metadata failures

* test(init): expose existing guide aliases that overwrite config

* fix(init): compare existing output destinations by canonical path

* chore(ripr): receipt-suppress init guide-directory exposure gaps on PR 1327

* fix(setup-ci): validate preview SHA before migration output (#1325)

* test(setup-ci): reject invalid preview SHA before output

* test(setup-ci): correct full SHA fixture widths

* test(setup-ci): format preview SHA CLI controls

* fix(setup-ci): validate preview SHA before migration output

* chore(ripr): receipt-suppress preview-sha exposure gaps on PR 1325

* fix(delivery): bind merge-result reviews to verified PR heads (#1602)

* fix(delivery): bind merge-result reviews to verified PR heads

* fix(delivery): reject unrelated merge graph subjects

* test(delivery): close merge binding oracle gaps

* fix(delivery): bind plans to selected public surfaces

* test(delivery): discriminate public surface eligibility boundaries

* chore(delivery): adjudicate public-surface exposure projections

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>
Co-authored-by: Steven Zimmerman <steven@perllsp.org>

* fix(config): retain sanitized phase diagnostics on current main (#1611)

Co-authored-by: Steven Zimmerman <steven@perllsp.org>

* fix(init): preserve literal paths in generated POSIX commands (#1321)

* test(init): expose generated command path splitting and expansion (#1320)

* test(init): isolate shell lookup and challenge guide fences and relative options

* test(init): correct POSIX command recorder and formatting

* test(init): format UTF-8 path error expectation

* fix(init): preserve literal paths in POSIX guide commands

* test(init): reject CR paths before Markdown guide writes

* test(init): format carriage-return path fixture

* fix(init): reject CR paths before Markdown guide output

* test(init): assert the guide's inspected-root metadata independently

* chore(ripr): receipt-suppress init guide-path exposure gaps on PR 1321

* docs(product): reconcile the 2026-10-30 final wave counts (#1613)

The straggler train continued past the first reconciliation: 40 fix PRs
landed (not 26) and 5 superseded branches were closed (not 4), leaving zero
non-draft open PRs; the remaining open set is author-held drafts only.

* fix(runtime): publish terminal work queue projection (#1306)

* runtime(queue): publish terminal queue projection

Preserve the compatibility planner queue as immutable named plan artifacts and publish a separate receipt-derived terminal projection after final proof receipts exist.

Refs #1305
Advances #957

* fix(queue): consume joined receipts exactly once

* test(queue): prove explicit receipt joins and collisions

* docs(queue): define explicit receipt join identity

* refactor(queue): keep terminal projection as a narrow extension

* refactor(queue): remove copied legacy module

* fix(queue): support terminal sensor skips and task-identity receipts

* test(queue): cover skipped sensors and explicit identity fallback

* docs(queue): document explicit task-identity compatibility join

* docs(queue): define fail-closed terminal publication

* fix(queue): publish terminal projection fail closed

* test(queue): reject stale terminal truth after failed rerun

* style(queue): format terminal schema constants

* style(queue): apply repository rustfmt

* style(queue): match hosted rustfmt exactly

* fix(queue): invalidate terminal marker before receipt publication

* test(queue): preserve receipts when marker invalidation fails

* chore(ci): retain RIPR ledger for exact-byte repair

* test(queue): classify and complete terminal proof corpus

* style(queue): apply rustfmt to terminal queue helpers

* style(queue): apply rustfmt to projection tests

* style(queue): apply rustfmt to publication tests

* style(queue): apply rustfmt to validation tests

* fix(queue): invalidate stale plans and reject unsupported projection inputs

Preserve the intervening test-formatting commits. Remove all terminal canonical
and staging files before new planner publication; abort on cleanup failure.
Reject unsupported proof schemas and planner task kinds with positive and
negative publication regressions. Remove the temporary RIPR ledger export.

Addresses PR #1306 review findings without changing scheduling, Required
policy, gate authority, or suppression policy.

* test(queue): keep helpers on recognized test surface

Move the terminal-queue fixture helpers to a `_tests.rs` module without changing their code or the test graph. This keeps helper probes on the repository's recognized test surface under pinned RIPR 0.10.0 instead of treating fixture construction as production behavior.

* test(queue): pin complete terminal rows and receipt-order replay

Add six behavioral regressions for exact planned sensor/proof metadata,
source receipt references, unjoined receipt rows, complete terminal events,
receipt-order-independent bytes, missing/unreadable sensor paths, malformed
plan identities, and preserved declined-proof consumers.

Responds to the exact #1306 RIPR packet without adding suppressions, moving
production code, changing thresholds, or treating fixture probes as defects.
Runtime, scheduler, Required policy, and gate authority are unchanged.

* test(queue): expose nonterminal proof-result admission

Add a red regression demonstrating that a nonempty queued/running/unknown
proof result currently commits a terminal queue. Pin the eight supported
broker results separately, preserving failures and nonexecution distinctly.
This test-only commit intentionally exposes the boundary before its repair.
No gate, scheduler, Required policy, or suppression changes.

* fix(queue): reject nonterminal and unknown broker receipt results

Repair the regression witnessed at 7c408da by protected-base test job
104901161278: unsupported proof result planned was published. Preserve the
existing empty-result diagnostic and the eight current focused broker
terminal results. The sanitizer helper in broker.rs is test-only; standalone
worker publication remains outside the planner-backed queue path.

No scheduler, Required-policy, gate enforcement, or suppression changes.

* style(queue): apply pinned rustfmt to terminal-result regression

Apply the sole formatting diff from protected-base job 104903138392.
The preceding repair already passes the exact-head workspace test, check,
Clippy, docs, policy, and verifier jobs. No test semantics change.

* fix(queue): reject forged planner states before terminal projection

Validate the producer-specific plan vocabulary before joining any receipt:
sensors are planned/skipped and focused proof is planned/deferred_by_budget.
A forged head_passed or in-flight status must not become terminal truth when
no receipt exists, nor be laundered by an otherwise successful receipt.

Add 30 invalid-state/receipt-presence cases and six positive nonexecution
controls through the real receipt writer. Preserve plan/receipt separation,
stale-output invalidation, scheduling, Required policy, and gate authority.
No suppression or threshold change.

* test(queue): reject unversioned proof catalog receipt joins

Witness the missing proof_tasks.ndjson schema boundary without changing
production. Seed a valid terminal generation, mutate only catalog schema,
and require exact rejection plus removal of stale terminal artifacts.
Cover absent, request-identity and task-identity receipt paths.

Related: #1306, #1305, #957.

* fix(queue): validate proof task catalog schema before receipt joins

Require PROOF_TASK_SCHEMA before reading catalog identities. Preserve existing
missing-catalog behavior and malformed-ID/duplicate-ID diagnostics; version
the test catalogs so those deeper validation controls remain meaningful.

The test-only parent adddaa8133fad15188e18f7616ea8614f68d105f witnessed the
missing-schema defect in protected-base run 35151931147: 1125 binary tests
passed and the new regression alone failed. Also apply the one rustfmt wrap
reported for that regression. No policy, analyzer, scheduler or gate changes.

Related: #1306, #1305, #957.

* refactor(queue): share the terminal marker filename

Use the terminal module's existing filename constant from pre-receipt
invalidation. Limit constant visibility to its parent module; preserve the
helper, publication order, filename and existing behavioral tests unchanged.

Addresses review comment 4030308750 on #1306.

* test(queue): reject foreign sensor receipt paths

Retain a failing witness on unchanged production for parent-relative,
absolute and unrelated packet-local receipt paths, plus leaf and ancestor
symlinks. Start from a valid terminal generation and require rejection,
preserved planner/external evidence and absent terminal commit markers.

Related: #1306, #1305, #957. No production or policy change.

* fix(queue): admit only packet-local sensor receipt paths

Require the exact producer receipt path and a single safe sensor component
before reading selected-sensor evidence. Reject existing leaf and ancestor
symlinks below the trusted single-writer output root. Preserve skipped and
missing-receipt behavior; do not claim concurrent filesystem isolation.

The test-only parent 43ed58b5 compiled with fmt/check/clippy green in protected
baseline 35157177894. Its binary suite passed 1126 tests and failed only the
new parent-relative-path and leaf-symlink regressions (job 104999290823).
Retain that witness, add component rejection controls and document scope.

Related: #1306, #1305, #957. No analyzer, policy or gate changes.

* test(queue): fence stale terminal generations across receipt write failures

Exercise JSON and NDJSON replacement failures after a valid terminal queue
exists but before terminal recomputation can remove its marker again. Assert
that the real writer returns a filesystem error, preserves planner bytes,
and withholds the old marker; then remove the obstruction and verify exact
replacement task/receipt identities in both queue and events.

Apply the previously reviewed failure-window test with no production,
workflow, suppression, dependency, or gate-policy change. Source blob and
patch applicability checked locally; Rust qualification remains hosted.

Related: #1306, #1305, #957.

* style(queue): apply pinned rustfmt to receipt recovery assertions

Apply only the two assertion-layout corrections reported by exact-head
format job 105073370427 in run 35181153968. Non-whitespace source is
unchanged; the failure-window regression and its assertions are unchanged.

* fix(queue): publish planner artifacts as one recoverable set

* fix(queue): route planner writes through recoverable publication

* docs(queue): define recoverable planner publication

* style(queue): apply pinned planner transaction formatting

* style(queue): format planner publication call

* fix(queue): invalidate planner marker before canonical swaps

* docs(queue): document planner marker invalidation

* test(queue): witness incomplete planner rollback and staging cleanup

Preserve the concurrent 9b3a25c marker invalidation and ordering controls.
Add persistent restore failures for each non-marker sibling, requiring all
other restores and staging cleanup to run before an honest retry. Separately
prove that an unremovable first staging path cannot skip later cleanup.

Test-only negative controls; production behavior and gate policy unchanged.

* fix(queue): complete rollback and cleanup after partial failures

* docs(queue): define incomplete rollback semantics

* style(queue): apply pinned rollback formatter output

* docs(queue): scope rollback cleanup and durability guarantees precisely

A staging-cleanup error occurs after marker restoration and does not by
itself erase a coherent restored planner set. Distinguish that condition
from failed sibling recovery, retain failed-withholding diagnostics, and
avoid implying fsync/power-loss or concurrent-reader guarantees.

Preserve the concurrent implementation and all regression oracles; no
production behavior, gate, Required, or analyzer policy changes.

* test(queue): witness terminal cleanup and staging recovery gaps

Exercise all 15 nonempty obstruction sets, both staging writes, and
pre-plan cleanup with stale sibling files. Preserve planner bytes and
require original I/O plus cleanup diagnostics and successful retries.

Test-only predecessor for the prepared terminal recovery repair on #1306.
No production, workflow, analyzer, suppression or gate-policy change.
Hosted behavioral failure is expected, not yet observed.

* fix(queue): complete terminal cleanup and retain publication failures

Attempt every canonical and staging removal after an obstruction. Route
both staging writes and both renames through one recovery path, preserving
the primary I/O error and every cleanup diagnostic. Keep the terminal queue
marker last and document persistent-obstruction limits.

Preceding test-only cc31e65 was compiled and exercised by protected-base
run 35188589217 / job 105095919077: 1,134 tests passed; exactly the two new
and one strengthened recovery tests failed. No formatting or build failure
is treated as the behavioral witness. Current-head qualification is pending.

No schema, receipt join, planner publisher, analyzer, suppression, workflow,
Required policy, threshold, or authority change. Part of #1306 / #1305.

* style(queue): apply pinned terminal publisher formatting

Apply the sole rustfmt difference from run 35189000990, job105097185865.
Only the event-rename context closure layout changes. Preserve production
behavior, regression assertions and the witnessed test-only predecessor.

* chore(ripr): receipt-suppress work-queue projection exposure gaps on PR 1306

* fix(onboarding): inspect unsafe markers across admitted Rust files (#1319)

* test(onboarding): expose unsafe markers beyond file 256 (#1318)

* fix(onboarding): inspect every admitted Rust file for native markers (#1318)

* chore(ci): refresh normal qualification after stalled PR synchronization

* chore(ripr): receipt-suppress enable inspection exposure gaps on PR 1319

* test(cli): preserve coverage routing in isolated output fixtures

Refs #1614. Forward only optional LLVM_PROFILE_FILE after clearing each init-output and action-SHA fixture command environment. Preserve filesystem, byte, failure and replay assertions, production behavior and existing subprocess helpers.

Before-state gate41136887744 artifact13016034820 executes 14 coverage-only failures with default profraw pollution. This candidate changes no assertions, workflows, gate thresholds, pins or suppressions. Exact-head ordinary and instrumented hosted qualification remains pending; no local Rust execution is claimed.

* fix(tools): admit versioned RIPR gate receipts without native fallback bypass (#1347)

* test(tools): reject unversioned, hybrid and incomplete badge receipts (#1333)

* fix(tools): validate badge schema and coverage before admitting gate counts

* test(tools): preserve proven violations under partial badge coverage

* fix(tools): keep proven threshold failures when badge coverage is partial

* test(tools): require actionable object-shape diagnostics for malformed counts

* chore(ripr): receipt-suppress versioned-receipt exposure gaps on PR 1347

* fix(review): retain rejected proof causes and recovery (#1361)

* fix(review): preserve proof-intent rejection recovery

* chore(ripr): receipt-suppress proof-intent exposure gaps on PR 1361

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* fix(local-ripr): preserve quoted Rust filename admission (#1359)

* test(local-ripr): reproduce quoted path admission failures

Actual tests-only RED: 12 focused tests pass; 3 admission regressions fail.
Reservation and acceptance: #1358.

* fix(local-ripr): preserve NUL-delimited Git path bytes

Use -z for both local RIPR path queries and preserve raw bytes through suffix classification. Escape only diagnostic rendering. Includes path-boundary and non-UTF-8 controls.

Focused tests green; 6 runtime mutants killed. No pins, policies, thresholds, workflows or suppressions changed.

* test(local-ripr): prove exact path bytes and decoder boundaries

Keep all tracked/untracked fixtures beside their complete assertions; add exact Git output oracles for both query paths and all-platform pure-decoder byte-vector tests.

Final regression fails at runtime on unchanged base production. Full workspace/all-targets/all-features 1249 pass, 1 intentional ignore; eight runtime mutants killed. Pinned RIPR still reports two unsuppressed exposure gaps; policy/thresholds/suppressions remain unchanged. No merge eligibility claim.

* fix(local-ripr): render distinct untracked path bytes faithfully

Address CodeRabbit discussion_r4239731638 with raw-byte ASCII escaping. Actual diagnostic RED showed invalid FE/FF paths collapse to identical replacement characters; independent literal expected diagnostics now preserve both identities, newline boundaries and UTF-8 bytes.

Focused 16 pass; all eight runtime mutants killed. Full workspace/all-targets/all-features 1249 top-level pass, 1 intentional ignore, plus 1 nested subprocess pass. Pinned RIPR still reports two unsuppressed decoder gaps; no gate eligibility claim.

* chore(ripr): receipt-suppress local-ripr path exposure gaps on PR 1359

* fix(config): receipt malformed provider table shapes (#1363)

* fix(config): receipt malformed provider table shapes

* test(config): assert malformed provider diagnostic

* chore(ripr): receipt-suppress provider-shape exposure gaps on PR 1363

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(provider): send stable OpenCode conversation session headers (#1366)

* test(provider): expose missing OpenCode session headers

* fix(provider): send stable OpenCode conversation session headers

* chore(ripr): receipt-suppress session-header exposure gaps on PR 1366

* style(provider): apply pinned rustfmt layout after the test-mod union

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(proof): bind physical child stops to receipt and ledger truth (#1368)

* test(proof): join physical child stops to receipt and ledger truth

* test(proof): detect unreaped children and freeze RIPR attribution repro

* chore(ripr): receipt-suppress exposure gaps on PR 1368

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(proof): preserve duration and Required disposition evidence (#1371)

* test(proof): preserve budget duration and Required disposition evidence

* chore(ripr): receipt-suppress exposure gaps on PR 1371

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(review): stabilize current-head proof links in static claim artifacts (#1378)

* test(review): expose input-order drift in static proof links

* fix(review): stabilize attached proof links without changing evidence

* chore(ripr): receipt-suppress exposure gaps on PR 1378

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

* test(release): rehearse onboarding through the frozen archive resolver (#1382)

* test(release): prepare preliminary archive onboarding rehearsal

* test(release): retain negative receipts and exact cleanup inventories

* test(release): freeze unrelated sentinel before cleanup

* test(release): witness timeout kill reap and persisted receipt

* chore(ripr): receipt-suppress exposure gaps on PR 1382

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* style(proof): apply hosted rustfmt layout to library argv assertion

Exact fmt failure in baseline41163596599/job124426267385 requests only expanding the six-element expected argv array. Preserve every token, oracle and production byte. Other six baseline workers passed on parent4fe1780, but that is not successor qualification. No workflow, suppression, threshold, source behavior or named-target authority change.

* docs(product): align metadata and help with advisory evaluation (#1383)

* docs(product): align public metadata and help with advisory evaluation

* test(help): pin option section boundaries and normalization

* chore(ripr): receipt-suppress exposure gaps on PR 1383

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(fixtures): coordinate init and setup-ci child launches

Route the remaining default-capture child launches in the two newer CLI modules through the existing FixtureCommandExt reader boundary. Preserve command arguments, environment quarantine, LLVM_PROFILE_FILE routing, all assertions, native I/O errors and the shared lock's release-before-wait behavior.

Refs #1600 and the retained #1617 instrumented OS26 failure. This corrects an observed reader-side participation gap; it does not claim exact causal attribution of that historical failure or complete fake Bun/Cargo writer conversion. No local Rust execution claimed; selected candidate requires ordinary hosted qualification. No production, policy, suppression, threshold, workflow or tool pin changes.

* feat(analyzers): validate recorded bundle selection through a real CLI (#1389)

* feat(analyzers): verify independently pinned recorded bundle selection

* fix(analyzers): bind rollback qualification to selected artifact

* fix(analyzers): reject nonregular evidence before opening

* docs(analyzers): clarify nested parsing and receipt boundaries

* chore(ripr): receipt-suppress exposure gaps on PR 1389

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* fix(post): recognize native HTTP status markers on main (#1394)

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>

* test(ripr): freeze bounded role and oracle comparison controls

* test(ripr): exclude analyzer cache from frozen fixture inventory

* test(ripr): reject unknown erasure and unsupported promotion claims

* docs(ripr): record PR1381 test-source comparison receipt

* test(ripr): retain PR1401 source-role production counterparts

* test(ripr): seal retained role evidence without transient caches

* test(ripr): preserve required fresh-checkout packet directory

* chore(ripr): receipt-suppress exposure gaps on PR 1403

---------

Co-authored-by: Steven Zimmerman <steven@stevenzim.com>
Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@example.invalid>
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Steven Zimmerman <steven@perllsp.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant