Generate harness memory bootstraps from the registry #124
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/archetypes!124
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/memory-bootstrap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner summary
~/.pi/agent/AGENTS.md,~/.codex/AGENTS.md, and~/.claude/CLAUDE.mdname each memory checkout'smemory.mddirectly, with paths derived at build time from the inventory registry's memory-marked entries; theadapters/<harness>/pointer layer is no longer read.yolo, shell aliases, andmemory.mdcontent.Deviations from the issue as written
~/work, and checkouts are cloned bybootstrap-vmonly after first activation, so an activation-time existence assertion would strand first boot. The module instead fails evaluation when a registry entry markedmemoryhas no usable checkout path, or is absent from the machine'sreposlist — the checkout then cannot exist where the bootstrap names it.ai-agents.nix; no change was needed.Risk
R3 — cross-repo sequencing (inventory flag → this module → memory adapters deletion) and generated session-start behavior. One cold cross-family review ran after the final code state: FINDINGS: 1 (the disclosed lock-sequencing gate above), COMMENT-FINDINGS: 0; no code defect. Rollback is a straight revert plus rebuild.
Validation
With
--override-input inventory <registry-flag branch>, all exit 0:nix build .#checks.x86_64-linux.pi-integration --no-link -L(includes the new sabotage witnesses: memory-marked entry absent from repos, unsafe checkout, empty derived list)nix build .#checks.x86_64-linux.dev-inventory-pointer --no-link -Lnix build .#checks.x86_64-linux.profile-definition-contracts --no-link -Lnix eval --raw .#nixosConfigurations.allod-dev.config.system.build.toplevel.drvPathThe composed activation script renders, for each harness, an atomic write of:
with the Claude template additionally carrying the attribution-ban policy. Not run:
./fork-safety.sh(pin witness, lock-bump path) and fullallod check(the locked inventory predates the flag; the suite runs clean once the lock bump lands after the inventory PR merges).Refs allod/archetypes#123
f9e905f4bdtoaef13efca1