Skip to content

test(lsp): settle save-digest wire logs at a protocol barrier (#10041) - #10239

Merged
EffortlessSteven merged 3 commits into
mainfrom
codex/10041-event-driven-save-witness
Oct 25, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
codex/10041-event-driven-save-witness

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Summary

The save-digest wire witness currently decides whether logs are absent after seven fixed three-second read windows. This change collects through an observed test-only protocol barrier using the existing read_logs_until one-minute hang guard. The fixture serializes handler futures so the barrier log follows completed public didOpen/didSave handlers and all their queued log notifications.

The existing positive publication/failure assertions and negative dedup/no-refresh assertions remain. Two virtual-time controls reject a late queue event being missed and a missing settled event being accepted. No production LSP/cache behavior changes. At initial publication, main 875d1f2a30ae4ed4ea7d68dba74f76f769e08868 had byte-identical test source. The integration checkpoint below preserves that test delta while incorporating the landed prerequisite from actual main.

Swarm / Source Boundary

  • ordinary test development for EffortlessMetrics/ripr-swarm

Source-of-truth Links

Proposal: none; issue-driven synchronization repair
Spec: existing RIPR-SPEC-0124 diagnostic-delivery stability witness and traceability remain; new controls test its collector
ADR: none
Plan item: none
Governing issue or accepted claim: #10041
Acceptance delta (one sentence): the failed-refresh save-digest witness collects through completed protocol work, with a hang guard rather than fixed read windows, including before negative assertions.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): codex/10041-event-driven-save-witness
Stack parent or prerequisite PR (if any): none; #10038 is already present in the recorded base
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): none
Accepted winner and losing candidate disposition (when decided): this is the sole #10041 implementation found by current all-state issue/test-specific PR and custody searches; no competing candidate disposition needed

Scope

Test-only evidence package: crates/ripr/src/lsp/tests.rs, +117/-6. Public framed textDocument/didSave remains the stimulus. The custom barrier method exists only in this fixture's LspService.

Changelog disposition: exempt under docs/CHANGELOG_POLICY.md; internal test synchronization only, with no product behavior, API, public output, workflow, or public-doc change.

Rollback: revert this test-only diff. No schema, dependency, workflow, or runtime state migration.

Exact source and execution evidence

  • Construction/merge basis: 8b3b83d9363523e601a026856a64be1bb72b0854, tree 5104b2ab546a96a3ec82d56947ccbe1b998413bc.
  • Red controls: ccbb28efdcec1f3831a8edf23bcac52811cace5d. Its test source SHA256 dddbbcfe697b5be96229ba590fe5b18a8445f165275fd88ccebdd72e9e940516 matches the retained executed red source. This commit preserves both controls with the old collector.
  • Original executed candidate: b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67, tree e1536570f7599f77efeee5ce013dac5e3a1804be. Current composition identity is recorded below; these execution results remain attached to this original epoch.
  • Linux, installed rustc/cargo 1.95.0. Original base wire witness: native exit 0, 1 passed / 14304 filtered, 21.05s. Base cargo xtask check-fast: exit 0, expected empty selector, 6 gates ran / 7 skipped. cargo check --locked -p ripr --lib: exit 0. Initial --offline compile stopped on an uncached locked source, then the normal locked build succeeded without tool installation or dependency changes.
  • Before the repair, cargo test --offline -p ripr --lib lsp::tests::save_digest_log_collection_: native exit 101, both intended behavioral failures. This was not a compile/setup failure:
running 2 tests
save_digest_log_collection_rejects_dedup_without_barrier ... FAILED
Error: "a dedup log without the settled event must hit the hang guard"
save_digest_log_collection_waits_for_late_events_before_barrier ... FAILED
Error: "collection returned before the settled event: [\"ripr didSave deduplicated\"]"
test result: FAILED. 0 passed; 2 failed; 14305 filtered out; finished in 0.00s
  • After the repair, same control command: native exit 0, 2 passed / 14305 filtered, 0.00s (paused virtual clock). cargo test --offline -p ripr --lib lsp::tests::failed_refresh_invalidates_only_uncovered_save_digests_over_the_wire -- --exact: native exit 0, 1 passed / 14306 filtered, 1.24s. These runs exercised the final source bytes immediately before committing; cargo test --offline -p ripr --lib save_digest then passed on the committed exact head: native exit 0, 6 passed / 14301 filtered, 1.21s.

Completed local preflight

Exact-head local preflight is now complete at b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67:

  • Candidate validator check-fast: native exit 0; workspace Clippy passed; 10 gates ran, 3 categories were inapplicable; the independently checked selector contained only crates/ripr/src/lsp/tests.rs.
  • Candidate validator precommit: native exit 0; policy, whitespace, and selected ripr and xtask Clippy passed. Goldens were skipped for the test-only change; this is not full hosted qualification.
  • The exact-head six-test execution and independent source/oracle review above remain unchanged.

Incremental compilation was disabled for these validator runs; gate subjects and options were unchanged. Earlier interrupted runs remain historical failures and are not counted as passes. This corrects the earlier pending local-preflight statements. The task retains the raw logs and operational recovery records separately.

Body-template validation exited 0. Its generic production-path advisory is explained by the sole #[cfg(test)] module change.

Review and limitations

A fresh internal reviewer inspected exact head b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67, its cumulative diff, the public backend paths, tower-lsp-server 0.23.0 handler polling/outbound channel ordering, setup/save attribution, and retained red/green controls. No material source or oracle finding was returned. The source review confirms the barrier ordering for this intentionally sequential fixture; it does not qualify default-concurrency behavior.

The additional independent delivery review inspected the same exact candidate and reports real-wire attribution/removal controls. Removing dedup logs or redirecting B's follow-up save failed the intended B assertion. An outcome-only collector variant still passed the wire scenario, while both dedicated collector controls failed; this contrary evidence bounds the claim and shows why the dedicated controls are required. This is independent reviewer-reported execution, separate from the writer-observed six-test run above. No repair was requested. The advisory review has incomplete sensor/proof-intent evidence; its success wrapper does not establish exact-head qualification.

The delayed-event and missing-marker experiments establish collector discrimination. They do not claim empirical reproduction/elimination of a full-suite load flake. No broad suite, Windows qualification, required hosted matrix, or merge readiness is claimed. Broad all-target baseline compilation was omitted for this one-module test change; the real library test binary was compiled and executed instead.

Coordination separately recorded its Ready handoff at the original executed head. This writer performed no Ready transition, label change, dispatch, or merge.

Integration applicability

The original source-only merge with main 9766ac5adb0e304c46c01ff8883f9b08d87a7142 produced tree 675190a5c8928d84310b2e1585dcd7c569b21a76 with native exit 0. The coordination handoff reports executed composed-tree tests and preflight on that same tree; its execution is separate from this writer's observed exact-head runs.

The golden dependency landed through #10258, commit feea37899d17d2176a08ef43446f11f7fff9e8db. The #10269 consumer correction supersedes waiting for #10269 itself to merge. Before this checkpoint, GitHub's published preview still lacked the landed renderer/expectations. This was a material prerequisite mismatch.

A normal, non-force task-branch push now publishes composition head fa6e0edf3d81bf23ba4faa258c09bef9659c678c, tree 40944b6bb3ed891139d964174d219f2203ee56e2, with ordered parents b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67 and observed main ad056c83e534b67968c698f52ed662b1d1dc3f27. Remote branch and PR-head readback both confirm this head. The complete diff against that main remains only crates/ripr/src/lsp/tests.rs, +117/-6; its blob 8014f9de3f361bcd2b78614df5da05187c4e4c1a is byte-identical to the original executed candidate. Both accepted sources are preserved.

GitHub's refreshed native preview is 5ba8473709553d504b11b55bb23349b5c0516093, tree cede8cea52317e9c0e48acc6c5d5e96dbeef6f96, with parents 37f98a038f138cc50afe30ad41192ec045fa40c2 and fa6e0edf3d81bf23ba4faa258c09bef9659c678c. Native Git object inspection verifies the landed fix is an ancestor, all fourteen repaired human-full expectations match the landed repair, and the renderer blob is dde6555524e54cf04b4130c8dc41f82590da0bb8. The preview diff against its main parent is still the same one-file test delta.

Independent read-only review of the exact composition and refreshed preview found no material synchronization-specific issue. Handler ordering, transport dependencies, scheduler, barrier, collectors and test source remain unchanged. Analysis inputs are not wholly unchanged: #10203 adds Cargo graph limitation reporting and a separate repository fixture manifest. This witness writes its own valid single-package manifest. Source inspection supports continued applicability, but does not establish actual graph status or execution success on the new preview.

The original six-test, check-fast and precommit passes retain their exact b1d767/e153657 execution subject. No unchanged tests or builds were rerun locally for either composition.

The one admitted required qualification run 40183361463 completed successfully for unchanged PR head fa6e0edf3d81bf23ba4faa258c09bef9659c678c. The Rust gates producer 121139023981 terminal log confirms actual checkout 5ba8473709553d504b11b55bb23349b5c0516093: 21,152 tests passed, five skipped, including the wire witness and both collector controls. Required doctests, goldens, corpora and schema checks also passed. The required Result 121147119186 succeeded with admitted exact candidate and successful producer. The separate ancillary CI run 40183361312 passed its Rust-only lane; Perl/release, VSCode and MSRV were skipped. These successful statuses supersede the earlier missing-hosted-proof statements.

Final bounded source-only inspection froze actual current main at 7bf23f814c293faac6e3659154ffe512a32899ff, tree 505efb1649d9d3fa6d6b76da9563f1a1ff7c90ac. Native git merge-tree --write-tree with published head fa6e0edf exited 0 and produced tree cb927d8cb8bbb7642810dececdf45b2791115f04, still only the original test-file +117/-6 delta against that main. No branch update was needed. The PR API's mergeable: null / unknown metadata is not a conflict finding.

Independent source review of the intervening main delta found no material synchronization-specific conflict or changed acceptance. LSP handlers, scheduler, test instrumentation, fixture/collector source, manifests, lockfile and required workflows are unchanged. Analysis logic did change: #8999 withholds tests in uncompiled files, #9197/#9774 guard parameter rebinding, and #10259 distinguishes empty closure heads. This fixture keeps its test at tests/end_to_end.rs, has no tests in unlinked src/other.rs, and its analyzed source has no rebinding, destructuring, character literals or closures. The handler/barrier argument and event-log assertions remain applicable by source inspection.

The earned run remains execution proof of 5ba84737, not execution of the newer cb927d8c composition. Independent review found no synchronization-specific reason to repeat qualification solely for this main movement. This establishes settled-event collection for the intentionally sequential fixture; it does not establish broad empirical flake elimination or default-concurrency behavior. Current inline review threads are empty; later automated reviews add no substantive defect, and provider quota/proof-intent gaps are not counted as independent clean review.

Continuation

Owner / governing claim: bounded #10041 writer; parent coordination retains sole merge action
Candidate: existing branch at fa6e0edf3d81bf23ba4faa258c09bef9659c678c, tree 40944b6bb3ed891139d964174d219f2203ee56e2
Review: exact-candidate source/oracle review and independent current-main applicability review complete; no material source or synchronization-proof blocker found
Validation: original b1d767 focused/local-preflight epochs retained; admitted required qualification succeeded for fa6e0edf on actual 5ba84737 checkout; current-main cb927d8c composition is source-only
Dependency: landed #10258 is consumed by the published head and qualified preview; no wait for #10269 to merge
Next: parent coordination reconciles current repository protections/findings and performs its sole authorized expected-head merge action. This lane performed no push, build, qualification request, Ready transition, label change or merge in this final source-only pass.

Closes #10041

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

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 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 169 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: c31a4368-36f8-47a4-86bc-afd9987bd92b
Commits

Reviewing files that changed from the base of the PR and between ad056c8 and fa6e0ed.

Files selected for processing: 1
  • crates/ripr/src/lsp/tests.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Decision

  • Needs verification checks before upstream.

Verification questions

  • Confirm the new helper waits for a dedicated barrier log rather than a fixed three-second quiet window.
  • Confirm the fixture uses a serial LSP service so the custom barrier follows preceding handler work and queued notifications.

Refuted

  • A nonempty result could satisfy the new collector without proving protocol settlement.; refuted because: The negative control emits a nonempty dedup log but no barrier and requires a timeout error; the positive control additionally requires the barrier to be the final log.
  • The new route changes production LSP or cache behavior.; refuted because: The diff is confined to crates/ripr/src/lsp/tests.rs and adds only test fixture plumbing, a test-only custom method, and test collection helpers.
  • The change broadens production LSP behavior or introduces duplicated timeout logic.; refuted because: The diff is test-only, uses a test fixture custom method, and centralizes collection through one helper; no production source path is changed.

Parked follow-ups

  • The barrier oracle is qualified for a serial fixture and does not establish default-concurrency settlement behavior.
  • The missing-barrier control proves timeout behavior, but it does not reproduce a full-suite load flake.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • Focused validation evidence claims red failure before the repair and green success afterward, but current cargo-test and ripr receipts are not yet complete.
  • The ripr sensor failed with exit code 2, but no detailed receipt is available in the supplied packet to establish whether it reflects a source defect or tool/configuration issue.

Copy link
Copy Markdown
Member Author

Independent bounded delivery-review receipt — PR #10239

No actionable source/oracle defect found within the sequential fixture contract. Disposition: source/focused proof complete; final merge review remains REVIEW_INCOMPLETE. This receipt adds real-wire attribution/removal controls to the existing completed ordering review; it starts no qualification campaign and changes no candidate branch.

Subject frozen and re-read before publication:

  • Head b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67, tree e1536570f7599f77efeee5ce013dac5e3a1804be.
  • Construction/merge base 8b3b83d9363523e601a026856a64be1bb72b0854, tree 5104b2ab546a96a3ec82d56947ccbe1b998413bc.
  • API-observed base e9caef552871fc51a8444199a038cce91a9ee2eb; separately fetched main 0928f339217accbe74eab55ae1c6acfa7b8928be, tree d54bdfdff3ab4a5946fddb9752a0481a5c1f7015. Tests, backend and Cargo.lock at that fetched main are byte-identical to the construction base (git diff --quiet BASE MAIN -- crates/ripr/src/lsp/tests.rs crates/ripr/src/lsp/backend.rs Cargo.lock: exit 0). This is dependency-delta inspection, not an executed combined-tree or hosted-check claim.

Observed source: save_and_collect_logs, read_save_digest_logs_until_settled, setup drain and all phase assertions; public did_open/did_save and awaited refresh completion; locked tower-lsp-server 0.23.0 buffer_unordered(1), notification send and output forwarding. One handler future runs at a time, the refresh loop awaits terminal notifications, and the marker uses that same outbound client channel. Each collection consumes its marker before the next stimulus. Earlier setup/save logs therefore cannot remain as the next phase's positive witness in this fixture. The 60s timeout is a hang guard; no added wall-clock quiet delay establishes settlement.

Observed native execution, Linux / installed Rust 1.95.0:

  1. Unmodified head: cargo test --locked -p ripr --lib lsp::tests::failed_refresh_invalidates_only_uncovered_save_digests_over_the_wire -- --exact: exit 0; 1 passed, 14306 filtered, 1.22s. Initial offline invocation exited 101 before compilation for uncached oxc_ast_visit; normal locked dependency acquisition/build succeeded. No toolchain install or lockfile change.
  2. Isolated proof-only instrumentation compiled via cargo test --offline --locked -p ripr --lib lsp::tests::failed_refresh_invalidates_only_uncovered_save_digests_over_the_wire --no-run: exit 0. Runtime selections below used the emitted absolute test executable with lsp::tests::failed_refresh_invalidates_only_uncovered_save_digests_over_the_wire --exact --nocapture; all existing assertions retained:
    • Normal behavior: exit 0, 1 passed, 1.21s.
    • Remove dedup messages from collected logs: exit 101 at unchanged B save must still dedup, observing only the settled marker (0.96s).
    • Route B's follow-up save to A, retaining B text: exit 101 at the same assertion; actual refresh queued/published, followed by marker (1.20s).
    • Replace marker stop predicate with ordinary publication/failure/dedup stop predicates, leaving markers queued: wire test survived, exit 0 (1.20s). This is retained contrary evidence: the wire scenario alone does not enforce the collector's barrier dependency.
  3. The same outcome-only variant, executable filter lsp::tests::save_digest_log_collection_ --nocapture: exit 101, both controls failed in 0.00s, specifically “a dedup log without the settled event must hit the hang guard” and “collection returned before the settled event: ["ripr didSave deduplicated"]”. Normal-barrier selection: exit 0, both passed / 14305 filtered, 0.00s. Thus the dedicated controls discriminate the removal that the wire scenario alone permits.

Provenance: original tests source SHA256 d79db3cc1f0c6ab73c0fbfc30696aefdbe5d8d8327b4fcfe66332baedf1a794b; instrumented source d0cc69c3c87334da4a93f8014ffe2bb7726b389de7c151a5f816ce7722ca10da; experimental patch c0e7159dbcb13438243be2d164719b066220dbdc28e33eaa003a542d01f70495. Baseline executable SHA256 7f8e367265db428af1e79c04009fd7fd544e496f53caf6f29ad6567e043416a4; instrumented executable 56bd8ef230d3c2e5b4718408ad6080914d8464f00e2fd9e0f903f2af314385ad. Proof-only source restored to original hash; git diff --exit-code: 0. Candidate checkout/branch untouched.

Limits: attribution is causal under the fixture's exclusive ordered stimulus; generic log text does not authenticate arbitrary forged/replayed/wrong-document messages. Default concurrency, empirical full-suite flake elimination, Windows, broad suite, combined-tree execution and required hosted qualification remain unverified here. The advisory review reports incomplete sensor evidence; its wrapper is not exact-head qualification.

Canonical next action: existing #10041 writer finishes and records the already-running check-fast/precommit outcomes and reconciles current findings. Parent continuation lead retains integration and any later authorized qualification transition. Keep Draft under the current task boundary; this receipt authorizes no Ready, dispatch or merge. No candidate repair is requested by this review.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Author synthesis of exact-candidate source/oracle review — COMMENT, not approval.

reviewed_head_sha: b1d767c
reviewed_tree: e1536570f7599f77efeee5ce013dac5e3a1804be
construction_basis: 8b3b83d
integration_basis: fetched main 9766ac5 / tree 969c2b5e7d92cb7f154a914933d20820dce02d1b
claim_boundary: sequential failed-refresh save-digest wire witness synchronization only; one test module +117/-6.

Inspected semantic owners and consumers: framed public didOpen/didSave -> awaited Backend refresh handler -> terminal client logs; test-only barrier registration; tower-lsp-server 0.23.0 buffer_unordered(1) and shared outbound Client queue; setup drain and per-save marker consumption; delayed-event and missing-marker controls. The dedicated marker is required, not a nonempty collection or ordinary dedup/publication log. The serial fixture establishes completion ordering. Production LSP/cache behavior and default-concurrency semantics are unchanged.

Independent review: the fresh internal source/oracle reviewer found no material defect. The additional independent delivery receipt reports intended real-wire failures when dedup logs are removed or B's save is redirected. It also retains contrary evidence: an outcome-only collector still passes the wire scenario, but both dedicated collector controls fail. This bounds the wire scenario's grip and supports retaining those controls. These extra experiments are reviewer-reported execution; the writer directly observed the exact-head six-test run, native exit 0, 6 passed / 14301 filtered, 1.21s.

blocking_source_or_oracle_findings: none identified within this claim.
proof_or_review_missing: complete local preflight, required exact-head hosted qualification, combined-tree execution and final merge judgment.
Correction: check-fast exited 143 when the writer stopped its owned workspace Clippy subtree at the recorded storage reserve. File-policy had completed; Clippy had not. Precommit never started. The old empty-diff base check-fast report remains historical and is not head proof. The revised PR body preserves the exact raw commands/status and measured admission decision.
Current body-template validation: already-built xtask command exited 0; its generic production-path advisory warning is explained by the sole #[cfg(test)] module change.
Current integration inspection: merge-tree exited 0, tree 675190a5c8928d84310b2e1585dcd7c569b21a76. No checkout update or combined-tree execution. Main's test source/backend/scheduler/lock/manifests/toolchain remain unchanged; its LSP delta is unrelated disabled-action wording.
Remote findings: no inline threads at inspection; bot quota limits and advisory incomplete sensor/proof-intent output are missing provider evidence, not clean qualification. Existing success/skipped/neutral wrappers do not complete required Rust checks.

disposition: REVIEW_INCOMPLETE for final merge; substantive source/focused proof complete, no candidate repair requested.
Next: retain this same Draft/head and the existing evidence; resume missing workspace Clippy/precommit only after measured storage fit under unchanged reserves, then obtain applicable public Ready authorization and required current hosted evidence before final published-head/integration judgment. No Ready, label, alternate dispatch or merge is authorized by this receipt.

EffortlessSteven commented Oct 25, 2026 •

Copy link
Copy Markdown
Member Author

Draft-to-Ready handoff — exact head b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67 — 2026-10-25 07:42 UTC.

This updates the historical pending local-preflight/authority statements in the PR body's Continuation and author synthesis, without changing their original failed-attempt evidence. The existing candidate remains codex/10041-event-driven-save-witness; no competing writer, source change or branch update. Parent delivery coordination owns this single Ready transition.

Source/oracle review. Reuse the independent ordering review and additional exact-head delivery receipt. Current submitted reviews, substantive Conversation and inline threads were reconciled: no unresolved blocking source/oracle finding was identified. The fixture waits for a dedicated marker on the same outbound queue after completed handlers, with buffer_unordered(1); the one-minute timeout is a hang guard, not a quiet-window settlement claim. Missing dedup logs and wrong-document save controls fail the real wire assertion. The contrary outcome-only collector still passes that wire scenario, but both dedicated collector controls reject it, so both proof dimensions are retained. Default-concurrency behavior and empirical full-suite flake elimination are not claimed. Provider quota, rejected proof intents, sensor exit 2 and timed-out advisory Cargo evidence remain missing/instrument evidence, not clean qualification.

Executed detached integration and completed local preflight.

  • Candidate tree: e1536570f7599f77efeee5ce013dac5e3a1804be.
  • Frozen main: 9766ac5adb0e304c46c01ff8883f9b08d87a7142; merge basis 8b3b83d9363523e601a026856a64be1bb72b0854.
  • Detached composed commit: 36c24dfc2a4dcff7c7bda2e82218f6a3116dedd0, tree 675190a5c8928d84310b2e1585dcd7c569b21a76, parents frozen main then candidate. This is local composition evidence, not a hosted checkout claim.
  • cargo test --offline --locked -p ripr --lib save_digest: exit 0, six passed, including the wire witness and both collector discriminators.
  • cargo policy preflight: exit 0, workflow and agent-skill checks passed.
  • Existing composed-revision xtask check-fast: exit 0, stable one-file selector, 10 gates passed, three not applicable.
  • Same validator, xtask precommit: exit 0, complete change set, policy/whitespace checks and selected ripr/xtask Clippy passed. Goldens were appropriately skipped for the test-only candidate delta, not claimed as a full hosted gate pass.
    The original storage admission stop and formatter setup failure are preserved. A nondestructive separate temporary-build route completed the checks within the unchanged guard/budget; no output deletion, workspace growth, new executor or toolchain installation was needed. Native processes are terminal and source state is clean.

Live main was 8d5d0d011ec797501caf7ba97088da7bb4ea04e1 during final reconciliation; its only delta from tested main is the VS Code npm lockfile. Fresh comparison at 07:42 UTC still shows only that path. Rust/LSP, policy, toolchain and template inputs are unchanged, so affected proof remains applicable without an unchanged replay.

Body admission. Current unchanged body SHA-256 215067afe19c4656f1d3eeca5e45a4cb98efe9bc1bbd1bebf87a6d1c08caba88; offline check-pr-shape --body-file exited 0, all required lines present. Validator revision is composed commit 36c24dfc2a4dcff7c7bda2e82218f6a3116dedd0, executable SHA-256 61edf99169de702cfe60b820d3dab2410d5d02e06cd39388ac9ba6012dea959a. The generic production-path advisory is explained by the sole #[cfg(test)] module change.

Disposition and qualification hold. Independent exact-head source/focused proof, affected integration and native pre-Ready prerequisites are complete. Mark Ready only. Do not apply merge-ready or start an expensive first full qualification against the known-red golden baseline. #10269 is the canonical all-14-golden repair; await its accepted landing and reconcile the current composition before the single required request. No active qualification owner/campaign or pending Ready approval was found; the older body authority statement is not a current Ready denial.

Final merge judgment remains REVIEW_INCOMPLETE until the eventual admitted actual checkout, required checks, current findings, dependencies and protections are verified. Ready does not establish qualification or authorize merge; no merge, release or deployment is part of this handoff.


Non-ref integration contribution and adoption handoff — 2026-10-25 08:32 UTC

The dependency named in the earlier qualification hold has now actually landed via #10258, at main feea37899d17d2176a08ef43446f11f7fff9e8db, tree 8e45504e7bcd967dd5801a759a0baa3bfd966f40, parent 8d5d0d011ec797501caf7ba97088da7bb4ea04e1. The earlier instruction to await #10269 is historical; that now-redundant PR need not land for this dependency.

Existing public contribution. Commit 7a30295156c403938119c3a5aef53745dac22e59 preserves exact tree 839d617504874eb0bb3b4eb373defbed052a354b, with ordered parents:

  1. accepted main feea37899d17d2176a08ef43446f11f7fff9e8db;
  2. unchanged candidate b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67.

Git-data readback verified that tree, both ordered parents and complete root entries. All fourteen linked remote file contents below were read back through the connected repository reader; computing each Git blob identity from the returned UTF-8 bytes matched the reviewed #10269 bytes, the actual #10258 landing and this contribution.

Local composition e90a1b37b4a0c4f2f0d2b2f8e671c8b5b92639dc maps to remote 7a30295156c403938119c3a5aef53745dac22e59: exact same tree and ordered parents, different server author/committer/time and message normalization. The local commit was not pushed. Existing main/candidate blobs were reused; only non-ref tree/commit objects were created. No branch, tag, PR head or other ref was created or updated.

Accepted human-full fixture Verified Git blob
python_conditional_foreign_callable_write 93e264da0f2876b90af2d32b1d888ed0f7ce540b
python_conditional_foreign_version_write 9aa1e58621d7684ec423e2ff517ce7718c8acc92
python_conditional_version_annotated_write c786113472ce6351bacf1aaa634dbc244ec06243
python_conditional_version_attribute_write 1f07f37833422b459d78cfbe50c04c26c70a6905
python_conditional_walrus_replacement b086c71f3eb823f17b21a83a3f3921b20c0b642d
python_module_backslash_return 098257534030fa8d467131681047be2463dbfaa9
python_module_continuation_return c01ae8f11f26272f222d38070cdb48098a6924c5
python_module_formatted_generator_test ea507498bb6da742c3ac48b8403641b660d7c370
python_module_generator_test 0393cc15773db36a38fbf4642cbc9c4f7e5c87f1
python_module_prior_failing_assert 82324e1f2d37d0dadd351d07d215e60a3f4c89f2
python_module_reader_replacement fc91f9b0c9c433c00ffc3563bd357c2adf5587c4
python_module_same_line_prior_assert 049361952d56b3531b02083ebf81c55c4277f8ab
python_module_test_reader_replacement 2791cf5b0ad20a67047b64a9888782e6656e6bcd
rust_qualified_foreign_receiver bf027c5aafc95a63798a31da99ed19ea6ef61d0a

The #10258 landing is not a pure fourteen-file repair: complete inspection covered two output code/test paths, 245 human.txt files, 245 changelog outputs and these fourteen human-full files. It also carries missing-discriminator digest wrapping in output/human/sections.rs and its test in output/human.rs. The contribution preserves that entire accepted main, rather than transplanting only goldens.

Proof currentness. Reuse the independent candidate review, real-wire missing-log/wrong-document controls, and dedicated collector-removal discrimination already recorded above. The full LSP subtree, LSP adapter, analysis/app subtrees, scheduler, Rust lock/manifests, toolchain, policy tools and instructions match the accepted executed composition. LSP's only human-output import is the unchanged plain_observation_wording helper; it does not invoke the changed digest renderer. No new save-digest runtime check was warranted. The six-test integration, policy, check-fast and precommit passes retain their original 36c24dfc2a4dcff7c7bda2e82218f6a3116dedd0 subject; they are not relabeled as new execution on this non-ref contribution. No new formatter/full-golden/hosted qualification is claimed here. The serial-fixture contract still does not establish default concurrency or empirical full-suite flake elimination.

The initial per-file readback handler incorrectly parsed decoded plain text as JSON, reproducing SyntaxError: Unexpected token 'r', "ripr stati"... is not valid JSON. The original exception messages were lost and remain marked unrecoverable; corrected same-route readbacks now establish all fourteen byte identities. No denial was returned by those diagnosed/current reads. The earlier expected tree NOT_FOUND was resolved by authorized object creation. Original storage, formatter-setup, interrupted writer preflight and incomplete advisory sensor/proof-intent receipts remain preserved.

Actual consuming-subject hold and canonical-owner action. Fresh PR reads still show Ready head b1d767cc538dfb32af5d4b6bccfa9c9a789b8e67, no qualification label, and actual merge 8f7002e89940c8ceb17be6d38d8bf0a01d5f07f3, tree 939fba7018c4e88fdff11256570a282cb1c9d0e5, parents old base e9caef552871fc51a8444199a038cce91a9ee2eb then candidate. That stale merge lacks the thirteen Python golden paths and has Rust golden blob 3a9c0e95364c71302ed93068b601b3b5d9710d7f instead of accepted bf027c5aafc95a63798a31da99ed19ea6ef61d0a. This contribution does not change that real merge subject.

Canonical branch-author custody remains unknown to this reviewer; no handoff or ownership transfer is claimed. Parent delivery coordination retains lifecycle/qualification ownership. The canonical branch author should adopt a history-preserving, expected-head integration against the accepted main, or otherwise refresh the real consuming subject; then obtain required new-head review and verify actual hosted checkout parents/tree and all fourteen accepted blobs before one qualification request. Do not merely relabel the stale subject or treat this object contribution as adoption.

This is a retrievable technical handoff, not a merge, branch update, qualification request or qualification pass. Final merge judgment remains REVIEW_INCOMPLETE pending actual-subject/current-head review and required hosted evidence.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 25, 2026 07:42

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Refuted

  • The change modifies production LSP or cache behavior.; refuted because: All changed lines are in the test module and add test-only fixture plumbing, a custom test method, and collection assertions.
  • The barrier ordering proof extends to default-concurrency LSP execution.; refuted because: The changed fixture explicitly sets concurrency_level(1), and both the PR body and prior review state that the qualification is limited to this sequential fixture.
  • The test change alters production LSP or cache behavior.; refuted because: All changed code is under the test module and adds test-only service plumbing and collection helpers; no production source path is changed.
  • A nonempty log result is sufficient to establish protocol settlement.; refuted because: The collector requires the dedicated SAVE_DIGEST_BARRIER_LOG marker, and the missing-marker control rejects a dedup-only stream via the timeout guard.
  • This diff changes production LSP/cache behavior or proves broad default-concurrency settlement.; refuted because: The changed surface is confined to the test module; production paths are unchanged, and the fixture explicitly serializes handlers while the PR body limits the claim to that contract.

Parked follow-ups

  • The barrier oracle establishes ordering only for this intentionally serial fixture and does not prove default-concurrency settlement behavior.
  • The fixture establishes barrier ordering only under serialized handler execution.
  • The custom barrier is ordered after didOpen/didSave work only under the explicitly serial fixture.
  • The explicit concurrency_level(1) setting is necessary for the claimed barrier ordering but narrows qualification to a sequential fixture.
  • The barrier guarantees settlement only for this intentionally serial fixture; it does not establish default-concurrency behavior.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@EffortlessSteven
EffortlessSteven merged commit 549b3bf into main Oct 25, 2026
53 checks passed
@EffortlessSteven
EffortlessSteven deleted the codex/10041-event-driven-save-witness branch October 25, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: replace fixed 3s read windows in failed_refresh_invalidates_only_uncovered_save_digests_over_the_wire

1 participant