[bug] Vigil on 8.761.0: seven issues that keep sources red or broken
What happened
Bringing up Vigil and Pulse /vigil on 8.761.0 turned up seven problems. Each one either makes a source show red when nothing is wrong, or keeps a source from working at all. Each is fixed locally with a small patch; the details are below so they can be fixed upstream.
Details
-
LifeOSHooks ships without a plugin manifest.
skills/LifeOSHooks/has no.claude-plugin/plugin.json, so Claude Code never loads it,MEMORY/STATE/session-treeis never written, and therunningsource is red forever. Moving the plugin to a separate directory with its own manifest doesn't work either:claudeDirOf()(LifeOSHooks.ts:326) strips/skills/<name>from the plugin root, so the plugin only findsLIFEOS/TOOLS/HookBridge.tswhen it is loaded from~/.claude/skills/LifeOSHooks. Every bridge call fails silently from anywhere else. Local fix: aplugin.jsoninskills/LifeOSHooks/.claude-plugin/, plus the path inCLAUDE_CODE_PLUGIN_DIRS. -
Pulse paints
not_installedas an error. The engine treats a cursor withnot_installedas "not a break" (VIGIL/adapters/common.tswithCursor,readers.ts), butPULSE/modules/vigil.ts:161maps anyread.ok === falseto"error". A source the install never had shows the same red dot as a broken one. -
The
servicescadence doesn't match how the source emits.VIGIL/Policy.ts:64setsservices: 5, but the services adapter only emits when a service changes state. On a healthy machine it goes quiet after 10 minutes and shows yellow. Local fix:source_cadence_minutes.services = nullinUSER/VIGIL/policy.json. -
The generic secret pattern refuses ordinary file paths.
STATVS/lib/refuse.ts/\b[A-Za-z0-9+/=_-]{48,}\b/matches an absolute path such as/Users/<name>/.config/LIFEOS/USER/MEMORY/STATE/services/...in a title or summary, sovalidateEventthrows "Credential-shaped string refused" and the event is lost.credentialRefusalalready has aslugsmode that judges such runs segment by segment;validateEventdoesn't use it for title and summary. -
ContactsCli cannot get Contacts access from launchd.
PEOPLE/apple.tsbuilds a bare binary with noInfo.plist, andcom.lifeos.peopleruns it as a child ofbun. TCC then checks the responsible process (bun, no bundle) and denies in about 40 ms without a prompt, so theapplesource staysblocked. Local fix: build ContactsCli inside~/Applications/LifeOS People.app(Info.plist withNSContactsUsageDescription, ad-hoc signed with a fixed identifier), grant once viaopen -a, and haverunAuditlaunch it throughopen -W -n -g -a <app> --stdout … --args auditso the app is its own responsible process. -
--comments inVIGIL/worker/schema.sqlbreakcf d1 query --sql. The comment lines are passed through as part of the statement and the query fails; the schema has to be applied with the comments stripped. -
ReleaseRecord does not recognize
LIFEOS/VERSIONwhen the git root is aboveLIFEOS.isRecordFileinTOOLS/ReleaseRecord.ts:60checksf === "VERSION"against the path relative to the git root. When the repository root is~/.claude, the path isLIFEOS/VERSION, so the record commit itself counts as shipping, and the deploy gate keeps asking for a new release record.basename(f) === "VERSION"(or a match on the LIFEOS-relative path) would fix it.
Environment
LifeOS 8.761.0, macOS 27, Claude Code 2.1.312.
- Pulse /security still looks for the security hooks removed on 2026-10-24.
handleSecurityApi() in LIFEOS/PULSE/Observability/observability.ts (~line 1309) keeps only hooks whose command contains Safety.hook, skill-guard or agent-guard. Safety.hook.ts was dropped on 2026-10-24 (hooks/README.md, native enforcement note), so on a clean 8.761 install /api/security returns hooks: []. The page then shows Active Hooks 0 and No security hooks registered, which reads like a broken install, while the same page explains that protection now lives in permissions.deny and the git hooks.
Suggestion: drop the stale filter and the tile, or list the git hooks from LIFEOS/TOOLS/githooks/ there instead.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks @Hoyass, this was a useful list. Fixed: the release now writes the LifeOSHooks plugin.json back (the new release builder had dropped it), not-installed sources no longer show as errors, the services cadence no longer goes yellow on a healthy machine, and ReleaseRecord recognises LIFEOS/VERSION under a higher git root. The schema docs now strip the -- comment lines before cf d1 query. The credential filter stays as it is, since it is a security guard; an event it refuses is kept with its detail withheld rather than lost. The ContactsCli app-bundle change is a good fit for a PR if you want to send it. The fixes land in the next release.