Skip to content

feat(codex): load shared memory on session start#3013

Open
amit-shafnir wants to merge 1 commit into
nanocoai:providersfrom
amit-shafnir:feat/codex-shared-memory
Open

feat(codex): load shared memory on session start#3013
amit-shafnir wants to merge 1 commit into
nanocoai:providersfrom
amit-shafnir:feat/codex-shared-memory

Conversation

@amit-shafnir

Copy link
Copy Markdown
Contributor

What

Adds the Codex counterpart for NanoClaw's provider-agnostic memory system from #3012.

  • Registers Codex's native SessionStart command hook for startup|clear|compact, excluding resume.
  • Preserves unrelated Codex hooks and refreshes only NanoClaw's canonical memory entry.
  • Explicitly disables Codex-native memory generation and use.
  • Leaves Codex native model instructions intact.
  • Stops injecting startup context on thread resume.
  • Simplifies AGENTS.md composition now that shared memory is delivered through the native hook.

Why

Codex should consume the same agent-owned memory tree as Claude without overriding its native instructions or maintaining a second provider-specific memory store.

Testing

Dependency

Companion core PR: #3012. The core PR provides the shared memory files, hook contract, and installer integration consumed by this provider implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-team PR opened by a core team member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant