Skip to content

fix(pulse): defer [da] identity to the user config (LIFEOS_CONFIG.toml)#1459

Open
anikin-xyz wants to merge 1 commit into
danielmiessler:mainfrom
anikin-xyz:fix/pulse-da-user-config
Open

fix(pulse): defer [da] identity to the user config (LIFEOS_CONFIG.toml)#1459
anikin-xyz wants to merge 1 commit into
danielmiessler:mainfrom
anikin-xyz:fix/pulse-da-user-config

Conversation

@anikin-xyz

@anikin-xyz anikin-xyz commented Jul 10, 2026

Copy link
Copy Markdown

PULSE's [da].primary was read only from the shipped PULSE.toml, so the DA name was unoverridable from the user tier — it lived in two files (PULSE.toml and LIFEOS/USER/CONFIG/LIFEOS_CONFIG.toml [da].name) that could silently disagree.

loadPulseConfig now defers [da].primary to LIFEOS_CONFIG.toml [da].name when present, via the existing LifeosConfig loader — converging the two identity configs on one source of truth rather than adding a third layer. Fresh installs without the user config keep the PULSE.toml value (try/catch fallback, functionally tested both ways).

Composes cleanly with #1457 (which neutralizes the shipped placeholder): with both, the shipped value becomes a pure fresh-install fallback and the user config wins everywhere else.

PULSE.toml ships a [da].primary value that could only be changed by editing
the shipped system template — it was unoverridable from the user tier, so the
DA name lived in two places (PULSE.toml and LIFEOS/USER/CONFIG/LIFEOS_CONFIG.toml
[da].name) that could silently disagree.

loadPulseConfig now defers [da].primary to LIFEOS_CONFIG.toml [da].name when
present, via the existing LifeosConfig loader — converging the two identity
configs on one source of truth rather than adding a third layer. Fresh installs
without the user config keep the PULSE.toml value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant