Refactor architecture into eight components and consolidate reliability work
Build and publish container images / images (push) Successful in 9m34s
Release container images / release (push) Successful in 36s

Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts.

Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation.

Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
This commit is contained in:
Anya Tokugawa committed 2026-11-01 15:23:31 +09:00
1 parent 9dd425f765
commit d5d21b7841
302 files changed
+20037 -3492

No files matched your search

+11 -2
View File
@@ -20,7 +20,8 @@ Revision UUID, and raw payload delivery.
## Current Adapter Contract
The server registry in `internal/server/content_adapter.go` describes:
The registry in `internal/kunstzeal/adapters.go`, accessed through compatible
server types and selection wrappers, describes:
| Field | Meaning |
| --- | --- |
@@ -42,7 +43,7 @@ The initial registry reserves these stable IDs:
| `text` | CodeMirror text | windowed text |
| `csv` | bounded table with sticky header | paginated virtualized table |
| `excalidraw` | validated interactive canvas + source fallback | canvas + editor action |
| `nwdiag` | bounded network diagram projection | static SVG preview + hosted/editor action |
| `json` | bounded JSON structure/text projection | indexed structural retrieval |
| `archive` | ZIP/RAR/7z/TAR entry table + comic mode | archive directory |
| `eml` | decoded headers and body | multipart mail viewer |
| `debian-package` | ar/control metadata | package metadata |
@@ -57,6 +58,12 @@ These adapters are built in and versioned with Pages Wiki. They are always
listed by `GET /_/api/v1/adapter`; they are not configuration records and
cannot be deleted by an administrator.
2026-11-01: adapter selection and existing Kroki execution were initially
extracted into [Kunstzeal](ja/kunstzeal.md). Stable IDs/order and source authorization
remain unchanged. nwdiag and slide providers are still TODO, not entries in the
implemented registry. Kroki redirects are now refused; derived SVG cache writes
use atomic replacement. Provider versioning and unified resource controls remain pending.
## Integration Adapter Plugins
Additional hosted viewers and editors are Domain-scoped integration adapter
@@ -401,6 +408,8 @@ CSV detection uses MIME type or `.csv`. The derived adapter must:
## nwdiag network diagrams
Status: design/TODO. No nwdiag parser or built-in adapter is currently registered.
`nwdiag` is a source/document format, not an instruction to execute arbitrary
code. The adapter parses a bounded, version-pinned grammar and produces a
static SVG (or PNG) projection. It must reject oversized graphs, recursive