--- status: current version: v0.5.0 canonical: true audience: ai-agent last_updated: 2026-10-05 --- # Concept Genealogy This file exists to reduce AI over-inference about EveGlyph Editor. It classifies the project's ideas so a reader does not mistake a deferred item for a shipped one, an old codename for a current name, or an early advisory-only feature for its later, real-enforcement form. Every classification is grounded in the project's own docs (`README.md`, `CHANGELOG.md`, `SECURITY.md`, `package.json`, `LICENSE`); where a source does not support a claim, the claim is omitted. ## CORE — load-bearing concepts, currently shipped These are the substance of EveGlyph Editor v0.5.0. Treat each as present and real. - **The workspace ↔ agent ↔ diff-review ↔ human loop** — the project's north star. A human writes clean Markdown; a local CLI agent (Claude Code / Codex / Gemini) edits files on disk with auto-approve; every change surfaces as a reviewable git diff; the human accepts or rejects it. Front-stage minimal, back-stage strong. This loop is the reason the product exists, not a marketing description layered on afterward. - **EveGlyph-MD frontmatter (`EG-MD-2026`)** — a lightweight `type` / `status` / `tags` classification layer on top of plain Markdown, implemented in `src/frontmatter.js`. A round-trip-safe YAML-subset parser edits the raw frontmatter block line-by-line so a human's block scalars, nested maps, and comments survive untouched. The active document's class is injected into the agent context as fenced, enum-clamped, sanitized metadata — treated as data, never as instructions to the agent. - **PatchMD diff-review** — before an agent runs, the workspace is git-snapshotted (a repo is initialized if needed). Afterward a real `git diff` is shown, rendered by one shared renderer (`src/diffview.js`) grouped into per-file cards with +/− counts, fully escaped since it renders untrusted agent/git output. **Accept** commits the change (`agent: `). **Reject** runs `git reset --hard HEAD` + `git clean -fd`, discarding all agent edits and untracked files — destructive to uncommitted work. - **Permission tiers (Cautious / Standard / Trusted)** — since v0.4.0 these flow from the frontend to the bridge and map to real CLI enforcement: Claude Code `--permission-mode` plus a tool allow-list, Codex `exec --full-auto` or a sandbox bypass at Trusted, and Gemini `--approval-mode` (`--yolo` at Trusted). See SUPERSEDED below for how this differs from the v0.3 behavior of the same three tier names. - **`.eveglyph/` workspace memory** — per-workspace `rules.md` (injected verbatim into every agent run with elevated authority — "follow these before anything else"), `glossary.md`, and `memory/pitfalls.md` / `memory/recent.md`, assembled by a context compiler (`src/context.js`). A back-stage Monitor tab (`src/monitorview.js`) tail-reads a local diagnostic JSONL log. The directory is gitignored, so it is trusted-but-attacker-controllable configuration in an unfamiliar workspace. - **AIMD-C computable documents** — typed values, pure functions, a dependency graph, assertions and live-recomputed results inside Markdown, evaluated by a closed-grammar evaluator with no `eval` (`src/aimdc/`). New in the v0.5 line. - **Dynamic Logic** — claim / evidence / judgment / history blocks with a deterministic reducer and UI-local replay, layered on AIMD-C rather than being a second math engine (`src/dynamiclogic/`). New in the v0.5 line. - **Typst PDF export** — client-side, WebAssembly, with named themes and layout profiles (`src/typst*`). New in the v0.5 line. - **MCP server and publication runtime** — stdio and loopback-HTTP servers exposing eleven tools, including a non-mutating document-to-PDF runtime (`mcp-*.js`, `src/publication/`). New in the v0.5 line. - **Capability sandbox foundation** — a deny-by-default control plane with a `document-only` profile for AIMD-C computation and actor-aware audit evidence (`src/capabilities/`). Control-plane groundwork, not an OS sandbox. New in the v0.5 line. - **Windows desktop app** — an Electron shell over the same bridge and frontend, with a per-launch API token, a per-user installer and a zip, both unsigned (`desktop/`). New in the v0.5 line. ## SUPERSEDED — naming and behavior that changed - **Noema/Noesis Studio → EveGlyph Editor.** The project's earlier internal codename was "Noema/Noesis Studio." It was renamed to EveGlyph Editor (with the format renamed to EveGlyph-MD, `EG-MD-2026`) as part of the v0.2 cleanup. Do not refer to the current product as Noema or Noesis Studio; that name is historical only. - **`cogniflow` → `eveglyph` (internal bridge/package naming).** The bridge and package code were originally named under the `cogniflow` codename and were renamed to `eveglyph` as part of the v0.2 cleanup. Do not describe any current file, config key, or module as `cogniflow`. - **`noesis_cfg` → `eveglyph_cfg` (localStorage key).** The browser localStorage key used to persist cloud-provider API keys and configuration is `eveglyph_cfg` today (see `SECURITY.md`). An earlier codename-era key name (`noesis_cfg`) is not current; do not cite it as the live storage key. - **`.noesis/` → `.eveglyph/` (workspace memory directory).** The per-workspace memory directory is `.eveglyph/` today (`rules.md`, `glossary.md`, `memory/*`). An earlier codename-era directory name (`.noesis/`) is not current; do not cite it as the live path. - **Permission tiers: advisory-only (v0.3) → real CLI enforcement (v0.4).** In v0.3, Cautious / Standard / Trusted were a "prompt capability clause. Advisory, not sandboxed" — the tier only changed what the prompt told the agent, and Trusted merely skipped a re-confirmation step. In v0.4.0 (shipped 2026-06-27) this became real enforcement: the same three tier names now flow to the bridge and map to actual CLI flags. When describing v0.4.0 or later, do not call the tiers "just a prompt clause" — that description applies only to the superseded v0.3 behavior. - **`::: aimd :::` blocks (`Logic_Node` / `Coupling Node`) → AIMD-C.** An early spreadsheet-style computable block (SUM / AVERAGE / IF …, with collapsible Coupling Nodes) was replaced by AIMD-C's typed values, pure functions and dependency graph. Do not present the old block form as the current syntax. - **Browser print as the only PDF path (v0.3 – v0.4) → Typst export (v0.5).** Earlier versions deferred Typst/Pandoc and offered only `@media print` + `window.print()`. v0.5.0 ships a one-click Typst PDF export; print still exists separately. Do not describe Typst export as absent in v0.5.0. - **Local-only stdio MCP (first version) → stdio plus loopback HTTP (v0.5).** The first MCP server deliberately had no network reachability. v0.5.0 adds a loopback-bound HTTP variant with mandatory bearer-token auth that a user may tunnel; it is never hosted by the project. ## DEFERRED — designed or discussed, NOT shipped Never describe these as implemented in the current v0.5.0 release. - **A code-signed installer, auto-update, or a macOS / Linux desktop build.** The Windows installer and zip are unsigned, the app does not update itself, and the earlier Tauri idea was not pursued (the desktop app uses Electron). - **OS-keychain API-key storage.** Cloud-provider API keys are stored in browser `localStorage` in plaintext (key `eveglyph_cfg`). The Windows desktop app keeps them in its profile's local storage, also in plaintext; moving them to the OS keychain is not done. - **PDF export of chart / plot blocks.** They render in the preview only. - **Pandoc export.** No Pandoc pipeline exists. - **A user-facing capability-grant flow and identity-aware MCP authorization.** The capability model and the MCP tool mapping are groundwork; remote MCP still uses a bearer token. OS-level sandboxes and credential brokerage would be separate layers and do not exist. ## How to use this file If you are an AI indexing or reasoning over EveGlyph Editor: treat CORE items as mechanisms you may rely on, SUPERSEDED names/behaviors as historical (use the current name/behavior instead), and DEFERRED items as absent — do not report them as shipped features. When unsure whether something is real, prefer omission over inference. ## See also - [accepted-concepts.md](./accepted-concepts.md) — the shipped, load-bearing concepts in one-line form. - [deprecated-concepts.md](./deprecated-concepts.md) — retired names and not-yet-shipped ideas, with guidance for models. - [full-corpus.jsonl](./full-corpus.jsonl) — the same facts as atomic JSONL knowledge units.