[bug] CLAUDE.md still says the identity imports are commented out after setup…
What happened
CLAUDE.md still says the identity imports are commented out after setup activates them. ActivateImports.ts rewrites only the commented import lines, so the installed CLAUDE.md keeps describing the pre-activation state.
- The "Constitutional layer" paragraph still says the five identity files "are commented out above" and that the agentic setup uncomments them later, although they are now active imports.
- The two installer comment lines above the imports ("# Identity @-imports below are activated by the agentic setup..." and "# Claude Code follows nested @-imports only to a limited depth...") stay in the file. They start with "# ", so they render as H1 headings.
- The nested-import explanation is then stated twice: once in comment line two, once in the "Constitutional layer" paragraph. Result on 8.761.0: an always-loaded file tells the model its identity imports are dormant when they are loaded, and carries the same explanation twice. Suggested fix: ActivateImports removes or rewrites those lines when it activates the imports, or the template words them state-neutrally. Related, already filed: the dead Location current.json reference in CLAUDE.md is covered by #2750.
Summary
After setup activates the identity imports, CLAUDE.md still says they are commented out, and keeps two installer comment lines that render as H1 headings and duplicate the nested-import explanation.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks for spelling out all three symptoms. The next release fixes this by dropping the file: LifeOS no longer ships or places a CLAUDE.md. Since 2026-11-08 the lifeos launcher loads the startup files itself through LIFEOS/TOOLS/StartupContext.ts, so ActivateImports and the template it edited are retired. On upgrade, the installer backs up and removes a CLAUDE.md that an earlier release wrote from its template, and leaves alone one you wrote yourself. The stale 'commented out' wording, the H1 comment lines and the repeated explanation go away with it.