Skip to content

Commit aeb3dd0

Browse files
committed
feat: add codex repository adapter
1 parent 2bd3b56 commit aeb3dd0

14 files changed

Lines changed: 156 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 0.29.0 - 2026-04-06
4+
5+
- added a codex-repo adapter for recursive AGENTS.md and AGENTS.override.md repository scopes
6+
- added fixtures and roundtrip coverage for Codex repository instruction layouts
7+
38
## 0.28.0 - 2026-03-29
49

510
- added a claude-code-memory adapter for recursive CLAUDE.md layouts, local overrides, and @path imports
@@ -170,3 +175,4 @@
170175
- added baseline tests
171176

172177

178+

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ This project solves that with a portable canonical memory package plus adapter-b
3636
- scaffold new adapter integrations with a generated starter template
3737
- run a local web UI for interactive migration workflows
3838
- migrate OpenHands repository customizations, scripts, skills, and microagents
39+
- migrate Codex repository-scoped AGENTS instructions and overrides
3940

4041
## Supported formats
4142

4243
- `generic-json`
4344
- `markdown-bundle`
44-
- `codex-memories`
45+
- codex-memories
46+
- codex-repo
4547
- `cline-memory-bank`
4648
- `cursor-rules`
4749
- `claude-code-memory`
@@ -161,3 +163,4 @@ See `CONTRIBUTING.md`.
161163

162164
MIT
163165

166+

fixtures/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ Available sample sets:
2121

2222
- claude-code-memory/: Modern Claude Code memory sample with imports, local overrides, and nested CLAUDE.md files
2323

24+
25+
- codex-repo/: Codex repository instructions sample with recursive AGENTS.md and AGENTS.override.md scopes
26+

fixtures/codex-repo/AGENTS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Root Agent Instructions
2+
3+
Use small commits and keep migration artifacts deterministic.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# API Scope
2+
3+
Prefer stable JSON outputs and explicit validation.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Web Scope
2+
3+
Favor simple UI interactions and local-first workflows.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Web Override
2+
3+
When touching the web console, preserve download and history behavior.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "memory-migrate-plugin"
7-
version = "0.28.0"
7+
version = "0.29.0"
88
description = "Open-source toolkit for migrating memories across AI agent systems."
99
readme = "README.md"
1010
requires-python = ">=3.11"
@@ -32,3 +32,4 @@ package-dir = {"" = "src"}
3232
[tool.setuptools.packages.find]
3333
where = ["src"]
3434

35+
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
__all__ = ["__version__"]
22

3-
__version__ = "0.28.0"
3+
__version__ = "0.29.0"
4+
45

src/memory_migrate_plugin/adapters/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from .claude_code_memory import ClaudeCodeMemoryAdapter
55
from .cline_memory_bank import ClineMemoryBankAdapter
66
from .codex_memories import CodexMemoriesAdapter
7+
from .codex_repo import CodexRepoAdapter
78
from .cursor_rules import CursorRulesAdapter
89
from .generic_json import GenericJsonAdapter
910
from .markdown_bundle import MarkdownBundleAdapter
@@ -14,6 +15,7 @@
1415
"GenericJsonAdapter",
1516
"MarkdownBundleAdapter",
1617
"CodexMemoriesAdapter",
18+
"CodexRepoAdapter",
1719
"ClineMemoryBankAdapter",
1820
"CursorRulesAdapter",
1921
"ClaudeProjectAdapter",

0 commit comments

Comments
 (0)