Skip to content

Commit 7d07a32

Browse files
committed
fix(evolve-lite): guard Stop hook against recursion and clean up noise
- Add stop_hook_active guard to prevent infinite loop when learn skill triggers another Stop event - Simplify hook prompt wording - Add missing trailing newline to hooks.json - Remove spurious blank line in retrieve_entities.py
1 parent 7912b40 commit 7d07a32

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

platform-integrations/claude/plugins/evolve-lite/hooks/hooks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"hooks": [
1818
{
1919
"type": "agent",
20-
"prompt": "Verify that you ran the evolve-lite:learn skill. Run the evolve-lite:learn skill. $ARGUMENTS",
20+
"prompt": "Run the evolve-lite:learn skill, unless stop_hook_active is set in $ARGUMENTS.",
2121
"timeout": 120
2222
}
2323
]
2424
}
2525
]
2626
}
27-
}
27+
}

platform-integrations/claude/plugins/evolve-lite/skills/recall/scripts/retrieve_entities.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def format_entities(entities):
5858

5959

6060
def main():
61-
6261
# Read input from stdin (hook provides JSON with prompt)
6362
try:
6463
input_data = json.load(sys.stdin)

0 commit comments

Comments
 (0)