Skip to content

fix: resolve PROJECTS.md to correct USER/PROJECTS/ path in Telos dashboard#1328

Open
rfdiazpr wants to merge 1 commit into
danielmiessler:mainfrom
rfdiazpr:fix/telos-projects-path-and-read-mode
Open

fix: resolve PROJECTS.md to correct USER/PROJECTS/ path in Telos dashboard#1328
rfdiazpr wants to merge 1 commit into
danielmiessler:mainfrom
rfdiazpr:fix/telos-projects-path-and-read-mode

Conversation

@rfdiazpr

@rfdiazpr rfdiazpr commented Jun 4, 2026

Copy link
Copy Markdown

Problem

PROJECTS.md lives at PAI/USER/PROJECTS/PROJECTS.md, not inside PAI/USER/TELOS/. Both getAllTelosData() in telos-data.ts and the save route in api/file/save/route.ts were resolving it through TELOS_DIR, so clicking a project card in the Telos dashboard returned an empty/missing file.

Fix

Add a resolveTelosFilePath() helper in both files that routes PROJECTS.md requests to USER/PROJECTS/PROJECTS.md and all other files through TELOS_DIR as before.

Also aligns the TELOS_DIR constant in save/route.ts with telos-data.ts — it was still pointing to the old life/telos path.

Files changed

  • Releases/v2.5/.claude/skills/Telos/DashboardTemplate/Lib/telos-data.ts
  • Releases/v2.5/.claude/skills/Telos/DashboardTemplate/App/api/file/save/route.ts

…board

PROJECTS.md lives at PAI/USER/PROJECTS/PROJECTS.md, not inside
PAI/USER/TELOS/. Both getAllTelosData() and the file save route
were looking for it under TELOS_DIR, causing the file to return
empty/missing when opened from the dashboard.

Add resolveTelosFilePath() helper that routes PROJECTS.md to its
correct location. Also aligns the TELOS_DIR constant in save/route.ts
with telos-data.ts (was pointing to the old 'life/telos' path).

@rfdiazpr rfdiazpr left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Daniel,
This was suggested to me by PAI.
The bug (PROJECTS.md served from wrong path) is a PAI infra bug. You could file an issue or PR at danielmiessler/Personal_AI_Infrastructure describing the TELOS_DIR vs USER/PROJECTS/ mismatch so others who build a Pulse dashboard hit the right path

The upstream has the same bug PROJECTS listed as a core file but getAllTelosData only reads from TELOS_DIR. The fix applies there too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant