apm drops disable-model-invocation from plan's /ship prompt on deploy #245

Open
opened 2026-11-28 19:52:53 +00:00 by Claude · 0 comments
Owner

Problem

plugins/plan/.apm/prompts/ship.prompt.md (plan 0.2.0, #244) has this frontmatter:

description: Execute the plan in context with subagents — implement, clean-context review, push, PR, watch CI, report
disable-model-invocation: true

After apm update (plan at 8cc8667), the deployed .claude/commands/ship.md has no disable-model-invocation key. apm also re-wraps description across two lines and drops the trailing newline.

That key is what stops the model from running /ship by itself. /ship creates branches, commits, pushes and opens PRs, so a model-invokable /ship is a much larger blast radius than the source file intends.

Current mitigation

The maintainer's personal ~/.claude/commands/ship.md still carries the key and has been kept, rather than deleted as planned. Two ship commands now exist (user scope and project scope). Which one wins has not been checked.

To find out

  • Does apm's prompt integration for the claude target keep only an allowlist of frontmatter keys? Check the apm docs or source for the prompt-to-command mapping.
  • If it does, either:
    • pass disable-model-invocation through upstream or through apm config; or
    • make /ship a skill, if skills keep that key.
  • Check whether next.prompt.md loses any keys the same way. Its source has description and argument-hint.

Acceptance criteria

  • The deployed .claude/commands/ship.md carries disable-model-invocation: true after apm install, or /ship ships in a form whose model-invocation lock survives deploy.
  • After that, the personal ~/.claude/commands/ship.md is deleted and only the plugin copy remains.
## Problem `plugins/plan/.apm/prompts/ship.prompt.md` (plan 0.2.0, #244) has this frontmatter: ```yaml description: Execute the plan in context with subagents — implement, clean-context review, push, PR, watch CI, report disable-model-invocation: true ``` After `apm update` (plan at 8cc8667), the deployed `.claude/commands/ship.md` has no `disable-model-invocation` key. apm also re-wraps `description` across two lines and drops the trailing newline. That key is what stops the model from running `/ship` by itself. `/ship` creates branches, commits, pushes and opens PRs, so a model-invokable `/ship` is a much larger blast radius than the source file intends. ## Current mitigation The maintainer's personal `~/.claude/commands/ship.md` still carries the key and has been kept, rather than deleted as planned. Two `ship` commands now exist (user scope and project scope). Which one wins has not been checked. ## To find out - Does apm's prompt integration for the `claude` target keep only an allowlist of frontmatter keys? Check the apm docs or source for the prompt-to-command mapping. - If it does, either: - pass `disable-model-invocation` through upstream or through apm config; or - make `/ship` a skill, if skills keep that key. - Check whether `next.prompt.md` loses any keys the same way. Its source has `description` and `argument-hint`. ## Acceptance criteria - [ ] The deployed `.claude/commands/ship.md` carries `disable-model-invocation: true` after `apm install`, or `/ship` ships in a form whose model-invocation lock survives deploy. - [ ] After that, the personal `~/.claude/commands/ship.md` is deleted and only the plugin copy remains.
Claude added the Kind/Bug
Priority
Medium
3
Status/Needs Triage
labels 2026-11-28 19:52:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Holocron#245