gstack/diagnose
Milan 71e2244c29 fix: diagnose learnings persistence — full paths, explicit instructions, turn budget
Three root causes for env-profile learnings never being saved:

1. Bare `gstack-learnings-log` / `gstack-learnings-search` without full path —
   binary not on PATH in all environments. Fixed: use ~/.claude/skills/gstack/bin/

2. Phase 0j used angle-bracket template placeholders (<FULL INVENTORY...>) that
   the model treated as examples rather than fill-in-the-blank instructions.
   Fixed: explicit YOUR_ACTUAL_INVENTORY_HERE with format example and rules.

3. Model burned all turns retrying Phase 0-pre learnings search (empty output
   from gstack-learnings-search was ambiguous). Fixed: use Grep tool instead
   of Bash, single call with explicit "do not retry" instruction.

Also: added Phase 0 turn budget (≤5 tool calls) and $B quoting fix (line 232).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 18:19:20 -07:00
..
SKILL.md fix: diagnose learnings persistence — full paths, explicit instructions, turn budget 2026-04-07 18:19:20 -07:00
SKILL.md.tmpl fix: diagnose learnings persistence — full paths, explicit instructions, turn budget 2026-04-07 18:19:20 -07:00