Skip to content

fix(windows): canonical custody fixtures, verbatim-free manifest text, NTFS-safe newline staging (#9660) - #9736

Merged
EffortlessSteven merged 2 commits into
mainfrom
claude/project-thread-qdq5b6
Oct 22, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
claude/project-thread-qdq5b6

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Summary

Fixes the remaining #9660 rows from Windows sharded run 39764872026, following #9687. All causes are test assumptions; no production code changes.

Failure Cause Fix
precommit_v2::tests::workspace_only_metadata_projects_identical_roots_and_plan The fixture rendered the canonical \\?\D:/… path into a dependency path =, which Cargo cannot read. Drop the verbatim prefix only in that manifest text. root stays canonical, because the metadata projection strip_prefixes canonical package roots.
candidate_harness ×3 (live_head budget, source::inventory ×2) Production admits only canonical roots (source.rs:148, live_head admit). The fixtures passed raw temp_dir(), which on Windows never starts_with-matches the canonical \\?\ input. Canonicalize the fixture roots. Production read_snapshot is unchanged. New unix test: a symlink escaping the root is refused with "escapes its root", and a contained control is admitted.
release_ledger::capture_tests::newline_prefixed_file_names_keep_their_tree_effect Windows cannot create \nnotes.txt on disk, and Git for Windows' default core.protectNTFS refuses it in the index. Stage the blob through update-index --cacheinfo with -c core.protectNTFS=false. The test still asserts the byte-exact name.
tests::policy_checker_facade_runs_current_repo_checks contabo_result_policy was crate-level cfg(target_os = "linux"), so its file-policy selector enumerated zero tests on Windows. Only the Bash execution tests are Linux-scoped. The static workflow-permission test and a new guard-presence test run everywhere. The single covered_by is unchanged.

eval_sweep_refresh::real_unreadable_subtree… is left as is: it fails closed with NOT_ESTABLISHED because the deny isn't enforced. That is the same icacls behavior tracked in #9688.

Source-of-truth Links

Proposal: n/a
Spec: n/a
ADR: n/a
Plan item: #9272 A3
Governing issue or accepted claim: #9660
Acceptance delta (one sentence): The remaining #9660 xtask rows (precommit_v2, candidate_harness ×3, release_ledger newline, policy_checker_facade) hold on Windows; on Linux they behave as before.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): claude/project-thread-qdq5b6
Stack parent or prerequisite PR (if any): #9687 (merged)
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): n/a
Accepted winner and losing candidate disposition (when decided): n/a

Scope

  • Six xtask test files and one changelog fragment.

Scope Classification

  • Other: Windows host-consistency test fixes (no production change)

Production delta:

  • none

Evidence/support delta:

  • Six Windows-failing tests get host-correct fixtures. One new unix negative test covers custody root escape.

Single acceptance criterion:

  • The listed rows pass on Windows.

Non-goals:

Support-tier Impact

  • none

Policy Impact

  • none

Proof

cargo test -p xtask --test contabo_result_policy                 # 5 passed
cargo test -p xtask --bin xtask -- candidate_harness release_ledger::capture_tests::newline precommit_v2::tests::workspace_only   # 35 passed
cargo xtask precommit                                            # exit 0

Result, failures, or skipped proof:

  • Linux only so far. Windows proof will come from windows-advisory.yml via windows-ci + merge-ready. Still unproven on Windows: that Cargo accepts a verbatim --manifest-path, and that Git accepts a verbatim cwd (production already does both).

Claim Boundary

  • May claim: these rows have a diagnosed cause and a host-correct fixture.
  • Must not claim: Windows is green overall.

Rollback

Revert the squash commit.

Spec-Test-Code Traceability

  • Tests: listed above
  • Code: none

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.

CI Economics

n/a

Engineering Check

  • No new panic, unwrap, expect, todo, or unimplemented in production code.
  • No new panic, unwrap, expect, todo, or unimplemented in tests.

Gates

  • cargo fmt --check
  • cargo xtask precommit

Generated by Claude Code

…, NTFS-safe newline staging (#9660)

Remaining #9660 rows from Windows run 39764872026:

- precommit_v2: the metadata fixture keeps its canonical root (the projection
  strip_prefixes canonical package roots) and drops the verbatim `\\?\`
  prefix only in the manifest text Cargo parses.
- candidate_harness: production already admits only canonical roots; the
  three test fixtures now canonicalize theirs, so Windows' `\\?\` spelling
  matches. New unix test refuses a symlink escaping its root, with a
  contained control.
- release_ledger: stage the newline-named entry through the index with
  core.protectNTFS off, since Windows cannot create the name on disk.
- contabo_result_policy: only the Bash execution tests are Linux-scoped; the
  static contracts (and a new guard-presence test) select on every host, so
  the file-policy selector no longer enumerates zero tests on Windows
  (policy_checker_facade_runs_current_repo_checks).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs
@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!

@EffortlessSteven EffortlessSteven self-assigned this Oct 22, 2026

Copy link
Copy Markdown
Member Author

Review of record for head 7e75293. Source and oracle review is complete. Hosted Windows proof is still pending.

Two independent reviewer passes ran.

Pass 1, on 800e1232: correctness on Windows, plus contract and security. Findings:

  • B1 (fixed): the stripped verbatim root broke the projection's strip_prefix. Root stays canonical now; only the manifest text drops \\?\.
  • B2 (fixed): Git for Windows' protectNTFS would refuse \n in the index. -c core.protectNTFS=false is added.
  • N1 (fixed): canonicalizing the root in production read_snapshot weakened swap detection. Reverted. Fixtures canonicalize instead, which matches production (source.rs:148, live_head admit, archive.rs:417). Added the missing negative test for "escapes its root".
  • N2 (fixed): the covered_by comment claimed every host compiles the target, which was false. The crate-level cfg is now per-test, and the original single covered_by is restored.
  • N3 (fixed): changelog wording.

Pass 2, on a696401f: correctness on Windows, oracle strength, root canonicality. No blocking findings.

  • No unused-import or dead-code issues off Linux.
  • The new symlink test discriminates. Without the starts_with check, it fails with a different message.
  • The ledger test keeps its byte-exact oracle.
  • Fixed nit: the control-comment wording.
  • Residual: still unproven on Windows that Git accepts a verbatim cwd and Cargo accepts a verbatim --manifest-path. Production already does both. windows-ci will show it.

Local: cargo xtask precommit exit 0; focused tests 35 + 5 passed (Linux).


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Oct 22, 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 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 111 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: be35c8cb-8b37-48af-80aa-f6926fd1fa4a
📥 Commits

Reviewing files that changed from the base of the PR and between 6788976 and bdf79b5.

📒 Files selected for processing: 8
  • changelog.d/9660-windows-xtask-path-fixes.md
  • xtask/src/precommit_v2.rs
  • xtask/src/reports/release/candidate_harness/input.rs
  • xtask/src/reports/release/candidate_harness/live_head/source_tests.rs
  • xtask/src/reports/release/candidate_harness/live_head/tests.rs
  • xtask/src/reports/release/candidate_harness/source/inventory/tests.rs
  • xtask/src/reports/release_ledger/capture_tests.rs
  • xtask/tests/contabo_result_policy.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 22, 2026 16:06
@EffortlessSteven EffortlessSteven added windows-ci Run the advisory Windows lane on a pull request without opting into every full-ci lane. merge-ready labels Oct 22, 2026 — with Claude
@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!

Copy link
Copy Markdown
Member Author

Independent bounded source review clears7e752930656c80f7dd1f58392e33383fde6cb3a2 on678897627197f22ec3251e03102465139af0b0dc; head rechecked unchanged16:11 UTC. No blocking finding. Production read_snapshot custody checks are unchanged; fixture roots align with admission, and the Unix escape control requires the specific refusal beside a contained-file positive. Only dependency manifest text loses the Windows verbatim prefix; canonical-root and full/workspace-only assertions remain.

Git-index staging preserves the actual newline filename and byte-exact effective-tree oracle, matching production Git-object capture without requiring an impossible Windows worktree filename. Bash execution stays Linux-only while static permissions/guard tests run everywhere; LF assumptions agree with .gitattributes.

This is source review, not Windows runtime clearance. Existing Windows39811046268/full job119937047900 is still running before both workspace repetitions. Retain actual checkout and affected row verdicts from both runs, not advisory wrapper success alone. Local35+5 Linux tests remain author-reported and cannot close Windows acceptance or the separate unreadable-subtree/#9688 disposition. No extra campaign requested.

@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 one verification check before upstream.

Verification questions

  • Confirm a complete sibling census of all canonical-root and custody fixture constructors was not established by this bounded lane, so completeness beyond the checked entry points remains unproved.

Refuted

  • The newline-prefixed filename test introduces a dangling filesystem path or ownership lifetime across index staging.; refuted because: The blob file is removed after hashing; the newline-prefixed name is supplied directly to update-index as index/tree data, matching the capture oracle.
  • The changed canonical-root and filesystem fixture logic may create a stale active buffer view or unsafe backing-store region.; refuted because: No changed path constructs ArrayBuffer, TypedArray, slices, capacity buffers, or mutable shared storage. Canonicalization only normalizes an owned PathBuf, while read_snapshot remains bounded and verifies custody and file length.
  • The changed test fixtures introduce worker/async ownership, GC, detach, or transfer hazards.; refuted because: The diff changes ordinary synchronous filesystem and Git test setup only; no threads, futures, JS values, raw pointers, detached handles, GC-managed objects, or ownership-transfer APIs appear on changed lines.
  • Windows may already have runtime acceptance evidence in this packet.; refuted because: The PR body says hosted Windows proof is pending, no hosted row verdicts are supplied, ripr failed, and cargo-test remains scheduled-late.
  • Disabling core.protectNTFS could introduce a security issue or corrupt Git state.; refuted because: The override is scoped to a temporary test repository and one explicit index update; the filename is captured as a Git object and no production or persistent repository configuration is changed.

Parked follow-ups

  • The unreadable-subtree/icacls failure and Cargo verbatim-path acceptance are adjacent custody/runtime concerns, but the PR leaves them explicitly parked rather than broadening this test-fixture patch.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • Hosted Windows execution is still required before claiming the acceptance criterion; local Linux evidence and static coverage cannot establish Git for Windows or Cargo verbatim-path behavior.

Copy link
Copy Markdown
Member Author

Sibling census for the verification question. I searched xtask/src/reports/release/ for raw temp_dir() fixture roots. There are four constructors:

Fixture Changed here Why
candidate_harness/live_head/tests.rs Fixture yes Passes its root to read_snapshot's starts_with (failing row)
candidate_harness/source/inventory/tests.rs Repo yes Same route (two failing rows)
candidate_harness/input.rs OwnedFiles yes Has no effect on the outcome: revalidate_retained_file canonicalizes the parent itself
candidate_harness/archive.rs OwnedExtraction no Goes through revalidate_extracted_files → revalidate_retained_file, which canonicalizes. Not in run 39764872026's failure list

The only production caller of read_snapshot outside these tests is revalidate_retained_file (input.rs:106), and it canonicalizes. The read_snapshot calls in release_control.rs and release_denominator.rs are a different function with the same name.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Windows qualification reconciliation for candidate 7e75293. Terminal job 119937047900 checked out fea63b2 (parents 6788976 + candidate; tree 62203faed640597ba1a6a767379dc241551be1c2). Its six changed Rust-file blobs match the reviewed candidate.

Preserve the bounded successes: raw logs explicitly report PASS in both workspace repetitions for workspace-only metadata, owned-read budget, both source-inventory rows, newline filename capture, policy-checker facade, and the two static result-policy tests. This establishes the exercised Cargo verbatim manifest-path and Git canonical-cwd cases, not general Windows success.

Concrete sibling failure, twice: live_head::tests::source_tests::direct_source_admission_refuses_moved_ref_wrong_tree_origin_and_same_version_substitution fails because Git cannot open \\?\D:\…\.git\last-integrated.commit. source_tests.rs:90–105 writes the file through Rust and then supplies the canonical absolute filename to git hash-object; the shared fixture's newly canonical root reaches this sibling.

Proposed owner repair, not executed here: pass .git/last-integrated.commit relative to the helper's already-selected source cwd. Preserve canonical-root custody, the retained boundary-object identity assertion, and all range/substitution refusal controls. Please repair this on the existing branch, obtain bounded sibling/targeted regression proof and fresh independent exact-head review; retain prior completed receipts only for their original identities.

Separate evidence-generator failure: both cargo statuses are 101, and the summarizer refuses incomplete_evidence: “completion totals … failed: 1 … contradict observed … failed: 0” and “owning harness announced 1 subjects but observed 0 rows.” Both raw logs show the Windows-shard-summary test launching bare Bash, emitting UTF-16/NUL WSL “no installed distributions” diagnostics, followed by a NUL-prefixed test colored_nextest_rows_still_reach_the_summary ... FAILED. The existing Windows/Bash fixture owner should reconcile that provenance failure without weakening the summarizer or discarding the raw targeted passes. No new CI campaign is requested here.

The unreadable-subtree/#9688 NOT_ESTABLISHED failure also remains in both repetitions. The required Linux run's previously verified 19,250 passes are retained, but neither advisory wrapper success nor these bounded passes close #9660 or establish overall Windows green.

…ve path (#9660)

Hosted Windows run 39811046268: with the live_head fixture root now canonical,
source_tests passed the verbatim `\\?\D:\...\.git\last-integrated.commit` to
`git hash-object`, which Git for Windows cannot open. Git already runs in the
source root, so name the file relative to it. Canonical-root custody and the
boundary-object identity assertion are unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs

Copy link
Copy Markdown
Member Author

Windows run 39811046268 reconciled; repair pushed as bdf79b5.

  • Sibling regression (this PR's). live_head::tests::source_tests::direct_source_admission_refuses_moved_ref_wrong_tree_origin_and_same_version_substitution passed the canonical \\?\D:\…\.git\last-integrated.commit to git hash-object, and Git for Windows can't open that path. Git already runs in the source root, so the argument is now the relative path .git/last-integrated.commit. Canonical-root custody, the boundary-object identity check and all refusal controls are unchanged.
    • Local result: cargo test -p xtask --bin xtask -- candidate_harness 33/33 passed, and cargo xtask precommit exited 0 (both Linux).
    • The census in my earlier comment covered the fixture constructors but missed this consumer, which turns a fixture path into an argv string. The live_head and inventory tests have no other to_str()/display() paths passed to git.
  • Not this PR's. colored_nextest_rows_still_reach_the_summary, from the Windows shard-summary test, launches bare bash, and on the runner that resolves to WSL with no installed distribution. That belongs to the Windows/Bash fixture owner and is unchanged here; the summarizer's incomplete_evidence refusal for it is correct.
  • Windows: doctor subdirectory-deny check never runs on hosted runners (icacls (AD) deny not enforced) #9688. The unreadable-subtree NOT_ESTABLISHED row is still open by design. A follow-up PR replaces the doctor-side skip with an injected-refusal seam.

merge-ready re-applied for the new head.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Independent bounded successor source review clears bdf79b5 (rechecked current), carrying forward the prior source review and inspecting the exact delta from 7e75293. No blocking source finding.

The only changed file is live_head/source_tests.rs: Git now receives .git/last-integrated.commit relative to the existing source-root cwd. The Rust file write, canonical-root custody, retained LAST_INTEGRATED identity assertion, and all range/substitution refusal controls are unchanged. No production custody check is weakened.

This is source clearance, not new-head runtime qualification. The owner's 33/33 candidate-harness tests and precommit exit 0 are Linux author-reported evidence. Prior required Linux success and both-repeat Windows targeted passes remain receipts for their original head/checkout, not passes for this successor. Existing required run 39836520434 and Windows run 39836520247 are running on this exact successor; retain terminal actual-checkout and affected sibling/target-row evidence when available.

The separate WSL/NUL-contaminated shard-summary failure remains the Windows/Bash owner's gap; its fail-closed provenance refusal must stay intact. #9688 and overall Windows-green claims remain outside this clearance. No extra campaign or validation execution initiated by this review.

@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 hosted Windows behavior for the current head is not established by static source review; prior runtime receipts refer to an earlier or successor-specific checkout.
  • Confirm no actionable crypto/compression/runtime sibling helper was implicated by this test-and-fixture diff; broader sibling-route completeness remains a verification concern rather than a confirmed defect.

Refuted

  • A changed path could create a stale active buffer view or unsafe backing-store region.; refuted because: The diff contains no ArrayBuffer, TypedArray, slice ownership, capacity buffer, shared mutation, or resizable-view operation; canonicalization only normalizes owned filesystem paths.
  • The fixture-path changes introduce an async ownership-transfer or stale backing-store hazard.; refuted because: No async, worker, transfer, detach, GC, unsafe pointer, or JavaScript-backed resource appears on any changed route; PathBuf ownership remains local and synchronous.
  • Moving contabo_result_policy tests off the crate-level Linux cfg could run Bash on Windows.; refuted because: Only Bash execution helpers and tests remain Linux-gated. The new guard-presence test and existing static workflow-permission test compile and run on every host.
  • Disabling core.protectNTFS could make the ledger oracle test an unrepresentative Git bypass.; refuted because: Production captures Git objects/index/tree names, so index-only staging models the unavailable Windows worktree filename; the test still commits and captures the actual Git tree effect rather than asserting an artificial string transformation.
  • Canonicalizing test roots may have weakened swap-detection or custody semantics.; refuted because: The diff changes only fixture construction; production read_snapshot and its canonical-root checks remain unchanged. The added Unix escape test exercises the refusal boundary.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • The successor repair has a discriminating Git oracle, but its bounded source review is not successor-head runtime qualification.
  • Acceptance still depends on exact-head hosted Windows results after the bdf79b5 path change; receipts from the predecessor head cannot qualify the successor.

Copy link
Copy Markdown
Member Author

Summary-owner reconciliation for the earlier Windows receipt: no second Bash-fixture repair is indicated. The historical checkout fea63b2 executed the old bare-Bash fixture (b060f5c254237307266d431a4d727e2723a4a59f). The canonical owner already landed #9732 as 0eb2628, preferring Git for Windows Bash only when its executable exists. Independent inspection of that two-file delta found no blocking source issue; the workflow and verdict parser are unchanged.

Completed native evidence is reusable at its original identity: run 39819783344 / shard-1 job 119967697616 actually checked out 3116798 and explicitly reported PASS for xtask::windows_shard_summary::colored_nextest_rows_still_reach_the_summary (0.370s). Its fixture blob is the repaired afc7ed0a2da1799ecf261138a151a1f5f01fa68d.

At this read, PR merge ref 277bf6a (parents 504a26e + bdf79b5, tree 7d0daebf9e2935a6f786bfb46fe24469726451ee) also contains that repaired blob. This is source-composition evidence, not proof of the running job's actual checkout or result. Existing run 39836520247 / full job 120026188944 remains the next exact observation; no new dispatch is requested.

The old NUL-contaminated row and its incomplete_evidence refusal remain valid historical evidence. Do not normalize away the attribution mismatch or reinterpret advisory wrapper success as acceptance. The new job's actual checkout, row outcomes and verdict must be read independently; #9688 and overall Windows-green claims remain separate.

Copy link
Copy Markdown
Member Author

Native-run timing observation for 39836520247 / full job 120026188944: raw job metadata says workspace repetition 1 started 2026-10-22 19:25:42 UTC. The configured 75-minute step timeout gives a nominal boundary of 20:40:42 UTC. At 20:55 UTC, the same metadata still reports that step in_progress, no completion timestamp, repetition 2 pending, and summaries/upload pending.

This is a published timeout-boundary overrun, not evidence of the failure cause or a terminal test verdict. The YAML limit is an outer workflow-step timeout, not an inner Cargo/process deadline; native status is written only after Cargo returns. Stale metadata or runner timeout/teardown delay remain possible until terminal evidence is available.

Please have the canonical owner reconcile runner/teardown status and preserve any existing output before deciding recovery. No cancellation, rerun, duplicate qualification campaign or timeout inflation is requested. The actual Windows checkout, repaired summary row, Git-path sibling and both-repeat verdicts remain unverified for this job.

Copy link
Copy Markdown
Member Author

Review of record, head bdf79b50e9dec89c89f69ce6efb190dc9af51542

Scope: six xtask test files plus one changelog fragment. No production code changes.

Angles and findings:

  • Correctness and edge cases. The manifest text drops the verbatim prefix. Custody fixtures now canonicalize their roots, and a new unix test covers a symlink escaping the root. The newline name is staged through hash-object and update-index --cacheinfo with core.protectNTFS=false, and the commit uses -m, so no editor or stdin wait is involved. Contabo gates only its Bash tests to Linux, and a guard-presence test keeps that gate from disappearing silently. No blockers.
  • Tests and regressions. The sibling regression from the predecessor head is fixed in bdf79b5, and the successor review found it clean. cargo xtask precommit exited 0 locally.
  • Spec and contract. No public output, schema or analyzer behavior changes.

Exact-head evidence:

  • Required Ripr Rust Small Result passed on run 39836520434, which checked out bdf79b5.
  • windows-advisory-subset passed on job 120026188629. Its selector did not pick these xtask rows at this head, so it is not row evidence for them.
  • The full windows-advisory job 120026188944 is still in_progress after its 75-minute step boundary, with no logs available. Another PR's full job (run 39837894497, a different branch) has been stuck in the same state since 19:12Z, so this looks like a shared runner or teardown condition rather than a fault in this diff. That is an inference, not proof.

Not established at this head: the Windows outcome of the six targeted rows and of the bdf79b5 sibling repair. These rows passed on hosted Windows at the predecessor head, but that receipt does not qualify bdf79b5. I am not claiming Windows is green. #9660 keeps the Windows row verification open until a terminal Windows run exists. No cancellation, rerun or timeout change is being made here.

Disposition: nothing blocking in the required path. Merging under the standing merge authority.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Terminal observation, 2026-10-22 23:38 UTC, for Windows Advisory run 39836520247 / full job 120026188944, associated head bdf79b5:

  • The run and full job now report completed/cancelled. The full job started at 19:02:00 UTC and completed at 23:37:00 UTC. Its published step metadata still leaves workspace repetition 1 in_progress (started 19:25:42 UTC), with repetition 2, summaries and full advisory upload pending.
  • A terminal decoded-job-log request at 23:38:08 UTC returned HTTP 404 BlobNotFound. No actual full-job checkout, termination output or per-repeat verdict can be recovered from that response. The cancelled conclusion and timing do not establish whether timeout enforcement, runner teardown or another cause ended the job.
  • Artifact metadata lists only ripr-windows-advisory-subset (artifact 12452402906), not a full-advisory artifact. The successful subset job is not native evidence for these xtask rows, as the owner already recorded above. No artifact was downloaded.

The actual full-job checkout, the six repaired Windows rows, the bdf79b5 sibling repair and both-repeat verdicts remain NOT_ESTABLISHED. This terminal observation does not close the native verification tracked in #9660 or replace the separate #9688 disposition.

No cancellation, rerun, code or timeout change was made for this observation. The original run watch is closed at this terminal evidence limit. The already-running #9840 observability-repair dispatch is a separate subject, not a replacement receipt for this run.

EffortlessSteven added a commit that referenced this pull request Oct 25, 2026
…s; host-correct oracles for Windows rows (#9806, #9660) (#10111)

* fix(windows): verbatim-free roots in refusal/diff JSON and diagnostics; host-correct oracles for six Windows rows (#9806, #9660)

Output (path census after #9822; identity and command-contract sites are
left for their owners):
- SARIF refusal `root`, limited/refused check JSON `root` and `ripr_diff`
  `root` render through display_path, matching check JSON.
- The triage `restart_route` binds its root through root_display, so a
  canonical root prints its plain spelling and `.` stays `.`.
- Seam-packet currentness reasons use display_path; agent repair/verify
  progress and receipt lines plus agent/check/rerun/swarm diagnostics on
  stderr use human_path (identity on Unix).

Tests (rows from sharded Windows run 39873139606, which already carries
#9736 and #9822):
- cache_clear_safety compares the reported cache_dir by filesystem
  identity, not spelling.
- cli_smoke workspace-root disclosure ×2 compare against printed_path;
  printed_path folds `\\?\UNC\` to `//` like the product.
- task_first_facade: the persisted root expectation folds the verbatim
  prefix; the continue command expects `/` on Windows.
- hostile_repos: Windows uses cmd/PowerShell metacharacters a file name
  can hold (`|` is os error 123); the injection oracle is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs

* docs(changelog): drop the local drive literal; disclose the Unix spelling of unusual JSON roots (#9806)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs

* test(windows): cache-clear hint expects the cmd/PowerShell-quoted root (#9660)

Hosted Windows run 40136594386 (b2b3a2d) now passes the cache_dir
identity check and stops at the hint: Windows prints --root "D:\...".
The other five #10111 rows pass on Windows in that run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs

* test(output): pin refusal/limited/diff JSON roots to display_path (#9806)

Review follow-up on #10111: the helper had host tests, but the four changed
call sites had none. A % in the root is escaped by display_path on every host,
so each test fails if its site goes back to the raw display() spelling
(checked by reverting each site).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs

* test(windows): host-correct oracles for the rows #10111's renderer swaps moved (#9806)

The refusal envelopes, repair summary/receipt lines and the swarm ingest
escape message now print the plain / spelling on Windows. Seven tests still
expected the raw or verbatim argument; compare against the printed form
(printed_path / human_path) instead. Unix spelling is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs

* fix(agent): after-phase receipt/verify lines print through human_path (#9806)

The before-phase packet line already used human_path; the after-phase
lines still printed the raw join, so Windows showed a mixed D:\...\target/ripr/...
spelling. Unix output is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready windows-ci Run the advisory Windows lane on a pull request without opting into every full-ci lane.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants