Repository navigation
Description
Version
LifeOS 8.761.0 · attestation: 61 system file(s) differ from danielmiessler/LifeOS@v8.761.0:
- hooks/SatisfactionCapture.hook.ts
- hooks/README.md
- hooks/lib/herdr-tabs.ts
- hooks/SubagentGitSandbox.hook.ts
- skills/CreateCLI/SKILL.md
- skills/CreateCLI/Intents/CreateCli.md
- skills/Prompting/SKILL.md
- skills/RichFormat/tests/engine.test.tsx
- skills/RichFormat/hooks/register.tsx
- skills/LifeOSHooks/hooks/lib/build.ts
- skills/LifeOSHooks/hooks/LifeOSHooks.ts
- skills/LifeOSHooks/SKILL.md
- skills/Herdr/Intents/Configure.md
- skills/LifeOS/SKILL.md
- skills/LifeOS/Intents/Setup.md
- skills/Fabric/SKILL.md
- skills/Interceptor/Tools/Capture.sh
- agents/Astra.md
- agents/Sol.md
- LIFEOS/TOOLS/CoachReview.ts
- LIFEOS/TOOLS/SettingsBackport.ts
- LIFEOS/TOOLS/VideoMeaning/README.md
- LIFEOS/TOOLS/ApiLane.ts
- LIFEOS/TOOLS/ReferenceCheck.ts
- LIFEOS/TOOLS/WorkSweep.ts
- LIFEOS/TOOLS/com.lifeos.worksweep.plist.template
- LIFEOS/TOOLS/MemoryRetriever.ts
- LIFEOS/TOOLS/MergeSettings.ts
- LIFEOS/TOOLS/CommitOwn.ts
- LIFEOS/TOOLS/SchedulerWatch.ts
- LIFEOS/TOOLS/healthsync/apple.ts
- LIFEOS/TOOLS/models.ts
- LIFEOS/TOOLS/HookBridge.ts
- LIFEOS/TOOLS/model-pricing.json
- LIFEOS/TOOLS/Worker.ts
- LIFEOS/DOCUMENTATION/Tools/Tools.md
- LIFEOS/DOCUMENTATION/Memory/MemorySystem.md
- LIFEOS/DOCUMENTATION/Conduit/ConduitSystem.md
- LIFEOS/DOCUMENTATION/Config/ConfigSystem.md
- LIFEOS/DOCUMENTATION/Location/LocationSystem.md
- …and 21 more
What is broken
The Ideal State card on Pulse /telos stays empty when TELOS.md ## Ideal State uses the format the shipped TELOS template itself writes: flat bullets like - Health: text (optionally with a bold label, - **Health:** text). buildIdealStateBullets and buildIdealStateNarrative only read ### <Dimension> H3 blocks with a **North-star aspiration:** line, so a TELOS filled in the template's shape returns idealStateBullets: null and the card renders blank, while the Current State card next to it is populated.
Where (file:line)
LIFEOS/PULSE/Observability/observability.ts:4665 (buildIdealStateBullets)
Repro on a clean tree
1. In `LIFEOS/USER/TELOS/TELOS.md`, fill `## Ideal State` in the template's own shape, e.g. `- Health: optimal weight` and `- Finances: stable income` (no `###` subsections, no `(sample)` marker).
2. Restart Pulse and open `/telos`, or query `/api/telos/overview`.
3. `idealStateBullets` is `null` and the IDEAL STATE card is empty.Negative control
Probe: bash /private/tmp/claude-501/s/324450536358/scratchpad/probe.sh · exit 1 · captured 2026-12-04T11:39:48.313Z
Red looks like: idealStateBullets: null
idealStateBullets: null
Suggested fix
When ## Ideal State has no ### subsections, fall back to reading top-level - Label: text / - **Label:** text bullets, skipping (sample) entries. The H3 path is unchanged. Diff attached; probe goes green (7 bullets) on this install.
diff --git a/LIFEOS/PULSE/Observability/observability.ts b/LIFEOS/PULSE/Observability/observability.ts
index e3382ff..d24aad6 100644
--- a/LIFEOS/PULSE/Observability/observability.ts
+++ b/LIFEOS/PULSE/Observability/observability.ts
@@ -4695,6 +4695,18 @@ function buildIdealStateBullets(idealRaw: string): Array<{ label: string; value:
}
if (value && value.length > 0) bullets.push({ label, value })
}
+ // local patch: the shipped TELOS template writes Ideal State as flat
+ // `- Label: text` bullets (bold label allowed); read them when no H3 blocks exist.
+ if (positions.length === 0) {
+ for (const line of idealRaw.split("\n")) {
+ const lm = line.match(/^[-*]\s+(?:\*\*([^*\n]+?):\*\*|([^:*\n]{1,40}?):)\s+(.+)$/)
+ if (!lm) continue
+ const raw = lm[3].trim()
+ if (/^\(sample\)/i.test(raw)) continue
+ const value = stripIdTrace(cleanInlineMarkdown(raw))
+ if (value) bullets.push({ label: (lm[1] ?? lm[2]).trim(), value })
+ }
+ }
return bullets.length > 0 ? bullets : null
}Verified after fix
Probe: bash /private/tmp/claude-501/s/324450536358/scratchpad/probe.sh · exit 0 · captured 2026-12-04T11:40:18.467Z
idealStateBullets: 7 bullets
Environment
- OS: macOS 27.2.1 (arm64)
- Harness: claude-code
- bun: 1.4.4 · git: 2.54.0
- Doctor broken: none
Activity