Repository navigation
Description
Split from the changelog release issue(s) above under the owner's decision of 2026-11-21 (melodic-software/architecture#148): one issue per handoff row, rows that edit the same file grouped.
Route: lane work. Basis: reference-text corrections to match current upstream; no runtime control changes (owner 2026-11-21 ~09:3xZ, "go w/ recomendations": file as lane work).
Problem
harness-config: required-permissions.md does not name Claude-written mods turning on unasked in auto and bypass modes (2.1.321)
Row 4 of #14843 (key changelog:2.1.321..2.1.321:correct:plugins/harness-config/skills/audit/reference/required-permissions.md). Required sentence: v2.1.321 lets Claude-written mods turn on unasked in auto and bypass modes, a path the escape-surface list does not name.
On main, the row's other two halves are fixed: cp/mv coverage at plugins/harness-config/skills/audit/reference/required-permissions.md:57-63, and the read-only Bash case at :113-116. The mod half is not. No line in the file names a Claude-written mod turning on without asking in auto or bypass mode, and the escape-surface table and the uncovered-surfaces paragraph (:97-131) do not list it. The adopt row on audit-mod-posture (separate issue, same release) covers the audit check. This issue covers the baseline text.
harness-config: audit's excludedCommands row says every listed command runs outside the sandbox
plugins/harness-config/skills/audit/reference/required-permissions.md:102 (sandbox escape-surface table) says that anything listed in excludedCommands runs outside the sandbox. That is not always true:
- https://code.claude.com/docs/en/sandboxing#run-commands-outside-the-sandbox-with-excludedcommands says some calls stay sandboxed (a redirect, a
cd, a command substitution). - Changelog 2.1.327 (item 2.1.327-110) adds that an exempt command whose permission check relied on the sandbox stays in it. The docs page does not state this yet (docs-lag), so that part cites the changelog.
The audit over-states what excludedCommands exposes.
The recheck trigger on the permissions.blockReadsOutsideWorkingDirectories paragraph (recheck line :43-44, verified 2026-09-28) also fires, on changelog 2.1.327 items -135, -136 and -137: the block now asks about more Bash commands in bypass and auto mode, denies some in auto mode, and refuses Bash commands that name a denied path. No false statement in that paragraph was shown.
#17375 has two security rows on the same table (the failIfUnavailable line, and a PermissionRequest hook that rewrites a command into an excluded one).
harness-config: required-permissions.md failIfUnavailable row describes the pre-2.1.328 unsandboxed fallback
False: the failIfUnavailable row says a missing dependency or unsupported platform warns and then
runs commands unsandboxed. True (changelog 2.1.328 only): unless sandbox.failIfUnavailable is set,
the next sandboxed Bash command is refused and says the sandbox is off for the session.
sandboxing still describes the old
behavior, so the true half rests on the changelog alone.
Repo evidence: plugins/harness-config/skills/audit/reference/required-permissions.md:101. This is
the sandbox escape-surface table.
harness-config: escape-surface table misses a PermissionRequest hook that rewrites a command into an excluded one
The escape-surface table lists what runs outside the sandbox (excludedCommands) but not that a
PermissionRequest hook which rewrites a command into a sandbox-excluded one now makes it run outside
the sandbox, a path an audit of hooks plus excludedCommands would miss. No repo hook rewrites
commands today (session-flow's PermissionRequest hook returns no updatedInput), so the exposure is
conditional.
Repo evidence: plugins/harness-config/skills/audit/reference/required-permissions.md:102.
Done when
-
required-permissions.mdnames the Claude-written-mod auto-enable path (auto and bypass modes) as a surface the permission and sandbox baseline does not cover, with a pointer or the changelog 2.1.321 citation and a recheck trigger; or the issue records why the baseline leaves it to/harness-ops:audit-mod-posture. - The
excludedCommandsrow inrequired-permissions.mdsays an excluded command can still run sandboxed. It points at the sandboxing section for the stays-sandboxed list and cites changelog 2.1.327 for the permission-check case. The row keeps its review instruction ("kept narrow, and reviewed in every scope that still applies"). - The Category B paragraph (
:36-44) is re-checked against https://code.claude.com/docs/en/permissions#block-file-tool-reads-and-writes-outside-the-working-directories and either edited or re-stamped with a new As-of date. - Line 101 states
the 2.1.328 refusal behavior with its version and the recommended value is rechecked. - The excludedCommands row (or a new row) names the
PermissionRequestupdatedInputrewrite path, cited to the docs or a probe.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 21, 2026
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: one reference file, plugins/harness-config/skills/audit/reference/required-permissions.md, which the harness-config audit skill reads as its baseline.
Reversible: yes; revert the text edits.
Open questions: none
Understood: bring five spots in required-permissions.md in line with changelog 2.1.321 and 2.1.327-2.1.328. They are the Claude-written-mod auto-enable path, the excludedCommands row, the Category B recheck, the failIfUnavailable row, and the PermissionRequest rewrite path. These are reference-text edits with no runtime change, and each has its own done-when. No open issue asks for the same edit and no merged PR covers it. Related but separate: #17892 covers the audit-mod-posture check, and #14843, #16982 and #17375 are the parent changelog issues.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
{"v":1,"actor_id":337595936,"title_sha256":"2661b8e9eb4a90474c0540bcdbcaca198948796db0f247a8475a17c4ef3dad3b","body_sha256":"bc53c59f4a7b668814914c472ede7ff1755ed4b618ef0e8a0df63cbaca0b2ffa"}
melodic-automation-lanes commentedon Nov 21, 2026
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44892742576, the work-resolve-issue run that
agent-readystarted, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-21T10:08:24Z. work-unblock has now removed and addedagent-readyback to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or thekill-switchwait.github-actions commentedon Nov 21, 2026