Skip to content

feat(coding-agent): add OpenViking memory backend#5254

Open
pppobear wants to merge 14 commits into
can1357:mainfrom
pppobear:feat/openviking-memory-backend
Open

feat(coding-agent): add OpenViking memory backend#5254
pppobear wants to merge 14 commits into
can1357:mainfrom
pppobear:feat/openviking-memory-backend

Conversation

@pppobear

Copy link
Copy Markdown

Summary

  • add OpenViking as a first-class memory backend with recall, retain, reflect, learn, automatic session capture, and memory:// document access
  • isolate memory by workspace-derived peers while supporting explicit peers, cross-project recall, compatible server profiles, and safe cursor migration
  • harden two-phase archive/extraction handling, cancellation, lifecycle transitions, live settings reconciliation, and secret display
  • document the final OpenViking behavior and consolidate changelog entries under Unreleased

Why

OpenViking previously was not available through the coding agent's shared memory contract. This adds the backend while preserving workspace isolation, avoiding duplicated or lost transcript writes across failures and session transitions, and keeping parent/subagent memory state consistent.

Validation

  • bun check
  • 537 changed-area tests across 26 test files
  • git diff --check

@github-actions github-actions Bot added the vouched Passed the vouch gate label Jul 12, 2026
@roboomp roboomp added agent Agent runtime planning and orchestration cli CLI commands and arguments feat review:p2 sdk SDK and extension integration surface tool Tool behavior and integrations triaged tui Terminal UI rendering and display labels Jul 12, 2026

@roboomp roboomp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 — coherent but large first-class feature spanning 81 files and multiple public/runtime surfaces, so it needs explicit maintainer intent rather than a merge-on-glance recommendation.
No concrete blocking defect found in the reviewed OpenViking protocol, lifecycle, isolation, settings, tool, and TUI paths. bun check passed; focused config, client, protocol, and settings/TUI tests passed. The backend/SDK-focused test files could not start in this checkout because the pre-existing generated src/export/html/tool-views.generated.js asset is absent.
Thanks for the extensive implementation and contract-level coverage, @pppobear.

@pppobear

Copy link
Copy Markdown
Author

Hi @can1357 when you have a moment, could you please take a look at this PR? It adds the OpenViking memory backend and has passed the focused checks. Given its broader scope, I’d appreciate your guidance on whether the direction and scope are a good fit for the project. Thanks!

@pppobear pppobear force-pushed the feat/openviking-memory-backend branch from 03c0e5f to 0a3e2a4 Compare July 15, 2026 12:33

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a3e2a42f3

ℹ️ 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".

Comment thread packages/coding-agent/src/tools/learn.ts Outdated
Comment thread packages/coding-agent/src/session/agent-session.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fd8f5e4949

ℹ️ 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".

Comment thread packages/coding-agent/src/openviking/state.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c88fc4f411

ℹ️ 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".

Comment thread packages/coding-agent/src/openviking/client.ts Outdated
@pppobear pppobear force-pushed the feat/openviking-memory-backend branch from c88fc4f to 2b73b43 Compare July 15, 2026 15:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2b73b43a80

ℹ️ 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".

Comment thread packages/coding-agent/src/openviking/client.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent Agent runtime planning and orchestration cli CLI commands and arguments feat review:p2 sdk SDK and extension integration surface tool Tool behavior and integrations triaged tui Terminal UI rendering and display vouched Passed the vouch gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants