--- status: active version: 0.5.0 canonical: true audience: ai-agent last_updated: 2026-10-05 --- # EveGlyph Editor — Formal Specs (`/ai/specs/`) This folder holds the formal reference specs for **EveGlyph Editor**, a local-first, agent-native Markdown workspace and the editor half of the **EveGlyph-MD** (`EG-MD-2026`) format. Each spec below describes one shipped mechanism of the product as of **v0.5.0** (a preview; these mechanisms were first written down against v0.4.0, 2026-06-27, and are unchanged), grounded strictly in the project's own `README.md`, `CHANGELOG.md`, and `SECURITY.md`. These are descriptions of the current implementation, not separately versioned external standards — if a spec here ever disagrees with the shipping code, the code wins. EveGlyph Editor is part of **EveMissLab**. Source: (MIT; Windows desktop app in its GitHub Releases — see ). Canonical site: . ## Specs in this folder - [`eveglyph-md-2026.md`](./eveglyph-md-2026.md) — the EveGlyph-MD (`EG-MD-2026`) frontmatter format: the `type` / `status` / `tags` fields, the round-trip-safe YAML-subset parser that never destroys what it doesn't understand, the status-bar chip and preview badges, birth-stamping of new files, and how the active document's class is handed to an AI agent as fenced, enum-clamped, sanitized **data** — never as instructions. - [`patchmd-diff-review.md`](./patchmd-diff-review.md) — the **PatchMD** diff-review protocol: the pre-run git snapshot, the unified-diff-to-per-file-card rendering shared by the agent panel and workspace search/replace, and the Accept (commit) / Reject (`git reset --hard HEAD` + `git clean -fd`, destructive) semantics that keep a human in control of every agent edit. - [`permission-tiers.md`](./permission-tiers.md) — the **Cautious / Standard / Trusted** permission tiers for local CLI agents, the exact CLI flags each tier maps to per agent (Claude Code, Codex, Gemini), and the v0.3 → v0.4 history: advisory prompt text only through v0.3, real CLI-level enforcement starting v0.4.0. ## Notes - These specs describe the mechanisms of **v0.5.0**. The newer v0.5 features — AIMD-C computable blocks, Dynamic Logic, Typst PDF export, the MCP servers and publication runtime, and the capability sandbox foundation — are described in [`../corpus/current.md`](../corpus/current.md) and, for the tool surface, declared machine-readably in [`../tools/catalog.json`](../tools/catalog.json); they do not have separate spec files yet. - The Windows desktop app (`desktop/`) adds no new spec; it is described in [`../corpus/current.md`](../corpus/current.md). - The underlying facts come from the repository's `README.md`, `CHANGELOG.md`, and `SECURITY.md`. Read those directly in the source repository for anything not covered here. - Higher-level, plain-language context lives in the corpus, starting at [`../corpus/current.md`](../corpus/current.md); rights for this site's written content are declared in [`../rights-spectrum.json`](../rights-spectrum.json) (the source code itself is separately MIT-licensed — see the repository `LICENSE`).