Skip to content

v4.0.3 Bug Report: Stale paths in Telos skill break TELOS update command #930

@sauldataman

Description

@sauldataman

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:

  1. Workflows/Update.md (lines 81, 143) — referenced ~/.claude/commands/update-telos.ts instead
    of ~/.claude/skills/Telos/Tools/UpdateTelos.ts
  2. 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

  1. Invoke the TELOS update skill (e.g., "add a book to TELOS")
  2. Skill reads Workflows/Update.md which references ~/.claude/commands/update-telos.ts
  3. Script not found at that path, or if found, TELOS_DIR resolves to
    ~/.claude/context/life/telos/ which doesn't exist
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions