mirror of
https://github.com/obra/superpowers.git
synced 2026-05-10 11:09:05 +08:00
Lift drill into evals/ at 013fcb8b7dbefd6d3fa4653493e5d2ec8e7f985b
rsync of obra/drill@013fcb8b7d into superpowers/evals/, excluding .git/, .venv/, results/, .env/, __pycache__/, *.egg-info/, .private-journal/. The drill repo is unaffected by this commit; archival is a separate manual step after this PR merges. Source SHA recorded at evals/.drill-source-sha for divergence detection.
This commit is contained in:
28
evals/scenarios/worktree-already-inside-spec-aware.yaml
Normal file
28
evals/scenarios/worktree-already-inside-spec-aware.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
scenario: worktree-already-inside-spec-aware
|
||||
description: "Agent detects it is already inside a worktree and skips creation (spec-aware user)"
|
||||
user_posture: spec-aware
|
||||
|
||||
setup:
|
||||
helpers:
|
||||
- create_base_repo
|
||||
- add_existing_worktree
|
||||
workdir_override: "../${WORKDIR_NAME}-existing-worktree"
|
||||
assertions:
|
||||
- "git rev-parse --is-inside-work-tree"
|
||||
- "git worktree list | wc -l | tr -d ' ' | grep 2"
|
||||
|
||||
turns:
|
||||
- intent: >
|
||||
Ask the agent to use the worktree skill to create
|
||||
an isolated workspace for building a signup feature.
|
||||
|
||||
limits:
|
||||
max_turns: 15
|
||||
turn_timeout: 120
|
||||
|
||||
verify:
|
||||
criteria:
|
||||
- "Agent detected it was already inside a worktree"
|
||||
- "Agent did NOT create a new worktree"
|
||||
- "Agent communicated that the current worktree is sufficient"
|
||||
observe: true
|
||||
Reference in New Issue
Block a user