Docs prescribe DenyListCheck.ts as boundary gate 2, but it ships in no release payload
Version
LifeOS 7.40.4 / release tooling + Two-repo sync docs
What is broken
The Two-repo sync documentation tells every user that pushing both private repos runs four boundary gates, gate 2 being "DenyListCheck.ts must return 0 real-leaks", and SystemUserBoundary.md:134 gives the invocation as a step to run. That file is in no release payload. At tag v7.40.4 the repository tree holds 1,987 blobs and none of them matches DenyListCheck, while five documentation files at that same tag carry ten references to it.
Of those ten references, five are user-facing instructions: SystemUserBoundary.md:107, :114, :134 and ConfigSystem.md:84, :108. The remaining five are internal release-tooling notes rather than anything a user is told to do, including RenameMap.json:2 and :48, which list DenyListCheck beside ShadowRelease G1-G14 and sync-docs as gates that must read the rename map programmatically. Those notes support the private-tooling reading, as does Security/README.md:110, which calls it "the release pipeline's DenyListCheck.ts". The workflow named as its runner, UpdateKaiRepo, is likewise not shipped.
The defect is therefore in the five user-facing references, not in the tool's absence: a user following the documented backup procedure cannot run gate 2, and nothing in the flow says so. Same shape as #2036, where the docs specified a two-repo layout no shipped code path created.
Where (file:line)
Readers, all verified at tag v7.40.4: LIFEOS/DOCUMENTATION/SystemUserBoundary.md:107, :114, :134; LIFEOS/DOCUMENTATION/Config/ConfigSystem.md:84, :108; LIFEOS/DOCUMENTATION/LifeosSystemArchitecture.md:218, :221; LIFEOS/DOCUMENTATION/Security/README.md:110; LIFEOS/DOCUMENTATION/LifeOs/RenameMap.json:2, :48. Writer: none.
Repro
# Environment: LifeOS 7.40.4, install carries unrelated local patches.
# The file is also absent from the public repo at tag v7.40.4, so the
# defect does not depend on this install. Steps 1-3 need no install at all.
# 1. The file is absent from the released tree
gh api "repos/danielmiessler/LifeOS/git/trees/v7.40.4?recursive=1" \
--jq '[.tree[] | select(.path|test("DenyListCheck";"i"))] | length'
# 0 (out of 1987 blobs)
gh api repos/danielmiessler/LifeOS/contents/LIFEOS/TOOLS/DenyListCheck.ts
# 404 Not Found
# 2. Five documentation files at that tag reference it, ten times
# (fetch the LIFEOS/DOCUMENTATION blobs at v7.40.4 and grep)
# files: 5 references: 10
# 3. One of them presents it as a command the user runs:
# SystemUserBoundary.md:134
# The deny-list precheck (`DenyListCheck.ts ~/.claude`) returns:
Negative control
# Run the documented gate-2 invocation as written.
# Environment: 7.40.4 with unrelated local patches; none touch this path,
# and step 1 above shows the file is absent from the release tree itself.
bun LIFEOS/TOOLS/DenyListCheck.ts /Users/you/.claude
# error: Module not found "LIFEOS/TOOLS/DenyListCheck.ts"
Gate 2 cannot be executed on any install of this version, because the module it names is not in the version. The probe has been red from its first run, not merely asserted.
Suggested fix
Untested. Either ship a user-facing equivalent, or mark the four gates as maintainer-internal and document what a user runs instead. LIFEOS/TOOLS/SecretScan.ts covers the credential half, though it needs trufflehog on PATH and does not perform the identity-literal scan the deny list describes. Either way, SystemUserBoundary.md:134 should stop presenting the command as a user step.
Before submitting
- [x] I searched open and closed issues for this defect.
- [ ] The repro runs against a clean tree of the version above, not against my modified install.
- [x] I removed personal data from the pasted output.
Note on the unticked box: this install carries unrelated local patches, so I will not claim a clean tree. Steps 1-3 of the repro run entirely against the public repository at tag v7.40.4 and need no install, which is where the defect is established. The negative control is the only step run locally, and it is labelled as such.
Docs corrected: SystemUserBoundary.md and ConfigSystem.md now mark DenyListCheck.ts as maintainer-internal and point users at SecretScan.ts for the credential half. Next release carries it. Thanks, @mefsnef.