Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

GET /api/telos/overview: projects/team/budget/recommendations/stranded/subtabs are hardcoded null — no parser exists

Open waveman2020-sudo opened this issue 4 months ago • 1 comments

Bug

observability.ts's telos-overview handler (~line 3282-3299) returns a fixed object where several fields are literal null with no parser feeding them, while sibling fields (problems, missions, goals, challenges, strategies) are genuinely parsed from TELOS files just above in the same function:

return Response.json({
  ...
  problems,           // real parser output
  missions: missionsFull,  // real parser output
  goals,              // real parser output
  challenges,         // real parser output
  strategies,         // real parser output
  projects: null,      // <-- no parser, always null
  team: null,           // <-- no parser, always null
  budget: null,          // <-- no parser, always null
  recommendations: null, // <-- no parser, always null
  stranded: null,        // <-- no parser, always null
  subtabs: null,         // <-- no parser, always null
  ...
})

The dashboard UI renders a "Projects" tab (positioned between Strategies and Team in the nav) that scroll-anchors to a Projects section header — but the section is permanently empty because the API can never supply data for it, regardless of what's written in TELOS.md's ## Projects section or the split TELOS/PROJECTS.md file.

Repro

  1. Populate TELOS/PROJECTS.md and sync a real ## Projects section into TELOS.md (the unified file the dashboard is documented to read).
  2. Hit GET /api/telos/overview on a running Pulse instance.
  3. Observe "projects": null in the response regardless of step 1 — confirmed on a fresh v7.1.1 install with real, non-empty Projects content in both files.
  4. Same for team, budget, recommendations, stranded, subtabs — none have a backing parser anywhere in the file.

Impact

Any user who completes the TELOS interview's Projects section (or otherwise adds real project content) gets a permanently blank Projects tab with no indication it's a missing feature rather than empty content — the dashboard gives no signal that this tab simply isn't wired up yet, unlike the isPersonalized empty-state handling that correctly distinguishes "no content yet" from "feature not implemented" for the parsed fields.

Suggested fix

Either: (a) implement real parsers for projects/team/budget/recommendations/stranded/subtabs mirroring the existing problems/missions/challenges/strategies pattern, reading from TELOS/PROJECTS.md and whatever their respective split-file sources should be; or (b) if these tabs are intentionally not-yet-implemented, have the dashboard render an explicit "not yet built" state for them instead of an indistinguishable-from-empty blank section, and drop them from the nav until real.

Environment

ThinkPad, Ubuntu, LifeOS 7.1.1.

waveman2020-sudo avatar Jul 18 '26 14:07 waveman2020-sudo

Fixed in source, in two halves. Projects and Team gained real parsers earlier (live work items and USER files now feed them). For the four fields with no backing parser — budget, recommendations, stranded, subtabs — we took your option (b): the sections now return null-safe early-exits, and since the section nav is DOM-driven, the Budget tab disappears with its section. Verified in a real browser on a live install: no dead tabs, no permanently-blank sections, all parsed sections intact. Your framing — that an indistinguishable-from-empty blank is worse than an honest absence — is exactly the principle we applied. If/when those parsers get built, the sections come back with data. Ships in the next release.

danielmiessler avatar Jul 18 '26 23:07 danielmiessler