Skip to content

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

Merged
EffortlessSteven merged 9 commits into
mainfrom
claude/project-thread-qdq5b6
Oct 25, 2026
Merged

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

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Summary

This PR does two things. Both come from the latest sharded Windows run that carries #9736 and #9822: 39873139606 on f81fd10, which contains 6ff98f8 and e0b147f. That run has 13 failures, down from 26.

1. Six remaining Windows rows: the test oracles assumed old spellings. No production change.

The two task_first_facade rows were fixed the same way on main by #10161, which landed in parallel. The merge of main takes #10161's version, so this PR now carries four of the six rows. Hosted Windows run 40155498240 (merge subject 7ac2f66) passes all six rows.

Row Cause Fix
cache_clear_safety::cache_status_and_clear_root_flag_target_the_checked_root_from_a_different_cwd The test compared the reported cache_dir string (D:\…\target\ripr\cache) to a canonical \\?\D:\…/target/ripr/cache. Compare by filesystem identity (both canonicalized). The negative control still requires a mismatch.
cli_smoke::check_from_a_subcrate_discloses_workspace_root_and_honors_explicit_root, check_from_a_package_source_dir_analyzes_the_crate_root Since #9824 the product prints the resolved root with human_path (D:/…). The tests expected canonical.display(). Compare against printed_path, which now also folds \\?\UNC\ to // like the product.
task_first_facade::repair_human_paths_preserve_percent_root_identity The persisted manifest root uses root_path_display, which folds verbatim since #9822. The test pinned //?/D:/…. Expect the folded spelling. The canonicalized identity assertion and the % spelling pin are unchanged.
task_first_facade::repeated_repair_resumes_the_awaiting_attempt_instead_of_duplicating The continue command prints / on Windows. The test expected the raw D:\… argument. Expect / on Windows, as the neighbouring tests already do.
hostile_repos::shell_metacharacter_root_name_does_not_execute ` ` cannot appear in a Windows file name (os error 123), so the fixture never got built.

2. Plain output sites from the path census. A read-only census of output, cli, app, agent, mcp and lsp found about 67 sites that can print //?/ on Windows. This PR fixes the ones that are neither identity nor command contracts:

  • These JSON fields now render through display_path, matching check JSON root:
    • SARIF refusal properties.root
    • limited and refused check JSON root (two sites)
    • ripr_diff root
  • The triage restart_route (ripr check --root …) binds through root_display. An absolute or canonical root prints the plain spelling, and . stays ..
  • Seam-packet currentness reason strings use display_path.
  • These stderr lines use human_path, which is the identity function on Unix:
    • agent repair/verify progress and receipt lines
    • the before-phase packet path
    • agent-support, agent_receipt, swarm ingest, repair_attempt, check staging, rerun and check diagnostics

Deliberately not changed here, because each one is an identity or command contract that needs its producer and consumers changed together:

  • check artifact root and diff_source.path
  • the review_comments_receipt root identity
  • the gap-ledger stored root and its ripr check --root command
  • the Perl/TypeScript GapAnchor.file dedupe anchors
  • the python_repair_binding re-read manifest path
  • the LSP input identity
  • cache status --json, which documents verbatim spelling on purpose

Source-of-truth Links

Proposal: n/a
Spec: n/a
ADR: n/a
Plan item: #9272 A3
Governing issue or accepted claim: #9660, #9806
Acceptance delta (one sentence): The six listed Windows rows have host-correct oracles, and Windows refusal/diff JSON roots, the restart route and agent/check diagnostics print the plain drive spelling instead of //?/.

Candidate Relationships

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

  • 14 production files (rendering-call swaps only), 4 test files and 1 changelog fragment.

Scope Classification

  • Other: Windows path spelling at output sites, plus host-correct test oracles

Production delta:

  • Windows-only spelling change at the listed output sites. On Unix, the human_path sites are byte-identical. The display_path JSON fields match check JSON's existing root rendering, so on Unix only names containing %, \ or non-UTF-8 bytes change spelling.

Single acceptance criterion:

  • The six rows pass on Windows. On Linux the touched suites pass and goldens are unchanged.

Non-goals:

Support-tier Impact

  • none

Policy Impact

  • none

Proof

cargo test -p ripr --lib -- sarif limited_check diff_report triage currentness agent check rerun swarm repair_attempt agent_receipt   # 1317 + 1 passed
cargo test -p ripr --test cache_clear_safety --test hostile_repos --test task_first_facade                                         # 21, 27, 71 passed
cargo test -p ripr --test cli_smoke -- check_from_a                                                                                 # 4 passed
cargo xtask goldens check                                                                                                           # exit 0
cargo xtask precommit                                                                                                               # exit 0

Result, failures, or skipped proof:

  • Hosted Windows windows-advisory job 121055915286 (run 40155498240, merge subject 7ac2f66 = b91e80a + main da7e5b9): success. All six rows pass in every repetition the log shows. The Linux gates are listed above. The head after the main merge (e9927c7) needs its own required run.

Claim Boundary

  • May claim: these rows have a diagnosed cause and a host-correct oracle, and the listed output sites no longer print //?/ on Windows.
  • Must not claim: Windows is green overall, or that every path renderer is migrated.

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

…s; 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
@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 24, 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 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 173 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: c725d966-82ea-4431-87b9-07eaf39716bf
Commits

Reviewing files that changed from the base of the PR and between feea378 and 30a20ba.

Files selected for processing: 17
  • changelog.d/9806-verbatim-free-output-roots.md
  • crates/ripr/src/app/agent_receipt.rs
  • crates/ripr/src/app/check.rs
  • crates/ripr/src/app/repair_attempt/mod.rs
  • crates/ripr/src/cli/commands/agent.rs
  • crates/ripr/src/cli/commands/check.rs
  • crates/ripr/src/cli/commands/swarm/ingest.rs
  • crates/ripr/src/cli/commands_agent_support.rs
  • crates/ripr/src/cli/mod.rs
  • crates/ripr/src/cli/rerun.rs
  • crates/ripr/src/output/agent_seam_packets_live/currentness.rs
  • crates/ripr/src/output/diff_report.rs
  • crates/ripr/src/output/human/triage.rs
  • crates/ripr/src/output/limited_check.rs
  • crates/ripr/src/output/sarif.rs
  • crates/ripr/tests/cache_clear_safety.rs
  • crates/ripr/tests/cli_smoke.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

…ling 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

@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 the cache test’s new oracle checks filesystem identity but can no longer detect a reported path with identical identity and an intentionally different spelling.

Refuted

  • The JSON presentation changes consistently use display_path, but they alter non-Windows spelling for roots containing percent, backslash, or non-UTF-8 bytes.
  • The Windows hostile-repository fixture still contains an invalid pipe character.; refuted because: The Windows branch selects a filename without \|, while Unix retains the original injection fixture and marker oracle.
  • The PR body says the six Windows rows pass, but its Proof section states the result is Linux only and the Windows outcome awaits CI.
  • The renderer substitutions cross an identity boundary and could corrupt path validation or persisted roots.; refuted because: Validation still canonicalizes and compares Path values; only strings produced for diagnostics, JSON presentation, and restart-route display are normalized.
  • The test-oracle changes materially weaken negative controls.; refuted because: The cache negative control still requires canonical identity mismatch, the CLI smoke assertions compare against the same product-compatible printer, and the hostile-root test retains marker-based injection detection with only a host-valid fixture name substituted.

Evidence gaps

  • The changed Windows test oracles improve host compatibility, but this packet contains no Windows execution result for them.
  • Model proof intent was rejected by deterministic validation.
  • The PR’s Windows acceptance claim lacks direct Windows proof in the supplied packet.

#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

@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 cache test now checks canonical filesystem identity, so it cannot distinguish two valid spellings of the same cache directory.
  • Confirm the cache test now canonicalizes the reported cache_dir and compares filesystem identity, which cannot distinguish an intended path from an equivalent alias or symlink.
  • Confirm the cache test now accepts any spelling that canonicalizes to the expected directory, so it cannot detect an intentionally different but equivalent spelling.
  • Confirm the cache test now proves filesystem identity, but no longer distinguishes an equivalent path with a different textual spelling.

Refuted

  • The cache-oracle change materially weakens the negative control and cannot detect a reported path with identical identity but intentionally different spelling.; refuted because: The negative control still requires the reported cache_dir not to resolve to the checked root's real cache identity, but it intentionally no longer distinguishes spelling aliases; the residual alias-specific gap remains the open observation.
  • The Windows hostile-repository fixture still includes an invalid pipe character.; refuted because: The Windows branch selects a name without '|', while the Unix branch retains the original injection fixture and marker oracle.

Evidence gaps

  • Windows success for the six targeted rows is not established by the available evidence.
  • Model proof intent was rejected by deterministic validation.
  • The six Windows oracle changes are host-correct in intent, but the supplied proof is Linux-only and no Windows receipt demonstrates the claimed rows pass.
  • The PR's Windows-green claim exceeds the available proof: the body states Linux-only results and awaits Windows CI.
  • The claimed Windows acceptance criterion is not demonstrated by the supplied proof.

Copy link
Copy Markdown
Member Author

On the repeated cache_clear_safety verification question: the identity comparison is intended. This test's claim is #9503: cache status --root X from a foreign cwd reports and clears X's cache, not the cwd project's. That is a claim about which directory, so canonical identity is the right oracle.

  • What it still catches. The negative control still fails if the cwd-only run resolves to the checked cache.
  • What it deliberately ignores. It does not pin how cache_dir is spelled. cache status --json keeps its native spelling on purpose (see the comment in cli/commands/cache.rs), so spelling is a separate contract.
  • Why the old oracle was wrong. It compared against a canonical \\?\…/target/ripr/cache string. The product never prints that string, which is why the row failed on Windows.

Windows evidence (hosted run 40136594386, job 120999593536, head b2b3a2d, workspace run 1):

  • Passing on Windows:
    • check_from_a_subcrate_discloses_workspace_root_and_honors_explicit_root
    • check_from_a_package_source_dir_analyzes_the_crate_root
    • repair_human_paths_preserve_percent_root_identity
    • repeated_repair_resumes_the_awaiting_attempt_instead_of_duplicating
    • shell_metacharacter_root_name_does_not_execute
    • the three injected doctor refusal tests
  • Fixed after that run: cache_status_and_clear_root_flag_target_the_checked_root_from_a_different_cwd got past the identity check, then failed on the hint expectation, because Windows prints --root "D:\…". b91e80a fixes that. This row is not yet proven on Windows at b91e80a.

Generated by Claude Code

…-qdq5b6

# Conflicts:
#	crates/ripr/tests/task_first_facade.rs
@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head b91e80a6), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

Copy link
Copy Markdown
Member Author

Independent delta/evidence reconciliation for head e9927c79e0e004b76e7bdbc9a8045d7ba3659add (2026-10-25 05:36 UTC).

No actionable source finding emitted. Existing implementation ownership remains unchanged; no branch edits or additional qualification campaign were made.

Frozen identities. Head tree: d787388a94f94f33391344828a8f6f8f962d2ddd. The head merged base c0c0b049ffbdd539a3f365cf0196224857ae47e9 (tree d1d68cda277b0fd0c09ae801646314977d943bc5). GitHub's observed test-merge object is 33ff784b3fa5860dd926addc92bf265a26084676, parents 29c2e73c46b356966c3663dac79eabec4b867578 and this head, tree 7dc5d8e9f6ec853153745ffa25c9b04d10382e0b. The completed admission job actually checked out that merge object; this does not establish the checkout of every downstream job or completed qualification.

Retained native evidence, independently read. Windows job 121055915286 identifies Windows Server 2025 / Rust 1.95.0 MSVC and actually checks out 7ac2f66383fd64ca0c3f8136f3c02949b689888c (parents da7e5b908a50ab05a1cf8fd5a3aab2f10e70a7b1, b91e80a648dae7c6534a3d4093b3d205150cadff; tree 6a91b4837c8979d98e699f674cfbc20a27f59cc9). All six named acceptance rows report ok three times. In particular, the cache row passes at 03:04:09, 03:37:46 and 04:13:26 UTC. Its inspected runtime path checks the quoted native-root hint, then invokes dry-run and forced clear and verifies zero remaining entries. This supersedes the earlier comment's “not yet proven on Windows” statement for b91e80a composed with da7e5b9. Other tests in this advisory log fail; this is six-row evidence, not Windows-overall clearance.

Delta and contract review. All 14 PR production files, cache implementation, shared path/command renderers, and the four test files still changed by this PR are byte-identical between that tested merge subject and e9927c7. The remaining facade-oracle delta comes from main: the head's entire task_first_facade.rs equals c0c0b04's version. The drive-path oracle still independently pins persisted spelling, canonical identity, literal percent and resumed-attempt identity. Its new helper has not thereby acquired fresh native execution evidence.

The cache test deliberately compares canonical filesystem identity. Its separate hint assertion pins command spelling; cache status --json still uses native Path::display for machine identity. Canonical confinement comparisons and returned paths remain unchanged in receipt/support/ingest consumers; before-phase JSON bypasses the human packet-path summary. Refusal/diff roots use the existing stable JSON codec, while diagnostics and restart commands use their existing human/command owners. Unix percent/backslash/non-UTF-8 JSON encoding changes are disclosed in the changelog and PR body.

A bounded main-delta inspection through e9caef552871fc51a8444199a038cce91a9ee2eb found no change to the shared root renderers, cache producer or targeted tests; the intersecting diff/triage/SARIF changes concern value-origin fixtures/projection, not root spelling. This is source inspection, not executed current-main integration proof.

Disposition: REVIEW_INCOMPLETE for final delivery. The already-running current-head Windows job and Rust qualification job remain the next evidence consumers. The existing delivery owner should inspect their terminal logs, actual checkout identities and current findings before deciding readiness. No extra independent campaign is needed for the unchanged seams. No Linux/native parity, protection satisfaction, landing, or merge clearance is claimed.

@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head e9927c79), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

…-qdq5b6

# Conflicts:
#	crates/ripr/tests/hostile_repos.rs

@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 changed JSON root fields have no adjacent changed assertions in the supplied diff proving old output is rejected and new output accepted.
  • Confirm a single-pattern caller scan cannot establish that no additional plain output sites still expose Windows verbatim spellings.
  • Confirm the Windows cache-clear hint expectation assumes every root_arg requires quoting, which may make the oracle narrower than the actual quoting rule.

Refuted

  • Renderer substitutions may cross an identity boundary and change validation, persisted roots, or command identity semantics.; refuted because: The reviewed changes format display strings only; Path-based canonicalization, starts_with, equality, and stored identity fields are not replaced by these display renderings. The triage route is a generated command presentation, not the canonical root itself.
  • Rendering substitutions cross an identity boundary and could corrupt path validation or persisted roots.; refuted because: Changed sites only format paths into diagnostics or JSON presentation; canonicalization, starts_with checks, filesystem operations, and persisted Path handling remain unchanged.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

Copy link
Copy Markdown
Member Author

Goldens note: the main break from #9449 (13 Python human-full.txt fixtures plus rust_qualified_foreign_receiver) is being fixed by the dedicated PRs #10269 (Python) and #10253 (Rust). A small bless-only PR lands faster than this 17-file Windows path change, so please keep the bless out of this PR (or drop it if it's already staged locally) and merge main once those land.


Generated by Claude Code

@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 found 1 potential issue.

Devin Review

Comment thread crates/ripr/src/output/diff_report.rs Resolved
)

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

@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 changed JSON and SARIF root fields have no direct changed assertion that rejects an old Windows //?/ root value.
  • Confirm the new Windows cache-clear hint oracle may be narrower than the product's shell-quoting rule.
  • Confirm a complete census of sibling path-printing routes is not established by the supplied diff.

Refuted

  • The renderer substitutions cross an identity boundary and could corrupt path validation or persisted roots.; refuted because: The changed sites format diagnostic, presentation, or generated-command strings; validation and persistence continue to use Path values and canonicalization.
  • The changed path renderers may alter identity-sensitive validation or persisted-root behavior.; refuted because: The reviewed substitutions format diagnostic or JSON presentation strings; the supplied diff leaves Path-based canonicalization, starts_with checks, and stored identity values unchanged.
  • The Windows hostile-repository fixture still contains an invalid pipe character.; refuted because: The seeded thread documents that the Windows branch selects a valid metacharacter-bearing filename while Unix retains the original fixture and injection oracle; the current diff does not reopen that issue.
  • The broad set of helper substitutions duplicates the migration and risks applying the wrong renderer.; refuted because: Within the reviewed scope the distinction is explicit: display_path is used for JSON/currentness presentation, human_path for Unix-identical diagnostics, and identity/command contracts are excluded or separately quoted. The remaining concern is maintainability, not a demonstrated behavioral defect.

Parked follow-ups

  • Triage bypasses the shared path-output layer and applies root_display to an already rendered string, coupling route formatting to an unrelated helper.
  • The changed call sites select between display_path and human_path according to output contract, but this policy is not centralized at a typed presentation boundary.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

@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 Windows restart-route and stderr spelling claims lack direct changed-behavior assertions in the supplied diff.
  • Confirm the PR's complete sibling-output census is not established by the supplied diff or available receipts.

Refuted

  • Canonical filesystem identity materially weakens the cache test's negative control.; refuted because: The positive case now proves the expected cache identity, while the foreign-cwd negative control still requires a different identity. Equivalent spellings are intentionally outside this test's contract.
  • The changed rendering calls may weaken path validation or corrupt persisted identity.; refuted because: The diff preserves canonicalization, Path equality, and starts_with checks; only rendered diagnostic or presentation strings use the new helpers.
  • The changes need a new shared abstraction to avoid duplication or establish a common identity contract.; refuted because: Existing display_path, human_path, and root_display helpers already express the distinct output contracts, while identity-sensitive producers remain intentionally unchanged.
  • Changing display renderers may alter identity-sensitive validation, persistence, or generated command behavior.; refuted because: The changed call sites format diagnostics, JSON presentation, or a generated restart command; validation and persistence continue to operate on Path values, canonicalization, starts_with, equality, and stored identity fields.

Evidence gaps

  • Windows-specific cache hint quoting and the current head's Rust test result are not independently established by this lane.
  • Model proof intent was rejected by deterministic validation.
  • The packet does not establish that every path-printing route was migrated, and the ripr sensor failure remains unexplained.

…aps 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

@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 several changed human_path diagnostic sites and the triage restart route have no direct changed-behavior assertions in the supplied diff.
  • Confirm the patch's route census is not complete evidence that no sibling path-printing site remains.

Parked follow-ups

  • The diff deliberately separates display contracts from identity contracts, but the supplied diff alone cannot establish that the claimed sibling output-site census is exhaustive.

Evidence gaps

  • Current-head executable proof is not yet evidenced, and the complete sibling-output census is broader than the focused renderer tests.
  • Model proof intent was rejected by deterministic validation.

…#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

@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 four changed JSON root fields have direct renderer-level tests using a percent-containing root, discriminating display_path from raw display().
  • Confirm the restart route applies root_display before shell_arg, but the supplied diff does not add a direct changed-behavior assertion for its Windows output.
  • Confirm direct changed-behavior coverage is not shown for triage restart_route and many human_path stderr sites; helper-level coverage cannot prove each caller emits the expected spelling.
  • Confirm the claimed sibling-output census is broader than the supplied changed-route evidence, so this patch alone cannot prove no other plain output site still exposes //?/.

Refuted

  • JSON root renderers now consistently use display_path, with direct tests for diff, limited/refused envelopes, and SARIF refusal output.
  • Replacing display() with human_path/display_path could cross an identity boundary and corrupt validation or persisted roots.; refuted because: The changed paths are diagnostic or presentation outputs; Path-based validation, canonicalization, equality, and starts_with checks remain in place.

Parked follow-ups

  • The sibling-output census is broader than the changed diff and cannot be proved exhaustive from this patch alone.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • The claimed sibling-output census and current-head executable proof remain broader than the deterministic evidence available in this lane.

Copy link
Copy Markdown
Member Author

Review of record: head 30a20ba

Disposition: REVIEW_READY. Required CI is green on this exact head, and no blocking finding is open.

Evidence on 30a20ba

Angles and findings

  1. Correctness and contract boundary.
    • Every changed site is a rendering call. The identity and command contracts listed in the PR body are untouched, and Path validation, canonicalization and starts_with checks are unchanged.
    • The review bot refuted the identity-crossing hypothesis in four passes.
    • One real defect turned up and is fixed in 30a20ba: the after-phase receipt/verify lines still printed a mixed D:\…\target/ripr/… spelling, while the before-phase line had already moved to human_path.
  2. Tests and regressions.
    • Devin and the review bot both found that the four JSON/SARIF root sites had no renderer-level assertion. Fixed in baad210 with a % root, which display_path escapes on every host. Each of the four sites was reverted to display() and its test failed, so the tests discriminate. Thread resolved after the reply.
    • My earlier Windows proof checked only the six target rows. It missed seven rows this PR's own swaps had moved. Those oracles are fixed in 02a5e7c and proven on hosted Windows above.
  3. Windows quoting. The cache-clear hint oracle quotes every root because a Windows temp root always contains \, which is outside shell_arg_for's bare set (agent/loop_commands.rs:589). It is not narrower than the product rule for this fixture.
  4. Open gaps, recorded rather than fixed here.
    • The triage restart_route has no direct assertion. It is not serialized in the canonical action for the states a unit test reaches, so a test there would pin nothing visible. Its Windows behaviour rests on root_display/fold_verbatim_for_host's host tests.
    • The sibling-output census is a read-only survey, not exhaustive proof. The PR claims only the listed sites.
    • Follow-up windows: printed --root commands percent-encode % in the root (root_display → display_path) #10116 (Windows printed --root percent-encodes %) stays open.
  5. Reviews counted as missing. CodeRabbit was quota-limited on every head, so its review counts as missing, not clean. The review bot's "Model proof intent was rejected by deterministic validation" is that lane's own evidence gap.

Merge-time interactions


Generated by Claude Code

@EffortlessSteven
EffortlessSteven merged commit 85195b3 into main Oct 25, 2026
50 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-qdq5b6 branch October 25, 2026 16:29
EffortlessSteven pushed a commit that referenced this pull request Oct 25, 2026
Main's #10111 landed the cli_smoke and cache_clear_safety expectations, so
this PR keeps only the ACL workflow step and the LEARNINGS update.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
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