Repository navigation
ci(windows): run real-ACL tests in a pwsh step of the sharded workflow (#9272) - #10159
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
…e printed plain paths in cli_smoke and cache_clear_safety (#9272) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 18 minutes. View limit details
Comment |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the workflow passes a nextest expression through the ACL_TESTS environment variable, so shell and nextest parsing must preserve the regex expression exactly.
- Confirm the cache negative control can pass vacuously when the default cache path resolves to the same canonical location as the checked root.
Refuted
- The cache_dir assertion would falsely accept a path outside the checked root after canonicalization.; refuted because: Canonicalization compares path identity, while the negative control still uses the same resolved-path predicate; no concrete false-positive is demonstrated.
- The cache and CLI changes introduce divergent or duplicated path-formatting policy in production code.; refuted because: The cache change canonicalizes within a test helper, while the CLI change reuses the existing
printed_path; both remain test-side and preserve the production boundary.
Parked follow-ups
- The ACL execution boundary is deliberately split between all bash shards and one pwsh step, but the workflow definition gives every matrix shard an ACL-specific step that is merely runtime-gated.
Evidence gaps
- The ACL tests are excluded from bash shards and rerun in a pwsh step, but the repository contains no successful Windows execution receipt for the changed workflow.
- Model proof intent was rejected by deterministic validation.
- The Windows acceptance criterion is not yet demonstrated by a branch run.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
There was a problem hiding this comment.
Verification questions
- Confirm the cache negative control compares canonicalized reported and expected paths, so it detects path identity rather than textual spelling while remaining vacuous if the default cache path resolves to the checked root.
- Confirm the ACL nextest expression is shared across shells without an explicit, shell-independent filter variable or quoting boundary.
- Confirm the real-ACL tests run only in shard 1's pwsh step, while all bash shards exclude them using the same filter; a mismatch in filter semantics could leave tests unrun or duplicate them.
- Confirm the documented privilege-bypass cause is stronger than the supplied proof packet currently establishes.
- Confirm the cache negative control does not establish that the default cache resolves outside the checked root; it only checks inequality with the checked root.
- Confirm the ACL workflow change has no focused red/green oracle proving the env expression selects the intended tests and excludes exactly those tests from bash.
- Confirm the ACL_TESTS expression is shared by bash and pwsh, but each shell expands it differently before nextest parses it; the workflow does not show a literal nextest filter preserving the regex exactly.
Refuted
- The CLI tests introduce a second production path-formatting policy.; refuted because: The changed lines reuse the existing printed_path helper and only alter test expectations, preserving the production/test boundary.
- The CLI and cache changes might duplicate or diverge from production path-formatting policy.; refuted because: The CLI assertions reuse the existing printed_path helper, and the cache assertion deliberately compares resolved identities rather than printed text; both changes remain test-side with no production delta.
- The changed test helpers introduce divergent production path-formatting policy.; refuted because: The changes remain test-side: cache_clear_safety canonicalizes for path identity, while cli_smoke reuses the product-facing printed_path helper; no production source is changed.
Evidence gaps
- The Windows ACL test route is split between bash shards and a shard-1 pwsh step, but no successful Windows execution receipt is present in the packet.
- Model proof intent was rejected by deterministic validation.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Windows result on head c39b396 (sharded run 40149982487, shard-1 artifact):
This PR does not claim the Windows suite is green. Generated by Claude Code |
|
|
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
|
Generated by Claude Code |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the shared ACL_TESTS expression routes the same test set into the shard-1 pwsh step and excludes it from bash, but no repository proof asserts selection cardinality or exact membership.
- Confirm the ACL filter is shared verbatim across shells, but its exact nextest selection semantics are not independently covered in-repository.
Refuted
- The reported Windows success overclaims that the entire suite is green.; refuted because: The claim is explicitly bounded to six assigned rows; the PR body and seeded comment identify unrelated remaining shard and shard-1 failures.
- This workflow change expands production scope or duplicates path-formatting policy in production code.; refuted because: The changed workflow relocates test execution only; the repository packet marks production delta as none, and the described cache/CLI expectation changes remain test-side while reusing or canonicalizing paths locally.
- The documentation's causal claim is supported by a hosted-runner probe but remains environment-specific rather than generally guaranteed for every bash invocation.
- The workflow change claims the whole Windows suite is green.; refuted because: The PR explicitly limits its claim to the six assigned rows and states that the overall Windows suite remains non-green because of other clusters.
Parked follow-ups
- Filter parity lacks a focused automated oracle: correctness currently depends on PowerShell and Bash preserving the same nextest expression through shell-specific expansion.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
There was a problem hiding this comment.
Decision
- Needs focused proof failure resolved before upstream.
Verification questions
- Confirm the shared ACL_TESTS expression is expanded by Bash and passed differently by PowerShell, so exact nextest parsing is shell-dependent.
- Confirm the ACL filter is shared verbatim, but exact nextest selection semantics lack a focused in-repository oracle.
- Confirm exact filter membership remains environment-sensitive because no repository proof pins the intended test names and count.
Refuted
- The change claims the entire Windows suite is green or includes cli_smoke/cache_clear_safety source changes.; refuted because: The PR explicitly bounds the result to assigned rows, identifies unrelated failures, and states those expectation changes landed separately in #10111.
- The workflow adds an inconsistent cache or CLI production path that should have been reviewed through public callers.; refuted because: Those expectations landed separately in #10111 and are absent from this diff; the remaining change is workflow-only and has no production API route.
- The workflow change expands production scope or introduces a new production helper.; refuted because: The change only relocates existing tests between CI shells and adjusts workflow evidence collection; production code is unchanged.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --package ripr --test doctor. This is a current failure, not a red/green witness.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
|
On the review's "focused HEAD proof failed (exit 101): Generated by Claude Code |
|
Windows run 40222367768 on the current head 222f8b9 (windows-shard-1 artifact):
This PR still makes no claim that the Windows suite is green. Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Review of record (exact-head sweep, head 222f8b9bcd8dab03d3ef434e206d1f4ca9dcb4a4). The two earlier EffortlessSteven reviews on this head have empty bodies (thread replies only), so no substantive review-of-record existed yet; the automatic bot review of 2026-10-25T19:06Z asked three verification questions — this sweep answers them with the exact-head hosted run.
Verified
Observed (inspected directly this sweep, via the REST API at head 222f8b9b unless stated):
- Full diff read at head: 3 files —
.github/workflows/windows-advisory-shards.yml,changelog.d/9272-windows-acl-tests-outside-bash.md,docs/LEARNINGS.md. Matches the body's Scope section. The title's "plain printed paths in smoke checks" is not in this diff (see finding 4). windows-advisory-shards.ymldiffed between the body's evidenced SHAc39b396dand head: only theSummarize failuresaddition differs; the pwsh step, env block and bash exclusion are byte-identical, so the body's hosted Windows results transfer to head.- An exact-head sharded run exists that the body does not cite: run 40222367768 (
workflow_dispatch, 2026-10-25T18:40Z, head222f8b9b). From itswindows-shard-1job log:- pwsh step: exactly 4 tests, all passed — the three
doctorprobes (probe_creatable_dir_reports_a_directory_that_denies_creation,cache_unwritable_reason_reports_existing_sharded_dir_denying_subdirectories,cache_unwritable_reason_reports_key_dir_denying_subdirectories) andxtask reports::eval_sweep_refresh::python_eval_sweep_refresh::real_unreadable_subtree_marks_corpus_selection_incomplete;Summary: 4 tests run: 4 passed, 21018 skipped. - Filter membership is pinned empirically at head: bash shard 1 reports 5322 run + 15700 skipped = 21022, and the pwsh step's 4 run + 21018 skipped = the same 21022. Exactly 4 workspace tests match
test(/denies_creation|denying_subdirectories|real_unreadable_subtree/)on Windows, exactly those were excluded from bash, no over- or under-match is visible. This settles the bot review's "membership not pinned" question. - The new
Summarize failuresreal-ACL block executed on the runner without error andtarget/acl.statusreached the upload step. - shard-1 bash failures at head are
analysis::seam_inventory::tests::given_fingerprint_store_blocked_then_failure_row_names_stage,ripr::cli_smoke pr_evidence_with_missing_artifacts_writes_error_packet(panics atcrates/ripr/tests/cli_smoke.rs:29407on a pr-evidence error-packet assertion — not the #10111 path-spelling cluster), andripr::stale_temp_sweep next_run_removes_an_old_stranded_temp_file...(#10173). None are this PR's assigned rows; shard 2's three failures are other clusters; shards 3/4 and doctests passed. Hosted required lanes at head are green (CI run 40222373316, Rust gates: success).
- pwsh step: exactly 4 tests, all passed — the three
- Test-name enumeration at head via the contents API:
crates/ripr/src/cli/commands/doctor.rs:4966,4989,5017andxtask/src/reports/eval_sweep_refresh.rs:3312 (#[cfg(unix)]) / 3372 (#[cfg(windows)])— the duplicate-named xtask pair is cfg-split, so 4 is the correct Windows-visible count and matches the run. - Shell polarity verified: bash receives
-E "not $ACL_TESTS"as one argv element; pwsh receives-E $env:ACL_TESTSas one argument; the run's selection shows both parsed as intended. - Workflow budget: replicated
extract_workflow_run_blocksand the per-block budget check fromtools/repo-policy/src/lib.rs(fetched at head) against the head workflow: every run block is within the allowlisted 30 non-empty lines (bash shard block 28, pwsh block 5, Summarize 3). YAML validity is confirmed by GitHub's own parse and execution of the dispatch run at head.cargo xtask check-workflowsitself was not run — no head worktree exists locally (local checkout is stale at36d46845and worktree-less).
Reported (PR body / probe, not independently observed here): the attribution of the bash deny-bypass to inherited SeBackupPrivilege/SeRestorePrivilege. I attempted local corroboration in Git Bash on a Windows host: the local token holds neither privilege, so this environment does not reproduce the runner premise. The behavioral bash-vs-pwsh delta itself is nevertheless demonstrated by the hosted runs (the same rows fail under bash-hosted shards on main run 40140809302 and pass in the pwsh step on head run 40222367768).
Not run / not verified: cargo xtask precommit, the test suites, goldens check (no product or golden delta; nothing to run them against), and any local execution of the pwsh step. The LEARNINGS.md cause upgrade from "unverified" to "established on a hosted runner" is consistent with the probe description but rests on the PR's hosted probe.
Findings
[P1] pwsh real-ACL step has no stall protection; a hang loses the evidence this lane exists to keep — .github/workflows/windows-advisory-shards.yml:117-125 (inline comment posted with the packet).
[P2] Fail-open exit code if the native spawn fails — .github/workflows/windows-advisory-shards.yml:121-125 (inline comment posted with the packet).
[P2] docs/CI.md:449 no longer matches the lane — The docs describe the sharded lane as "runs the same workspace tests as four cargo nextest --partition count:N/4 jobs plus a doctest job". After this change the four partition jobs exclude the real-ACL rows and shard 1 gains a pwsh step that runs them, so the sentence under-describes the lane. Fix direction: extend the sentence in the same bullet (#9272 paragraph). Validation: read-through; no generated-doc check covers this sentence. Confidence: High.
[P2] PR body Proof/claim-of-record is stale relative to the head it will merge with — The body cites run 40149982487 on c39b396d and describes shard-1 bash failures from that run (hostile_repos, trybuild_fixture_disclosure, agent_status); at head (run 40222367768) those three pass and a different set fails (seam_inventory fingerprint row, cli_smoke pr-evidence row, stale_temp_sweep #10173). The title also still names "plain printed paths in smoke checks", which left the diff with #10111. None of this contradicts the acceptance criterion — the pwsh rows pass on the exact head — but the body is the claim of record and should cite the head run. Fix direction: refresh the Proof section and title. Confidence: High (log lines cited above).
[P2, informational] The same root cause remains in the nightly single-job lane — windows-advisory.yml:162,191,198 run cargo test under shell: bash via windows-advisory-run, so the real-ACL rows should still fail NOT_ESTABLISHED there. The body declares other lanes a non-goal; recorded so the nightly rows stay attributable to this cause rather than reading as a new regression. Confidence: Medium (shells verified at head; no nightly run log inspected).
Strongest positive
The change is validated by an exact-head hosted experiment rather than prose: the four real-ACL rows fail under bash-hosted shards and pass in the pwsh step on the same head, the filter's membership is pinned by the run's own arithmetic, the LEARNINGS entry is upgraded from "unverified cause" to a probe-established cause, and the fail-closed NOT_ESTABLISHED oracle is preserved untouched.
Disposition: 1 blocking finding (P1 above; one-line fix), 4 P2 follow-ups listed. The acceptance criterion itself — the four real-ACL rows pass in the pwsh step on a sharded Windows run — is verified on the exact head via run 40222367768.
… CI.md note (#9272) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the workflow gives Bash and PowerShell the same ACL_TESTS value, but exact nextest selection semantics and membership are not independently pinned in-repository.
- Confirm the current head's timeout and null-exit-code fixes lack fresh hosted Windows proof.
Refuted
- The documentation overclaims that the full Windows suite is green.; refuted because: The changed documentation and PR body claim only relocation of four ACL-dependent tests; the seeded exact-head run explicitly identifies unrelated shard failures and makes no green-suite claim.
- The change broadens production scope or adds duplicated production path policy.; refuted because: No Rust production or test source is changed; this diff only changes CI routing and evidence plus documentation, while the cited cli_smoke/cache_clear_safety changes landed separately.
Parked follow-ups
- Exact ACL test membership remains environment-sensitive because no repository test pins the expression's nextest selection semantics.
- The ACL filter has observed exact membership/cardinality evidence, but no focused in-repository oracle pins that contract.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- The seeded exact-head run reports all four intended ACL tests passing in pwsh, but the final timeout/null-code changes lack a cited fresh hosted-run result.
|
Generated by Claude Code |
|
Update on d7169b4: the one re-run of the failed jobs passed shard 4, but Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Review of record (exact-head sweep, head d7169b40bf3fc1417d36645e447357fb8d0fbab3).
Dedupe note: the substantive review-of-record for this PR (review 5648700762) covers the previous head 222f8b9b; the only reviews on the current head are two empty-bodied thread replies (5648867338/5648867698) and the automatic bot notice (5649074341). This sweep reviews the current head, which carries the repairs the previous review directed.
Verified
Observed (REST API at head d7169b40, unless stated):
- Full diff read via
pulls/10159/files: 4 files —.github/workflows/windows-advisory-shards.yml(+29/−1),changelog.d/9272-windows-acl-tests-outside-bash.md(new),docs/CI.md(+1/−1),docs/LEARNINGS.md(+8/−4). Matches the body's Scope section; no production or test source changes. - This head is the repair of the previous review's findings, each confirmed at head: the P1 stall protection is
timeout-minutes: 20(windows-advisory-shards.yml:126); the P2 fail-open exit is the$LASTEXITCODEnull guard (:129-131); the P2 staledocs/CI.mdis the sentence atdocs/CI.md:451, which matches the workflow exactly (four excluded tests, pwsh step of shard 1, 20-minute step timeout, ownacl.log/acl.status, the bash backup/restore-privilege cause); the P2 stale Proof/title is addressed in the current body; the nightly-bash residual is recorded as #10621. The two inline threads from the previous review carry matching "Fixed in d7169b4" replies (comments 4374992207, 4374992539). - A fresh hosted dispatch at the exact head exists and passes the pwsh step: run 40288403173 (
workflow_dispatchof this workflow, headd7169b40, 2026-10-26T07:51:49Z, attempt 1). From thewindows-shard-1job log:- The executed pwsh step shows the head script verbatim, including the null guard,
Set-Content target/acl.status $codeandexit $code; step ran 08:21:28→08:22:31 and succeeded. - "Starting 4 tests across 190 binaries (21431 tests skipped)"; 4/4 passed — the three
doctorprobes (probe_creatable_dir_reports_a_directory_that_denies_creation,cache_unwritable_reason_reports_existing_sharded_dir_denying_subdirectories,cache_unwritable_reason_reports_key_dir_denying_subdirectories) andxtask reports::eval_sweep_refresh::python_eval_sweep_refresh::real_unreadable_subtree_marks_corpus_selection_incomplete; "Summary: 4 tests run: 4 passed, 21431 skipped". - Filter membership is re-pinned at this head by the run's own arithmetic: bash shard 1 "Summary: 5429 tests run: 5429 passed (4 slow), 16006 skipped", so 5429+16006 = 21435 = 4+21431. Exactly the four intended rows moved from bash to pwsh; no over- or under-match. This answers the bot review's membership question for the current head as well.
- The
matrix.shard == 1condition works: shards 2 and 4 report the pwsh step "completed/skipped"; shards 1, 2, 4 andwindows-doctestsall succeeded. - Run conclusion "cancelled": shard 3's workspace-test step ran 07:57:44→09:16:52 and was killed at the 80-minute job cap — an unrelated Windows cluster, consistent with the body's explicit non-claim that the overall Windows suite is green.
- The executed pwsh step shows the head script verbatim, including the null guard,
- Fail-closed polarity holds at head: a nonzero pwsh exit (or step timeout) fails the job, while
if: ${{ !cancelled() }}keeps Summarize and Upload running soacl.status/acl.logare still summarized and uploaded (windows-advisory-shards.yml:121,126,139,144). - Changelog fragment matches the
changelog.d/<issue>-<slug>.mdconvention (neighboring entries verified at head).
Reported (PR body/comments, not independently observed here): the SeBackupPrivilege/SeRestorePrivilege inheritance probe establishing the bash-vs-pwsh cause; the required-lane state at this head (hosted shard 4 flake re-run passed; a partial failed-jobs re-run left Rust test shards verify unable to see shards 1–3 artifacts; merge-ready re-applied for a fresh full run — comments 6411747659, 6412100279).
Not verified: the 20-minute step timeout firing (the run finished the step in ~63 s, so only its presence is exercised); any local command execution (read-only review lane — no cargo/xtask checks were run); the outcome of the fresh full required-lane run started after the merge-ready re-application.
Findings
[P2] PR Proof section predates the decisive evidence — PR body (no file line). Failure mode: the body still says the timeout/null-guard push "needs a fresh Windows dispatch on its head to be proven", but that dispatch exists — run 40288403173 on this exact head, pwsh step 4/4 — and the Proof section cites only run 40222367768 (head 222f8b9b) and 40149982487 (c39b396d). The claim of record is stale in the favorable direction; a later reader cannot find the head-exact run from the body. Why here: repository evidence rules bind proof to the candidate head and cite verifiable artifacts. Fix direction: update the Proof section to cite run 40288403173 on d7169b40, including the shard-3 80-minute job-cap cancellation so the run's "cancelled" verdict is not misread as a hidden red. Validation: read-through of the updated Proof against the run and the windows-shard-1 artifact. Confidence: High.
[P2, informational] The pwsh step recompiles instead of fully reusing the bash build — .github/workflows/windows-advisory-shards.yml:128 (inline comment posted). Failure mode: in run 40288403173's shard-1 log the pwsh cargo nextest invocation recompiled ("Compiling xtask ...", "Finished 'test' profile ... in 1m 00s") rather than fully reusing the bash step's build, adding ~1 minute to shard 1 per run; the cause is not established from the log. Why here: the step's 20-minute budget currently has huge margin (step total ~63 s warm), so there is no present risk, but the margin rests on reuse behavior nobody has explained. Fix direction: none required now; if the step ever approaches its budget, compare cargo fingerprints/env between the two steps before raising the timeout. Validation: the same job log ("Finished ... in 1m 00s" at 08:22:31). Confidence: High that the recompile occurs; Low on the cause.
Strongest positive
The repairs are exactly what the previous review directed, and they are proven by an exact-head hosted experiment: the run's own arithmetic pins filter membership (21435 = 4+21431 = 5429+16006), the guarded script appears verbatim in the executed step, and a stall or spawn failure now lands as a named acl.status failure in the job summary instead of an 80-minute silent hang.
Disposition: Findings above; none blocking. The acceptance criterion — the four real-ACL rows pass in the pwsh step on a sharded Windows run of the current head — is verified by run 40288403173. Residual: the step timeout has never actually fired (only its presence is exercised), and the shard-3 job-cap cancellation belongs to the other Windows clusters this PR explicitly does not claim.
|
Review of record, head d7169b4. Angles and findings:
CI: Merging by squash on this exact head. Generated by Claude Code |
Summary
icacls (AD)deny (threedoctorcache probes, the xtask unreadable-subtree sweep) in ashell: pwshstep of the sharded Windows workflow, and excludes them from the bash shards. A hosted-runner probe showed Git for Windows bash enablesSeBackupPrivilegeandSeRestorePrivilegeand every child inherits them, which bypass the deny; a pwsh step starts with both disabled and the same deny is enforced.Summarize failuresalso readsacl.statusandacl.log).cli_smokeandcache_clear_safetyexpectations this branch first carried landed on main as fix(windows): verbatim-free roots in refusal/diff JSON and diagnostics; host-correct oracles for six Windows rows (#9806, #9660) #10111, so they are no longer in this diff. Their Windows results below were measured before that merge, on the same test text.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Proposal:
Spec:
ADR:
Plan item: docs/releases/0.11.0-roadmap.md item 3
Governing issue or accepted claim: #9272
Acceptance delta (one sentence): Six rows from the first four-shard Windows verdict on main (run 40140809302) no longer fail for environment or path-spelling reasons.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): claude/project-thread-gyt3zf
Stack parent or prerequisite PR (if any): none
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
.github/workflows/windows-advisory-shards.yml:ACL_TESTSfilter, exclusion in the bash shards, new pwsh step for shard 1, two extra uploaded files.docs/CI.md: one sentence on the pwsh ACL step.docs/LEARNINGS.md(Windows: doctor subdirectory-deny check never runs on hosted runners (icacls (AD) deny not enforced) #9688 entry: cause now established),changelog.d/9272-windows-acl-tests-outside-bash.md.Scope Classification
Production delta:
Evidence/support delta:
SeBackupPrivilegeandSeRestorePrivilegeEnabled, a pwsh child created the directory despite the deny.Single acceptance criterion:
doctorACL rows andreal_unreadable_subtreein the pwsh step; the other assigned rows (cli_smokex2,cache_clear_safety) are fix(windows): verbatim-free roots in refusal/diff JSON and diagnostics; host-correct oracles for six Windows rows (#9806, #9660) #10111's.Non-goals:
NOT_ESTABLISHEDfail-closed behavior in the tests.Support-tier Impact
Policy Impact
Ledger or exception notes:
Proof
Windows, sharded run 40222367768 on head 222f8b9 (windows-shard-1 artifact; workflow identical to c39b396 except the
Summarize failuresaddition):acl.status0): 4 tests run, 4 passed, 21018 skipped: the threedoctorACL rows andreal_unreadable_subtree_marks_corpus_selection_incomplete. Bash shard 1 ran 5322 and skipped 15700 (sum 21022 = 4 + 21018), so the filter selected exactly those four and excluded exactly those from bash.seam_inventory ... failure_row_names_stage,cli_smoke pr_evidence_with_missing_artifacts_writes_error_packet,stale_temp_sweepWindows: stale_temp_sweep warm run 0 does not sweep aged residue #10173).cli_smokex2 andcache_clear_safetydifferent_cwd rows passed on c39b396 (run 40149982487) with the same test text now on main as fix(windows): verbatim-free roots in refusal/diff JSON and diagnostics; host-correct oracles for six Windows rows (#9806, #9660) #10111.The last push adds a 20-minute step timeout and a null-exit-code guard to the pwsh step and a
docs/CI.mdsentence; it needs a fresh Windows dispatch on its head to be proven (recorded in a PR comment).Result, failures, or skipped proof:
windows-advisory.yml) still runs these four under bash: Windows nightly advisory: real-ACL tests still run under bash and fail NOT_ESTABLISHED #10621.Claim Boundary
May claim: the six assigned rows pass on a hosted Windows run; the cause of the
doctorACL rows is the inherited backup/restore privileges (established by the probe above, onwindows-latestas of 2026-10-25).Must not claim: the Windows suite passes, or the remaining clusters are fixed.
Rollback
Revert the PR.
Spec-Test-Code Traceability
doctorrows andreal_unreadable_subtreeStatic Language Check
killed,survived,untested,proven, andadequate.CI Economics
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.https://claude.ai/code/session_01Vhkd2Rg6pXt3emf3gMBRZF
Generated by Claude Code