Skip to content

feat: add bounded agent compact memory - #33

Merged
christopherjnelson merged 2 commits into
mainfrom
feat/0026-agent-compact-memory
Aug 23, 2026
Merged

feat: add bounded agent compact memory#33
christopherjnelson merged 2 commits into
mainfrom
feat/0026-agent-compact-memory

Conversation

@christopherjnelson

Copy link
Copy Markdown
Member

Summary

  • add one process-local compact memory ledger per agent, capped at eight canonical self-authored entries
  • issue deterministic agent-and-tick memory IDs with bounded text and authoritative creation/revision attribution
  • add keep, remember, revise, and forget to the existing single-inference flat contract and advance attribution to text-flat-json-v8
  • validate memory independently with stable capacity/not-found outcomes and frozen pre-tick, atomic commit semantics
  • preserve compatible snapshot, turn, schema-v10 export, and archive behavior while exposing read-only memory inspection in World Lab
  • document the contract in ADR 0019 while deferring semantic/vector retrieval, relationships, shared memory, restart persistence, scheduling, and extra inference

Validation

The repository owner confirmed the complete local validation gate is green:

  • pnpm format:check
  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • pnpm test:e2e

@christopherjnelson
christopherjnelson marked this pull request as ready for review August 23, 2026 13:33
@christopherjnelson
christopherjnelson merged commit 7a534b8 into main Aug 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant