feat(cli): add project memory integration#11364
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b97010a604
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Code Review SummaryStatus: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)No new issues in the incremental diff since Other Observations (not in diff)Issues found in unchanged code that cannot receive inline comments:
Files Reviewed (1 file)
Fix these issues in Kilo Cloud Previous Review Summaries (4 snapshots, latest commit 9713ad9)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 9713ad9)Status: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)These warnings are in incremental-only Files Reviewed (24 files)
Fix these issues in Kilo Cloud Previous review (commit e0a734e)Status: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)These warnings are in incremental-only Files Reviewed (24 files)
Fix these issues in Kilo Cloud Previous review (commit 71882a3)Status: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)These warnings are in incremental-only Files Reviewed (24 files)
Fix these issues in Kilo Cloud Previous review (commit 5ec40fc)Status: No Issues Found | Recommendation: Merge All three previously flagged issues have been resolved in commit
Files Reviewed (62 files)
Reviewed by gpt-5.4-20260305 · 243,311 tokens Review guidance: REVIEW.md from base branch |
13cf5d9 to
5ec40fc
Compare
7194bf7 to
e7e9efe
Compare
e0a734e to
9713ad9
Compare
9713ad9 to
794189b
Compare
Issue
No linked issue. Follow-up CLI integration PR stacked on #11355.
Context
#11355 adds the core project memory package. This PR wires that package into the CLI so project memory is available from the TUI, agent prompts, server API, SDK, and Kilo-specific tools.
The goal is to keep the reusable memory implementation in the base PR while making the CLI consume it through Kilo-owned integration points where possible.
Implementation
memory_saveandmemory_recalltools plus prompt/tool-registry integration so agents can persist and retrieve project context.packages/opencode/src/kilocode/.Reviewer attention
Screenshots / Video
How to Test
Manual/local verification
Agent verification performed:
git push -u origin johnnyeric/memory-cli-integrationran the pre-push hook.bun turbo typechecksuccessfully across the workspace.Reviewer test steps
packages/opencode/, run the focused memory tests, for examplebun test ./test/kilocode/memory/memory-core.test.ts ./test/kilocode/memory/memory-capture.test.ts ./test/kilocode/memory/memory-save-tool.test.ts ./test/kilocode/memory/memory-recall-tool.test.ts ./test/kilocode/server/httpapi-memory.test.ts.Checklist
Depends on #11355.