# SpineEditor Full Context (Generated) ## Root README Summary - SpineEditor - SpineEditor is a deterministic rich-text editor architecture. The engine owns - semantic state; browser runtime code turns real input into intents and projects - committed state back into DOM. - Canonical Pipeline - Browser Events - -> Substrate - -> Intent - -> Plan - -> Transaction - -> Apply / Map - -> Normalize - -> Commit - -> Renderer ## TSDoc Rules Summary - TSDoc Rules - These rules apply to `@spine-editor/*` packages. - Required - 1. Use `@packageDocumentation` only in package `src/index.ts`. - 2. First line of every doc comment is a one-line summary. - 3. Document exported APIs. - 4. Document non-obvious internal helpers and algorithms. - 5. Document contracts, invariants, and behavior. - `@remarks` Usage - Use `@remarks` only for: - 1. Invariants. - 2. Behavior. - 3. Limits. - Avoid ## Core Package README Summary - @spine-editor/core - Headless, deterministic editor core for SpineEditor. - This package implements the semantic editing engine. It defines the document - model, selection model, planner, transaction pipeline, normalization, history, - commands, plugins, trace, replay, and schema surfaces. - The core is intentionally independent of the DOM and any UI framework. - Pipeline Overview - The core editing lifecycle implemented by this package is: - Intent -> Plan -> Transaction -> Apply / Map -> Normalize -> Commit -> History - Conceptually this sits inside the larger editor pipeline: - Browser Events - -> Substrate - -> Intent - -> Plan