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.
17 lines
910 B
Go
17 lines
910 B
Go
// Package grammaratur owns document-format conversion and authoring fidelity.
|
|
//
|
|
// Ordinary conversion and protected authoring conversion are distinct contracts:
|
|
// callers must opt into {=html} fences. Neither path authorizes content, expands
|
|
// macros, sanitizes a display projection, persists revisions, or fetches URLs.
|
|
// Those responsibilities remain with the caller. In particular, preserving
|
|
// source HTML never grants permission to execute its scripts or event handlers.
|
|
//
|
|
// Grammaratur is an in-process component, not a service or a new public API.
|
|
// The name denotes the words/format-conversion responsibility in PagesWiki's
|
|
// architecture; see docs/design/ja/component-names.md.
|
|
package grammaratur
|
|
|
|
// Component is the stable component label for diagnostics and instrumentation.
|
|
// It is not a replacement for API routes, provider IDs or persisted settings.
|
|
const Component = "grammaratur"
|