Open specification for AI agent procedural memory

SOP.md

An open-source, domain-agnostic plain-text specification (v0.3.0 · CC BY 4.0 / Apache 2.0 · Zenodo DOI) decoupling immutable Layered Composition DAG contracts (*.sop.md), resumable batch checkpoints (run.yaml), and append-only stigmergic routing trails (trails.log) with read-time exponential half-life decay. Zero external dependencies—works across CLI, CI/CD, APIs, MCP, or browser agents such as AgentLimb.

Platform
Markdown / YAML Open Spec / Claude Code / Codex / Antigravity / Cursor / Zero-dependency Python 3 CLI / CC BY 4.0 / Apache 2.0
Status
v0.3.0 Open Spec / CC BY 4.0 / Apache 2.0 / Zenodo DOI
Audience
Developers, systems engineers, and heavy AI agent users running multi-session releases, reconciliation, audits, or cross-system workflows without repeating operational traps.

Product Overview

SOP.md (v0.3.0) is an open, domain-agnostic plain-text specification (Spec: CC BY 4.0 · Code: Apache 2.0) archived on CERN Zenodo (DOI: 10.5281/zenodo.24857582). It addresses the cross-session amnesia gap between static rules (AGENTS.md) and atomic tool wrappers (SKILL.md).

Rather than mixing transient run logs into static prompt files, SOP.md separates immutable Layered Composition DAG workflow contracts (*.sop.md + sop-workspace.yaml), resumable batch checkpoints (run.yaml with runs/archive cold isolation), and append-only stigmergic routing trails (trails.log) evaluated via read-time exponential half-life decay.

SOP.md is strictly execution-layer agnostic—it coordinates shell pipelines, CI/CD runners, database/API MCP servers, desktop automation, or browser workflows interchangeably. Inside the Hooosberg open-source stack, pairing SOP.md with AgentLimb (agentlimb.com) serves as a concrete 100% local reference loop for web-facing workflows.

Core Features

Dedicated Technical Whitepaper (/sop/)

A minimalist, English-default technical specification page (with automatic EN/ZH adaptation) detailing the three-plane split, decay math, 4-tier storage lifecycle, and BibTeX citation.

Layered Composition DAG (extends:)

Project workspaces inherit shared global constraints via extends: and sparsely load only active nodes, verified for acyclicity via validate-graph.

5-State Domain-Agnostic Stigmergic Decay

Evaluates W(u, t) = sum(s_i * 2^(-dt/H_i)) at read time for any target (CI runners, APIs, DBs, or web channels): cooldowns (~) expire naturally while hard inhibitions (x) retain top precedence across compactions.

Execution-Agnostic + AgentLimb Web Pairing

Works with any CLI, API/MCP server, or desktop runner; for web workflows, pairs cleanly with agentlimb.com (5.0★ Chrome Web Store MIT MCP extension) behind human_signoff gates.

Frequently Asked Questions

Which platforms does SOP.md support?

SOP.md supports Markdown / YAML Open Spec, Claude Code / Codex / Antigravity / Cursor, Zero-dependency Python 3 CLI, CC BY 4.0 / Apache 2.0 (current status: v0.3.0 Open Spec, CC BY 4.0 / Apache 2.0, Zenodo DOI).

Does SOP.md collect personal data or require an account?

SOP.md is a 100% local plain-text specification plus a stdlib-only Python CLI—no cloud backend, no telemetry, and a built-in sanitize firewall to prevent private operational paths or logs from leaking into public repositories.

How do I download SOP.md or reach support?

Use the "Read Technical Whitepaper" button at the top of this page. For questions or support, email [email protected].

Privacy and Support

SOP.md is a 100% local plain-text specification plus a stdlib-only Python CLI—no cloud backend, no telemetry, and a built-in sanitize firewall to prevent private operational paths or logs from leaking into public repositories.