Subject continuity and readable links
Each independently mutable subject carries a stable UUID and an owner-local key. Typed links remain readable scoped paths, while the Project route and server records own graph and revision identity.
Foundation Plan · sketch/0.23
A user and their existing agent author one reviewable Foundation Plan. First Draft imports that meaning, analyzes it against a pinned target, and compiles a Foundation the user can continue in ordinary source.
This is pre-alpha architecture, not a complete product demo. Bounded import, analysis, Compilation, Rails and selected-native emission, and publication slices exist; the complete authoring journey and full Foundation Plan coverage do not.
Current fixture set
The system in five moves
Each stage owns a different job. Keeping the Plan, Project graph, GapSet, and generated Foundation distinct is what lets the system stay reviewable without trapping the resulting application inside a proprietary runtime.
The user and their existing agent turn product decisions into one complete Foundation Plan.
The Project owns the mutable relational graph; its Head retains the exact submitted Plan bytes.
Whole-graph analysis checks meaning against the pinned target and records one exact GapSet of every skipped, partial, and unsupported consequence.
Deterministic renderers consume the accepted graph and GapSet, then emit and verify a Foundation with the exact Plan and gaps beside it.
The user and agent own a normal codebase and keep building without a First Draft runtime.
What is in the document?
The routed Project owns graph and revision identity. This self-contained document carries the exact application meaning, target pin, subject continuity, and readable links for import, export, review, and Compilation provenance.
Foundation Plan = subject continuity + application meaning + underivable facts + target profile + sparse material choices
Each independently mutable subject carries a stable UUID and an owner-local key. Typed links remain readable scoped paths, while the Project route and server records own graph and revision identity.
Product meaning expressed as Entities, Fields, relationships, rules, Policies, and Scaffolds. A state machine is one behavioral Field type, while Field notes may explain meaning without adding behavior.
A domain, brand colors, which native clients to build, and which delivery channels to wire. No Entity, Field, or Scaffold implies these, and each either supplies material the Compiler cannot invent or obliges the owner to obtain an external credential.
The platform to generate and the pinned set of generator rules, defaults, supported translations, derived prerequisites, and verification expectations.
Sparse material target-specific decisions that cannot be derived. The current sketch uses this only for exclusive arc versus polymorphic storage of a closed multi-target Reference.
The chapter example
Movies connect to people through credits. Users bookmark and rate movies. The Rails profile fixes the current authentication and Field lowerings, so Oscar Party needs no explicit realization choice.
Structured in the Plan
Outside this Plan
Three documents, increasing pressure
When you inspect a Plan
Use the definition browser and data model to trace the exact JSON. These questions test the proposed format; they do not assume it is final.