Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

[bug] 8.761.0: documented features that miss a part on a fresh install

Open IvanLeontev-stack opened this issue 1 week ago • 2 comments

What happened

8.761.0: five documented features miss a part on a fresh install

Summary

LifeOS 8.761.0. Everything below was checked against a clean checkout of tag v8.761.0. Paths are from the repository root. Five separate items. Each one is small, so they are grouped here. Happy to split them if you prefer.

1. openai is imported but not declared, so both transcription tools crash on load

Docs: LifeOS/install/LIFEOS/DOCUMENTATION/Tools/Tools.md:312: "Transcription via the OpenAI Whisper API. Needs OPENAI_API_KEY; files over 25MB are split by SplitAndTranscribe.ts first." Line 341: "Exits with an error naming OPENAI_API_KEY when it is not set".

Steps (fresh install, or the tag checkout with Bun auto-install off):

cd LifeOS/install
bun --no-install LIFEOS/TOOLS/ExtractTranscript.ts clip.m4a
bun --no-install LIFEOS/TOOLS/SplitAndTranscribe.ts

Expected: the OPENAI_API_KEY error from the first command and usage text from the second.

Got:

error: Cannot find package 'openai' from '.../LIFEOS/TOOLS/ExtractTranscript.ts'
error: Cannot find package 'openai' from '.../LIFEOS/TOOLS/SplitAndTranscribe.ts'

Both tools exit while loading their imports, so neither the key check (ExtractTranscript.ts:233, SplitAndTranscribe.ts:217) nor the usage text is reached.

What is missing: ExtractTranscript.ts:19 and SplitAndTranscribe.ts:15 contain import OpenAI from "openai". Neither LifeOS/install/package.json (only yaml) nor LifeOS/install/LIFEOS/TOOLS/package.json (only the three graphology packages) declares openai. In the whole release it is declared only in LifeOS/install/skills/Art/Tools/package.json:12, which does not serve LIFEOS/TOOLS. I checked every package import in LIFEOS/TOOLS and hooks, and no other package is undeclared.

Fix: add "openai": "^6.18.0" (the range Art already uses) to LifeOS/install/LIFEOS/TOOLS/package.json. DeployCore's nested-dependency step already runs bun install there. This is the same class as #2431 (handlebars) and #1605 (graphology).

2. The Relay bridge README's bunx tsc --noEmit fails on the release's own code

Docs: LifeOS/install/LIFEOS/RELAY/bridge/README.md:29-33: "From this directory:" … bunx tsc --noEmit.

Steps: in LifeOS/install/LIFEOS/RELAY/bridge, using the TypeScript 5.9.3 and @types/bun 1.4.0 pinned in its bun.lock, run tsc --noEmit.

Expected: exit 0.

Got: exit 2 with 1246 errors. 22 of them are TS2307 "cannot find module" errors: 21 for packages I did not install in the checkout (mostly spectrum-ts and yaml), which resolve on a real install, and one for a local import, ../../ARCHIVE/Archive, that is not in the release. With the declared packages present, 1224 errors remain. They come from files the bridge imports, checked under its tsconfig (strict, noUncheckedIndexedAccess, and lib: ["ESNext"] with no DOM). Most are in skills/VideoEssay/Tools/ (DesignAudit.ts 277, PageVisuals.ts 148), skills/Assay/Tools/VideoEvalChecks.ts (198) and LIFEOS/TOOLS/IsaAsks.ts (73). About 180 are DOM names such as document, Element and HTMLElement.

Of those 1224, only voice.ts:68 is in the bridge's own files: argv[0] is string | undefined under noUncheckedIndexedAccess. The README already says the three bun test files are not shipped, so that part is not reported here.

Fix: fix voice.ts:68. Then either make the imported modules compile under this tsconfig, or remove the tsc step from the README until they do.

3. The Conduit tab never says "no browser adapter yet"

Docs: LifeOS/install/LIFEOS/DOCUMENTATION/Conduit/ConduitSystem.md:238: "A source it can't (an active browser tab) is absent — and the tab says "no browser adapter yet," not "you did nothing.""

Got: the time-block list's empty-state text in LifeOS/install/LIFEOS/PULSE/Observability/src/app/conduit/page.tsx:250 is no ${blockKind} blocks today or "no app-focus events yet". The insight panel has its own empty state. Neither mentions a browser adapter. At the tag, git grep -i "browser adapter" matches only ConduitSystem.md. The built Observability/out/ does not contain the phrase either.

Fix: show the notice in page.tsx when no browser adapter is configured, or change ConduitSystem.md:238 to say what the tab actually shows.

4. Pulse Dashboard has the same bun test && gate that #2639 fixed for Pulse Desktop

#2639 fixed Desktop's package and install-app scripts, and that report describes them as the only scripts of this kind. LifeOS/install/LIFEOS/PULSE/Dashboard/package.json (a one-line JSON file) has the same gate: "package":"bun test && bun build.ts --package". LifeOS/install/LIFEOS/PULSE/Dashboard/README.md:15 says: "Run bun test and bun run build. … bun run package produces the macOS bundle under release/." The folder ships no test files. With no test files, bun test exits 1 (error: 0 test files matching …, Bun 1.4.4), so bun run package stops before the build.

Fix: make the same --pass-with-no-tests change, and drop or qualify "Run bun test" in README line 15. If your post-8.761.0 fix already covers this file, please ignore this item.

5. The user.file.updated event is documented but nothing sends it

This is separate from #2806, which makes Pulse load modules/user-index.ts. LifeOS/install/LIFEOS/DOCUMENTATION/LifeOs/LifeOsSchema.md:169 says the indexer "Watches USER/ via fs.watch — re-parses changed files and broadcasts SSE user.file.updated events". At the tag, git grep -F "user.file.updated" matches only that line. start() in LifeOS/install/LIFEOS/PULSE/modules/user-index.ts:558-587 re-indexes on fs.watch but never sends an event, so loading the module will not deliver it.

Fix: send the event from the watcher's re-index, or remove it from LifeOsSchema.md:169. If the post-tag fix already adds it, please ignore this item.

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.

IvanLeontev-stack avatar Nov 26 '26 09:11 IvanLeontev-stack

[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler

Thanks @IvanLeontev-stack for the report.

Part of this is fixed in our source and goes out in the next release. Fresh installs now include the package both transcription commands need. Relay reports when the local Whisper executable is missing, and its docs explain that its TypeScript check can report errors from imported files.

The Conduit browser notice and the documented live file update event need a product decision on whether to add the behavior or change the docs. This issue stays open until that part is done.

danielmiessler avatar Dec 02 '26 10:12 danielmiessler

[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler

Thanks @IvanLeontev-stack for checking all five against the tag.

All five are fixed in our source and go out in the next release. The transcription tools declare their package, the bridge README and voice tool are fixed, and the Dashboard package script no longer stops on an empty test run. For items 3 and 5, the docs now describe what the system does: the Conduit tab shows no browser notice yet, and the USER indexer re-parses files without sending an event.

Please reopen if anything still doesn't match after you upgrade.

danielmiessler avatar Dec 02 '26 22:12 danielmiessler