Skip to content

7.40.4: the installer never scaffolds USER/CONFIG/OPERATIONAL_RULES.md, so a stock install runs with the system prompt citing a file that does not exist #2287

Description

@jppattn-lgtm

Version

LifeOS 7.40.4, System Prompt v3.7.3.

What is broken

LIFEOS/LIFEOS_SYSTEM_PROMPT.md names OPERATIONAL_RULES.md § Model selection as the one home of the rung rubric and § Trusted channels as the home of the trusted-sender list, and the shipped CLAUDE.md carries a commented @-import for the file. Setup step 5 (ScaffoldUser) copies install/USER/ with copyMissing, and that tree ships no CONFIG/OPERATIONAL_RULES.md (install/USER/CONFIG/README.md lists only LIFEOS_CONFIG.toml). Step 8 (ActivateImports) only uncomments an import whose target exists, so the import stays off and nothing complains. A stock install therefore runs with a constitution that cites, and a routing table that half-wires, a file nobody created. On this install the file exists only because the DA wrote it by hand on day one, which is what activated the import.

Where (file:line)

Reader: LIFEOS/LIFEOS_SYSTEM_PROMPT.md (the two citations, in § What This System Is and § Security Boundaries). Writer that should create it: skills/LifeOS/Tools/ScaffoldUser.ts (copyMissing over install/USER/). Gate that hides the gap: skills/LifeOS/Tools/ActivateImports.ts:53 (existsSync(join(configRoot, rel)) ? wouldActivate : wouldSkip). Related: #1728, #2254.

Repro on a clean tree

Verified against the shipped 7.40.4 payload, not a local copy.

  1. Fresh install of 7.40.4 through /LifeOS setup.
  2. ls LIFEOS/USER/CONFIG/ shows LIFEOS_CONFIG.toml and the README, no OPERATIONAL_RULES.md.
  3. grep -n OPERATIONAL_RULES CLAUDE.md shows the import line still commented.
  4. grep -n OPERATIONAL_RULES LIFEOS/LIFEOS_SYSTEM_PROMPT.md shows the two section citations.

Negative control

The other four identity imports (PRINCIPAL_TELOS.md, PRINCIPAL_IDENTITY.md, DA_IDENTITY.md, PROJECTS.md) have shipped templates under install/USER/ and activate on the same run.

Suggested fix

Ship install/USER/CONFIG/OPERATIONAL_RULES.md as a template carrying the two sections the system prompt cites (## Model selection with the shipped three-rung default; ## Trusted channels with blank placeholders), so ActivateImports activates it like the other four. Untested.

Before submitting

  • 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.
  • I removed personal data from the pasted output — real names, absolute home paths, tokens, my own content.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions