[bug] Stale containment pattern for WORKFLOWS/v1 and a People exit code
What happened
8.761.0: two small code defects: a stale containment pattern for WORKFLOWS/v1 and a People exit code
Summary
LifeOS 8.761.0 (tag v8.761.0, fb9aef46). Every location below was read in that tag. Paths are from the repository root. Where a step says "sandbox", the code was run from a copy of LifeOS/install/ with HOME set to a temporary directory and no network.
Related issues are linked where they exist. None of these is a duplicate as far as I can find.
1. private-infra zone still lists LIFEOS/WORKFLOWS/v1/**, so the shipped Workflows v1 tree is classified USER
Where: LifeOS/install/hooks/lib/containment-zones.ts:97
"LIFEOS/WORKFLOWS/v1/**",
What happens. The zone's own description (:115) and LIFEOS/DOCUMENTATION/Tools/Containment.md:38 say this tree left the zone on 2026-09-09 and ships as SYSTEM. The release does ship it, but the pattern is still in the list. isContained() returns true for any path under it, and classifyForms (hooks/lib/system-file-guard-core.ts:253) marks it user. So these files skip the checks that apply to SYSTEM files: the pre-commit leak scan and CheckFileBoundary.ts. IntegrityCheck.ts:939 also counts them as private.
Steps: from LifeOS/install/hooks/lib:
bun -e 'import {classifyForms} from "./system-file-guard-core.ts"; const r=process.cwd()+"/../.."; for (const p of ["LIFEOS/WORKFLOWS/v1/Actions/lib/pipeline-runner.ts","LIFEOS/WORKFLOWS/workflow.ts"]) console.log(p, classifyForms(r+"/"+p, r).verdicts[0].classification)'
Expected: system for both.
Actual: user for the v1 file, system for the other.
Minimal fix: delete line 97.
2. People.ts: an unknown subcommand exits 1, the docs say 2
Where: LifeOS/install/LIFEOS/PEOPLE/People.ts:315-317
default:
console.log(USAGE);
process.exit(cmd ? 1 : 0);
What happens. LIFEOS/DOCUMENTATION/People/PeopleSystem.md:112-113 says: "Exit codes: 0 ok, 1 not found or usage, 2 unknown subcommand, 3 refused or not sendable". Only sync with a missing or unknown source exits 2 (:285). By exit status alone, a script cannot tell a mistyped subcommand from "not found".
Steps: bun LIFEOS/PEOPLE/People.ts bogus; echo $? prints 1. bun LIFEOS/PEOPLE/People.ts sync bogus; echo $? prints 2.
Minimal fix: process.exit(cmd ? 2 : 0);, or change the documented code to 1.
Already reported, not repeated here
AgentWatchdog.tsreadssubagent-starts.jsonandinfo.type. It is still present in 8.761.0, still listed inObservabilitySystem.md:46, and not inRETIREMENTS.json. The retirement decided in #2362 has not landed yet, and a comment on #2362 already points this out.
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.
[!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. An unknown people profiles subcommand now exits with code 2. The People docs also explain that an unknown top-level command exits with code 1.
Moving shipped Workflows v1 code into the system checks while excluding its installed dependencies changes a safety check, so it needs the maintainer’s sign-off. This issue stays open until that part is done.