Plan
Ship the declarative page compiler
Replace skill-owned presentation code with a deterministic Page Spec compiler.
- Milestones
- 10
- Fixtures
- 7
- Target token cut
- 60%
Delivery order
Page Spec and normalizer
Schema, YAML boundary, migrations, and stable node IDs.
Compiler core
Escaping, determinism, CSP, and tree-shaken assets.
Interaction runtime
Declarative actions with native controls first.
AgentKit adoption
Emit specs from skills; keep facts in the invoking skill.
Schedule
Schema freeze
Page Spec v1 accepted with migration policy.
Compiler and themes
Deterministic output with six built-in presets.
Runtime
Browser-tested interactions across input methods.
Milestone risk
| Milestone | Risk | Mitigation |
|---|---|---|
| Compiler core | Escaping gaps | Injection fixture suite |
| Runtime | Keyboard drift | Browser tests per interaction |
| Cloud | Scope confusion | Render and share permissions split |
Compiler pipeline
Compile pipeline
- Page Spec
spec - Normalizer
normalize - Standalone HTML
html
Rendered as a structured fallback because no diagram adapter is configured.
Open questions
Retention default for share artifacts
Adopt the existing AgentKit retention policy when one is authoritative.
Editor integration
Out of scope until the compiler and runtime are stable.