Commit f765733
committed
specs: add goal, design, and requirements for compaction identity
* Define the compaction identity preservation and
structured state survival feature specification
* Goal covers root cause hypothesis for agent
identity drift after compaction (conversational
frame override, compaction model infidelity,
minimal reinforcement)
* Requirements specify 17 acceptance criteria
across identity reinforcement, todo injection,
cache preservation, graceful degradation, and
backward compatibility
* Design details buildIdentityReinforcement() and
buildPostCompactionContext() helpers, injection
into auto-continue user messages (not system
prompt), and 11 correctness properties1 parent 78f37a0 commit f765733
3 files changed
Lines changed: 666 additions & 0 deletions
0 commit comments