Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

feat(telos): wire full data pipeline in handleTelosOverview

Open brycemagera opened this issue 6 months ago • 0 comments

Overview

Extends the Telos v7 dashboard to populate the fields that handleTelosOverview() was already returning as null. This PR includes the changes from fix/pulse-telos-dashboard (bullet-format parsing, crash guards) as a base — if those PRs merge first, only the new parser work in this PR's final commit is net-new.

Recommended merge order

#1127 → #1147 → #1154 / fix/pulse-telos-dashboard → this PR

New Parser Functions (observability.ts)

Function File read Fields wired
parseOwner() USER/PRINCIPAL_IDENTITY.md owner
parseDimensionsFile() USER/TELOS/DIMENSIONS.md dimensions, idealState, subtabs
parseTelosMetrics() USER/TELOS/METRICS.md metrics
parseTelosProjects() USER/TELOS/PROJECTS.md projects
parseTelosTeam() USER/TELOS/TEAM.md team
parseTelosBudget() USER/TELOS/BUDGET.md budget
parsePreferences() USER/Books.md, Movies.md, Authors.md, Wisdom.md, Sparks.md preferences

All parsers fail-soft: if the target file is missing, they return an empty array and the dashboard falls back to FALLBACK sample data seamlessly.

use-telos-data.ts — LiveTelos interface

Expanded with 11 new optional fields; matching conditional spreads in the merge object so live data overrides FALLBACK field-by-field for: owner, idealState, dimensions, metrics, projects, team, budget, stranded, subtabs, recommendations, preferences.

New Template Files

Four starter templates under USER/TELOS/ documenting the expected format:

  • DIMENSIONS.md — 6 life dimensions with cur | ideal | velo | color format
  • METRICS.md — KPI stubs in **MT1:** label | value / of | unit | trend | feeds: format
  • TEAM.md — team roster with **T0:** {{DA_NAME}} pre-populated
  • BUDGET.md — resource budget with money/time/attention rows

Intentionally deferred (remain null)

snapshot, recommendations, stranded, narrativeSeed — require live sensor data or AI generation.

brycemagera avatar May 12 '26 16:05 brycemagera