Skip to main content

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

  1. Page Spec and normalizer

    Schema, YAML boundary, migrations, and stable node IDs.

  2. Compiler core

    Escaping, determinism, CSP, and tree-shaken assets.

  3. Interaction runtime

    Declarative actions with native controls first.

  4. AgentKit adoption

    Emit specs from skills; keep facts in the invoking skill.

Schedule

  1. Schema freeze

    Page Spec v1 accepted with migration policy.

  2. Compiler and themes

    Deterministic output with six built-in presets.

  3. Runtime

    Browser-tested interactions across input methods.

Milestone risk

Milestone risk
MilestoneRiskMitigation
Compiler coreEscaping gapsInjection fixture suite
RuntimeKeyboard driftBrowser tests per interaction
CloudScope confusionRender and share permissions split

Compiler pipeline

Compile pipeline

  • Page Specspec
  • Normalizernormalize
  • Standalone HTMLhtml

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.