Skip to content

fix(windows): doctor deny seam, newer-Git gitfile wording, owner_pin mtime, verbatim-free printed paths (#9688, #9661, #9660) - #9822

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

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

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Summary

Fixes the next set of Windows rows from sharded run 39819783344 (#9272 baseline), following #9736. Three commits, one per issue:

Rows Cause Fix
doctor subdirectory-deny tests (#9688) They relied on an icacls deny that hosted Windows runners do not enforce, so they returned early and passed without testing anything. cache_unwritable_reason, probe_existing_key_dirs and probe_creatable_dir take create_dir through one seam; production still passes std::fs::create_dir. Three new tests inject a PermissionDenied and pin the reason and both routes (entry dir and per-key dir), with controls, so no ACL is needed. On Windows, an unenforced real deny now fails with a named NOT_ESTABLISHED reason instead of passing.
missing_gitfile_gitdir… (#9661) Newer Git prints "gitfile does not point to a valid repository". Our no-repository prefixes didn't cover that wording, so the product printed config-repair advice. Move the prefixes into git_reason_means_no_repository and add the newer wording, plus no path in gitfile (an empty gitdir: line, Git 2.43 exit 128), which previously got config-repair advice. A host-independent unit test pins both spellings plus two damage negatives.
owner_pin_execution literal_json (#9661) fs::copy on Windows keeps the fixture's mtime, so the shared target dir treated the previous case's broken demo build as fresh. Write fresh copies. Reproduced on Linux by restoring the source mtime after the copy.
cli_smoke ×6: structural_workspace_markers ×3, first_useful_action_corpus, config_validate parent config, python repair card (#9660) On Windows the product printed one root three ways. JSON root/config_path came out as //?/D:/…, which no shell or editor accepts, while other fields printed D:/…. Python and Perl card evidence used Path::display (tests\test_x.py). output::path::display_path folds reducible verbatim forms on Windows through the existing strip_windows_verbatim_prefix owner. Unix text is unchanged for ordinary paths. The cards use display_path for every path field, so on Unix a test file named with %, \ or non-UTF-8 bytes now prints the same stable spelling as the rest of the output. Tests compare against one printed_path helper.

Source-of-truth Links

Proposal: n/a
Spec: RIPR-SPEC-0007 (doctor deny-test evidence wording updated)
ADR: n/a
Plan item: #9272 A3
Governing issue or accepted claim: #9660, #9661, #9688
Acceptance delta (one sentence): The gitfile wording, owner_pin literal_json and six cli_smoke printed-path rows hold on Windows, Windows output prints one drive-letter spelling of a root, and the doctor deny behavior is pinned on every host by injected refusals while the three real-ACL rows stop passing vacuously.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): claude/project-thread-qdq5b6
Stack parent or prerequisite PR (if any): #9736 (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

#9776 (#9659 quoting) also edits crates/ripr/tests/cli_smoke.rs, but in disjoint hunks.

Scope

  • Production: output/path.rs display folding (Windows only), the card evidence path text, the diff load no-repository wording, and the doctor create_dir seam.
  • Tests, LEARNINGS, the SPEC-0007 doctor deny-test wording, one process-allowlist entry for a test-only whoami /priv spawn, and three changelog fragments.

Scope Classification

  • Other: Windows host-consistency fixes across three issues

Production delta:

  • Windows printed paths drop the //?/ verbatim prefix wherever it can be reduced. Newer Git's gitfile wording is classified as "no repository".

Evidence/support delta:

  • The doctor deny tests no longer pass vacuously on Windows.

Single acceptance criterion:

  • The gitfile, owner_pin and cli_smoke rows pass on Windows. The three real-ACL doctor rows (probe_creatable_dir_reports_a_directory_that_denies_creation, cache_unwritable_reason_reports_{sharded,key}_dir_denying_subdirectories) are expected to fail on hosted Windows with NOT_ESTABLISHED (instrument failure: the runner does not enforce the icacls (AD) deny). This is intentional: they previously passed without asserting anything. The injected-refusal tests carry the behavior on every host.

Non-goals:

Support-tier Impact

  • none

Policy Impact

  • none

Proof

cargo xtask precommit   # exit 0 on the rebased head (main e7b5e1da)
# follow-up ebfd3a86: precommit exit 0; fold_verbatim parity test passes in ripr and xtask
# independent review run (Linux): doctor/gitfile/display_path lib filters 50+93+148 passed; owner_pin literal_json 1; cli_smoke selected 32; goldens check, check-output-contracts, check-process-policy pass

Result, failures, or skipped proof:

Claim Boundary

  • May claim: these rows have a diagnosed cause and a host-correct fix.
  • Must not claim: Windows is green overall, or that the real-ACL doctor rows pass on hosted Windows.

Rollback

Revert the squash commit.

Spec-Test-Code Traceability

  • Tests: listed above
  • Code: listed above

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

https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs


Generated by Claude Code

…ny oracle on every host (#9688)

The doctor subdirectory-deny tests relied on an icacls (AD) deny that hosted
Windows runners do not enforce, so they returned early and read as passes.

- Production: cache_unwritable_reason / probe_existing_key_dirs /
  probe_creatable_dir take the create_dir operation through one seam;
  production still passes std::fs::create_dir.
- Three new tests inject a PermissionDenied for one directory and pin the
  reason and both routes (entry dir, per-key dir) with controls. They need
  no ACL, so they run on hosted Windows. Removing the per-key probe fails
  the key-dir test.
- On Windows, an unenforced real deny now fails with a named NOT_ESTABLISHED
  reason and the token's backup/restore privilege state instead of passing.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs
… is no repository, not damage (#9661)

- load.rs: the no-repository prefixes move into git_reason_means_no_repository
  and gain newer Git's wording for a gitfile whose existing target is not a
  repository. Hosted Windows (newer Git) printed config-repair advice for it.
  A host-independent unit test pins both spellings and two damage negatives.
- owner_pin_execution literal_json: write fixture copies instead of fs::copy.
  Windows' copy keeps the fixture mtime, so the shared target dir treated the
  previous case's broken `demo` build as fresh. Reproduced on Linux by
  restoring the source mtime after copy (same nested_literal, broken=false
  failure); passes with fresh writes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PdRXdT9261qDfiBsZW51xs
…d evidence uses `/` (#9660)

Six cli_smoke rows from Windows run 39819783344. The product printed three
spellings of one root on Windows: JSON `root` and `config_path` came out as
`//?/<drive>:/…` (display_path only slash-unified the canonical verbatim
path), while `artifact.repository.root` and human output printed
`<drive>:/…`. `//?/<drive>:/…` is not a form a shell or editor accepts.

- output::path::display_path folds the reducible verbatim forms on Windows
  through the same strip_windows_verbatim_prefix owner human_path_text uses.
  Unix text is unchanged. Host-explicit unit test covers both hosts,
  UNC and the unfoldable Volume form.
- python_repair_card (evidence and "changed at") and perl_preview_card
  evidence used Path::display, printing `tests\test_x.py` beside
  `/`-separated card fields; they now use display_path.
- Tests: structural_workspace_markers ×3, first_useful_action_corpus and
  config_validate parent-config compare against one printed_path helper
  instead of the raw canonical path. python_unittest_selectors expectations
  were already `/`.

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!

@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 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 114 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: 5ad2f162-c0e0-4fb2-959a-f72f73201758
📥 Commits

Reviewing files that changed from the base of the PR and between 85c963a and ebfd3a8.

📒 Files selected for processing: 20
  • changelog.d/9660-windows-printed-paths.md
  • changelog.d/9661-windows-gitfile-and-owner-pin.md
  • changelog.d/9688-doctor-injected-create-dir-refusal.md
  • crates/ripr/src/agent/loop_commands.rs
  • crates/ripr/src/analysis/diff/load.rs
  • crates/ripr/src/app/verification_execution.rs
  • crates/ripr/src/cli/commands/doctor.rs
  • crates/ripr/src/cli/rerun.rs
  • crates/ripr/src/output/gate.rs
  • crates/ripr/src/output/human/triage.rs
  • crates/ripr/src/output/outcome/path.rs
  • crates/ripr/src/output/path.rs
  • crates/ripr/src/output/perl_preview_card.rs
  • crates/ripr/src/output/python_repair_card.rs
  • crates/ripr/tests/cli_smoke.rs
  • crates/ripr/tests/cli_smoke/structural_workspace_markers.rs
  • crates/ripr/tests/owner_pin_execution.rs
  • docs/LEARNINGS.md
  • docs/specs/RIPR-SPEC-0007-repository-configuration.md
  • policy/process_allowlist.txt
  • 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 21:31
@EffortlessSteven EffortlessSteven added merge-ready windows-ci Run the advisory Windows lane on a pull request without opting into every full-ci lane. 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!

@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 reviewer attention before upstream: findings remain.

Confirmed findings

  • The PR body claims the Windows rows are fixed, but the available packet has no successful Windows receipt and the ripr sensor failed; the claim should remain bounded to diagnosed host-correct fixes rather than overall Windows green.

Verification questions

  • Confirm repository-wide sibling coverage for slash-unifying Path renderers is not established by the changed-file and named-consumer scan.

Refuted

  • The diff introduces or exposes an ArrayBuffer/TypedArray active-view lifetime hazard.; refuted because: The assigned surface contains Rust path rendering and filesystem tests only; no buffer, typed array, view, resize, detach, transfer, stale-length, or shared mutable backing-store route changed.
  • Path display folding could cross an ownership or mutation boundary and yield stale worker state.; refuted because: fold_verbatim_on_host consumes and returns an owned String synchronously; there is no shared mutable buffer, cached worker state, or concurrent consumer in this diff.
  • Shared verbatim folding might alter Unix paths or obscure unreducible Windows volume paths.; refuted because: fold_verbatim_on_host is compiled to identity on non-Windows hosts, and display_path_for_host tests explicitly retain Unix and Volume prefix forms.
  • The new Git wording predicate is too broad and may misclassify damaged repositories.; refuted because: It uses starts_with over fatal-prefixed diagnostics, and the added negatives cover config-path text and object-damage wording; malformed variants remain conservatively damaged.

Parked follow-ups

  • The xtask-included agent renderer duplicates Windows verbatim-prefix reduction instead of sharing output::path, creating a sibling consistency obligation.
  • The changed output and fixture helpers converge on one host-aware spelling, but Windows execution is still pending.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

@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.

Independent bounded source review of 9b434e9; head rechecked unchanged at 22:07 UTC. Integration basis read from this PR: main 85c963a. No blocking source finding in the 20-file change. This adds doctor/refusal and fixture-oracle inspection to the existing review, not Windows qualification.

Inspected source and authored controls

  • Doctor's production wrapper still supplies std::fs::create_dir. The same callback reaches both entry-directory and per-key probes; file-write probes and probe-removal error handling are unchanged. The injected refusal is restricted to the selected parent directory and checks its named reason. The direct probe has a real-create/no-residue control, the sharded route an out-of-scope refusal control, and the key route a real production-wrapper control. By inspection, removing the directory probe or per-key route makes the corresponding injected test lose its required reason. These are source-level challenges, not executed mutations.
  • On Windows an unenforced real deny is restored, then returns Err(NOT_ESTABLISHED: ...); the tests' ? propagates that error rather than returning a captured plain pass. The new cleanup wrapper also attempts fixture removal on an unestablished deny. Privilege output is diagnostic only and does not establish the hypothesized cause.
  • The owner-pin fixture changes only how identical input bytes are copied. Fresh writes avoid inheriting fixture mtimes while retaining the shared target, all ten cases, and both correct/broken runtime controls. None of the admission, nonempty-subject or assertion-failure checks is removed.
  • Output folding uses the existing Windows drive/UNC-prefix owner. Non-Windows folding is identity, unreducible volume prefixes remain, and the changed consumers retain their previous slash/empty/dot normalization. Canonical filesystem roots are not rewritten for custody or process cwd. The xtask-included agent copy matches this rule at this head; this is not a repository-wide sibling-completeness claim.
  • The Git diagnostic change stays anchored to fatal prefixes; authored negatives keep config-path text and object-damage wording out of the no-repository classification. Structural-root tests retain nonempty probe/finding assertions and explicit-versus-implicit finding parity rather than merely changing path expectations.

Evidence boundary and disposition
Observed: exact source, full changed-file inventory/diffs, current discussion/review and no inline review threads. Reported only: Linux precommit success and the mtime reproduction in the PR description. Not executed in this review: tests, CLI rendering, wrong-implementation experiments, integration builds or any native Windows qualification.

REVIEW_INCOMPLETE for final merge qualification, with no source repair requested by this pass. The existing review's missing Windows receipt and broader sibling-census limitations remain. The new tests' presence does not establish that hosted Windows selected/executed them, nor that the real hosted invocation retained an unenforced deny as a named fixture refusal instead of ObservedPass. Preserve both obligations in #9688: doctor receipt/oracle acceptance and the separate eval-sweep unreadable-subtree control. This review does not close #9688, qualify the older #9736 Windows job, or claim Windows green. No CI campaign, Ready transition or merge initiated.

… parity test (#9660)

Review follow-ups on #9822:
- perl_preview_card suggested_test_location goes through display_path, so
  every path field in one card shares one spelling.
- loop_commands' restated verbatim fold gains a host-explicit inner
  function and a test pinning output::path's drive, UNC, Volume and plain
  cases on both hosts, so drift is visible on Linux runs.
- The #9661 changelog fragment discloses the `no path in gitfile` prefix.

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

@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.

Bounded successor source review of ebfd3a8, rechecked current at 22:27 UTC. Inspected the complete three-file delta from 9b434e9, carrying forward the prior source review. No blocking source finding.

The Perl card's suggested test location now uses the same stable renderer as its current-test evidence, without changing test selection or assertion text. The agent fold's production host choice is unchanged; the new explicit-host helper and drive/UNC/Volume/plain cases make both host branches inspectable and runnable on Linux, but do not mechanically compare the two private implementations or establish a repository-wide renderer census. The changelog now discloses the already-authored empty-gitdir diagnostic classification. Doctor callback routing, refusal controls and owner-pin runtime controls are unchanged.

Observed source only; I did not execute these tests. PR-body Linux results remain reported evidence. Existing required run 39863576151 and separate native Windows run 39863575730 are in progress at this read. Do not promote admission, successful setup/subsets or the older head's review into terminal current-head qualification.

Disposition remains REVIEW_INCOMPLETE for final merge qualification, with no source repair requested. Retain #9688's hosted doctor execution/named unenforced-denial receipt and separate eval-sweep unreadable-subtree obligations. The three real-ACL NOT_ESTABLISHED outcomes are instrument refusals, not successful ACL behavior or overall Windows green. No new writer, validation campaign, Ready transition or merge initiated.

@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.

Confirmed findings

  • Repository-wide sibling path-renderer coverage remains unverified.

Verification questions

  • Confirm the change is relevant to Windows behavior, but the packet contains no successful Windows run. The review must not imply Windows qualification; obtain a focused Windows CI or equivalent host receipt before treating the listed Windows rows as proven.
  • Confirm repository-wide sibling coverage for slash-unifying Path renderers is not established by the changed consumers.
  • Confirm the changed renderer set is broad, but a no-match scan for one helper or one changed-file subset would not establish repository-wide sibling completeness.
  • Confirm the duplicated xtask-included fold has focused parity tests but no executable proof that repository-wide slash-unifying Path renderers are all migrated.
  • Confirm the changed path-rendering callers route through the shared Windows fold, while the restated xtask helper preserves Unix text; the strongest direct concern is incomplete sibling coverage.
  • Confirm repository-wide sibling coverage for all slash-unifying Path renderers is not established by the named consumers in this patch.

Refuted

  • The path-folding changes could mutate an active view over a shared backing store or expose a stale length.; refuted because: The changed renderers convert path text to an owned String, replace separators, fold the resulting owned String, and return a new owned String. No borrowed slice, shared allocation, resize operation, or asynchronously retained view is introduced.

Evidence gaps

  • The failed ripr sensor and late cargo-test receipt prevent treating the acceptance claim as fully executed.
  • The PR has no successful Windows receipt, so the fixes are host-correct by inspection but not demonstrated on Windows.
  • The test packet does not yet establish that the new red/green tests execute successfully.
  • Model proof intent was rejected by deterministic validation.

Copy link
Copy Markdown
Member Author

Required-only terminal receipt for current head ebfd3a8, rechecked open/non-draft and unchanged at 23:30 UTC. This supplements the exact-head source review; it does not replace the canonical owner or claim native Windows qualification.

Executed subject and terminal result

  • Existing required run 39863576151, attempt 1, finished SUCCESS at 23:07:18 UTC. Hosted Rust gates job 120120710313 finished SUCCESS at 23:07:12; Ripr Rust Small Result 120140624078 finished SUCCESS at 23:07:18. All 9 jobs were read: 5 succeeded and 4 non-selected routes/docs jobs were skipped, not executed passes.
  • The hosted job log explicitly checks out refs/remotes/pull/9822/merge and prints actual HEAD 6cfea81 at 22:17:13. Its Git object has ordered parents ccfb8f3, ebfd3a8 and tree 6708007c0fd3ab6743571b2e53b09cb1810e3b45. This is observed hosted merge-subject execution, not execution of the raw product head or a claim about a newer main composition. PR-evidence commands separately use event base 85c963a and product head ebfd3a8.
  • Environment: GitHub-hosted Ubuntu 24.04.5. Real command cargo nextest run --workspace --profile ci: 19,539/19,539 passed across 156 binaries, 5 skipped (terminal summary 22:55:14). Doctests: 2 passed, 1 ignored, no failures. No native-Windows inference from this Linux receipt.

Affected execution rows in that denominator

  • Doctor injected key-directory and sharded-directory refusal routes: PASS at 22:38:10; direct probe_creatable_dir_names_an_injected_creation_refusal: PASS at 22:38:11. These execute the authored scoped refusals and their positive/out-of-scope controls reviewed earlier; they are not real Windows ACL observations.
  • The three real directory-deny rows also PASS on Linux. This does not establish Windows deny enforcement or the Windows named-refusal receipt.
  • Gitfile diagnostic predicate no_repository_reasons_cover_both_git_spellings_of_a_non_repository_gitdir and missing-gitfile repair rows: PASS. literal_json_constructor_matches_real_callback_and_runtime_controls: PASS at 22:43:27.
  • fold_verbatim_matches_the_output_path_rule_on_both_hosts: PASS in ripr (22:36:28) and xtask (22:52:45). This is explicit-host fixture coverage in each copy, not a repository-wide renderer census or mechanical equivalence proof between all siblings.
  • Affected cli_smoke rows for parent-config discovery, first-useful-action corpus, structural workspace roots and Python repair-card projection appear as PASS.

Formatting, repository/agent/dependency/process/network policy, promotion honesty, workspace/all-features checks, strict Clippy, required tests/doctests, goldens, fixtures, verdict corpus, PR evidence and schema-producer sweep are terminal SUCCESS. Proof-route is advisory; skipped report/scratch steps are not passes.

Remaining boundary
At the 23:29 read, existing native Windows run 39863575730, full job 120120643297, is still in workspace run 1; run 2 and verdict summaries are pending. Successful subset 120120643999 is separate and does not contain these doctor/parity/gitfile/owner-pin rows. Native affected-row execution and final qualification remain NOT ESTABLISHED.

Retain both #9688 obligations: Windows execution of injected doctor controls plus retained real-ACL NOT_ESTABLISHED instrument refusals (never ObservedPass), and the separate untouched eval-sweep unreadable-subtree control. Privilege diagnostics establish no cause. Broader renderer sibling completeness remains unverified. No duplicate writer/run, Ready transition or merge initiated; final integration/protection disposition remains with the canonical owner.

Copy link
Copy Markdown
Member Author

Review of record, head ebfd3a86983a85883a7a4427ce3e3d8ff3fa1726

Reviewed from these angles:

  • Correctness and edge cases. An independent read-only reviewer covered the full 20-file diff and ran focused Linux tests. Steven's bounded source reviews cover 9b434e9 and the ebfd3a8 delta.
  • Test oracle strength. Each doctor route is discriminated by its injected refusal plus controls. Removing a probe route loses its reason.
  • Contract and output parity. The Unix fold is the identity function. Goldens, check-output-contracts and check-process-policy pass.

Findings and their resolutions:

  • The real-ACL doctor rows will fail closed on hosted Windows. This was a PR-claim problem, not a code defect. The PR body now states that the three rows are expected NOT_ESTABLISHED instrument refusals, and the obligations are kept on #9688.
  • The no path in gitfile prefix was undisclosed. It is now disclosed in the changelog and the body.
  • Two fields of the Perl card spelled the path differently. Fixed in ebfd3a8: both now go through display_path.
  • The restated xtask fold had no host-explicit test. Fixed in ebfd3a8: added a host-explicit helper and a parity test. It passes in both ripr and xtask.
  • There is no repository-wide census of sibling renderers. That is out of scope here and is now owned on #9806.
  • The UNC case in the printed_path test helper diverges. This matters only on UNC runners. It is not blocking and is noted.
  • Gemini and CodeRabbit were out of quota, so their review is missing, not clean. The independent review above stands in for it.

Exact-head evidence:

  • The required run 39863576151 succeeded on merge subject 6cfea81, whose parents are ccfb8f3 and ebfd3a8. nextest passed 19,539/19,539 with 5 skipped, and the affected rows passed. These are Linux results. Steven's terminal receipt is above.
  • cargo xtask precommit exited 0 locally on ebfd3a8.

Not established: native Windows execution of the affected rows. The full Windows job 120120643297 is still in workspace run 1, and the subset job does not select these rows. #9660, #9661 and #9688 stay open for the Windows receipt. This is not a Windows-green claim.

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


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Terminal observation, checked 2026-10-23 02:54 UTC, for the existing Windows Advisory run 39863575730 / full job 120120643297, associated head ebfd3a86983a85883a7a4427ce3e3d8ff3fa1726:

  • The run and full job now report completed/cancelled. The full job started 2026-10-22 22:16:43 UTC and completed 2026-10-23 02:51:43 UTC. The workflow at ebfd3a8 configures a 270-minute job timeout, giving nominal boundary 02:46:43 UTC; the terminal timestamp is five minutes later. Elapsed time and cancelled conclusion do not establish what caused termination.
  • Published step metadata still leaves workspace repeat 1 in_progress (started 22:54:00 UTC, no completion timestamp), with repeat 2, verdict summary and full advisory upload pending. No per-repeat native status or test verdict is established by that metadata.
  • The terminal decoded-job-log request at 02:53:48 UTC returned HTTP 404 BlobNotFound. That response provides no actual full-job checkout, test rows or runner-termination output. No log retry or artifact inventory/download was performed. Upload-pending metadata is not a claim that no artifact exists.

The already-recorded required Rust success and exact tested composition remain valid for their original subject. They do not establish native Windows behavior.

Native Windows proof for this PR's doctor injected-refusal/real-ACL behavior, display/fold-verbatim parity, gitfile wording, owner-pin literal-JSON execution and printed-path rows remains NOT_ESTABLISHED. In particular, the good #9736 subset on the descendant executed in the separate #9840 terminal receipt does not satisfy #9822's later changes. The #9688 instrument limitations remain separate; neither the cancelled conclusion nor the successful subset wrapper resolves them.

This terminal evidence limit is routed to the already-existing #9840 observability lane and the canonical #9660 owner record, not a new qualification campaign. No cancellation, rerun, dispatch, writer, label action, merge or closure was performed for this observation. The original run watch is closed at this verified terminal evidence limit.

Copy link
Copy Markdown
Member Author

Native descendant receipt for #9822, checked 2026-10-23 03:46 UTC. This recovers the missing rows from an already-completed run; it does not restart the closed original watch.

Subject and reusable evidence

Observed PASS rows in decoded terminal job logs

Job links: S1 / 120152180301, S2 / 120152180488, S3 / 120152180446, S4 / 120152180299.

Exact executable-owned row Job
ripr cli::commands::doctor::tests::probe_creatable_dir_names_an_injected_creation_refusal S1
ripr cli::commands::doctor::tests::cache_unwritable_reason_routes_an_injected_key_dir_refusal S2
ripr cli::commands::doctor::tests::cache_unwritable_reason_routes_an_injected_sharded_dir_refusal S3
ripr output::path::tests::display_path_folds_a_canonical_windows_root_and_keeps_unix_text S1
ripr agent::loop_commands::tests::fold_verbatim_matches_the_output_path_rule_on_both_hosts S2
xtask::bin/xtask reports::operator::loop_commands::tests::fold_verbatim_matches_the_output_path_rule_on_both_hosts S4
ripr analysis::diff::load::tests::no_repository_reasons_cover_both_git_spellings_of_a_non_repository_gitdir S1
ripr analysis::diff::load::tests::missing_gitfile_gitdir_names_worktree_or_submodule_repair S2
ripr::hostile_repos missing_gitfile_gitdir_names_worktree_or_submodule_repair S4
ripr::owner_pin_execution literal_json_constructor_matches_real_callback_and_runtime_controls S4
ripr::cli_smoke config_validate_discovers_parent_config_from_nested_directory S1
ripr::cli_smoke pilot_projects_python_repair_card_for_git_diff S1
ripr::cli_smoke first_useful_action_corpus_pins_routing_cases S2
ripr::cli_smoke structural_workspace_markers::scalar_workspaces_do_not_select_a_nested_cli_root S1
ripr::cli_smoke structural_workspace_markers::typescript_workspace_evidence_uses_structural_markers_and_package_fallback S2
ripr::cli_smoke structural_workspace_markers::package_workspace_arrays_and_yarn_objects_keep_their_root S3
ripr::cli_smoke structural_workspace_markers::scalar_marker_preserves_cargo_uv_git_and_unmarked_root_boundaries S4

Honest refusal and remaining limits

The three real doctor ACL rows execute and FAIL with NOT_ESTABLISHED: icacls (AD) deny is not enforced for this process (#9688): key-directory in S1, direct probe in S2, existing-sharded-directory in S3. The log includes SeBackupPrivilege/SeRestorePrivilege enabled; that is diagnostic evidence, not proof of causation. S2's separate real eval-sweep unreadable-subtree control also FAILS with its named NOT_ESTABLISHED, while its injected-read counterpart passes. These are retained instrument refusals, never ACL-behavior passes.

All four shards finish with native exit 100. Denominators: S1 4856/4860 passed, S2 4810/4815, S3 4769/4771, S4 4739/4741: 19,174 passed / 13 failed overall. Partition-skipped rows are not passes. Not Windows-green, paired stability, a renderer census, an ACL-cause diagnosis, or forced-deadline cleanup proof.

Next / canonical owner: @EffortlessSteven, retain the #9822/#9660/#9661 owner and accept or challenge this bounded descendant receipt before scheduling more qualification. Two further native cli_smoke failures are check_from_a_subcrate_discloses_workspace_root_and_honors_explicit_root (S1, assertion at cli_smoke.rs:2109) and check_from_a_package_source_dir_analyzes_the_crate_root (S4, :2276); both print forward-slash resolved-root text in stderr. Route diagnosis/any repair through that owner. #9688 retains real-fixture enforcement acceptance; #9840 retains the separate single-job deadline discriminator.

The #9840 paired receipt remains valid for its b373ced checkout and earlier #9736 subset; this receipt supplies different, later-tree rows. No new writer, test run, dispatch, rerun, label, Ready transition, merge, closure, artifact inventory/download or old-log retry was performed. Known named runs are terminal; a repository-wide active-run read via CLI returned bare Forbidden, so absence of other active jobs is unverified.

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