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: adopt: the mod posture audit is the consumer, and both checks read state it already reads; no trust change.
Problem
harness-ops: audit-mod-posture has no check for Claude-written mods turning on unasked or mod calls skipping ask prompts (2.1.321)
Row 7 of #14843 (key changelog:2.1.321..2.1.321:adopt:plugins/harness-ops/skills/audit-mod-posture/SKILL.md). Required sentence: the mod-posture audit has no check for mods Claude writes turning on without asking in auto and bypass modes (even under managed strict-sandbox settings) and not loading in dontAsk, nor for mods' tool and MCP calls raising no prompt under ask rules. Defer pending probe, since no fetched docs page states either behavior.
On main, plugins/harness-ops/skills/audit-mod-posture/reference/checklist.md has M1-M4 (guard seated, tool.call, prompt.submit/session.append, calls). None covers permission mode or ask-rule exemption. The 2.1.323 adopt row on the same skill (noun overrides, from #15693) is a separate ask.
harness-ops: audit-mod-posture could list the $ nouns a mod's engine.create hook adds, withholds or replaces (2.1.323)
Row 11 of #15693 (key changelog:2.1.323..2.1.323:adopt:plugins/harness-ops/skills/audit-mod-posture/SKILL.md). Required sentence: the mod-posture audit cannot see which $ nouns a mod's engine.create hook adds, withholds or replaces. validate now reports them, so the audit could list noun overrides without loading the mod.
On main: plugins/harness-ops/skills/audit-mod-posture/SKILL.md:61-62 reads only the hooks: and calls: lines of claude plugin validate. The skill never mentions engine.create or nouns. A separate adopt row on the same skill (2.1.321, Claude-written mods turning on unasked, from #14843) is its own issue.
Done when
- A behavior probe (or a docs page) settles both behaviors on current Claude Code, and audit-mod-posture adds a check for each behavior the probe confirms.
- If adopted: a checklist row and an eval case cover a Claude-written mod enabled in auto or bypass mode, and mod
$.tool.call/$.mcp.callskipping ask prompts. - Once the mods create page or cli-reference documents validate's noun output (or a probe captures it), audit-mod-posture lists the $ nouns each mod adds, withholds or replaces.
- If adopted: mod-posture.sh carries a noun-override column, and the checklist scores it, with a test fixture.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 21, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: the audit-mod-posture skill in harness-ops (mod-posture.sh, checklist, eval case, test fixture); read by whoever runs the mod posture audit.
Reversible: yes; revert the script, checklist and fixture changes.
Open questions: none
Decision comment, quoted verbatim (link):
This decision settles the open question about what check 1 scores, and the probe step is done. The remaining items are lane-checkable. No duplicate or merged fix found among the listed issues and pulls.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 21, 2026
Not admitted to the issue lane: Uncertainty unknown is not one of known, knowable; its done-when asks for what an unattended lane run cannot perform: item 1 (live-cc-probe: "A behavior probe (or a docs page) settles both behaviors on current Claude Co..."); recommended split: keep the other items here as the admissible issue and move these to a child issue for the host queue (
host-run). Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).kyle-sexton commentedon Nov 22, 2026
This was generated by AI.
Host-run part (Done-when item 1 and the noun-output precondition of item 3), on
claude --version=2.1.330 (Claude Code), Linux, 2026-11-22. Both 2.1.321 behaviors are now on docs pages, and a static probe captures the 2.1.323 noun output.1. Claude-written mods loading unasked (docs settle it). Create a mod: Ask Claude for a mod: in
autoandbypassPermissionsmodes Claude Code can load the mod without asking ("Sessions that load a mod without asking"); it does not load indontAsk, in theclaude -prun that writes it indefault/acceptEdits, in an untrusted workspace, or with--safe-mode,--bare,disableAllHooksor a managed block ("Sessions where a mod Claude writes can't load"). Mods Claude writes go under~/.claude/dev-mods/<session-id>/. Manage mods: Choose how much to allow:disableSideloadFlagskeeps them from loading; a marketplace allowlist withoutskills-dirdoes too. No page mentions strict-sandbox settings, so that part of the changelog row stays unconfirmed. Not probed live: a live probe would let a model write and enable a mod in bypass mode on this host, and these pages already settle the behavior.2. Mod tool and MCP calls skipping prompts (docs settle it). Manage mods: Know what happens by default: calls such as
$.tool.calland$.mcp.callcan skip permission rules, permission prompts, a hook'sask, and the auto mode classifier. The$.mcp.callrow of "Review what a mod can do" says it calls an MCP tool with no permission prompt.3. Noun output (probe). A scratch mod in
.work/whoseengine.createhook is in the form validate requires (const { process, ...beneath } = await next(e); return { ...beneath, probeNoun: probeOf(), store: storeOf() }), run throughclaude plugin validate <dir>(static; runs no mod code):A hook written in another shape fails validate with
this engine.create hook is outside its form ... It can't say what this module adds to or withholds from $.What is left is lane work: the checklist rows, the eval case, and the
mod-posture.shnoun column with its fixture. It reads theadds to $:,withholds from $:andreplaces on $:lines next tohooks:andcalls:. One question is open for the build: what state check 1 scores. Options are dev-mods under~/.claude/dev-mods/,defaultModeauto/bypass, anddisableSideloadFlags. The skill reads no settings file itself (SKILL.md "Reading mods"), so the input has to come through the script.kyle-sexton commentedon Nov 22, 2026
Decision recorded (owner, hub session, 2026-11-22, "go with recommendations" on hub Q265): check 1's input is
defaultModeset to auto or bypass, plusdisableSideloadFlagsunset, both read by mod-posture.sh (it reads neither today). Dev mods being present alone is not the trigger.kyle-sexton commentedon Nov 22, 2026
Decision recorded. This restates the 2026-11-22 15:56Z decision above in the form intake reads, with the host-run result it rests on.
claude plugin validateon 2.1.330 prints theadds to $:,withholds from $:andreplaces on $:lines. Nothing is left to probe, so the item is ticked in the body.defaultModeset to auto or bypass, plusdisableSideloadFlagsunset, both read bymod-posture.sh, which reads neither today. Dev mods being present alone is not the trigger.What is left is lane work:
mod-posture.shreadsdefaultModeanddisableSideloadFlags, and the checklist scores check 1 on them as decided above.$.tool.call/$.mcp.callskipping ask prompts.mod-posture.shreads validate'sadds to $:,withholds from $:andreplaces on $:lines into a noun-override column, the checklist scores it, and a test fixture covers it.melodic-automation-lanes commentedon Nov 22, 2026
{"v":1,"actor_id":337595936,"title_sha256":"60e3c5c960380d1cb0449a52ef8663d3ff2b77cd880bbe662638770ca756af36","body_sha256":"4008321fc33b1326247e49a548f7742ddae485f7f7d880631c5e1034dca06af5"}
melodic-automation-lanes commentedon Nov 22, 2026
This records a re-fire of an earlier stop, not a new one. The start gate stopped run 45074637979, 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-22T21:55:22Z. 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 22, 2026