-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
v4.0.3 Bug Report: Stale paths in Telos skill break TELOS update command #930
Copy link
Copy link
Closed
Description
Description
After the PAI directory restructure (moving from ~/.claude/context/ to ~/.claude/PAI/USER/),
the Telos skill was not updated to reflect the new paths. This caused the TELOS update command
to silently fail — no files could be created, updated, or backed up.
Root Cause
Two stale path references survived the directory migration:
- Workflows/Update.md (lines 81, 143) — referenced ~/.claude/commands/update-telos.ts instead
of ~/.claude/skills/Telos/Tools/UpdateTelos.ts - Tools/UpdateTelos.ts (lines 41-42) — TELOS_DIR pointed to ~/.claude/context/life/telos/
instead of ~/.claude/PAI/USER/TELOS/, and backup dir used backups instead of Backups
Impact
- TELOS update command completely broken — any attempt to add beliefs, books, lessons, etc.
would fail - 18 TELOS template files never initialized — the directory existed but was empty
- No backups created — backup path also pointed to nonexistent location
- Silent failure — no clear error surfaced to indicate the path mismatch
Steps to Reproduce
- Invoke the TELOS update skill (e.g., "add a book to TELOS")
- Skill reads Workflows/Update.md which references ~/.claude/commands/update-telos.ts
- Script not found at that path, or if found, TELOS_DIR resolves to
~/.claude/context/life/telos/ which doesn't exist - Update fails
Fix
- Tools/UpdateTelos.ts: Update TELOS_DIR to ~/.claude/PAI/USER/TELOS/ and backup subdir to
Backups - Workflows/Update.md: Update all script path references from
~/.claude/commands/update-telos.ts to ~/.claude/skills/Telos/Tools/UpdateTelos.ts (lines 81,
143, 289) - Template files: Regenerate all 18 TELOS templates in the correct directory
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels