7.40.4: update path drops identity rendering + stale-fact/dead-path findings in shipped skills and agents
Summary
These came from aligning a 7.40.4 install with the release payload and auditing the shipped prompts. Every finding below was checked against the 7.40.4 install payload (LifeOS/install/). The KnowledgeHarvester / KnowledgeSchema fixes are left out because #2143, #2149 and #2042 already cover them.
1. Update path (systemic)
-
Update never re-renders identity placeholders.
Workflows/Setup.mdstep 9(d) runssubstituteTreeandcheckSurvivingPlaceholders.Workflows/Update.mdsteps 3–7 do neither. On 7.40.4, 24 payload files (17 hooks, 4 agents, 3 ALGORITHM files) contain only{{PRINCIPAL_NAME}}/{{DA_NAME}}-style differences from an installed copy, so an overlay puts the raw placeholders back. Suggested fix: run step 9(d) as an Update step after the overlay. Scope the walk to the overlaid trees, because files likeInstallEngine.tscontain placeholder literals on purpose. -
Fabric READMEs get the wrong author. For example,
skills/Fabric/Patterns/extract_product_features/README.md:152–153shipsAuthor: {{PRINCIPAL_FULL_NAME}}and{{PRINCIPAL_NAME}}'s main extractwisdom version. The sanitizer replaced the original pattern author, so rendering credits the installing user as the author. These lines should be excluded from sanitization. -
The overlay has no way to preserve local edits.
OverlaySystem.tsoverwrites every payload file under hooks/, skills/, agents/ andLIFEOS/{TOOLS,DOCUMENTATION,ALGORITHM,RULES,PULSE}, and only CLAUDE.md and the system prompt get a backup. Suggestion: back up every overwritten file that differs from the previous payload, or at least list those files in the dry run, so local customizations aren't lost silently. It also never deletes retired files, so they stay on disk. A report-only "retired upstream" scan would help. -
The CLAUDE.md template goes stale after activation.
CLAUDE.template.mdsays the five identity files "are commented out above". That stops being true onceActivateImports.ts --applyuncomments them. Suggestion: reword it to "commented out until/LifeOS setupactivates them".
2. Stale facts and dead references in shipped prompts
| File | Text | Problem |
|---|---|---|
26 skills/*/SKILL.md (Aphorisms, Apify, Art, ArXiv, AudioEditor, BeCreative, BrightData, Council, CreateCLI, CreateSkill, FirstPrinciples, Interceptor, ISA, PrivateInvestigator, Prompting, RedTeam, Remotion, Research, RootCauseAnalysis, Sales, Science, SystemsThinking, Telos, Upgrade, USMetrics, WriteStory) |
"🚨 MANDATORY … You MUST send this notification BEFORE doing anything else … This is not optional." | Contradicts the canonical template in SkillSystem.md and CreateSkill's own guidance ("When executing a workflow, do BOTH:"). It also over-applies on current models. |
skills/ISA/SKILL.md:99, :139 |
"All sixteen" / "sixteen-section body" | Lines 40 and 46 of the same file say seventeen. |
skills/Art/SKILL.md:43, :47 |
GPT-Image-2 as a model choice | Line 230 says OpenAI image models were removed. |
skills/Research/SKILL.md:93 |
"Sufficiency Check (Algorithm v6.7.0 Step 0)" | Pins a long-retired Algorithm version. |
skills/Migrate/SKILL.md:154 |
"≥70% = trusted" | LIFEOS/TOOLS/MigrateApprove.ts uses conf >= 60. |
skills/SystemsThinking/SKILL.md:86 |
"At Extended+ effort …" | Effort tiers were retired. |
skills/CreateSkill/SKILL.md:310 |
"use LIFEOS/TOOLS.md instead" | The file isn't in the payload. |
skills/Fabric/SKILL.md:172–173 |
"Blogging", "Security" skills | Neither skill ships. |
skills/Webdesign/SKILL.md:171–172 |
Path numbering for DirectDesign / CreatePrototype | Conflicts with the numbering at the top of the same file. |
skills/Telos/SKILL.md:240 |
"Next.js 14" | A version pin that will go stale. |
agents/CodexResearcher.md:51 |
../SourceRoutingProtocol.md |
The real file is skills/Research/SourceRoutingProtocol.md. |
skills/CLAUDE.md:7–8 |
"documented in feedback_invoke_blogging_skill_never_handroll.md" | The referenced file doesn't ship. |
skills/Prompting/Templates/Tools/CLAUDE.md:111 |
docs/**.md |
The docs are .mdx. |
LIFEOS/PULSE/Observability/CLAUDE.md |
"Use HTML imports with Bun.serve(). Don't use vite." (bun-init boilerplate) |
That directory is a Next.js app (next.config.ts). |
A ready-to-apply diff for section 2 is available on request.
2. FailureCapture writes to the wrong MEMORY root when LIFEOS_DIR is unset
LIFEOS/TOOLS/FailureCapture.ts:47 (7.40.4 payload):
const LIFEOS_DIR = process.env.LIFEOS_DIR || join(homedir(), '.claude');
and line 339 builds join(LIFEOS_DIR, 'MEMORY', 'LEARNING', 'FAILURES', …). When hooks run without LIFEOS_DIR in their env (the SatisfactionCapture hook → captureFailure() path), captures land in <config root>/MEMORY/LEARNING/FAILURES/ instead of <config root>/LIFEOS/MEMORY/LEARNING/FAILURES/. Nothing reads the root MEMORY/, so learning-readback, MemoryRetriever and the pattern synthesis never see those failures. Each capture also copies the full transcript, so the stray directory grows quietly.
Suggested fix: use the canonical resolver, which already defaults to <config root>/LIFEOS:
import { getLifeosDir } from '../../hooks/lib/paths';
const LIFEOS_DIR = getLifeosDir();
LIFEOS/TOOLS/WorkReconcile.ts and current-work-dir.ts already import from hooks/lib/paths, so there's precedent. Verified locally: with LIFEOS_DIR unset, the resolved failures dir is …/LIFEOS/MEMORY/LEARNING/FAILURES, and the file builds clean under bun build --target=bun.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks for the careful sweep, and thanks @udeepji for the follow-up. Most of the list was already fixed in current source:
- the Update intent's overlay backups and identity re-render
- the notification blocks and the ISA count
- the Research, Migrate, SystemsThinking, CreateSkill and Telos details
- the CodexResearcher path, skills/CLAUDE.md and the Prompting docs glob
- FailureCapture's path, which now goes through getLifeosDir
The rest is fixed in source now. LIFEOS/PULSE/Observability/CLAUDE.md and its README were untouched bun-init boilerplate. They told sessions to avoid Vite and use HTML imports with Bun.serve. Both now describe the real setup: the UI is a Next.js 15 static export, built with bun run build into out/, and the Pulse server serves it. The install template also said the identity imports were commented out above, which stopped being true once ActivateImports turned them on. It now says they stay commented out until setup activates them. This ships in the next release.