{
  "aicl_version": "0.1",
  "generated": "2026-10-05",
  "revision": "2026-10-05",
  "status": "active",
  "audience": "ai-agent, crawler, model-ingestion",
  "project": {
    "name": "EveGlyph Editor",
    "tagline": "A local-first, agent-native Markdown workspace — humans write clean Markdown, local CLI agents edit on disk, every change lands as a reviewable git diff.",
    "format": "EG-MD-2026",
    "version": "0.5.0",
    "release_state": "preview",
    "stability": "pre-1.0",
    "license": "MIT",
    "rights_holder": "EVEMISS TECHNOLOGY CO., LTD. (一言諾科技有限公司)",
    "author": "Neo.K (許筌崴)",
    "source_access": "public",
    "source_repository": "https://github.com/kakon77777-commits/EveMissLab-eveglyph-editor",
    "installer": "windows-x64-nsis-and-zip-unsigned",
    "releases_url": "https://github.com/kakon77777-commits/EveMissLab-eveglyph-editor/releases",
    "browser_demo": "https://eveglypheditor.com/#demo",
    "source_access_notice": "https://eveglypheditor.com/ai/source-access.md"
  },
  "canonical": {
    "domain": "eveglypheditor.com",
    "human_entry": "https://eveglypheditor.com/",
    "ai_entry": "https://eveglypheditor.com/ai/index.md",
    "llms_txt": "https://eveglypheditor.com/llms.txt"
  },
  "reading_order": [
    "/ai/index.md",
    "/ai/corpus/current.md",
    "/ai/corpus/origin.md",
    "/ai/corpus/design-history.md",
    "/ai/corpus/concept-genealogy.md",
    "/ai/corpus/accepted-concepts.md",
    "/ai/corpus/deprecated-concepts.md",
    "/ai/corpus/public-summary.md",
    "/ai/specs/index.md",
    "/ai/tools/catalog.json",
    "/ai/examples/basic.md",
    "/ai/governance/ai-learning-policy.md",
    "/ai/rights-spectrum.json"
  ],
  "corpus": [
    {
      "path": "/ai/corpus/origin.md",
      "title": "Origin",
      "purpose": "the problem EveGlyph Editor addresses and where it came from",
      "canonical": true
    },
    {
      "path": "/ai/corpus/current.md",
      "title": "Current state (v0.5.0)",
      "purpose": "calm, technical description of what ships today",
      "canonical": true
    },
    {
      "path": "/ai/corpus/design-history.md",
      "title": "Design history",
      "purpose": "v0.1 → v0.2 → v0.3 → v0.4 → v0.5 version lineage",
      "canonical": true
    },
    {
      "path": "/ai/corpus/concept-genealogy.md",
      "title": "Concept genealogy",
      "purpose": "core vs superseded vs deferred concepts (e.g. the cogniflow → eveglyph rename, ::: aimd ::: → AIMD-C)",
      "canonical": true
    },
    {
      "path": "/ai/corpus/accepted-concepts.md",
      "title": "Accepted concepts",
      "purpose": "engineered, load-bearing concepts (PatchMD, EveGlyph-MD frontmatter, workspace memory, AIMD-C, Dynamic Logic, Typst export, MCP, capability foundation)",
      "canonical": true
    },
    {
      "path": "/ai/corpus/deprecated-concepts.md",
      "title": "Deprecated / deferred concepts",
      "purpose": "ideas retired or not shipped — do not over-infer (e.g. no code-signed installer, no OS-keychain storage, no chart/plot PDF export)",
      "canonical": true
    },
    {
      "path": "/ai/corpus/public-summary.md",
      "title": "Public summary",
      "purpose": "short citable summary",
      "canonical": true
    },
    {
      "path": "/ai/corpus/full-corpus.jsonl",
      "title": "Full corpus (JSONL)",
      "purpose": "one knowledge unit per line for batch ingestion",
      "format": "application/x-ndjson",
      "canonical": true
    }
  ],
  "specs": [
    {
      "path": "/ai/specs/index.md",
      "title": "Spec index",
      "canonical": true
    },
    {
      "path": "/ai/specs/eveglyph-md-2026.md",
      "title": "EveGlyph-MD (EG-MD-2026) frontmatter format",
      "purpose": "the type / status / tags classification layer and its round-trip-safe YAML-subset parser",
      "canonical": true
    },
    {
      "path": "/ai/specs/patchmd-diff-review.md",
      "title": "PatchMD diff-review",
      "purpose": "git-snapshot → agent run → per-file diff card → Accept/Reject contract",
      "canonical": true
    },
    {
      "path": "/ai/specs/permission-tiers.md",
      "title": "Permission tiers",
      "purpose": "Cautious / Standard / Trusted and their real CLI-flag mapping (enforced since v0.4.0, unchanged in v0.5.0)",
      "canonical": true
    }
  ],
  "examples": [
    {
      "path": "/ai/examples/basic.md",
      "title": "Worked example — the workspace → agent → diff-review → human loop"
    }
  ],
  "tools": {
    "catalog": "/ai/tools/catalog.json",
    "runtime": "local-only-not-hosted",
    "note": "EveGlyph Editor has no hosted or public API. The catalog declares two LOCAL surfaces that exist only on an end user's own machine: (1) the /api/* bridge (vite-agent-bridge.js, a Vite plugin declared apply:'serve'), present only on the user's own machine — mounted by 'npm run dev' or, in the Windows desktop app, on a loopback-only server that also requires a per-launch token — and gated to localhost requests; and (2) the MCP servers (mcp-server.js over stdio, mcp-server-remote.js over HTTP bound to 127.0.0.1 with a mandatory bearer token), started by the user against a workspace folder they choose. Neither is part of a production build, publicly hosted, or network-reachable by default; the catalog is a declaration layer, not a reachable endpoint."
  },
  "rights": {
    "spectrum": "/ai/rights-spectrum.json",
    "learning_policy": "/ai/governance/ai-learning-policy.md",
    "license": "/ai/governance/license.md",
    "citation": "/ai/governance/citation-policy.md",
    "usage": "/ai/governance/usage-policy.md",
    "provenance": "/ai/governance/provenance.md",
    "versioning": "/ai/governance/versioning-policy.md",
    "crawler": "/ai/governance/crawler-policy.md"
  },
  "governance_summary": {
    "read_index_rag_summarize": "allowed with attribution",
    "non_commercial_training": "highly allowed (0.8 by default; 1.0 under /ai/)",
    "commercial_training_finetuning_distillation": "license_required — contact kakon77777@evemisslab.com",
    "verbatim_memorization": "not allowed",
    "style_imitation": "not allowed",
    "note": "This declaration governs eveglypheditor.com's WRITTEN CONTENT (marketing prose, /ai/corpus/, /ai/governance/) only. It does not narrow or restrict the separately MIT-licensed source code, which is already broadly reusable, including for AI training, under MIT's own terms. See /ai/governance/license.md."
  },
  "versions": [
    {
      "version": "0.5.0",
      "status": "current",
      "release_state": "preview",
      "stability": "pre-1.0",
      "date": "2026-10-05",
      "summary": "Computable and publishable documents: AIMD-C computable blocks and Dynamic Logic replay, KaTeX→MathJax fallback with a diagnostics panel, chart/plot blocks, client-side Typst PDF export with themes and layouts, a stdio and loopback-HTTP MCP server with a publication (PDF) runtime, a deny-by-default capability foundation, World IR views and an opt-in Studio, AI semantic search, Paper/Midnight/Studio themes, Custom CSS and an English/繁體中文 interface. Also ships as an unsigned Windows desktop app (Electron; per-user installer + zip)."
    },
    {
      "version": "0.4.0",
      "status": "superseded",
      "stability": "pre-1.0",
      "date": "2026-06-27",
      "summary": "Review-UX + real enforcement: unified per-file diff-review cards, Cautious/Standard/Trusted permission tiers wired to real CLI flags, live agent activity panel, onboarding + bundled examples/ workspace, stateful UTF-8 decoder fixing CJK mojibake."
    },
    {
      "version": "0.3.0",
      "status": "superseded",
      "stability": "pre-1.0",
      "date": "2026-06-18",
      "summary": "Agent-native workspace: .eveglyph/ memory + context compiler, Suggest/Patch/Direct agent modes, 8 presets, EveGlyph-MD frontmatter schema, DOCX→MD import, Monitor log viewer; permission tiers were advisory prompt text only."
    },
    {
      "version": "0.2.0",
      "status": "superseded",
      "stability": "pre-1.0",
      "summary": "Open-source cleanup: DOMPurify XSS guard, origin/CSRF guard, monitor rotation, encoding detect + per-file menu, PatchMD git diff-review, in-file find/replace."
    },
    {
      "version": "0.1.0",
      "status": "superseded",
      "stability": "pre-1.0",
      "summary": "Prototype: editor core (CodeMirror 6 + marked + KaTeX), file tree/tabs, Settings, local-agent bridge (Claude/Codex/Gemini), AI presets."
    }
  ],
  "snapshots": [
    {
      "path": "/ai/snapshots/latest.md",
      "title": "Latest snapshot"
    }
  ],
  "facts": {
    "product_code": "EG-MD-2026",
    "current_version": "0.5.0",
    "release_state": "preview",
    "license": "MIT",
    "permission_tiers": [
      "Cautious",
      "Standard",
      "Trusted"
    ],
    "permission_tier_enforcement": "real CLI enforcement since v0.4.0 (Claude Code --permission-mode + tool allow-list, Codex exec --full-auto, or --dangerously-bypass-approvals-and-sandbox at Trusted, Gemini --approval-mode / --yolo); advisory prompt text only before v0.4",
    "agent_modes": [
      "suggest",
      "patch (default)",
      "direct"
    ],
    "ai_providers": [
      "Anthropic (Claude)",
      "any OpenAI-compatible endpoint",
      "local CLI agent (Claude Code / Codex / Gemini)"
    ],
    "frontmatter_fields": [
      "type",
      "status",
      "tags"
    ],
    "workspace_memory_files": [
      ".eveglyph/rules.md",
      ".eveglyph/glossary.md",
      ".eveglyph/memory/pitfalls.md",
      ".eveglyph/memory/recent.md"
    ],
    "diff_review_flow": "git-snapshot before agent run -> agent runs with auto-approve -> git diff rendered as per-file cards with +/- counts -> Accept commits (agent: <message>) / Reject runs git reset --hard HEAD + git clean -fd",
    "agent_prompt_delivery": "stdin only, never as CLI arguments",
    "agent_timeout_seconds": 180,
    "api_key_storage": "browser localStorage, plaintext, key eveglyph_cfg",
    "diagnostics_log": "local JSONL file only, never sent over the network",
    "bridge_module": "vite-agent-bridge.js, apply:'serve' (mounted by 'npm run dev' or by the Windows desktop app on a loopback-only server; never in a production web build)",
    "desktop_app": "Windows only (Electron): per-user NSIS installer + zip on GitHub Releases, unsigned; loopback server on 127.0.0.1 with a per-launch API token; sandboxed window",
    "computable_blocks": "AIMD-C (aimd-value, aimd-function, aimd-compute, aimd-assert, aimd-table, aimd-view); closed-grammar evaluator, no eval/Function",
    "dynamic_logic_blocks": [
      "aimd-claim",
      "aimd-evidence",
      "aimd-judgment",
      "aimd-history"
    ],
    "math_rendering": "KaTeX, lazy MathJax fallback, Safe Rewrite, diagnostics panel",
    "pdf_export": "Typst (client-side WebAssembly); themes evemiss-serif-light / evemiss-classic-light; layouts technical-whitepaper / academic-paper / long-form-book; chart and plot blocks not exported",
    "mcp_transports": [
      "stdio (mcp-server.js)",
      "http, 127.0.0.1 only, bearer token mandatory (mcp-server-remote.js)"
    ],
    "mcp_tools": [
      "list_files",
      "read_file",
      "write_file",
      "evaluate_aimdc",
      "validate_world_ir",
      "get_publication_capabilities",
      "inspect_document",
      "validate_document",
      "render_document",
      "get_render_artifact",
      "get_render_report"
    ],
    "mcp_write_file_review": "none — writes immediately; the MCP host's own approval UI is the gate",
    "publication_profiles": [
      "evemiss-whitepaper-v1 (default)",
      "evemiss-academic-v1"
    ],
    "publication_artifact_limits": "30-minute lifetime, 64 MiB per artifact, 256 MiB total, process-scoped",
    "capability_default_profile": "document-only (document.read.self, document.compute, ephemeral.output); deny-by-default, fail-closed, audited; not an OS sandbox",
    "interface_languages": [
      "English",
      "繁體中文"
    ],
    "themes": [
      "Dark",
      "Light",
      "Studio",
      "Paper",
      "Midnight"
    ],
    "not_shipped": [
      "code-signed installer / auto-update",
      "macOS or Linux desktop build",
      "OS-keychain API-key storage",
      "Pandoc export",
      "PDF export of chart and plot blocks",
      "user-facing capability-grant flow / identity-aware MCP authorization",
      "OS-level sandbox",
      "partial-accept / per-hunk diff staging",
      "any hosted or public API"
    ]
  }
}
