Skip to content

fix(review): record fallback provenance after capacity admission - #1551

Merged
EffortlessSteven merged 3 commits into
mainfrom
fix/deferred-fallback-provenance
Oct 26, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
fix/deferred-fallback-provenance

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

A pending model lane can select fallback while that provider's only slot is occupied, retain the fallback marker despite being deferred, and then run on primary in a later wave. A primary success is falsely attributed to fallback; a transient primary failure can lose its first allowed fallback retry because the retry guard sees that stale marker.

Record selection provenance and its reason only after provider capacity admission. Assign the full fallback_from Option, including None for an admitted primary. Preserve selected provider/model/endpoint and fallback metadata for terminal missing-key outcomes.

The change is limited to src/model_orchestration.rs and three direct injected-runner regressions in src/main.rs. Provider limits, retry bounds, call-budget charging, exported attempt accounting, gate/result planes, provider setup, portfolio binding, workflows and permissions are unchanged.

Relationship to #1495 / #1010

Related to #1495; this PR does not close or supersede it. At 2026-10-26 07:52 UTC the coordinator reported #1495 open at df62f8c, recorded base 2fd7d42.

The supplied #1495 hunks retain dispatched attempt counts and primary-failure provenance when a queued retry exhausts budget. They modify dispatch accounting, queued-retry wording and terminal starvation reasons. They do not move the earlier provider-selection metadata across capacity admission or clear fallback_from when primary is selected.

These are complementary repairs. The supplied changed lines do not overlap: this PR changes selection/admission and terminal missing-key metadata; #1495 changes later dispatch and terminal-sweep surfaces. In src/main.rs this PR adds scheduler tests, while the supplied #1495 hunks change receipt schema/compatibility, metrics and the shared fixture constructor. This PR's new tests use that shared constructor instead of adding competing receipt initializers.

This comparison used the supplied public-source hunks. The #1495 head object was unavailable locally; no full-head merge, cherry-pick, compile or complete diff comparison was performed. Both shared files are byte-identical between #1495's recorded base 2fd7d42 and this candidate's base f2cd5a3. Other repository surfaces differ between those bases.

Keep #1495's accounting work with its existing owner. Preserve both changes when composing the selected integration candidate, refresh affected scheduler/accounting evidence on that actual composition, and retain unrelated evidence with its original identity. Neither change's local tests qualify the other PR.

Candidate identity and currentness

  • Candidate: 8e55872
  • Tree: 597a8c366ef1e867afb4bb614776e105c0cff605
  • Local branch: fix/deferred-fallback-provenance
  • Tested parent/base: f2cd5a3
  • Local identity rechecked 2026-10-26 07:56 UTC; worktree clean.
  • main is the PR destination. The coordinator’s first-party 2026-10-26 08:02 UTC read and this publication phase’s direct remote-ref check confirm main is f2cd5a3, exactly the tested base. The destination branch and owning PR were absent in the prepublication checks. Mergeability, current required check association, live protection settings and formal review state remain unverified; this is not a qualified merge-result claim.

Policy receipts

No controlled surfaces, policy exceptions, suppressions, CI lanes or risk packs are added or changed. Existing receipts are retained.

Verification

Retained local proof on the exact candidate tree, Rust/Cargo 1.95.0, three build jobs and three test threads:

  • Before production repair: cargo test --bin ub-review --locked model_lane_deferred_fallback compiled both regressions; both failed at the predicted false-marker/missing-retry assertions.
  • cargo fmt --all -- --check: passed.
  • cargo test --bin ub-review --locked model_lane_: 18 passed, 0 failed. Includes deferred-primary success, deferred-primary failure with exactly one retry, missing-key metadata, provider caps, starvation, and terminal fallback failure controls.
  • cargo test --bin ub-review --locked runtime_fallback_retry_spec: 2 passed, 0 failed.
  • cargo xtask precommit --staged: passed with zero blocking findings. Fmt, affected-package check, changed-line Clippy, cargo-allow, ripr and unsafe-review passed; actionlint was irrelevant/skipped; ast-grep was unavailable/nonblocking. This does not claim globally warning-free Clippy.
  • cargo xtask policy-check: passed; ten existing overdue review_after warnings retained.
  • Same-session Sol6.1 independent source review found no material findings on tree 597a8c366ef1e867afb4bb614776e105c0cff605. It inspected owner execution logs and did not independently rerun tests.

Raw logs, detailed native precommit receipts, review, patch and verified Git bundle are retained in a local evidence archive:
SHA256 04a10b234d2eb22d895d7861fd7c7c89266b06bf8ad9cbceceaa6ae6a6e0fbf3.
Patch SHA256: 4fe0e962daf719829a82440b35d00c594baa1a0eea11a1dedf5f948e18406fd6.
These bytes have not been uploaded or verified accessible to GitHub readers. Source branch/PR publication and readback do not establish remote availability of this retained local evidence archive.

Full workspace tests, hosted checks, and composed-candidate qualification are not claimed. No tests or builds were replayed for the #1495 source comparison.

CI budget and publication effects

No new CI lane or budget credit is introduced. LEM spend has not been computed; no budget-band enforcement or timing guarantee is claimed.

The retained gate workflow triggers on PR opened/reopened/ready_for_review/synchronize, runs model-off and artifact-only with allow-heavy enabled, and cancels predecessor runs in the same PR group. The retained protected-base independent-baseline workflow uses corresponding pull_request_target events with seven deterministic evidence populations and cancellation. Neither excludes Draft PRs. Creating this Draft can therefore start broad hosted qualification. A second push can cancel predecessor work.

The workflow-source inspection is current to main f2cd5a3. A normal push of this branch does not match the release workflow’s tag-only push trigger; the ordinary Draft gate/baseline and existing coverage telemetry effects are within the allocated repair scope. This phase requests no tag, Ready transition, merge, deployment, release, protection change or activation of dormant late-qualification machinery. Current workflow-source identity does not establish live protection settings or hosted qualification.

Remaining conditions and held evidence

The coordinator allocated this sole UB mutating phase for ordinary branch push and Draft creation of the unchanged candidate. Current main equals the tested base. Actual composed-candidate qualification, full required checks, formal reviews and integration remain unverified here.

#1495's artifact 12035536052 import was denied by proxy 403 before bytes; that exact artifact inspection remains held and its shadow Required proof remains unproven. No import or alternate-route inspection was attempted. This local scheduler proof supplies no hosted qualification for #1495. The separate denied #1494 packet remains excluded.

Authorization

Commit and push scoped fixes and open draft PRs for authorized repairs in repositories owned by the user or their GitHub orgs. Across those PRs, post descriptions, progress comments and evidence-backed COMMENT reviews to their repository audiences, limited to repair findings, changes and test results. Preserve protections; exclude unrelated outreach and sensitive disclosures.

@coderabbitai

coderabbitai Bot commented Oct 26, 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: fffaa396-a272-444d-9217-2594828aea1d
Commits

Reviewing files that changed from the base of the PR and between 8e55872 and 63382d0.

Files selected for processing: 1
  • .ripr/suppressions.toml

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
    • Improved provider fallback handling when a preferred provider is temporarily at capacity. Requests now retry the preferred provider after capacity becomes available, and successful attempts report the provider that handled them.
    • Corrected fallback reporting when a provider is missing its required API key, including the selected provider, model, endpoint, and fallback details.
    • When a retry of the preferred provider fails, fallback reporting now identifies the broken-cohort retry.

Walkthrough

The orchestration path delays recording fallback provenance and preflight reasons while provider capacity is unavailable. Tests cover deferred primary attempts, fallback retries, and fallback metadata retained in missing-key receipts.

Changes

Fallback scheduling

Layer / File(s) Summary
Deferred provenance and scheduling tests
src/model_orchestration.rs, src/main.rs, .ripr/suppressions.toml
Capacity deferrals leave fallback provenance and preflight reasons unrecorded until admission. Tests cover deferred primary success or failure, fallback retry behavior, and missing-key receipt metadata. Suppression entries document the test probes and their evidence.

Priority: Normal

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

Change: Bug fix

Merge Risk: Minimal · up to 63382

No actionable merge-blocking risk is established by the reviewed changes.

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. Analyzed 1 functions across 1 files. (1 skipped: 1 … 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: recording fallback provenance after capacity admission.
Description check Passed The description is detailed and mostly complete. It covers the change summary, policy receipts, verification results, CI budget effects, limitations, related work, and authorization. The CI budget and…
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 is detailed and mostly complete. It covers the change summary, policy receipts, verification results, CI budget effects, limitations, related work, and authorization. The CI budget and agent guidance are presented under broader sections rather than matching every template heading exactly, but the required information is present.

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. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)

Resolution

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

Finishing Touches
🧪 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 watching lanes take flight,
I wait one wave, then hop to the right.
If primary works, its provenance stays,
If not, fallback gets one retry to play.
Missing keys keep fallback details in sight.

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

Copy link
Copy Markdown
Member Author

Delivery handoff to this existing source owner: the already-completed candidate gate 40290671131 failed with RIPR 45/max0 at head 8e55872; the independent baseline passed. Please diagnose the existing finding receipt against its exact frozen inputs before another qualification request. Retain and reuse unchanged focused native tests rather than repeat that campaign. The tested merge used base f2cd5a3; current-main artifact-verifier revision binding changed in #1553, so refresh affected composed acceptance without claiming the older artifact-verifier success covers it. Preserve #1495's separate accounting owner and held artifact access; any selected combined integration must explicitly include its complementary changes and maintain source custody. Shadow Required-proof contradictions are separate from the observed native RIPR gate failure, not automatically additional enforced checks. No new writer, CI dispatch or lifecycle action is started by this handoff.

Copy link
Copy Markdown
Member Author

The 45 RIPR findings from #1551's original hosted red run 40290671131 (artifact 12636003872) are documented cfg(test) helper-attribution limitations, reconciled through 45 exact owned receipts in .ripr/suppressions.toml. The per-ID reasons distinguish fixture construction, delimiters, unused sinks, injected outcomes, fallible test-call propagation and the helper return; no wildcard or unrelated production ID was added. Successor 38a5587, tree 817f7fc1c1510b863b23f934ef20b8c74a8c2ba3, preserves the production repair and real tests byte-for-byte from 8e55872. Their original discriminating red/green evidence is retained.

Fresh local native validation on that successor's exact contents passed: cargo xtask policy-check, and cargo xtask ripr --base f2cd5a3 with pinned RIPR 0.10.0 in ready mode. The native badge reports 0 unsuppressed exposure gaps, 45 suppressed gaps and 37 unknowns under the unchanged policy. Raw detail retains all 273 findings, including all 45 selected IDs. Ten existing policy-review warnings and 5,738 unmatched-in-this-diff warnings for existing ledger IDs remain visible; none of the latter refers to an added ID. Same-session Sol6.1 independent source review confirmed exact coverage and per-ID reasons, with no material findings. Source tests were not replayed. This is a local sensor result, not a passing hosted gate.

The original hosted run remains red, and new hosted qualification is not inferred from the local result. The two capacity-deferred Required cargo check/doc commands remain outstanding; independent-baseline passes do not substitute for their packet receipts. The confirmed current-revision policy receipt proof-build-58fe49dac211 is focused-build, head_passed, head-only and links request proof-0002-d2ae3e742e84. The native planner predicate rejects head-only unconditionally, so receipts_present=false denotes no satisfying receipt rather than absent bytes. No shared-planner repair or assigned current owner is claimed here.

Historical planner implementation provenance is #1315, merged by 35bc567 from cm/4271-deferred-proof-accounting. The predicate is retained at

/// A run receipt proves a required planner portfolio task only when it (i)
and the focused-build receipt shape at
pub(crate) fn focused_build_receipt(
. The #4271 marker is source/branch provenance, not a verified issue or current cloud-owner assignment.

Copy link
Copy Markdown
Member Author

Published integration 63382d007f29a06d3e72e04bcbf923a37499fa78 (tree 7f23120f4dcb356c351092c47d7dac8de32766a0, parents 38a5587191f1ecee79afdbabd3d420634a056311 and landed main 0b6e9420ae3e62cfb63b041ae06aa3926f2f85f9) resolves the actual ledger append conflict after #1552. It preserves all 45 own, 11 upstream and 5,738 older receipts with exact IDs/reasons. The two Rust source/test blobs and source patch remain unchanged; against this main the scope is still .ripr/suppressions.toml, src/main.rs and src/model_orchestration.rs.

Native policy validation passed with the same ten existing warnings. The exact composed-tree RIPR recomputation against 0b6e9420 reported 0 unsuppressed, 45 suppressed, 37 unknown and 273 raw findings; all 45 owned IDs remain visible. Focused composition review verified the byte-preserving union and unchanged source/upstream blobs with no material finding. No full source-suite or mutation campaign was replayed.

The prior successful gate 40309564929, artifact 12644940764 and baseline 40309560303 retain H38a55871/Bdf80d241/Mc2d643e1 identities; they are not relabelled as a fresh hosted pass on this integration. Actual regenerated composition and automatic qualification remain to be reconciled before Ready/protected merge. The previously documented advisory broker/planner, model-off and optional coverage limitations remain explicit under the deployed policy; no waiver or shared planner repair is claimed.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 26, 2026 12:08

@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 src/main.rs Resolved
@EffortlessSteven
EffortlessSteven merged commit 988dc48 into main Oct 26, 2026
23 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