diff options
| author | Drew Ritter <drew@primeradiant.com> | 2026-04-06 16:07:50 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-04-06 17:13:19 -0700 |
| commit | 61ad4821daf3c14b4ef71e50ea6a3bb652311b9b (patch) | |
| tree | 431842d4fb120f4b237fc83e0f43674be0fa3658 /tests/opencode/test-priority.sh | |
| parent | 9dd13e534faf4d6b20c25434b9caabfa3aef10c6 (diff) | |
fix: Step 1a validated through TDD — explicit naming + consent bridge (PRI-974)
Step 1a failed at 2/6 with the spec's original abstract text ("use your
native tool"). Three REFACTOR iterations found what works (50/50 runs):
1. Explicit tool naming — "do you have EnterWorktree, WorktreeCreate..."
transforms interpretation into factual toolkit check
2. Consent bridge — "user's consent is your authorization" directly
addresses EnterWorktree's "ONLY when user explicitly asks" guardrail
3. Red Flag entry naming the specific anti-pattern
File split was tested but proven unnecessary — the fix is the Step 1a
text quality, not physical separation of git commands. Control test
with full 240-line skill (all git commands visible) passed 20/20.
Test script updated: supports batch runs (./test.sh green 20), "all"
phase, and checks absence of git worktree add (reliable signal) rather
than presence of EnterWorktree text (agent sometimes omits tool name).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'tests/opencode/test-priority.sh')
0 files changed, 0 insertions, 0 deletions
