v8.761.0: LifeOSHooks and RichFormat ship without .claude-plugin/plugin.json, so neither plugin ever loads (and Doctor reports healthy)
Version
LifeOS 8.761.0 · attestation: 3 system file(s) differ from danielmiessler/[email protected]:
- skills/LifeOS/SKILL.md
- LIFEOS/TOOLS/model-pricing.json
- LIFEOS/DOCUMENTATION/ARCHITECTURE_SUMMARY.md
What is broken
On a fresh v8.761.0 install, neither in-process plugin ever loads: skills/LifeOSHooks and skills/RichFormat contain hooks/hooks.json but no .claude-plugin/plugin.json (and there is no marketplace.json that lists them), so Claude Code rejects both directories. Every session therefore runs without the LifeOSHooks start check that the Algorithm names as the HOOK teeth for criterion 2 (refuse the first edit before the governing ISA is read), without the drawn banner and climb strip, and without RichFormat's rendering. Nothing reports this. Doctor.ts shows the install as healthy because it has no check for the function-hook plugin; only IntegrityCheck.ts (function-hooks: "0 events hooked; no manifest loads the plugin") catches it, and its finding is buried among several hundred maintainer-hygiene findings that a user install always produces. The release tree and main (checked 2026-10-29) both lack the manifests, and no existing issue mentions it.
Where (file:line)
skills/LifeOSHooks/ (no .claude-plugin/), skills/RichFormat/ (no .claude-plugin/)
Repro on a clean tree
1. Install v8.761.0 with the stock installer.
2. `claude plugin validate ~/.claude/skills/LifeOSHooks` -> "No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json". The same for `skills/RichFormat`.
3. `bun ~/.claude/LIFEOS/TOOLS/IntegrityCheck.ts --section function-hooks` -> "0 events hooked ... no manifest loads the plugin".
4. Start an interactive session: no `MEMORY/STATE/function-hooks/<session>.json` stamp is ever written and no banner draws.
5. `bun ~/.claude/LIFEOS/TOOLS/Doctor.ts` reports no problem with either plugin.
Negative control
Probe: claude plugin validate skills/LifeOS/install/skills/LifeOSHooks · exit 1 · captured 2026-10-29T17:13:32.328Z
Red looks like: No manifest found in directory
Validating plugin manifest: ~/.claude/skills/LifeOS/install/skills/LifeOSHooks
✘ Found 1 error:
❯ directory: No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json
✘ Validation failed
Suggested fix
Ship a minimal manifest in each plugin, for example skills/LifeOSHooks/.claude-plugin/plugin.json = {"name":"lifeos-hooks","version":"8.761.0","description":"LifeOS function hooks"} and skills/RichFormat/.claude-plugin/plugin.json = {"name":"rich-format","version":"8.761.0","description":"LifeOS rich-answer rendering"}. With these added locally, claude plugin validate passes for both, and a headless claude -p with both folders in CLAUDE_CODE_PLUGIN_DIRS lists lifeos-hooks@inline and rich-format@inline in system/init plugins, with lifeos-hooks hook events settling in the debug log. Two follow-ups: (a) once a manifest exists, the skills-folder copy also loads as LifeOSHooks@skills-dir, so loading it through --plugin-dir too gives a harmless "name already taken" plugin_error; the docs should pick one loading path. (b) Add a Doctor capability for the function-hook plugin (armed stamp present for the latest interactive session), so this cannot fail silently again.
Environment
- OS: macOS 27.0.1 (arm64)
- Harness: claude-code
- bun: 1.3.4 · git: 2.52.0
- Doctor broken: codex, ytdlp
[!NOTE] 🤖 Sai (AI assistant) responding on behalf of James
Confirming on Linux (Claude Code 2.1.317, bun 1.3.9), main at b7efec97: skills/LifeOSHooks/ still has no .claude-plugin/, and claude plugin validate on a copy of it gives the same "No manifest found" error. Adding a minimal .claude-plugin/plugin.json (name, version, description) makes validate pass and it lists the hooked events.
Three small additions:
- Naming: validate warns that a name that is not kebab-case works in Claude Code but fails the claude.ai marketplace sync, so the
lifeos-hooks/rich-formatnames suggested above are the right ones. - Where to fix it: the comment above
functionHooksManifestinLIFEOS/TOOLS/IntegrityCheck.tssays the source tree intentionally keeps no folderplugin.json(the manifest is the marketplace entry) and that the entry is "the same manifest ShadowRelease writes back for a release". So the release export looks like the step that should restore it, and it is not doing so. - It will not trip the clash check:
checkPluginLoadskips when there is no.claude-plugin/marketplace.json, and flags a folderplugin.jsononly when a marketplace is present, so a manifest in the release is consistent with the "public install loads from skills/" design.
Setup.md "Prove it works" step 1 (claude plugin validate) fails on the release as shipped for the same reason.
Confirming on 8.761.0 with Claude Code 2.1.316 and 2.1.318 (macOS and Linux): claude plugin validate skills/LifeOSHooks fails with "No manifest found", the skills-folder scan only adopts a folder that has .claude-plugin/ at its top, and no session ever writes a stamp. Adding skills/LifeOSHooks/.claude-plugin/plugin.json ({"name":"LifeOSHooks","version":"1.3.0","description":"..."}) makes it load as LifeOSHooks@skills-dir and arm.
Three things worth knowing before shipping just the manifest:
- Arming exposes #2498 immediately: on 2.1.316+ the plugin's prompt context is attached after
next()and dropped, while theprompt-contextcap makes the native hooks stand down, so armed sessions get none of the prompt-time context. Ship that fix with this one. - Queued memory is never acknowledged on either path (new issue: #2608), so an armed session re-sends the memory blocks on every prompt exactly like an unarmed one.
- A folder-marketplace load does not work with the shipped module:
claudeDirOf()finds the config root by stripping/skills/<name>from$.plugin.root, and a marketplace install runs from a cached copy underplugins/cache/…, so every HookBridge call points at a path that does not exist. The skills-folder load (manifest in the folder) works.
Also note the module disarms whenever isInteractive is false, so Agent SDK front ends never arm it even with the manifest.
(Posted by an AI agent on the reporter's behalf, after they read this text.)
Confirmed on 8.761.0 with Claude Code 2.1.319. Adding .claude-plugin/plugin.json to both folders fixes it: claude plugin list then shows LifeOSHooks@skills-dir and rich-format@skills-dir loaded, and after /reload-plugins the session stamp appears in MEMORY/STATE/function-hooks/.
One extra detail for RichFormat: register.tsx draws only when options.enabled === true, so its manifest also needs "userConfig": { "enabled": { "type": "boolean", "title": "Enabled", "default": true } }. A bare manifest loads the plugin but it draws nothing.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks @DolphusCY, and @hydrohelix for flagging the enabled default. This has the same cause as #2620: the plugin folders shipped without a manifest. The release build now writes plugin.json for each marketplace entry, which covers both LifeOSHooks and rich-format with enabled defaulting to true. The Doctor check you suggested as a follow-up is not part of this change; the integrity check already reports when no manifest loads the plugin. This lands in the next release.