Files
watchman/.cursor/commands/marionettist-bugfix.md
T
unknownandCursor 8b2a809f06 建立 Watchman 规划基线,并接入 Marionettist Cursor 工作流。
公司规范只约束代码内容,门禁仍按插件执行;MCP token 不入库。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 10:11:27 +08:00

1.9 KiB

name, description
name description
marionettist-bugfix Start Marionettist workflow for a bug fix

I want to fix a bug. Follow the current repository bugfix Marionettist workflow.

Observed behavior: $1

Expected behavior: $2

Reproduction steps: $3

Evidence: $4

Affected scope: $5

Requirements:

  • When marionettist.config.yaml exists, read marionettist.language early and use it for Marionettist user-facing communication only; support en and zh-CN, fall back to en when absent or unknown unless a higher-priority local safety instruction for that Marionettist interaction explicitly requires another language, and preserve identifiers, file paths, YAML keys, command names, and quoted user text.
  • First decide whether workflow-inspector or module-inspector is needed.
  • Create a dated task directory for non-trivial work and point .task/active.json to it.
  • When intaking non-trivial work, surface Marionettist gate policy choices strict, balanced, and autonomous, including config gatePolicy.defaultMode when available, the recommended policy, and any allowed task-local selection.
  • If task-local override is allowed, capture gatePolicy.selected distinctly from the default and recommendation instead of silently defaulting.
  • Use marionettist-indexer for repository, docs, rules, knowledge, boundary, or call-path exploration when evidence is incomplete.
  • Use marionettist-planner only when the bugfix needs an implementation slice, validation strategy, or context-pack planning.
  • Do not use requirement-freezer by default.
  • Only use requirement-freezer when expected behavior or business rules are unclear.
  • Create .task/<task-id>/context-pack.md before coding, where <task-id> is selected by .task/active.json.
  • Do not code directly.
  • After the user confirms analysis is complete, orchestrate the approved slice through marionettist-coder and marionettist-reviewer.