A parked session was keyed on the client's instructions as written. agy
keeps the instructions a session was opened with, so a Codex conversation
parked under 0.1.47 (whose "You are a coding agent running in the Codex
CLI" line went to agy as written, and was turned away) was resumed after
0.1.48 began rewording that line, and every turn on it went on getting
429 for up to the 6h resume window. jx407 found this on #1151.
The parked hash is now taken over the instructions as agy is sent them
(outgoing: the turned-away lines reworded), with the same clock and billing
stripping as before. When the rewording changes, the parked session is not
taken and a new one is opened; when it doesn't, it resumes as before.
Run (WSL magpie-desktop, from the repo root, HOME a temp dir):
- packages/agy-cli `bun test`: 21 pass, 0 fail.
- node --test test/conversation-key.mjs: 34 pass, including the new
"#1151: a parked session is keyed on the instructions as agy was sent
them".
Broken by hand: with park/takeParked hashing instructionsIdentity again,
the new test fails (33 pass, 1 fail).
Not tried: a real agy session parked under 0.1.47 and resumed under this
version.