Commit 298413e
committed
refactor(bob): decouple custom_modes.yaml from skill-path enumeration
Drops Step 0 of the evolve-lite mode prompt, which used to enumerate
specific .bob/skills/<skill>/SKILL.md paths the agent had to read up
front. The relationship between the mode and the skills it depends on
was largely a coincidence of the prompt — the mode's job is the
workflow contract (recall → work → save-trajectory → learn → complete);
the skill registry is whatever Bob's runtime resolves under
.bob/skills/.
Replaces the path enumeration with a generic instruction to read each
skill's SKILL.md before first invocation. Workflow steps still call
the relevant skills by name (recall, save-trajectory, learn, plus the
optional sharing skills), since the mode's contract is precisely "use
these skills in this order." Names, not paths.
This finishes the migration plan from #219:
1. ✅ Build pipeline + render-equality gate (commit 1)
2. ✅ Migrate identical claude/claw-code skill scripts (commit 2)
3a. ✅ Jinja2 templating + first per-platform .j2 (commit 3a)
3b. ✅ Sweep remaining claude/claw-code SKILL.md prose (commit 3b)
3c. ✅ Claude-only on_stop overlay files (commit 3c)
4. ✅ Bob colon-prefix rename for Windows compat (commit 4)
5. ✅ Decouple custom_modes.yaml from skill paths (this commit)
Followups outside this PR's scope:
- Synthesize codex's save_entities.py and the four-platform
retrieve_entities.py (real semantic synthesis, deserves focused PR)
- Migrate codex/bob SKILL.md content into plugin-source as Pattern B
per-platform overlays
- Move claw-code's installed-path convention off colons (separate
Windows-compat issue, parallel to bob's)
- Resolve the pre-existing "invalid subscription name" stdout/stderr
drift across claude/codex/bob (5 failing tests on main, untouched
by this PR)
Refs #2191 parent 07a171c commit 298413e
1 file changed
Lines changed: 13 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 11 | | |
17 | 12 | | |
18 | 13 | | |
| |||
24 | 19 | | |
25 | 20 | | |
26 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | | - | |
30 | | - | |
| 28 | + | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
53 | 48 | | |
54 | 49 | | |
55 | 50 | | |
| |||
0 commit comments