mirror of
https://github.com/obra/superpowers.git
synced 2026-05-21 02:52:44 +00:00
30 lines
962 B
YAML
30 lines
962 B
YAML
|
|
scenario: worktree-codex-app-detached-head-spec-aware
|
||
|
|
description: "Agent detects Codex App's detached HEAD worktree and skips creation (spec-aware user)"
|
||
|
|
user_posture: spec-aware
|
||
|
|
backend: codex-app
|
||
|
|
manual: true
|
||
|
|
|
||
|
|
setup:
|
||
|
|
notes: >
|
||
|
|
Codex App launches agents in detached HEAD worktrees under
|
||
|
|
$CODEX_HOME/worktrees/. No setup needed — just create a task
|
||
|
|
in Codex App on any repo.
|
||
|
|
|
||
|
|
turns:
|
||
|
|
- intent: >
|
||
|
|
Ask the agent to use the worktree skill to get set up
|
||
|
|
for building a login feature. Do NOT say "create a worktree"
|
||
|
|
— just reference the skill by name.
|
||
|
|
|
||
|
|
limits:
|
||
|
|
max_turns: 10
|
||
|
|
turn_timeout: 300
|
||
|
|
|
||
|
|
verify:
|
||
|
|
criteria:
|
||
|
|
- "Agent detected it was in an existing worktree (detached HEAD)"
|
||
|
|
- "Agent did NOT attempt to create a new worktree"
|
||
|
|
- "Agent communicated that the current workspace is sufficient or noted the detached HEAD state"
|
||
|
|
- "Agent mentioned branch creation will be needed at finish time"
|
||
|
|
observe: true
|