Skip to content

Pulse Telos dashboard: handleTelosOverview uses wrong parser — missions, problems, challenges, strategies always return empty #1354

@packetsherpa

Description

@packetsherpa

Bug

After running /interview, the Telos dashboard shows empty sections for missions, problems, challenges, and strategies.

Root cause

observability.ts's handleTelosOverview passes those four sections through parseSections(), which splits content on ## markdown headings. But the corresponding TELOS files (MISSION.md, PROBLEMS.md, CHALLENGES.md, STRATEGIES.md) all use a - **M0:** text bold-bullet format — not headings.

// This only finds ## headings — finds nothing in these files
const missions = parseSourceHeadings(asLifeSections(life.mission), "M")

The sections contain only a ## Notes heading, so parseSections() returns just that block and parseSourceHeadings() finds no M-prefixed entries in it. Only goals worked because parseGoals() already handled the bullet format correctly.

Impact

Missions, problems, challenges, and strategies all silently return [] from the API, so the dashboard falls back to sample fixture content for those sections.

Fix

Add a parseBoldBulletItems(content, prefix) helper (mirroring the existing parseGoals pattern) and use it in handleTelosOverview in place of parseSourceHeadings for these four sections.

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