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
{{ message }}
Repository navigation
fix(speckit.specify): dirty-tree check before branch creation is prose only #358
speckit.specify.md lines 42–50 describe a check for uncommitted changes before git checkout -b entirely in prose ("STOP and ask the user for confirmation"). No AskUserQuestion tool call is specified. Under context compression an agent can skip the check and create the branch despite uncommitted changes, risking applying in-progress work to the wrong branch.
Root Cause
Weakness Types T1 + T3: gate exists in prose but is not enforced by an AskUserQuestion tool call.
Fix
After detecting uncommitted changes, add an explicit AskUserQuestion:
Use AskUserQuestion with options:
["Stash changes and continue", "Abort — keep changes as-is"]
Only proceed to git checkout -b if the user confirms.
Activity
fix(speckit): harden dirty-tree check with explicit AskUserQuestion t…
fix(speckit): harden dirty-tree check with explicit AskUserQuestion t…