Skip to content

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

Merged
EffortlessSteven merged 2 commits into
mainfrom
fix/reporter-turn-reference-20261019
Oct 30, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
fix/reporter-turn-reference-20261019

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Summary

A malformed reporter latest_turn could gain current-head public and review-forward authority: the resolver mapped any failed turn-ID parse to u32::MAX, which also matches a valid serialized turn number. For example, an otherwise matching turn-invalid receipt resolved as Current with a clear verdict.

Validate the selected reference as the writer's canonical turn-{number:03} component before joining or reading the target, and compare the payload against that parsed number. Invalid, overflowing, path-shaped and aliased references now produce explicit unusable reporter evidence. Valid large turn numbers, legacy rollup lookup and missing-target diagnostics are retained. This changes evidence admission, not proof execution or gate policy.

Closes #1521. Scope is resolve_reporter_turn and co-located regression tests in src/reporter.rs; current owners #1458/#1495 change other hunks. Artifact-proof owners #1473/#1482, static proof-link owner #1378 and all explicitly excluded owners remain separate.

Candidate: 538f2d5808a60d2ffd2e2ee156d53f02a4f03df7; tree: 4ca6de48370ebd4fdc0a91f83f25a5acf439e523; base: ac06293dd0871531c1826e4a3266c8dc537cf4f6.

Policy receipts

Existing Rust surface only; no new exception or suppression. Existing thresholds, required checks, workflow triggers and protections are preserved. No release or deployment changes.

Verification

Linux, Rust/Cargo 1.95.0, admitted task-owned Cargo target and four build jobs (measured 4 CPU quota, 16 GiB RAM, 30 GiB free disk). Exact candidate content:

  • Tests-only RED on unchanged production compiled and failed: reporter_resolution_rejects_invalid_turn_references observed Current(... turn: 4294967295, receipt_ref: "review/threads/reporter/turn-invalid.json", verdict: Clear).
  • GREEN cargo test --locked --bin ub-review reporter::tests: 30 passed. Includes malformed/overflow/path/alias negatives; canonical MAX identity; >999 legacy lookup; missing selected target; mismatched receipt and existing public/gate identity controls.
  • cargo check --workspace --all-targets --locked, cargo test --workspace --all-targets --locked, strict workspace/all-target Clippy, cargo doc --workspace --no-deps --locked, cargo xtask policy-check, and artifact verifier --self-test: passed. One intentional CLI ignore; existing rustdoc ambiguous-link and policy review-date warnings retained.
  • cargo xtask precommit --staged in a detached base checkout with staged tree verified equal to 4ca6de4: zero blocking findings; fmt, check, diff Clippy, cargo-allow, RIPR, unsafe-review and ast-grep passed; actionlint skipped for unchanged workflows.
  • Exact-candidate independent detached-worktree review: no material findings. Pristine reporter module: 30 passed. Compiled canonical-filter omission mutant failed when turn-+4294967295 gained Current/Clear; compiled invalid-ID Malformed to Absent mutant failed on turn-invalid: Absent. After pristine restoration, 44 reporter-related tests passed, including gate and production composition coverage. Review source/tree readback was clean. These experiments establish discrimination of the named semantic mutations, not removal of static opacity or formal GitHub approval.

Native ready-mode RIPR 0.10.0 reports two unsuppressed gaps despite strong-oracle metadata: probe:src_reporter.rs:predicate:61c55907 (line 598, canonical filter; fixture/proc-macro opaque) and probe:src_reporter.rs:return_value:3bcce1fc (line 603, closing };; fixture opaque). Draft precommit success does not clear the strict-zero hosted gate. No analyzer substitution or suppression is made. Existing producer semantic-boundary owner RIPR #1715, discriminator/source owner RIPR #1453, and admitted-producer adoption owner #813 remain authoritative; no competing producer implementation is opened.

Raw local logs, patch and analyzer receipts are retained in this task environment; they are not represented as hosted artifacts. Hosted results will be reconciled against this exact candidate and linked here.

CI budget

Default installed PR qualification only; selected candidate, one ordinary publication, no labels/manual dispatch/reruns. Inspected current triggers: opened/Ready/synchronize run contained model-off artifact-only gate and protected-base independent baseline; coverage upload is existing telemetry. Release runs only on v* tags or explicit dispatch. Neither occurs here.

The branch-protection REST read returned HTTP 403 Resource not accessible by integration; that surface remains unknown. This is a concrete final integration visibility gap, not a permanent Draft requirement or permission to bypass protection. Continue normal qualification/review; integration needs current authoritative gate/protection visibility through the coordinating owner.

Terminal qualification and continuation — 2026-10-19 04:09 UTC

Candidate and main remain 538f2d5808a60d2ffd2e2ee156d53f02a4f03df7 / ac06293dd0871531c1826e4a3266c8dc537cf4f6. GitHub merge candidate db4f06f656785b0625bfa18a4ab64934b1a0c9ec has those ordered parents and the identical candidate tree 4ca6de48370ebd4fdc0a91f83f25a5acf439e523.

  • Independent baseline 39197354873: terminal success, all seven evidence jobs (fmt/check/Clippy/test/docs/policy/verifier) and protected-base aggregate successful. Artifact 12162456238 is associated with this exact head; API metadata reports 525 bytes, SHA-256 50c064da3d9133c6fdc38c56e5f2bdc6ed9050a1eb12b6b3ac76d9b11c7a87e0.
  • Gate 39197354731: terminal failure. The authoritative check annotation states ub-review gate failed (blocking reasons: ripr). Artifact verification and both shadow reconciliation steps succeeded; coverage telemetry succeeded. Packet 12161814448 metadata reports 869553 bytes, SHA-256 0efcb58cb4c920f72ebcc1603399cb5b4adb84f973b0c2810a0c3946292be504.
  • Raw hosted receipt inspection is blocked: gh run download 39197354873 and GET job-log endpoints for baseline jobs 117882884103 / 117883205167 redirected to GitHub Actions Azure storage and returned HTTP 403 Forbidden. The gate packet has not been downloaded through that denied storage path. API metadata digests are not local byte verification. The two exact RIPR rows above are local exact-candidate evidence; the hosted blocker is confirmed as RIPR, but its raw count/IDs are not claimed inspected. No retry, alternate route, credential change or rerun was requested.
  • Independent review receipt: no material findings, two compiled mutation rejections and pristine 44-test restoration. Fresh authenticated native review reads returned no formal reviews, no inline threads (complete pagination), and no substantive review findings in Conversation. CodeRabbit quota skip is not independent clearance despite its green status.

Concrete hold: failing RIPR qualification; current branch-protection settings remain unknown after GET repos/EffortlessMetrics/ub-review/branches/main/protection returned HTTP 403 Resource not accessible by integration. Keep this candidate recoverable. Ready would trigger another unchanged qualification run, so no readiness/merge transition is requested while this failure remains.

Existing-owner evidence routing on #813 retains RIPR #1453/#1715 and admitted-producer adoption ownership. The coordinating owner continues from this exact candidate once the existing owners settle the two-row static packet under unchanged policy and an authorized reader can inspect the hosted receipt/current protection state. Then refresh affected review/proof and normal current gates before protected integration. No duplicate producer writer, release or deployment is introduced.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 17 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 148 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

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: 87128888-2150-4265-a213-a3da011a2147
Commits

Reviewing files that changed from the base of the PR and between e7b4cb9 and 61d22d9.

Files selected for processing: 2
  • .ripr/suppressions.toml
  • src/reporter.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Copy link
Copy Markdown
Member Author

Independent exact-candidate evidence for 538f2d5808a60d2ffd2e2ee156d53f02a4f03df7 (tree 4ca6de48370ebd4fdc0a91f83f25a5acf439e523, base ac06293dd0871531c1826e4a3266c8dc537cf4f6): the bounded review agent used a separate detached worktree and Cargo target under .agents/skills/review-change/SKILL.md; it found no material issue. This is separate technical review evidence, not a formal GitHub approval or hosted gate clearance.

Both static RIPR sites received actual compiled semantic controls. Rust/Cargo 1.95.0, two build jobs:

  1. Delete only .filter(|number| latest_id == format!("turn-{number:03}")). cargo test --locked --bin ub-review reporter_resolution_rejects_invalid_turn_references -- --nocapture compiled and failed:
    turn-+4294967295: Current(ResolvedReporterTurn { turn: 4294967295,
      receipt_ref: "review/threads/reporter/turn-+4294967295.json", ... verdict: Clear })
    test result: FAILED. 0 passed; 1 failed
    
  2. Restore the filter; replace the entire invalid-ID return ReporterTurnResolution::Malformed { ... } with return ReporterTurnResolution::Absent;. The same command compiled and failed:
    turn-invalid: Absent
    test result: FAILED. 0 passed; 1 failed
    
  3. Restore the exact candidate. cargo test --locked --bin ub-review reporter -- --nocapture passed:
    running 44 tests
    test result: ok. 44 passed; 0 failed; 0 ignored
    
    The review checkout was clean and its HEAD/tree read back as the identities above. Initial pristine reporter::tests also passed 30/30.

This demonstrates rejection of noncanonical authority and malformed-to-absence collapse; it does not erase RIPR's static fixture_opaque/proc_macro_opaque reports or waive strict-zero enforcement. Predicate row probe:src_reporter.rs:predicate:61c55907 remains reported despite the compiled discriminator. Return row probe:src_reporter.rs:return_value:3bcce1fc identifies closing };; the meaningful whole-return control is rejected. Canonical producer owners remain RIPR #1453 / #1715 and ub-review #813 for admitted producer adoption; no competing repair, suppression, or threshold change is introduced.

Retained local evidence hashes (raw files recoverable in the task environment, not hosted download links):

File SHA-256
canonical-filter mutant diff f32aa7a3da7eabddc35b27895a10b23b91e4ada631517665e4587b30724d5118
canonical-filter failure log 90d5e3e350ec616c1a69e3b5a0c427e8d030e24dc43a7382baf5f7037e89c600
malformed-to-absent mutant diff 0c6daa611f80565fcf8a5bab93f4d0bff265a7c58d475aec67efc88ed62688d5
malformed-to-absent failure log 6a22c464cec1ba7b6225c86eb78ebf25dd45f8ef8a08a6bac3d26f7e79b9ed8c
restored 44-test log 3983e8fafe21603580991c72774b9c8c0feaf53f66dc55f77f2ab9d5c1c5bd9f

Copy link
Copy Markdown
Member Author

Local composition evidence for #1524 + #1528 (2026-10-19; technical handoff only).

Exact inputs:

Rust/Cargo 1.95.0, four build jobs, private target, 600-second command bounds:

  • Pristine combined tree: 44 reporter-related tests; real-CLI summary_reports_unavailable_review_receipt; formatting; artifact-verifier self-test all passed (native exits 0). Policy check passed with ten existing overdue-review warnings; Windows-only verifier case was skipped on Linux.
  • A local test-only module exercised production reporter resolution, final summary command, compiler/gate construction and both generated-payload and pre-post validators: 56 combinations passed. Five malformed/overflow/path/alias selectors, missing selected target and stale reporter each remained explicit unusable evidence: 49 inconclusive gates, no eligible public reporter payload. Canonical u32::MAX remained the positive control.
  • Missing, truncated, invalid-JSON, wrong-type, invalid-UTF8 and unreadable review receipts produced 48 explicit incomplete-evidence summaries; restoration was byte-identical. 56 actual pristine-CLI summary replays matched the saved final summaries, all native exits 0. Healthy preliminary rendering and actual generated shared context contained no premature corruption/restoration warning.
  • All 1,158 existing binary unit tests passed, native exit 0, with the test-only include present and unchanged production bytes. Probe tree f292efa0525c533126611edf63e34ca50d2c6ed5 plus external test module SHA-256 9016af413af17163f3e0d9fac36435a352d503cc431130d4199dea23917abab6 identifies that experiment. Source was restored to the exact combined tree; worktree-versus-index diff exited 0. The original checkout stayed clean.

Excluded limitation: a structurally valid review receipt carrying an old head remains accepted by the narrow summary reader. Freshness implementation e4931395c3cbbf690c46c6f261328ac16d232b31 was neither applied nor reopened. Corrupting the summary-reader receipt also does not recompute an independently valid reporter decision; this is not a new whole-packet admission rule.

These are local synthetic-fixture/CLI observations, not hosted qualification, a new independent review, or an actual posting-transaction test. Raw evidence remains local, not shared hosted artifacts. One premature replay exited 1 before fixtures existed; the completed replay above is the applicable result. Existing RIPR strict-zero hold, denied hosted receipt/protection reads and #1528 qualification uncertainty remain unchanged; denied reads were not retried. Canonical owners remain in place. No fixture-generated review findings, CI requests, Ready/label changes, merges, releases or deployments were submitted.

Copy link
Copy Markdown
Member Author

Independent bounded review disposition (2026-10-25): no duplicate executable campaign needed; no new material finding in the selected-turn admission slice.

Live identity read immediately before publication: author/canonical implementation owner EffortlessSteven; open Draft; base ac06293dd0871531c1826e4a3266c8dc537cf4f6; head 538f2d5808a60d2ffd2e2ee156d53f02a4f03df7; Git commit API confirms sole parent equal to that base and tree 4ca6de48370ebd4fdc0a91f83f25a5acf439e523. Authenticated reviews and inline-thread reads returned empty lists. CodeRabbit's quota skip supplies no review clearance.

Reused passed evidence: exact-head independent receipt, including both compiled semantic mutant rejections and pristine 44-test restoration. The retained composition receipt additionally exercises malformed selectors, missing selected targets and stale reporter evidence through consumers, with canonical MAX as positive control. That composition retains its original combined-tree identity and limits; it is not relabeled as a pristine-head execution.

New source-only seam reconciliation at the exact candidate:

  • Resolver: canonical numeric component validation precedes target joining/reading. Invalid references and missing selected outputs yield Malformed, with no alternate-turn recovery after an explicit selector fails. Valid canonical MAX and legacy numeric selection above 999 remain intentional usable paths.
  • Identity and consumer mapping: wrong current head yields StaleHead; turn/rollup thread, head, number, receipt and verdict mismatches cannot become Current. Malformed/stale resolutions withhold public distillation and supply explicit unusable gate evidence.
  • Production invocation boundary: prepare_reporter_run executes before no-digest/budget exits, preventing same-head prior-run disk turns from supplying this invocation's authority. Finalization passes the current head and coordination error into resolution; an error dominates even subsequently readable old disk state. Existing tests at reporter.rs:1224/1261/1374 exercise prior-run cleanup, restored-disk failure and identity mismatches.

Run freshness here is established by the production invalidation lifecycle and payload consistency, not a new independent run-ID authentication contract. No broader anti-forgery or whole-packet acceptance claim is made, and no stronger exploratory requirement is introduced as a blocker.

Failed / unverified: the retained hosted RIPR gate failure remains unresolved; local mutation discrimination does not waive strict-zero policy. Hosted raw receipts and current protection state remain unverified after the previously recorded storage/protection denials; neither denied operation was retried or routed around. No new runtime results are claimed. Workspace Rust/Cargo 1.95.0 executables were verified locally; candidate code was inspected as data, with no checkout, edits, builds, dispatches or branch writes.

Canonical-owner next action: retain this candidate and have the coordinating owner reconcile the existing RIPR producer/adoption resolution already routed through #813 against this exact head, then refresh only affected proof/review when those inputs change. This disposition grants no Ready, merge or release clearance.

@EffortlessSteven
EffortlessSteven force-pushed the fix/reporter-turn-reference-20261019 branch from 538f2d5 to 1c3e040 Compare October 30, 2026 00:19
@EffortlessSteven
EffortlessSteven force-pushed the fix/reporter-turn-reference-20261019 branch from 8c3911d to 3dc5268 Compare October 30, 2026 01:42
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 30, 2026 01:52
@EffortlessSteven
EffortlessSteven merged commit 234b01e into main Oct 30, 2026
14 checks passed
@EffortlessSteven
EffortlessSteven deleted the fix/reporter-turn-reference-20261019 branch October 30, 2026 01:53

@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
Comment on lines +36388 to +36397
[[suppressions]]
kind = "exposure_gap"
finding_id = "probe:src_reporter.rs:predicate:61c55907"
owner = "ub-review/core"
reason = "weakly_exposed static-path gap on PR #1524; probe .filter(|number| latest_id == format!('turn-{number:03}')): Strong oracle found: whole-object equality assertion. Reached by actionlint_sensor_uses_json_template_format, cargo_workspace_graph_returns_none_on_missing_cargo, current_head_receipt_ids_drive_both_unreceipted_task_filters. Re-verify after any edit to src/reporter.rs."
[[suppressions]]
kind = "exposure_gap"
finding_id = "probe:src_reporter.rs:return_value:3bcce1fc"
owner = "ub-review/core"
reason = "weakly_exposed static-path gap on PR #1524; probe };: Discriminator unconfirmed: no assertion text references this probe's changed expression (observation_unverified). Reached by invalid_model_verdict_stays_explicitly_undecided, lane_continuation_prompt_includes_proof_evidence_when_present, lane_continuation_prompt_includes_question_and_prior_conclusion. Re-verify after any edit to src/reporter.rs."

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 Suppression evidence remains unverified

The new receipts cite unrelated tests, and one explicitly lacks a confirmed discriminator. The PR description also predates these additions; review their exact targets and oracle evidence before treating the RIPR gate as cleared.

Devin Review


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

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.

fix(reporter): reject invalid selected turn references before authority

1 participant