Skip to content

Commit 2b1dc9f

Browse files
document Code Review agent in memory package README and CHANGELOG
1 parent f8ba586 commit 2b1dc9f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎packages/memory/CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Added
1111

1212
- `experimental.chat.messages.transform` hook that injects read-only enforcement reminder into Architect agent sessions, preventing file edits and non-readonly tool usage at the message level
13+
- Code Review agent (`ocm-code-review`) — read-only subagent for convention-aware code reviews with memory integration, invoked via Task tool
14+
- `/review` command that triggers the Code Review agent to review current changes
1315

1416
### Changed
1517

@@ -18,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1820
- `memory-plan-execute` now accepts optional `objective`, `phases`, and `findings` parameters and saves planning state inline before dispatching the plan, eliminating the need for a separate `memory-planning-update` call
1921
- Planning instruction appended to dispatched plans now directs Code agent to delegate planning updates to @Memory subagent
2022
- Updated Memory agent description to include planning state and session progress management
23+
- Updated Code Review agent description to accurately reflect its capabilities
2124

2225
## [0.0.6] - 2026-02-24
2326

‎packages/memory/README.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,16 @@ Planning state differs from memories: it stores temporary session data (objectiv
3030

3131
## Agents
3232

33-
The plugin bundles three agents that integrate with the memory system:
33+
The plugin bundles four agents that integrate with the memory system:
3434

3535
| Agent | ID | Mode | Description |
3636
|-------|----|------|-------------|
3737
| **Code** | `ocm-code` | primary | Primary coding agent with memory awareness. Checks memory before unfamiliar code, stores architectural decisions and conventions as it works. Delegates planning operations to @Memory subagent. |
3838
| **Architect** | `ocm-architect` | primary | Read-only planning agent. Researches the codebase, delegates to @Memory for broad knowledge retrieval, designs implementation plans, then hands off to Code via `memory-plan-execute`. |
3939
| **Memory** | `ocm-memory` | subagent | Expert agent for managing project memory and planning state. Handles post-compaction memory extraction, contradiction resolution, planning state updates, and cross-session plan searches. |
40+
| **Code Review** | `ocm-code-review` | subagent | Read-only code reviewer with access to project memory for convention-aware reviews. Invoked via Task tool to review diffs, commits, branches, or PRs against stored conventions and decisions. |
41+
42+
The Code Review agent is a read-only subagent (`temperature: 0.0`) that can read memory but cannot write, edit, or delete memories or execute plans. It is invoked by other agents via the Task tool to review code changes against stored project conventions and decisions.
4043

4144
The Architect agent operates in read-only mode (`temperature: 0.0`, all edits denied) with additional message-level read-only enforcement via the `experimental.chat.messages.transform` hook. After the user approves a plan, it calls `memory-plan-execute` which saves planning state and creates a new Code session with the full plan as context. Code and Architect agents delegate `memory-planning-update` and `memory-planning-search` to the Memory subagent.
4245

0 commit comments

Comments
 (0)