Skip to content

Telos UpdateTelos.ts: VALID_FILES allowlist references LESSONS.md but canonical file is LEARNED.md #1085

@mc0l85

Description

@mc0l85

Summary

Packs/Telos/src/Tools/UpdateTelos.ts VALID_FILES allowlist (line 48) includes 'LESSONS.md', but the canonical framework file in the Telos pack is LEARNED.md. As a result, attempting to update LEARNED.md through the Update workflow is rejected as an invalid file, while a file the project doesn't actually ship (LESSONS.md) is the one that's whitelisted.

The SKILL.md and README both refer to LEARNED.md as the correct filename, so this is an in-code inconsistency rather than a naming ambiguity.

Reproduction

# On a fresh PAI install:
bun ~/.claude/skills/Telos/Tools/UpdateTelos.ts "LEARNED.md" "- test entry" "test update"
# ❌ Invalid file: LEARNED.md
# Valid files: BELIEFS.md, BOOKS.md, CHALLENGES.md, FRAMES.md, GOALS.md, LESSONS.md, ...

Suggested fix

   'BELIEFS.md', 'BOOKS.md', 'CHALLENGES.md', 'FRAMES.md', 'GOALS.md',
-  'LESSONS.md', 'MISSION.md', 'MODELS.md', 'MOVIES.md', 'NARRATIVES.md',
+  'LEARNED.md', 'MISSION.md', 'MODELS.md', 'MOVIES.md', 'NARRATIVES.md',

The top-of-file doc comment (line 22) also lists LESSONS.md — worth updating to LEARNED.md for consistency.

Environment

  • Discovered: 2026-04-17
  • PAI install path: ~/.claude/skills/Telos/ (via PAI installer, 2026-04)
  • OS: Linux (ext4)

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