test-case: :remember + restart persistence #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Steps
:remember User prefers terse responses.:remember Default :model deep for code reasoning.:memory add context aish is a LuaJIT REPL with MCP tools.:memory list— verify 3 items.:quit.Expected
[aish] memory: 3 items injected.:memory listshows the same 3 items.:historyshows the empty in-memory context (memory items live in the system prompt, not in turns).What this exercises
:quitso the second boot can acquireLikely failure modes
memory.jsonl held by another aish process→ first boot didn't close cleanly (shutdown_session race).PASS (autonomous run, 2026-05-13). Boot 1:
:remember× 2 +:memory add context→ 3 items, all visible in:memory list. Boot 2: startup bannermemory: 3 items injected;:memory listshows the same 3. Persistence works across restarts; flock released cleanly on:quit. Closing.