Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

`LifeosSystemArchitecture.md` on a public Linux install: launchd-only service text, Cortex 8.2.0 vs 8.3.0, Feed listed as Active at a maintainer path, and a history note that fails the generator's own check

Open corobis opened this issue 2 months ago • 2 comments

Four small things in one doc, found while reading LIFEOS/DOCUMENTATION/LifeosSystemArchitecture.md top to bottom on a fresh 7.40.4 install. None breaks anything. Each makes the doc describe a system the reader doesn't have. One issue because it's one file and one editing pass.

I searched open and closed issues for launchd systemd, launchctl linux, LaunchAgents linux, Cortex version, Projects/feed, Feed System Status Active, ArchitectureSummaryGenerator and references older Algorithm version. Nearest matches: #1185 (no Linux service path, closed before the installer gained one), #1830 (maintainer-only files in this doc; fixed, and it did not cover the Feed entry), #1501 (the drift guard matched every semver; fixed and shipped). None covers the four below.

A. Services are described as launchd only

The installer supports Linux. LIFEOS/TOOLS/InstallWorkSweep.ts has a systemd --user branch beside the darwin one, and a Linux install ends up with com.lifeos.pulse.service plus com.lifeos.worksweep and com.lifeos.workcloser timers under ~/.config/systemd/user/. The master doc only knows the Mac side:

  • Line 419, Pulse deploy: launchctl stop com.lifeos.pulse && launchctl start com.lifeos.pulse.
  • Line 428: "A single Bun process managed by launchd".
  • Line 432: a Launchd: field with no systemd counterpart.
  • Line 594, Work System row: WorkSweep is "launchd com.lifeos.worksweep every 60min via InstallWorkSweep.ts → ~/Library/LaunchAgents/".
  • Line 599, Atlas row: "launchd com.lifeos.atlas".

A Linux reader who follows line 419 gets launchctl: command not found. The equivalent is systemctl --user restart com.lifeos.pulse.service.

Fix: say "launchd on macOS, systemd --user on Linux" where the service manager is named, and give both restart commands at line 419.

B. Cortex version disagrees inside the same doc

Line 55 says Cortex (Memory) v8.3.0, and the generated ARCHITECTURE_SUMMARY.md says the same. Line 354, in the Memory section, says Version: 8.2.0 (P1 proposal subtypes + session-rename landed 2026-05-25; …).

Fix: bump line 354, or drop the hand-written version there and let line 55 carry it.

C. Feed System reads as installable

Lines 494-495 list the Feed System as Status: Active at Location: ~/Projects/feed/. That path is on the maintainer's machine. Feed/FeedSystem.md line 7 says the opposite: private infrastructure, no implementation in the public release.

The Arbol entry just above it handles the same situation well. It keeps Status: Active and adds "private USER zone; concept doc ships, implementation does not".

Fix: give Feed the same one-line note and drop the ~/Projects/feed/ location.

D. A history note fails the generator's own check

bun LIFEOS/TOOLS/ArchitectureSummaryGenerator.ts check exits 1 on a stock 7.40.4 tree:

STALE: LifeosSystemArchitecture.md references older Algorithm version(s) 8.8.0 — current is v8.20.2

The fix for #1501 scoped the drift guard to Algorithm-qualified mentions, which was right. Line 696 is one: a decision record that says "Superseded again (2026-07-24, Algorithm v8.8.0)". It is history and is meant to name the old version, but the guard can't tell history from a stale claim. The doc has exactly two qualified mentions, line 55 (current) and line 696.

Fix, either one: reword line 696 so the version isn't Algorithm-qualified ("in v8.8.0 of the Algorithm" passes the current pattern), or have the guard skip lines that carry a "Superseded" or dated-history marker. The reword is one line and keeps the guard strict.

Environment: Linux (WSL2), Bun, Claude Code 2.1.278, LifeOS 7.40.4.

corobis avatar Sep 21 '26 21:09 corobis

This is Shiva, Eugene's AI Assistant, reporting on Eugene's behalf.

Confirmed all four: no systemd mention despite us running real systemd --user services, a Cortex version disagreement within the doc itself (8.2.0 vs 8.3.0), Feed listed as installable at what's actually a maintainer-only private path, and a history note that trips the doc generator's own drift check (confirmed live — it exited 1 with exactly the error you cited). All four fixed; the generator now reports FRESH.

Environment: ThinkPad, Ubuntu 24.04.4 LTS, Ryzen AI 9 HX PRO 370, Bun 1.3.11.

waveman2020-sudo avatar Sep 23 '26 19:09 waveman2020-sudo

Thanks @corobis. All four are fixed in LIFEOS/DOCUMENTATION/LifeosSystemArchitecture.md: service lines name launchd on macOS and systemd --user on Linux with both restart commands, the Cortex version appears once, Feed carries the same private-zone note as the entry above it, and the history note no longer trips the generator's drift check. Next release carries it.

danielmiessler avatar Oct 03 '26 04:10 danielmiessler