DESIGN.md@examples/codex-memory-pluginA

DESIGN.md@examples/codex-memory-plugin from volcengine/openviking is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add volcengine/openviking/examples/codex-memory-plugin/DESIGN.md@git:20261012.9093583

Pins git:20261012.9093583 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
volcengine/openviking
Path
examples/codex-memory-plugin/DESIGN.md
Versions recorded
11
Latest version
git:20261012.9093583, committed Oct 12, 2026
First version recorded
Aug 5, 2026
Size
32,817 bytes
Repository stars
41,589
License
AGPL-3.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Codex memory plugin — commit decision design

This document records *why* the plugin commits when it commits. The commit
shape (which OpenViking session is sealed by which hook event) is the part
worth understanding before reading code: `SessionEnd` gives us a
deterministic end signal for graceful exits, but it does not cover signals,
crashes or older Codex builds, so we still reason about which observable
events imply "context for a particular codex `session_id` is gone".

## Vocabulary

- **codex `session_id`** — the codex thread/session id. Stable across
  process restarts when zouk-daemon resumes the same thread; replaced when
  `/clear`, `/new`, fresh codex startup, or zouk reset occurs.
- **OV session** — `viking://user/sessions/cx-<codex-session-id>`. New captures
  derive the OV session id from the codex `session_id` with a `cx-` prefix,
  append messages on every `Stop`, and commit it (which triggers OV's
  memory extractor) at session-end-equivalent moments. `/messages`
  auto-creates the OV session, so the plugin does not call session create.
- **State file** — `~/.openviking/codex-plugin-state/<safe-codex-session-id>.json`,
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add volcengine/openviking/examples/codex-memory-plugin/DESIGN.md@sha256:01c7a993e17ad8d6

The line at the top of this page pins the label git:20261012.9093583, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_xr5ydsemz7ofgq3f.svg)](https://markdownregistry.com/a/art_xr5ydsemz7ofgq3f)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 11 versions of this file, between Aug 5, 2026 and Oct 12, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20261012.9093583 latest2026-10-12 9093583 32,817 BA view · diff
git:20261009.71bd2172026-10-09 71bd217 32,573 BA view · diff
git:20260925.276dfff2026-09-25 276dfff 32,559 BA view · diff
git:20260922.b7d04152026-09-22 b7d0415 31,709 BA view · diff
git:20260915.aa3ee2f2026-09-15 aa3ee2f 31,476 BA view · diff
git:20260908.58bafa52026-09-08 58bafa5 31,129 BA view · diff
git:20260831.7200cdb2026-08-31 7200cdb 30,749 BA view · diff
git:20260826.a61c57b2026-08-26 a61c57b 21,141 BA view · diff
git:20260821.9042a022026-08-21 9042a02 19,098 BA view · diff
git:20260811.7e26fab2026-08-11 7e26fab 18,426 BA view · diff
git:20260805.2cc96e32026-08-05 2cc96e3 18,330 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (32817 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

volcengine/openviking · 41,589 stars · license AGPL-3.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_xr5ydsemz7ofgq3f
GET https://markdownregistry.com/api/v1/resolve?ref=volcengine/openviking/examples/codex-memory-plugin/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/01c7a993e17ad8d6ecc63fc409be4f56572c554245dd81a2a75792f80e25bb7b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what DESIGN.md is and how agents use it · which agent file does what.

More from volcengine/openviking

openviking-memory SKILL.md skill
volcengine/openviking · agent-plugins/skills/openviking-memory/SKILL.md · Recall and persist long-term memory through the OpenViking MCP tools. Use at the start of any substantive task (coding…
git:20261014.46e15a2 · audit A · 41,589 stars
openviking-skills SKILL.md skill
volcengine/openviking · agent-plugins/skills/openviking-skills/SKILL.md · Find, use, create, install, share, update, and migrate agent skills stored in OpenViking (viking://~/skills and…
git:20261102.88c72b9 · audit A · 41,589 stars
ov-experience-memory SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-experience-memory/SKILL.md · Retrieve and apply OpenViking Experience memories through the Agent runtime's generic OpenViking search and read tools…
git:20261001.0fabc5e · audit A · 41,589 stars
ov-kanban SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-kanban/SKILL.md · Work through tasks on a kanban board stored in OpenViking (viking://agent/kanban/<board>/, one markdown file per task)…
git:20260929.5b23459 · audit A · 41,589 stars
ov-memory-troubleshoot SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-memory-troubleshoot/SKILL.md · Diagnose OpenViking memory issues by tracing backward from a memory file to its archive memory_diff.json and, when…
git:20260910.e03ce0a · audit A · 41,589 stars
ov-resources SKILL.md skill
volcengine/openviking · agent-plugins/skills/ov-resources/SKILL.md · Search and read documents, repos, URLs, and other resources stored in OpenViking under viking://resources/. Use…
git:20261102.88c72b9 · audit A · 41,589 stars
experience_loader SKILL.md skill
volcengine/openviking · benchmark/tau2/train/experience_loader_template/SKILL.md · Load relevant OpenViking experience memories via case-linked experience candidates before solving a task.
git:20260703.fd73dcf · audit A · 41,589 stars
cron SKILL.md skill
volcengine/openviking · bot/workspace/skills/cron/SKILL.md · Schedule reminders and recurring tasks.
git:20260228.006a06f · audit A · 41,589 stars
github-proxy SKILL.md skill
volcengine/openviking · bot/workspace/skills/github-proxy/SKILL.md · GitHub 国内访问加速 skill,使用 githubproxy.cc 代理加速 GitHub 仓库克隆、文件下载、Raw 文件访问等操作。使用场景:(1) 需要 git clone GitHub 仓库时加速,(2) 下载…
git:20260228.006a06f · audit A · 41,589 stars
github SKILL.md skill
volcengine/openviking · bot/workspace/skills/github/SKILL.md · Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and…
git:20260228.006a06f · audit A · 41,589 stars
opencode SKILL.md skill
volcengine/openviking · bot/workspace/skills/opencode/SKILL.md · Monitor and manage your OpenCode tasks using helper scripts.
git:20260309.c4cdb5f · audit A · 41,589 stars
skill-creator SKILL.md skill
volcengine/openviking · bot/workspace/skills/skill-creator/SKILL.md · Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
git:20260228.006a06f · audit A · 41,589 stars

Every file in volcengine/openviking

Browse by kind, by grade A, or by owner.