Skip to content

fix(autonomy): describe the 2.1.328 sandbox refusal in the Windows surfaces record - #17923

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-17915-44896934720-1
Nov 21, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-17915-44896934720-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #17915

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The native Windows claim in setup's windows-surfaces.md said that with sandbox.enabled on an unsupported platform and failIfUnavailable at its default, commands run unsandboxed (the ladder's silent degrade). It now says what changelog 2.1.328 says: the next sandboxed Bash command is refused with a message that the sandbox is off for the session. The 2.1.328 entry does not say what later commands do, and the Get started warning still says commands run unsandboxed, so the record notes both. Either way there is no OS boundary, and the ladder's fail-closed rule still blocks autonomous dispatch where there is no L2 substrate. The basis now cites changelog 2.1.328, Verified is 2026-11-21, and the recheck trigger also fires on a change to what runs after the refusal. To meet the done-when's agreement with required-permissions.md, I also updated that file's failIfUnavailable row in harness-config. It said the sandbox 'warns and then runs commands unsandboxed'. It now gives the 2.1.328 behavior, the older behavior and the docs lag, and still requires set to true. That adds a harness-config changelog fragment, and a sibling issue may cover the same row.

Not verified

  • The issue's runner instructions said to leave changes uncommitted (the runner builds the patch), so nothing was committed, though ci-mode.md says to commit
  • check-affected skipped comment-hygiene (it could not fetch ci-workflows action.yml from the sandbox), size-check (audit-size.sh missing in the lane checks tree), typos (not installed), and the validate-plugins subchecks and changed-skills that run code from the checked tree; left to the PR's CI
  • Tidy: passes 1-3 had nothing to do (the change is all markdown). Pass 4 (write-for-agents on windows-surfaces.md, write-for-humans on the autonomy fragment) and pass 5 (ai-slop detector, 0 findings) ran. The ai-slop fix flow's rubric fan-out and semantic-diff subagent were not dispatched because…
  • The upstream docs pages (sandboxing Get started warning) still describe the pre-2.1.328 behavior; recording that in docs/upstream/claude-code.md's Docs lag table was left out of scope
  • verify step: no build or test suite applies to a markdown-only change

Fix

  • plugins/autonomy/skills/setup/context/windows-surfaces.md: rewrote the second Native Windows claim (failIfUnavailable default) to describe the 2.1.328 refusal; tied the no-boundary conclusion to the ladder's fail-closed rule instead of the silent degrade; added changelog 2.1.328 to Basis, set…
  • plugins/harness-config/skills/audit/reference/required-permissions.md: failIfUnavailable row now states the 2.1.328 refusal, the earlier warn-and-run-unsandboxed behavior, and that the sandboxing page still says commands run unsandboxed; requirement unchanged (set to true)
  • .changes/autonomy/work-resolve-issue-issue-17915-44896934720-1-9a62645f.md: new patch fragment (### Fixed)
  • .changes/harness-config/work-resolve-issue-issue-17915-44896934720-1-e80c62d5.md: new patch fragment (### Fixed)

Verification

The runner ran each check from the base copy against acb9df2:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • read https: //code.claude.com/docs/en/changelog: 2.1.328 'Changed how a sandbox that can't start is reported, unless sandbox.failIfUnavailable is set: the next sandboxed Bash command is refused and says that the sandbox is off for the session'
  • read https: //code.claude.com/docs/en/sandboxing: Get started warning still says that by default, on an unsupported platform or failed dependency check, Claude Code runs commands without sandboxing; with failIfUnavailable set it exits at startup, including on native Windows
  • read https: //code.claude.com/docs/en/settings-reference: index row for sandbox.failIfUnavailable reads 'Refuse to start when the sandbox can't, instead of running unsandboxed, except in an Anthropic-hosted environment' (full section was past the fetched window)
  • check-changelog-fragments: all 8 fragments valid
  • check-changed-skills: autonomy setup and harness-config audit PASS, 0 errors (warnings were already there)
  • check-affected: 14 passed, 9 skipped, 0 failed over 4 changed files
  • ai-slop detect.sh over all 4 changed files: 0 findings
  • fresh-context review subagent: no factual defects; 1 consistency defect (required-permissions row) and 4 wording nits, all applied
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44896934720

Left out: the items under Not verified.

Related

#17915

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head acb9df27dddc5c018022ed321c2febda105eca74. No person needs to act: a lane clears this reason, and the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed acb9df27dddc5c018022ed321c2febda105eca74: read 4 of 4 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read all 4 changed files in full. The change is documentation only:

  • Two changelog fragments (.changes/autonomy/…, .changes/harness-config/…): patch-level ### Fixed notes. Nothing in them runs or controls anything.
  • plugins/autonomy/skills/setup/context/windows-surfaces.md: rewrites one Native Windows claim to match changelog 2.1.328. When the sandbox can't start and failIfUnavailable isn't true, the next sandboxed Bash command is now refused. The old record said commands run unsandboxed. The control's outcome is unchanged:
    • Setup still records neither the default nor failIfUnavailable: true as a boundary.
    • With no L2 substrate, the ladder's fail-closed rule still blocks autonomous dispatch.
    • The recheck trigger now covers more: it also fires on a change to what runs after the refusal.
  • plugins/harness-config/skills/audit/reference/required-permissions.md: only the "Why it matters" text of the failIfUnavailable row changes. The requirement in "What a boundary requires" is still set to true.

Instruction-surface check: both edited files are skill context that the setup and audit skills read. I checked them by consequence. No rule is deleted, narrowed or softened. The windows-surfaces record still says there is no boundary, and the audit row still requires failIfUnavailable: true. The protected-class register at docs/contracts/instruction-exception-register/README.md wasn't needed, because no rule was removed.

Other checks: no trust control, merge hold, token scope, workflow, plugin manifest or trusted path is touched. The PR context contains no embedded directives.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed acb9df27dddc5c018022ed321c2febda105eca74: read 4 of 4 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #17923 (reviewed head acb9df2)

No blocking or advisory findings. I read every hunk of all 4 changed files. All four are markdown: two reference records and two changelog fragments.

What changed

  • plugins/autonomy/skills/setup/context/windows-surfaces.md: the second Native Windows claim no longer says the default failIfUnavailable "silently degrades". It now describes the 2.1.328 refusal of the next sandboxed Bash command. It also notes that the Get started warning still says commands run unsandboxed. The no-boundary conclusion now rests on the ladder's fail-closed rule. Basis, Verified and the recheck trigger are updated to match.
  • plugins/harness-config/skills/audit/reference/required-permissions.md: the failIfUnavailable row now gives the behavior from v2.1.328, the behavior before it, and the docs lag. The requirement is still "set to true".
  • Two bump: patch changelog fragments, one per plugin. Patch fits a correction to reference text.

Closing issue #17915. Its done-when has three parts, and all are met:

  • Refusal described. Lines 29-31 now describe the 2.1.328 refusal (windows-surfaces.md#L28-L39).
  • Ladder text rechecked. The ladder's fail-closed rule (isolation-ladder.md#L142-L149) is generic and does not depend on the Windows degrade wording. The new claim cites it consistently.
  • Agreement with required-permissions.md. The failIfUnavailable row now matches the new claim.

No automated test can fail on a wording criterion like these, and that is expected for a docs-only fix.

Not verified independently. I did not fetch the upstream changelog, the sandboxing page or the settings reference. The author's quotes from them (PR body, "Verification") are author-claimed. The PR leaves the Docs lag entry in docs/upstream/claude-code.md out of scope. No rule this lane reads requires that entry.

Note, not counted as a finding. .claude/rules/skill-bodies-state-current-rules.md matches both changed reference files. It prefers a section-anchored pointer over restating upstream behavior such as a version gate. The new text restates the 2.1.328 behavior inside a Claim/Basis record. The closing issue explicitly asks that those lines describe the refusal, and the older Claim/Basis records are tracked for conversion under #5684. I report nothing inline for it.

Loosened checks. No loosened check in this change. Loosened checks would be marked: fail (none); patterns: 0. The prompt had no loosened_check_verdict:, loosened_check_patterns: or loosened_check_decision_record: lines, so I used the defaults, and the citation requirement was not checked.

No embedded instructions were found in the PR context or prior-findings files. No plugin manifests changed. Nothing in this change spends prepaid credit or adds cost.

Verifier dropped 0 of 0 candidates.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head acb9df27dddc5c018022ed321c2febda105eca74, the head its arming checks judged. The arm fails if the head moves first.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: max=LOW demote=false head=acb9df27dddc5c018022ed321c2febda105eca74 rubric=10.4.4 rater=claude-opus-5-5 checker=claude-opus-5-5

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 5f36da8 Nov 21, 2026
49 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17915-44896934720-1 branch November 21, 2026 11:34
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit 5f36da881294ccd3b39cc4b996fa652a08725114; later checks count it verified from this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

autonomy: windows-surfaces.md silent-degrade claim predates the 2.1.328 sandbox refusal

0 participants