Repository navigation
DeployComponents fails on a non-Claude harness: the runtime imports <configRoot>/hooks/lib, which only InstallHooks creates #3106
danielmiessler
started this conversation in
Ideas
Replies: 1 comment
|
Note 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler Thanks @darkclone9 for the report. This is fixed in the next release. The core install now places hooks/lib on every install, including non-Claude harnesses, as plain library files. No hook scripts, hook manifests or settings registrations go to a non-Claude harness, so the rule that harnesses other than Claude Code get no hooks still holds. DeployComponents and Services.ts no longer fail on the missing import. The full write-up is on #2864, which tracked the same cause. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Note
🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Moved from issue #3027, opened by @darkclone9 on 2026-11-29. Feature requests and larger changes live here in Ideas, so the issue list tracks the defects we're fixing now. The original write-up follows unchanged.
Version
LifeOS 8.761.0 · attestation: unattested (could not extract v8.761.0: tar (child): Cannot connect to C: resolve failed
gzip: stdin: unexpected end of file
tar: Child returned status 128
tar: Error is not recoverable: exiting now)
What is broken
On a harness other than Claude Code, InstallHooks.ts refuses by design (
refused: non-claude-code-harness) and therefore never creates<configRoot>/hooks/. The deployed runtime depends on that directory anyway:LIFEOS/TOOLS/lib/Boundary.tsimports../../../hooks/lib/label-redact, so every tool that pulls inBoundary.tsorServices.tsfails to resolve. Setup stops at DeployComponents, whose report says importing<configRoot>/LIFEOS/TOOLS/Services.tsfailed because../../../hooks/lib/label-redactcould not be found. 129 files under<configRoot>/LIFEOSimport fromhooks/, so this is the whole runtime rather than one tool.Caveat on the Environment block below: it reports
Harness: claude-codeandbun: not found · git: not found. Both are wrong on this install — bun 1.4.5 and git 2.53.0 are installed, and the install targets Hermes.InstallEngine.detectEnvresolves binaries by shelling out, and its probe fails under git-bash/MSYS, so it falls back to a leftover~/.claudedirectory. That misdetection is a separate defect from the one reported here, and it is the reason this report's harness field is wrong.Where (file:line)
LIFEOS/TOOLS/lib/Boundary.ts:33
Repro on a clean tree
Negative control
Probe:
trap "mv $HOME/AppData/Local/hermes/hooks.probe-stash $HOME/AppData/Local/hermes/hooks 2>/dev/null" EXIT; mv $HOME/AppData/Local/hermes/hooks $HOME/AppData/Local/hermes/hooks.probe-stash; bun LIFEOS/TOOLS/Services.ts status· exit 1 · captured 2026-11-29T03:25:43.350ZRed looks like: Cannot find module
Suggested fix
None proposed.
Environment
All reactions