Skip to content

Generation Overview

Generation starts from intent and constraints, then creates structured artifacts.

sigMAX separates the generation flow into two parts. The LLM helps shape intent into explicit contracts and controlled pseudo-code. Deterministic tools then turn those artifacts into C subset code, WASM modules, local stack files, containers and agreements.

The important rule is simple: creative assistance stops before executable authority begins. Each stage leaves evidence that can be parsed, validated and compared against the expected contract state.

Controlled execution

Component packaging

Deterministic generation

LLM-controlled generation

Inputs

describes

constrain

drafts

declares compose stack

decomposes

decomposes

extends

defines

defines

defines

guides

guides

guides

compiles

compiles

compiles

clang wasm32

clang wasm32

clang wasm32

packages

packages

packages

embeds

embeds

embeds

orchestrates

orchestrates

orchestrates

loads

loads

loads

iteration

Intent

Constraints

Blueprint

App Contract

Component A

Component B

Component N

Binary A1

Binary A2

Binary B1

Pseudo A1

Pseudo A2

Pseudo B1

App stack

C subset A1

C subset A2

C subset B1

WASM A1

WASM A2

WASM B1

Container A

runtime

contracts

agreements

Container B

runtime

contracts

agreements

Container C

runtime

contracts

agreements

sigMAX Runtime

Each stage owns a narrow responsibility. That separation is what keeps the generated result inspectable.

StageMain responsibilityEvidence
IntentCapture what the application should do and which constraints matter.Prompt context, project notes, architecture decisions.
BlueprintConvert intent into a structured architectural plan.Blueprint artifact and decomposition rationale.
ContractsDeclare the expected application, component and binary state.Application, Component and Binary Contracts.
Controlled pseudo-codeExpress executable intent without giving the LLM final code authority.Pseudocode DSL files linked to Binary Contracts.
Deterministic generationProduce C subset, WASM, routes, OpenAPI, Compose and container artifacts.Generated files, hashes, compile reports.
AgreementsRecord what was actually produced and accepted.Application, Component, Binary and Storage Agreements.
RuntimeExecute validated WASM through declared primitives.Health, logs, ObjectIR output, runtime checks.

The generation pipeline deliberately separates creative shaping from executable production.

LLM output is useful for interpreting intent and drafting structured artifacts, but it is not trusted as final executable truth. Deterministic generators and validators take over before compilation, packaging and runtime execution.

This gives sigMAX three useful checkpoints:

  • expected state: what contracts say should exist;
  • produced state: what generators actually created;
  • observed state: what the runtime exposes when the artifact runs.

If those states diverge, the issue should become visible as drift instead of remaining hidden inside generated code.

TopicNext page
How pseudo-code is constrainedPseudocode DSL
How C and WASM are producedC/WASM Generation
How local stacks are generatedCompose Generation
What the LLM may and may not ownLLM Boundaries