This document translates the codex-mem v1 specification into a language-neutral implementation backlog.
It is not the normative spec. Instead, it provides a practical execution plan for building a conformant v1 implementation.
Normative reference:
- Use the spec to decide what is correct.
- Use this backlog to decide what to build first.
- Treat phases as dependency-ordered workstreams, not rigid release gates.
Build the smallest sequence of capabilities that produces a complete continuity loop:
- identify scope
- create session
- save structured notes
- save handoff
- bootstrap a later session from prior memory
- search scoped memory safely
- Foundation
- Core Continuity Loop
- Retrieval and Safety
- AGENTS Integration
- Conformance and Hardening
Create the basic identity, storage, and canonical object layer required by all later work.
- implement
system,project,workspace, andsessionidentity handling - implement identity resolution inputs and fallback order
- implement scope consistency validation rules
Depends on:
- create storage for systems, projects, workspaces, sessions, notes, handoffs, relations, and imports
- persist canonical fields and lifecycle states
- support provenance and timestamps
Depends on:
- map canonical objects to implementation data models
- preserve required fields and enum meanings
Depends on:
- scope can be resolved or safely degraded
- session records can be created
- notes and handoffs can be stored with full scope binding
- provenance and states are preserved
Deliver the first complete end-to-end continuity workflow.
- implement canonical scope resolution
- support warnings for weak or ambiguous identity
- implement fresh session creation
- ensure no ended session is revived
- validate scope/session consistency
- store high-value note with importance, status, and provenance
- support conservative dedupe behavior
- validate required fields
- support
final,checkpoint, andrecovery - preserve task summary, next steps, and status
- combine scope resolution, session creation, handoff retrieval, note retrieval, and startup brief synthesis
- ensure success even on first run with empty storage
Depends on:
- scope resolution
- session creation
- durable notes
- durable handoffs
- one session can bootstrap, write note(s), write handoff, and end
- a later session in the same workspace or project can recover continuity
- startup brief is generated from structured memory
Make the memory system reliably searchable, scope-safe, and privacy-safe.
- implement current-workspace and current-project retrieval
- support related-project expansion only under explicit policy
- label cross-project results clearly
Depends on:
- implement query-based search
- support zero-result success semantics
- rank by scope, state, importance, recency, and optional intent
- implement recent handoff and note retrieval
- prioritize continuity-related items
- implement full retrieval by id
- return error when the requested record is absent
- prevent private/do-not-store content from entering durable searchable memory
- ensure imports cannot reintroduce excluded content
- keep raw transcript-like artifacts out of the main memory index by default
Depends on:
- map warning and error conditions to stable categories
- return consistent degraded-but-usable outcomes
Depends on:
- memory can be searched safely within scope
- privacy exclusions are enforced
- cross-project retrieval is controlled and labeled
- warnings and errors are consistent
Integrate codex-mem into normal Codex workflow through safe AGENTS usage.
- package global and project AGENTS templates
- keep placeholders and usage expectations clear
Depends on:
- support global, project, or both targets
- support safe default mode
- support append or explicit overwrite modes
- report exactly what changed or was skipped
- support single-repo setup
- support multi-repo system setup
- allow explicit system/project metadata declaration
Depends on:
- AGENTS templates can be installed safely
- Codex can be guided into the intended memory workflow
- onboarding is usable for both single-repo and multi-repo cases
Validate that the implementation is truly v1-ready and robust under edge cases.
- implement or execute the conformance scenarios from the matrix
- verify empty store, same-project recovery, related-project retrieval, privacy exclusion, and AGENTS safety
Depends on:
- test rename, move, split, and merge scenarios
- verify identity continuity and non-silent migration behavior
Depends on:
- verify provenance is preserved for durable records
- verify exclusion and retrieval explanations exist in debug or audit paths
Depends on:
- implementation satisfies the v1 baseline
- conformance scenarios pass
- migration and identity edge cases behave predictably
- provenance and warnings are inspectable
- phase 1
- phase 2
- phase 3
- phase 4
- phase 5
If multiple people are involved, work can be grouped as:
- Identity and scope
- Storage and canonical objects
- Session continuity tools
- Retrieval and ranking
- Privacy and policy enforcement
- AGENTS integration
- Conformance and testing
Do not claim v1 readiness until the implementation can:
- bootstrap a new session with no prior memory
- write structured notes and handoffs safely
- recover useful continuity in a later session
- search memory within correct scope boundaries
- preserve privacy exclusions
- explain degraded or cross-project results through warnings and provenance