Summary
On a clean v5.0.0 install, the Pulse DA/Assistant subsystem never starts — the
DA card is empty and the assistant-tasks cron fails. Two separate root causes,
both in the published repo (checked against main, HEAD 2fde1bb). Reproduced
across two independent fresh installs.
Bug 1 — PULSE/Assistant/module.ts is missing from the repo
PULSE/pulse.ts imports and calls it:
pulse.ts:117 → assistantModule = await import("./Assistant/module")
pulse.ts:278 → assistantModule.assistantHealth()
pulse.ts:362 → assistantModule.startAssistant(config.da, enabledJobs)
But PULSE/Assistant/module.ts exists nowhere in the repo (not gitignored —
simply not committed). Runtime result:
warn Assistant module not available
error: Cannot find module './Assistant/module' from '.../PULSE/pulse.ts'
warn Skipping assistant-tasks: 3 consecutive failures
Likely a casualty of the recent Pulse → PULSE directory-casing migration
(#1259 / #1175 / #1273) — the Assistant/ folder appears to have been dropped
in the rename.
Fix: restore the canonical PULSE/Assistant/ (module.ts + checks/) to the repo.
Bug 2 — PULSE/PULSE.toml hardcodes the author's DA name
.claude/PAI/PULSE/PULSE.toml:41:
[da]
primary = "kai"
pulse.ts resolves the primary as config.primary || registry.primary, so this
hardcoded kai overrides the user's own USER/DA/_registry.yaml. Any user
whose DA isn't named "kai" gets:
warn No DA_IDENTITY.yaml for "kai"
warn Assistant started (degraded) primary: kai
Fix: ship PULSE.toml without a hardcoded primary (let it fall through to
registry.primary), or use a placeholder substituted at install time.
Impact
Every new v5 user with a non-"kai" DA hits an empty/degraded Pulse Assistant.
Both fixes are small; Bug 2 is a one-line change.
Environment
- Repo main @ 2fde1bb, macOS, Bun, fresh v5.0.0 install.
Summary
On a clean v5.0.0 install, the Pulse DA/Assistant subsystem never starts — the
DA card is empty and the
assistant-taskscron fails. Two separate root causes,both in the published repo (checked against
main, HEAD2fde1bb). Reproducedacross two independent fresh installs.
Bug 1 —
PULSE/Assistant/module.tsis missing from the repoPULSE/pulse.tsimports and calls it:pulse.ts:117→assistantModule = await import("./Assistant/module")pulse.ts:278→assistantModule.assistantHealth()pulse.ts:362→assistantModule.startAssistant(config.da, enabledJobs)But
PULSE/Assistant/module.tsexists nowhere in the repo (not gitignored —simply not committed). Runtime result:
warn Assistant module not available
error: Cannot find module './Assistant/module' from '.../PULSE/pulse.ts'
warn Skipping assistant-tasks: 3 consecutive failures
Likely a casualty of the recent
Pulse → PULSEdirectory-casing migration(#1259 / #1175 / #1273) — the
Assistant/folder appears to have been droppedin the rename.
Fix: restore the canonical
PULSE/Assistant/(module.ts + checks/) to the repo.Bug 2 —
PULSE/PULSE.tomlhardcodes the author's DA name.claude/PAI/PULSE/PULSE.toml:41: