Skip to content

fix(harness-config): correct the audit's sandbox escape-surface rows against 2.1.321-2.1.328 - #18024

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17912-44938454438-1
Nov 21, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-17912-44938454438-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #17912

Summary

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

The sandbox escape-surface table in the audit's required-permissions.md now matches upstream. The excludedCommands row says some calls stay sandboxed (it points at the sandboxing section for the list) and cites changelog 2.1.327 for the permission-check case. A new row covers a PermissionRequest hook whose updatedInput rewrites a command into an excluded one, which runs it outside the sandbox (2.1.328). A new row covers mods Claude writes, which turn on without asking in auto and bypass modes even under managed strict mode (2.1.321), and points the mod inventory to /harness-ops:audit-mod-posture. A claim/basis/as-of/recheck record covers the new rows. The intro's surface count and the strict-mode sentence now include the new paths. The Category B scope paragraph was re-checked against the permissions page and the changelog 2.1.327 blockReadsOutsideWorkingDirectories items and re-stamped 2026-11-21, since nothing in it was false. The failIfUnavailable row already stated the 2.1.328 refusal behavior on main. I re-checked it against the changelog and the sandboxing page and left it unchanged, with true still the recommended value.

Not verified

  • check-affected skipped comment-hygiene (its action fetch failed: no network to raw.githubusercontent.com), size-check (script missing in the lane), typos (not installed), validate-plugins sub-checks and changed-skills inside check-affected (they run code from the checked tree); left to the PR's CI
  • Tidy: the ai-slop detector, digest guard and semantic-diff fix flow were not run, because the lane allows only its named wrapper scripts; I read the listed lines by hand against the catalog's tells and found none. The write-for-agents pass ran and reflowed one long line. The code passes (simplify,…
  • The changelog anchors (#2-1-321, #2-1-327, #2-1-328) could not be confirmed from the fetched page, which shows no anchor IDs; they follow the form the file already used; lychee in CI checks links
  • Lane rule: the change is left uncommitted in the working tree, as the runner's system prompt directs, instead of committed with a commit tool

Fix

  • plugins/harness-config/skills/audit/reference/required-permissions.md: Category B paragraph re-stamped 2026-11-21 against the permissions block section and changelog 2.1.327. The excludedCommands row is rewritten (some calls stay sandboxed; the 2.1.327 permission-check case is cited; the review…
  • .changes/harness-config/work-resolve-issue-issue-17912-44938454438-1-d989f0d0.md: new patch changelog fragment for harness-config

Verification

The runner ran each check from the base copy against 6c62515:

  • 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/sandboxing: the excludedCommands section says a redirect to a file, a cd or a command substitution keeps a call sandboxed; 'What runs outside the sandbox' lists mods; failIfUnavailable is still described as falling back to unsandboxed execution or refusing to…
  • read https: //code.claude.com/docs/en/changelog: 2.1.321 'Changed mods Claude writes to turn on without asking in auto and bypass modes, even with managed allowUnsandboxedCommands: false or allowManagedDomainsOnly, and not to load in dontAsk mode'; 2.1.327 'Claude now sees when a command exempt…
  • read https: //code.claude.com/docs/en/permissions: the 'Block file-tool reads and writes outside the working directories' section says the file tools refuse reads outside the working directories in every mode; nothing contradicts the Category B paragraph
  • read https: //code.claude.com/docs/en/hooks: PermissionRequest updatedInput is 'For allow only: modifies the tool's input parameters before execution ... re-evaluated against deny and ask rules'
  • check-changelog-fragments: pass (all 4 fragments valid, after adding the ### Fixed heading on the first run)
  • check-changed-skills: pass (0 errors, 7 warnings that predate this change)
  • check-affected: pass (14 passed, 9 skipped, 0 failed)
  • fresh-context review subagent: found 3 problems (the 2.1.327 claim was dated wrongly, the intro's surface count was stale, and the mod case was wrongly limited to auto/bypass modes); all 3 fixed and checks re-run
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44938454438

Left out: the items under Not verified.

Related

#17912

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review (incremental, blocking only): no security issues found

This review covers only what changed since 6c62515e. It reports only CRITICAL and IMPORTANT findings, because this lane already reviewed an earlier head.

I read the whole incremental change. It touches one file, plugins/harness-config/skills/audit/reference/required-permissions.md, which is not on a trusted path. The change is in the claim/basis/as-of/recheck record under the sandbox escape-surface table. It replaces one general sandboxing link with two links that point at specific anchors on the same code.claude.com page:

  • #run-commands-outside-the-sandbox-with-excludedcommands
  • #what-runs-outside-the-sandbox

No rule is removed, narrowed or softened, and the recheck trigger text is unchanged. So the instruction-surface lens finds nothing.

Nothing in the change touches code, a workflow, a manifest, a hook, a permission, a token or a trust control. The PR context has no embedded directives. The prior summary-only finding from the earlier head reported no issues, so nothing carries over.

critical-findings: 0

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

claude-review: 1 inline finding(s) on 6c62515e9e386d0627c58738a070fe4d34755d1d; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #18024 (incremental, blocking only)

Scope. I reviewed only what changed since 6c62515e9e386d0627c58738a070fe4d34755d1d: one hunk in plugins/harness-config/skills/audit/reference/required-permissions.md. I read that file's whole section of .claude-lane/incremental.diff. This lane has already reviewed an earlier head, so this review reports blocking findings only.

The change. The Claim/basis record under the sandbox escape-surface table used to link the sandboxing page with no section anchor. It now links two sections instead:

  • #run-commands-outside-the-sandbox-with-excludedcommands, which backs the excludedCommands row
  • #what-runs-outside-the-sandbox, which backs the mod row

This is the fix the earlier finding asked for. That thread is resolved and marked lines changed since resolution: no. Both anchors match the anchors the table rows already use. The record still names its as-of date (2026-11-21) and its recheck triggers.

Findings. None. The new lines add no anchorless docs link, and the sentence still reads correctly with the two links in place of the one.

Notes

  • The author's link and anchor checks are author-claimed. I did not verify them, and I did not fetch the upstream pages.
  • Loosened checks would be marked: fail, by default, because the prompt had no loosened_check_verdict: or loosened_check_patterns: line. There are no consumer patterns, and this increment loosens nothing. The prompt had no loosened_check_decision_record: line, so I did not check the citation requirement.
  • The PR body, the closing issue and the settled threads contain no embedded directives aimed at this lane.
  • No cost hold applies: this change is documentation only.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/address-feedback

Run 44940624636, attempt 1

Field Value
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44940624636

Failed GitHub API calls

No failed call recorded by the run job's scripts.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM66bVFF
@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/apply-feedback-patch

Run 44940624636, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed 9a389ba
Run 44940624636

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 9a389ba.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-unblock/publish-feedback

Run 44940624636, attempt 1

Field Value
Model rung 0
Leg base
Run job success
Activity step success
Commits pushed none recorded
Run 44940624636

Failed GitHub API calls

No failed call recorded by the run job's scripts.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path is about to arm native auto-merge at head 9a389ba2368c53874266cd301cfcc3ce1fae2240, 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=9a389ba2368c53874266cd301cfcc3ce1fae2240 rubric=10.4.5 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 2f733fc Nov 21, 2026
51 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-17912-44938454438-1 branch November 21, 2026 20:26
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.

harness-config: correct four rows of audit/reference/required-permissions.md against 2.1.321-2.1.328

0 participants