ai-agents: warn loudly when a memory checkout is absent at activation #128
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!128
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/memory-link-warn"
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?
A dev machine whose memory checkout is missing at activation now says so:
ai-agentsprints a loud warning naming the path for every memory-flagged checkout that is absent or has nomemory.md, instead of silently building a link to nowhere that fails every harness's memory read at session start. Nothing else changes for a running machine: the symlink is still created exactly as before (a fresh machine has no checkout at its first activation by design, and a host-provided one is absent until the hypervisor injects it), the activation never aborts, and a machine with every checkout present prints nothing new. What proves it: thepi-integrationcheck now executes the generated activation script against a fixture home and asserts the warning text with a checkout removed, no warning with all present, and an unchanged link target either way. If it is wrong, revert; the change adds output only.Closes allod/archetypes#127
Refs allod/strategy#62
Risk
R2: generated activation behavior, but additive and non-aborting through home-manager's
warnEcho, with the link line untouched. The worst credible failure after validation is a spurious warning line at activation. Rollback is a straight revert.Validation
nix build .#checks.x86_64-linux.pi-integration: green; the check runs the realllmMemoryLinksscript three times (all present, one directory absent, onememory.mdabsent).allod check: all 35 steps passed (22 checks built).expected an absent-checkout warning, got:; the branch itself is unchanged.