Closed
Labels
area:backendHost-side implementationHost-side implementationfeature:memoryPersonaBot Memory Repository and Memory ServicePersonaBot Memory Repository and Memory Serviceready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Description
Parent
What to build
As a Human who revised PERSONA.md on a long-lived bot, I want the next compaction to pick up the new voice, so that I never need a restart to be heard. As a Human who changed nothing, I want compaction to leave the voice byte-identical.
Acceptance criteria
- Changed PERSONA.md plus one compaction -> new turns use the new version and the snapshot record advances.
- Unchanged PERSONA.md plus one compaction -> the snapshot record is untouched.
- Rest-of-prefix bytes are unchanged across the refresh.
- The refresh observes existing session compaction events; no new seams.
Blocked by
None (can start immediately; shares no code path with the turn-annotation track).
Metadata
Metadata
Assignees
Labels
area:backendHost-side implementationHost-side implementationfeature:memoryPersonaBot Memory Repository and Memory ServicePersonaBot Memory Repository and Memory Serviceready-for-agentFully specified, ready for an AFK agentFully specified, ready for an AFK agentscope:tracerHuman-testable implementation sliceHuman-testable implementation slice
Activity
DoodleBears commentedon Sep 26, 2026
Agent work claim
DoodleBears commentedon Sep 26, 2026
Agent work outcome
test evidence: live-verification PNGs for #327/#328/#329
DoodleBears commentedon Sep 26, 2026
Live verification (isolated 0.1.7-rc.2 Host, deepseek-flash, low pressure threshold)
Snapshot row flipped v1 to v2 with a fresh timestamp exactly at the compaction boundary; the only writer of that row is the compaction/end handler, so the event demonstrably arrived with that exact type string (also confirmed in the dsh-compaction-basic bundle binary; absent from its typings).
Post-compaction question answered CERULEAN-7 from the refreshed snapshot. Identical-content, unowned, and wrong-bot cases assert no-op in unit tests.
Verdict: PASS. Note: DSH writes no compaction markers to Host stdout; DB row + behavior are the observable proxies.
feat(memory): out-of-band turn-annotation, persona-freeze note, compa…
test evidence: live-verification PNGs for #327/#328/#329