Expand description
Deterministic, process-local compiler platform products (Phase L3).
This module deliberately orchestrates the existing parser and application semantic model. It neither defines a second parser nor reproduces semantic ownership, artifact, or runtime derivation.
Modules§
- cache
- incremental
- inspection
- session
- snapshot
- workspace
- Public submodule names are stable platform contracts; their values live in this file to keep the first platform implementation compact.
Structs§
- Application
Product Ref - Cache
Entry - Cache
Inspection Entry - Cache
Limits - Cache
Summary - Cancellation
Token - Cancelled
Compilation - Canonical
Reusable Product V1 - An L3 parse product explicitly authorized for L5 session-local reuse.
ParsedFileis a normalized parser result, not authored source text. - Committed
Compilation - Committed
Workspace State - Compilation
Attempt Id - Compilation
Attempt State - Compile
Workspace Request - Compiler
Session Id - Compiler
Session Inspection - Compiler
Session State - Contract
Version - Digest
- Expected
Commit - Incremental
Compilation Outcome V1 - Incremental
Compilation Plan V1 - Immutable, canonical L5 planning product. It carries no source text.
- Incremental
Compile Workspace Request V1 - Incremental
Input Change V1 - Incremental
Plan - Incremental
Plan Id - Incremental
Stage - Invalidated
Unit - Platform
Decode Error - Deterministic canonical-decode failure.
pointeris a JSON pointer. - Platform
Failure - Platform
Serialization Error - Platform
Validation Error - Validation error for the public L3 platform input surface.
- Product
Cache - Product
Cache Inspection - Product
Key - Rejected
Compilation - Snapshot
Unit - Source
Revision Id - Source
Unit Id - Unit
Product Ref - Workspace
Change Set - Workspace
Configuration - Workspace
Dependency Edge - Workspace
Graph - Workspace
Id - Workspace
Input - Workspace
Path - Workspace
Product Key - Workspace
Snapshot - Workspace
Snapshot Id - Workspace
Source - Workspace
Unit
Enums§
- Application
Product Kind - Attempt
Phase - Cache
Entry State - Compilation
Outcome - Compiler
Session Status - Incremental
Compilation Mode V1 - The only L5 execution modes. They describe orchestration, never language semantics or generated output.
- Incremental
Fallback Reason V1 - Stable, non-diagnostic L5 fallback facts in the exact contract order.
- Incremental
Input Change Kind V1 - Canonical order is declaration order, which is also the L5 contract order.
- Incremental
Mode - Incremental
Stage Kind - Invalidation
Reason - Platform
Failure Code - Product
Kind - Requested
Compilation Mode - Source
Language - Workspace
Dependency Kind
Constants§
- COMPILER_
SESSION_ SCHEMA_ VERSION - INCREMENTAL_
COMPILATION_ PLAN_ V1_ SCHEMA - L5’s session-local incremental planning product discriminator.
- INCREMENTAL_
EXECUTION_ REPORT_ V1_ SCHEMA - L5’s service execution-report product discriminator.
- INCREMENTAL_
PLAN_ SCHEMA_ VERSION - PRODUCT_
CACHE_ INSPECTION_ SCHEMA_ VERSION - WORKSPACE_
CONFIGURATION_ SCHEMA_ VERSION - The public canonical workspace-configuration input schema authorized by L4.
- WORKSPACE_
GRAPH_ SCHEMA_ VERSION - WORKSPACE_
SNAPSHOT_ SCHEMA_ VERSION
Traits§
Functions§
- canonical_
workspace_ configuration_ json_ v1 - Returns exact canonical JSON for the L3 v1 workspace configuration.
- compare_
snapshots - decode_
workspace_ graph_ json_ v1 - Decodes one exact canonical L3 v1 workspace graph document without source loading or compiler execution.
- decode_
workspace_ snapshot_ json_ v1 - Decodes one exact canonical L3 v1 workspace snapshot document without loading source, invoking the parser, or mutating a compiler session.
- derive_
workspace_ id_ v1 - Derives the L3 workspace identity from a fully validated configuration.
- force_
clean_ fallback_ v1 - Converts a candidate plan to the conservative L5 clean path without deriving any dependency information. Used when the service detects that a retained baseline product no longer validates.
- plan_
incremental - plan_
incremental_ compilation_ v1 - Builds an L5 plan solely from canonical L3 snapshots, graph edges, and product identities. Source membership lacks product-granular authority in L3 v1, so additions and deletions deliberately clean-fallback.
- source_
universe_ fingerprint_ v1 - Fingerprints the complete normalized source universe using only canonical L3 snapshot facts. The source revision already binds identity, language, and exact authored bytes; no text is retained by this product.
- validate_
workspace_ configuration_ v1 - Public L3 v1 configuration validation authorized by the L4 service contract.
- workspace_
configuration_ fingerprint_ v1 - Returns the configuration fingerprint used by L3 workspace products.