You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Setup retires the pre-#145 capture command on a root change (#246, Refs #241). Replacing the install root also removes the prior root's ingest codex|kimi|qwen command written without --json, beside the current form, so an upgraded Qwen, Codex or Kimi no longer keeps a second SessionEnd ingest.
A stale setup receipt refuses by name and is adopted explicitly (#246, Refs #241). A receipt is stale when it cannot restore, no spelling of its runtime's entry remains in its files (raw text or any decoded JSON/TOML string) and the live MCP entry launches another install root: the wiring was moved outside setup. Apply then refuses with cause setup_receipt_stale and writes nothing. amem setup <target> --apply --adopt-current keeps the receipt as <target>.json.stale-<UTC time> in the setup directory and applies through the receipt-less path, so --undo restores the adopted wiring. A receipt that still has any trace of its runtime stays authoritative. This replaces the manual receipt rename used on 2026-11-03.
Compatibility with N-1 (0.20.2), #246: receipt format v1/v2 and undo semantics are unchanged, so 0.20.2 reads every receipt this release writes; it ignores *.json.stale-* files and has no --adopt-current. No memory format or floor changes.