Skip to content

Pulse Telos dashboard: use-telos-data.ts is an unfinished stub — always shows sample fixture data #1353

@packetsherpa

Description

@packetsherpa

Bug

After running /interview and populating the TELOS files, the Telos dashboard (/telos) always displays the sample fixture data instead of the user's real content.

Root cause

Pulse/Observability/src/app/telos/_v7/use-telos-data.ts unconditionally returns the FALLBACK sample constant and never calls the API:

void version;
return { telos: FALLBACK, refetch, error: null };

The version state and refetch callback exist but are unused. /api/telos/overview is never called. Real TELOS data is completely inaccessible from the dashboard regardless of what the interview populated.

Impact

Affects any user who completes /interview and opens the dashboard — the intended first-run flow. The dashboard silently shows placeholder content with no error.

Fix

Replace the stub with a useEffect that fetches /api/telos/overview on mount and merges the real data over the fallback (using typed field mapping to satisfy required interface fields like horizon, blocks, overcomes).

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