Commit 1d038a3
authored
fix(test-classifier): give the agent an ABSOLUTE skill path (first-pass Read hit) (#69)
The prompt told the agent the skill was at '.skills/test-classifier/SKILL.md' —
a path relative to the bundle root (testing/classifier/), not the repo root. But
the agent's CWD is the repo root, so the first Read always 404'd and the agent
burned a recovery 'find' on every run.
Set SKILL_PATH_CANONICAL to the absolute ${SKILLS_ROOT}/test-classifier/SKILL.md
(SKILLS_ROOT is already resolved by walking up from this script), which resolves
regardless of the agent's CWD or where the bundle is vendored. Also fix the
second stale 'test-classifier/SKILL.md' reference later in the prompt to point
at the path above.1 parent 2f07ff3 commit 1d038a3
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 | | |
80 | 85 | | |
81 | 86 | | |
| |||
369 | 374 | | |
370 | 375 | | |
371 | 376 | | |
372 | | - | |
| 377 | + | |
373 | 378 | | |
374 | 379 | | |
375 | 380 | | |
| |||
0 commit comments