summaryrefslogtreecommitdiff
path: root/agents
diff options
context:
space:
mode:
authorDrew Ritter <drew@primeradiant.com>2026-04-13 16:09:19 -0700
committerDrew Ritter <drew@primeradiant.com>2026-04-13 16:31:10 -0700
commit884b1a5960f435e670d0a3f1f5246e4a8fd54b24 (patch)
tree2e533be9e1886aafd44349a62f2005837229c078 /agents
parent018f3675e5f79467fcb9ebe482e63d85d9dfc711 (diff)
fix: treat direct worktree skill invocation as consent (PRI-974)add-worktree-consent-step
The skill previously required an explicit reply to its "do you want a worktree?" dialogue, which produced obtuse UX when the user invoked the skill by name — agents had to stop and ask "do you want a worktree?" even though the user just asked for the skill whose purpose is worktrees. Loosen Step 2 to recognize the invoking turn as consent: if the user's most recent message named the skill, asked for a worktree, or asked for an isolated workspace, proceed directly to Step 3 without re-prompting. The gate still fires for the transitive case (agent infers isolation from a feature description) — that remains the #991 failure mode. Also trim "or skill invocation" from the anti-inference Red Flag and destale the Integration section now that SDD/executing-plans no longer require a worktree. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'agents')
0 files changed, 0 insertions, 0 deletions