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.
mdr add volcengine/openviking/examples/codex-memory-plugin/DESIGN.md@git:20261012.9093583Pins 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
mdr add volcengine/openviking/examples/codex-memory-plugin/DESIGN.md@sha256:01c7a993e17ad8d6The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.9093583 latest | 2026-10-12 | 9093583 | 32,817 B | A | view · diff |
| git:20261009.71bd217 | 2026-10-09 | 71bd217 | 32,573 B | A | view · diff |
| git:20260925.276dfff | 2026-09-25 | 276dfff | 32,559 B | A | view · diff |
| git:20260922.b7d0415 | 2026-09-22 | b7d0415 | 31,709 B | A | view · diff |
| git:20260915.aa3ee2f | 2026-09-15 | aa3ee2f | 31,476 B | A | view · diff |
| git:20260908.58bafa5 | 2026-09-08 | 58bafa5 | 31,129 B | A | view · diff |
| git:20260831.7200cdb | 2026-08-31 | 7200cdb | 30,749 B | A | view · diff |
| git:20260826.a61c57b | 2026-08-26 | a61c57b | 21,141 B | A | view · diff |
| git:20260821.9042a02 | 2026-08-21 | 9042a02 | 19,098 B | A | view · diff |
| git:20260811.7e26fab | 2026-08-11 | 7e26fab | 18,426 B | A | view · diff |
| git:20260805.2cc96e3 | 2026-08-05 | 2cc96e3 | 18,330 B | A | view |
Audit of the latest version
- 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
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.