# demarkus-library — Debt & Deferred Work Technical debt and consciously deferred improvements. ## Reading-room rendering upgrades (inspired by markdownviewer.pages.dev) Capabilities to absorb, NOT the tool (it's a client-side editor — inverse architecture). Split along ADR 0003: - **Server-side, zero JS (do first):** syntax highlighting via goldmark-highlighting/chroma; GFM alerts; emoji extension. Bluemonday policy must allow chroma classes/spans. - **JS islands (tracked ADR 0003 concessions):** mermaid.js island (degrades to `
` code block); KaTeX island (degrades to TeX source). Vendored like htmx, no CDN. - **Editor/split/export = Phase 3 cataloging desk** (CodeMirror island already in the plan) — not a bolt-on. ## Existing - Per-reader MCP session pool: idle eviction is lazy/inline; if pool churn ever matters, consider background sweep + metrics. - Broker `rateLimit.tokens` raised to 60/min during 429 incident — drop to ~30/min now that reads are 1 request (deploy-side). - `mark_worlds` enumeration tool on the broker would enable a generated floor page (today the root hub serves by convention). - Frontmatter strip is render-side only; the publishers that wrote metadata fences into bodies should be found and fixed at source.