Skip to content

Commit b177220

Browse files
authored
Revert "feat(bob): add save-trajectory skill to Bob evolve-lite (#184)" (#192)
This reverts commit 9ca94e5.
1 parent 9ba7cc9 commit b177220

7 files changed

Lines changed: 15 additions & 209 deletions

File tree

platform-integrations/bob/evolve-lite/commands/evolve:save-trajectory.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

platform-integrations/bob/evolve-lite/custom_modes.yaml

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,56 +6,49 @@ customModes:
66
77
⚠️ CRITICAL: THE FOLLOWING WORKFLOW IS ABSOLUTELY MANDATORY AND CANNOT BE SKIPPED ⚠️
88
9-
WORKFLOW (5 steps, strict order):
9+
WORKFLOW (4 steps, strict order):
1010
1111
0. ⚠️ BEFORE FIRST USE (MANDATORY): Read the skill SKILL.md files from .bob/skills/ directory.
1212
- Read .bob/skills/evolve-lite:recall/SKILL.md
1313
- Read .bob/skills/evolve-lite:learn/SKILL.md
14-
- Read .bob/skills/evolve-save-trajectory/SKILL.md
1514
- Do this ONCE per conversation before using the skills
1615
1. ⚠️ FIRST ACTION (MANDATORY): Use the evolve-lite:recall skill to retrieve relevant guidelines.
1716
- This MUST be your FIRST action in EVERY conversation
1817
- NO exceptions - even for simple tasks like "echo hello world"
1918
2. WORK: Complete the user's request. When a retrieved guideline applies, cite it in your reasoning.
20-
3. ⚠️ SECOND-TO-LAST ACTION (MANDATORY): Use the evolve-save-trajectory skill to save the conversation.
21-
- This MUST happen BEFORE evolve-lite:learn
22-
- Note the trajectory file path from its output — you will need it in Step 4
23-
4. ⚠️ LAST ACTION (MANDATORY): Use the evolve-lite:learn skill to extract and save learnings.
19+
3. ⚠️ LAST ACTION (MANDATORY): Use the evolve-lite:learn skill to extract and save learnings.
2420
- This MUST happen BEFORE attempt_completion
2521
- NO exceptions - even if you think there's nothing to learn
2622
2723
⚠️ ENFORCEMENT RULES ⚠️
2824
- Do not skip steps. Do not reorder steps.
2925
- Step 0 must happen before using any skill for the first time in a conversation. read_file on .bob/skills/*/SKILL.md is allowed before Step 1.
3026
- Step 1 must happen before any other tool use (except the SKILL.md reads in Step 0).
31-
- Step 3 must happen before Step 4.
32-
- Step 4 must happen before attempt_completion.
27+
- Step 3 must happen before attempt_completion.
3328
- If you forget Step 1, STOP and call evolve-lite:recall immediately.
34-
- If you reach attempt_completion without Steps 3 and 4, STOP and complete them first.
29+
- If you reach attempt_completion without Step 3, STOP and call evolve-lite:learn first.
3530
customInstructions: |-
3631
- ALWAYS read a skill's SKILL.md before using it for the first time in a conversation
3732
- If evolve-lite:recall returns no guidelines, that is normal — proceed with the task.
3833
- If evolve-lite:learn reports no new entities, that counts as successful completion — do not retry.
39-
- The trajectory path from evolve-save-trajectory is available in conversation context — do not re-run it.
4034
- If no errors or non-obvious discoveries occurred, saving zero entities is correct — do not force low-quality entities.
4135
4236
4337
PRE-COMPLETION GATE:
4438
Before calling attempt_completion, ask yourself:
45-
┌─────────────────────────────────────────────────────────────────┐
46-
│ Did I run the evolve-lite:recall skill at the start? │
47-
│ Did I run the evolve-save-trajectory skill and note the path? │
48-
│ Did I run the evolve-lite:learn skill and see its output? │
49-
│ │
50-
│ ❌ NO → STOP. Go back and complete the step. │
51-
│ ✅ YES → Proceed with attempt_completion. │
52-
└─────────────────────────────────────────────────────────────────┘
39+
┌───────────────────────────────────────────────────────────┐
40+
│ Did I run the evolve-lite:recall skill at the start? │
41+
│ Did I run the evolve-lite:learn skill and see its output? │
42+
│ │
43+
│ ❌ NO → STOP. Go back and complete the step. │
44+
│ ✅ YES → Proceed with attempt_completion. │
45+
└───────────────────────────────────────────────────────────┘
5346
5447
Rules:
5548
5649
- Before using a skill for the first time, read its SKILL.md file to understand the correct usage syntax.
5750
- ALWAYS call the evolve-lite:learn skill before attempt_completion, even if the task seems simple or you think there's nothing to learn.
58-
- The workflow is non-negotiable: recall → work → save-trajectory → learn → complete.
51+
- The workflow is non-negotiable: recall → work → learn → complete.
5952
- Skipping evolve-lite:learn violates the core purpose of this mode.
6053
6154
groups:

platform-integrations/bob/evolve-lite/skills/evolve-lite:learn/SKILL.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Principles:
5151

5252
### Step 3: Save Entities
5353

54-
Output entities as JSON and pipe to the save script. Include the `trajectory` field with the path output by the evolve-save-trajectory skill earlier in this conversation. The `type` field must always be `"guideline"` — no other types are accepted.
54+
Output entities as JSON and pipe to the save script. The `type` field must always be `"guideline"` — no other types are accepted.
5555

5656
```bash
5757
echo '{
@@ -60,8 +60,7 @@ echo '{
6060
"content": "Proactive entity stating what TO DO",
6161
"rationale": "Why this approach works better",
6262
"type": "guideline",
63-
"trigger": "Situational context when this applies",
64-
"trajectory": ".evolve/trajectories/trajectory_2025-01-15T10-30-00.json"
63+
"trigger": "Situational context when this applies"
6564
}
6665
]
6766
}' | python3 .bob/skills/evolve-lite:learn/scripts/save_entities.py

platform-integrations/bob/evolve-lite/skills/evolve-save-trajectory/SKILL.md

Lines changed: 0 additions & 125 deletions
This file was deleted.

platform-integrations/bob/evolve-lite/skills/evolve-save-trajectory/scripts/save_trajectory.py

Lines changed: 0 additions & 52 deletions
This file was deleted.

platform-integrations/claude/plugins/evolve-lite/lib/entity_io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def unique_filename(directory, slug):
126126
# Markdown <-> dict conversion
127127
# ---------------------------------------------------------------------------
128128

129-
_FRONTMATTER_KEYS = ("type", "trigger", "trajectory")
129+
_FRONTMATTER_KEYS = ("type", "trigger")
130130

131131

132132
def entity_to_markdown(entity):

platform-integrations/install.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,6 @@ def install_bob(source_dir, target_dir, mode="lite"):
663663
# Skills
664664
copy_tree(bob_source_lite / "skills" / "evolve-lite:learn", bob_target / "skills" / "evolve-lite:learn")
665665
copy_tree(bob_source_lite / "skills" / "evolve-lite:recall", bob_target / "skills" / "evolve-lite:recall")
666-
copy_tree(bob_source_lite / "skills" / "evolve-save-trajectory", bob_target / "skills" / "evolve-save-trajectory")
667666
success("Copied Bob skills")
668667
669668
# Commands
@@ -708,10 +707,8 @@ def uninstall_bob(target_dir, mode="full"):
708707
remove_dir(bob_target / "evolve-lib")
709708
remove_dir(bob_target / "skills" / "evolve-lite:learn")
710709
remove_dir(bob_target / "skills" / "evolve-lite:recall")
711-
remove_dir(bob_target / "skills" / "evolve-save-trajectory")
712710
remove_file(bob_target / "commands" / "evolve-lite:learn.md")
713711
remove_file(bob_target / "commands" / "evolve-lite:recall.md")
714-
remove_file(bob_target / "commands" / "evolve:save-trajectory.md")
715712
# Remove both lite and full mode custom modes
716713
remove_yaml_custom_mode(bob_target / "custom_modes.yaml", BOB_SLUG) # evolve-lite
717714
remove_yaml_custom_mode(bob_target / "custom_modes.yaml", "Evolve") # full mode
@@ -726,7 +723,6 @@ def status_bob(target_dir):
726723
print(f" evolve-lib/entity_io : {'✓' if (bob_target / 'evolve-lib' / 'entity_io.py').is_file() else '✗'}")
727724
print(f" skills/evolve-lite:learn : {'✓' if (bob_target / 'skills' / 'evolve-lite:learn').is_dir() else '✗'}")
728725
print(f" skills/evolve-lite:recall : {'✓' if (bob_target / 'skills' / 'evolve-lite:recall').is_dir() else '✗'}")
729-
print(f" skills/evolve-save-trajectory : {'✓' if (bob_target / 'skills' / 'evolve-save-trajectory').is_dir() else '✗'}")
730726
print(f" commands/ : {'✓' if (bob_target / 'commands' / 'evolve-lite:learn.md').is_file() else '✗'}")
731727
print(f" custom_modes.yaml : {'✓' if (bob_target / 'custom_modes.yaml').is_file() else '✗'}")
732728

0 commit comments

Comments
 (0)