You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #64 (#63) extended devkit-guard.sh to enforce a strict allowlist on prompt steps under enforce: hard: only Read, Grep, Glob, NotebookRead, TodoWrite, and devkit MCP tools are allowed. Write, Edit, Bash, Task, WebFetch, and foreign MCP tools are blocked.
Several existing workflow YAMLs still have prompt steps that expect the agent to run shell commands, write files, or dispatch subagents. Under the new policy, those workflows become unusable.
Reclassify as parallel — if the step dispatches multiple subagents, express that in the YAML parallel array.
Declare enforce: soft — opt out of hard enforcement for workflows where creativity matters more than strict progression.
Scope
Every workflow under workflows/ that has a prompt step.
Document the chosen classification inline with a YAML comment for future auditors.
Add a lint rule (or CI check) that flags new prompt steps which don't fit the allowlist — prevents future drift.
Acceptance criteria
All 18 workflows runnable under the new guard policy without hitting a veto on legitimate work.
Tri-review end-to-end dry run succeeds from a fresh Claude Code session.
Documented guidance in README.md or a new workflows/CONVENTIONS.md describing when to use prompt vs command vs parallel vs soft enforcement.
Context
Discovered during the PR #64 mega-review. The guard CODE is correct; the workflow DEFINITIONS are pre-strict-policy artifacts. Highest-value follow-up because it closes the gap between the fix and the existing workflow library.
Problem
PR #64 (#63) extended
devkit-guard.shto enforce a strict allowlist on prompt steps underenforce: hard: onlyRead,Grep,Glob,NotebookRead,TodoWrite, and devkit MCP tools are allowed.Write,Edit,Bash,Task,WebFetch, and foreign MCP tools are blocked.Several existing workflow YAMLs still have prompt steps that expect the agent to run shell commands, write files, or dispatch subagents. Under the new policy, those workflows become unusable.
Concrete example:
workflows/tri-review.ymlstep 1 "gather":The natural way for an agent to satisfy this prompt is
git diff main...HEADviaBash— which the new guard blocks. There is no read-only alternative.Proposal
Audit all 18 workflow YAMLs under
workflows/for prompt steps that need shell/write/dispatch access. For each hit, pick one:command— move the shell invocation into the YAML itself so the engine runs it (e.g.command: git diff main...HEAD). This is the deterministic-by-design path and is what PR fix(hooks): enforce workflow progression on prompt steps + orphan recovery #64's architecture assumes.parallel— if the step dispatches multiple subagents, express that in the YAML parallel array.enforce: soft— opt out of hard enforcement for workflows where creativity matters more than strict progression.Scope
workflows/that has a prompt step.Acceptance criteria
README.mdor a newworkflows/CONVENTIONS.mddescribing when to use prompt vs command vs parallel vs soft enforcement.Context
Discovered during the PR #64 mega-review. The guard CODE is correct; the workflow DEFINITIONS are pre-strict-policy artifacts. Highest-value follow-up because it closes the gap between the fix and the existing workflow library.
Out of scope