Literate AI

Repository documentation

Two-Phase OVA Rebase Plan

Outcome

OVA will become a domain adapter and demanding consumer of literate-ai, rather than the owner of the general Component lifecycle. The migration has exactly two phases:

  1. build, prove, and release the software-neutral framework while OVA remains authoritative; and
  2. rebase OVA on the released framework, then retire the duplicated implementation.

Milestones below are sequencing within a phase, not additional migration phases. Neither repository may infer parity from renamed types or passing unit tests alone.

Governing constraints

Compatibility surface to preserve

OVA surface Phase 1 compatibility contract Phase 2 destination
ova.yaml v2 Parse into a lossless legacy envelope; emit deterministic diagnostics OVA adapter projects it to component.json domain objects
OpenSpec roots and active changes Preserve full contents, digests, strict validation, and drift checks OpenSpecProvider typed service
Component IDs and catalog IDs Preserve exact legacy strings plus an explicit coordinate map OVA namespace aliases in ComponentRegistry
Source and CodeGraph locks Golden fixtures verify exact binding and error behavior SourceSnapshot and KnowledgeIndex records
Dependency locks Map legacy identities; exclude timestamps from new semantic digests ResolutionDecision and composition lock
Generated provenance Preserve legacy record and attach its digest to the new run WorkflowRun, stage outputs, and LegacyIdentityMap
Source/object packages Read without mutation; map forward edges and package contents immutable source/build/artifact bundles in CAS
Reverse dependents Import into a rebuildable projection, never rewrite old packages DependencyIndex
Model endpoints/groups/selectors Preserve routing constraints and exact decisions workflow-stage routing policy
Settings and environment names Read through a typed compatibility source and show provenance scoped settings registry rendered by OVA UI
Publication state Import records; never republish merely because a cache was imported publisher ports and append-only records
CLI/Make targets Forward behind compatibility commands with stable JSON errors litai CLI plus thin OVA commands
Sample tiers Freeze current results as downstream fixtures neutral conformance ladder plus OVA integration ladder
Host/GPU/language target policy Record current implicit choices as migration evidence downstream OVA Flavors and exact effective revisions

Phase 1 — Extract, stabilize, and shadow

OVA is the production authority in this phase. literate-ai establishes public contracts and runs without changing OVA's accepted output.

1. Freeze the evidence baseline

2. Establish immutable public contracts

3. Implement services, application ports, and reference adapters

4. Build the durable lifecycle

5. Enforce source trust and build policy

6. Make artifacts, publication, and settings real framework services

7. Turn samples into the conformance system

Create complete, standalone Components for:

Each sample contains one complete component.md by default, pinned authoring inputs, expected lifecycle behavior, positive and negative assertions, and an executable/verifiable entrypoint. Repository-only vectors and private oracles live under samples/_harness/. Samples are release-blocking living documentation.

8. Add OVA compatibility and shadow execution

Phase 1 exit gates

Phase 1 completes only when all of the following are true:

Phase 2 — Rebase OVA and retire duplication

literate-ai is authoritative for migrated lifecycle operations in this phase. OVA owns its product policy, UI, runtime integration, and Omniverse/Isaac-specific adapters.

1. Introduce the OVA adapter boundary

2. Cut over one lifecycle seam at a time

Cut over source identity and cache import, intelligence, composition, generation, validation, security/build authorization, packaging/linking, publication, and settings in that order. For each seam:

The importer reads ~/.ova caches and publication records on demand, maps identities, and copies verified blobs into the new store only when needed. It never changes or deletes the legacy cache. New mutable references live in platform-appropriate literate-ai directories selected by the settings service.

3. Rebase OVA presentation and operations

4. Prove OVA-on-literate-ai self-hosting

5. Retire duplicated OVA implementation

Phase 2 exit gates

Ownership after migration

literate-ai owns OVA owns
Component/revision/spec/source/evidence/workflow/package/publication/settings/security contracts OVA product behavior and user experience
lifecycle state machines and policy gates Omniverse, Isaac, ROS, and Kit catalogs/policies
ports and neutral reference adapters OVA-native validators, builders, runtime linking, and launch
neutral CLI/API and optional generic console Litestar OVA UI and OVA CLI compatibility wording
CAS, events, identity rules, migrations, conformance OVA deployment, NVIDIA defaults, and integration samples
neutral living samples and lifecycle conformance proofs OVA-on-framework self-hosting and platform acceptance

This boundary lets other products use the same spec-led lifecycle without importing OVA and lets OVA follow fast-moving source components without re-owning the framework.

Literate-ai implementation Phase 8 (not an OVA migration phase)

The OVA rebase remains exactly two phases. After the seven bootstrap work packages in the active change, literate-ai has a separate Phase 8 for first-class skill-directed source-to-specification authoring. It changes only this repository; OVA adoption is a later downstream decision. The normative Phase 8 scope, contracts, risks, tasks, and gates are in phase-8-source-to-specification.md.

Read the Markdown sourceConference homePublished 1.3.0 · Patch 1.3.1 in progress · Development 1.4