summaryrefslogtreecommitdiff
path: root/tests/claude-code/test-worktree-native-preference.sh
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-05-06 12:29:59 -0700
committerDrew Ritter <drew@ritter.dev>2026-05-06 15:47:39 -0700
commit45c7dc2cce32ea1d31e04a5b2b0b4d4dde67bb43 (patch)
tree5c4b465751b014058e5fd7e8c855155164e2721d /tests/claude-code/test-worktree-native-preference.sh
parent39d29a6c28284b2c8880443a0709fea646d7638c (diff)
tests: annotate three kept bash tests with drill coverage notes
- test-worktree-native-preference.sh: drill covers PRESSURE phase only; RED + GREEN baselines have no drill counterpart and are kept so the RED-GREEN-REFACTOR validation remains rerunnable end-to-end. - test-subagent-driven-development-integration.sh: drill covers the YAGNI subset (forbidden exports + reviewer-as-gate). Bash adds >=3 commits, >=2 subagent dispatches, TodoWrite usage, test file existence check, and token-budget telemetry. Kept until drill scenario covers those or they are retired. - test-subagent-driven-development.sh: tests agent's ability to *describe* SDD (string matches against expected keywords). Drill scenarios test behavior, not description-recall. Kept by design. Subagent verification recorded in commit messages of subsequent deletions; gap analyses driving these annotations are also in the verification subagent reports for the gating sweep.
Diffstat (limited to 'tests/claude-code/test-worktree-native-preference.sh')
-rwxr-xr-xtests/claude-code/test-worktree-native-preference.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/claude-code/test-worktree-native-preference.sh b/tests/claude-code/test-worktree-native-preference.sh
index cbfe7f2..077ea19 100755
--- a/tests/claude-code/test-worktree-native-preference.sh
+++ b/tests/claude-code/test-worktree-native-preference.sh
@@ -2,6 +2,11 @@
# Test: Does the agent prefer native worktree tools (EnterWorktree) over git worktree add?
# Framework: RED-GREEN-REFACTOR per testing-skills-with-subagents.md
#
+# Drill coverage: evals/scenarios/worktree-creation-under-pressure.yaml lifts
+# only the PRESSURE phase (existing .worktrees/ + urgency framing). The RED
+# and GREEN baselines below are not covered by drill — kept here so the
+# RED-GREEN-REFACTOR validation remains rerunnable end-to-end.
+#
# RED: Skill without Step 1a (no native tool preference). Agent should use git worktree add.
# GREEN: Skill with Step 1a (explicit tool naming + consent bridge). Agent should use EnterWorktree.
# PRESSURE: Same as GREEN but under time pressure with existing .worktrees/ dir.