Parametron Engine is a deterministic execution engine for engineering automation.
It parses and validates Parametron DSL inputs, builds deterministic execution plans, invokes external CAD/runtime capabilities through Engine-owned contracts, verifies returned evidence, and produces normalized records and local run artifacts.
The Engine is designed to remain independent from CAD application internals,
workflow systems, and durable storage. CAD-specific execution is delegated to
external runtimes such as
parametron-freecad.
Parametron Engine currently provides:
- deterministic DSL parsing and validation
- semantic analysis and intermediate representation generation
- deterministic planning and execution identities
- scheduling and local execution
- cache-aware execution
- simulation and plan inspection
- CAD adapter and runtime capability contracts
- deterministic finite declared CAD-resource inventory with project-scoped identity separate from operational paths
- declared-resource staging within isolated execution attempts
- aligned external FreeCAD runtime invocation
- runtime evidence validation and verification
- normalized engineering record contracts
- local record-package generation
- artifact and raw-evidence preservation
- target-action authoring for suppression, visibility, and deletion intent
- target-state observation request and result contracts for suppression, visibility, and existence evidence
- Engine-owned target-state expectation derivation, verification, failure classification, and normalized record mapping
- bounded engineering fact observation request and evidence contracts for explicitly bound, resource-qualified property facts
- normalized engineering facts with typed finite values, explicit units, and explicit availability states within the observation record family
- project source/input lock enforcement and configured-result provenance with separate source, baseline, and result content identities
- CLI and HTTP API foundations
Equivalent inputs and execution context are designed to produce stable Engine-owned identities and normalized outputs.
At a high level:
Parametron DSL
│
▼
Validation / IR
│
▼
Deterministic planning
│
▼
Execution / scheduling
│
├── local Engine operations
│
└── external runtime capability
│
▼
parametron-freecad
│
▼
runtime evidence/results
│
▼
verification / records
Engine owns the engineering contract and interpretation of runtime results.
External runtimes own application-specific behavior. For FreeCAD, document
loading, mutation, recompute, saving, export, and native observation belong to
parametron-freecad, not to Engine.
Current public architecture, authoring, and adapter documentation is
maintained in parametron-docs. See the canonical
Engine documentation landing page,
including the
system overview,
execution model,
adapter architecture,
and CAD authoring contract.
The local CLI lives under cmd/parametron.
Show available commands:
go run ./cmd/parametron --helpThe CLI includes command families for validation, simulation, execution, sweep, snapshot, diff, and related engineering workflows.
Command-specific documentation is maintained centrally; see the canonical Engine CLI documentation.
CAD execution is performed through Engine-owned runtime contracts rather than embedded CAD implementation code.
FreeCAD execution is provided by the separate
parametron-freecad
runtime.
The Engine-facing executable can be selected with:
PARAMETRON_FREECAD_RUNTIME
When not explicitly configured, Engine can resolve the
parametron-freecad executable from PATH.
This separation keeps Engine independent from FreeCAD APIs and allows CAD runtime implementations to evolve behind a stable Engine boundary.
Engine defines normalized record contracts for:
- execution
- artifacts
- observations
- references
- failures
- verification
Normal runs can materialize a local record package under the run directory:
parametron-record-package/
The package separates normalized records from raw runtime evidence.
Normal execution emits applicable execution, artifact, observation, reference,
failure, and verification records through this package. Artifact records are
plural: each artifact has its own normalized record at
records/artifacts/<identityId>/prm.artifact-record.json, ordered by
record identity. Engineering-observation families (observation, reference, and
verification) are outcome-scoped when a run has more than one eligible verified
CAD outcome: each outcome writes its records under
records/outcomes/<outcomeKey>/, ordered by outcome scope and record identity.
A single eligible outcome keeps the established singular record paths.
Execution and failure records remain singular. Duplicate artifact identities,
duplicate family/outcome scopes, or resolved record paths are rejected.
Typical raw evidence includes runtime results, metadata, verification material,
observations, manifests, runtime handoff data, and runtime integrity evidence.
For multi-outcome runs, attempt-scoped raw evidence is preserved under
raw/outcomes/<outcomeKey>/; run-level report, metadata, and artifact-store
manifest evidence keep their established paths. A selected runtime failure keeps
its established canonical raw failure paths. Raw evidence is preserved as
evidence and is not treated as equivalent to normalized Engine records.
Observation and verification records come from Engine-owned typed
interpretation; raw bytes remain independently preserved for provenance.
Traversal reference records qualify native endpoints with declared project,
resource kind, and logical resource identity; native object names are scoped to
that resource. Neutral native relationship kind, source property, and reference
mechanism remain distinguishable. Equivalent duplicates canonicalize;
contradictory evidence for one relationship identity fails deterministically.
Native resolution and bounded traversal completeness remain explicit, including
accepted empty traversals and undeclared or unsupported targets. Generic
references, including the historical component kind, do not establish assembly
occurrences, quantities, or BOM totals.
Resource-qualified relationship keys and ordering are stable for equivalent
accepted relationships, including declared-resource relocation. The containing
ReferenceRecord.Identity remains evidence-sensitive: differing exact raw
bytes can change SHA-256 provenance and record identity. Operational working-copy
locations and runtime-reported working-copy digests do not participate in
reference identity; generic observed references retain them in the normalized
record and raw evidence. Accepted contract-relative native traversal coordinates
remain identity material. Exact bytes remain separate at
raw/runtime/prm.reference-traversal.json and raw/observed/prm.observed.json for
single-outcome packages, and under raw/outcomes/<outcomeKey>/ for multi-outcome
packages. Every eligible verified CAD outcome retains its own reference,
observation, occurrence, fact, and integrity evidence; zero eligible outcomes add
none.
Adapter-native CAD failures are interpreted by the adapter/runtime boundary as
a generic Engine CAD runtime failure outcome before MapCADRuntimeFailure
produces the normalized FailureRecord. A valid, uniquely correlated failure
from the terminal failed CAD outcome takes precedence over the report-derived
failure; otherwise the report-derived record remains authoritative. The package
still contains at most one failure record, while execution remains
report-derived and Engine retry context and plan provenance are retained.
Normal package failure records omit OccurredAt because their deterministic
report material has operational timestamps stripped. Runtime-native failures
remain distinct from malformed, invalid, missing, or unavailable evidence and
from Engine verification mismatches. Exact native result bytes are preserved
at raw/runtime/prm.result.json, and their SHA-256 digest supplies normalized
provenance without making the normalized record a mirror of native vocabulary.
See the canonical
record contracts
and execution runtime
documentation in parametron-docs.
Generic reference evidence is distinct from explicit occurrence evidence. Engine owns occurrence requests, resource-qualified validation, normalized identity, completeness interpretation, duplicate/conflict handling, quantity rollup, and record/package emission with raw provenance. FreeCAD owns native Assembly inspection, member discovery, membership/target observations, coverage evidence, and production evidence generation. Engine does not perform native CAD discovery; production FreeCAD occurrence emission is not established by the Engine tests.
The supported mechanism is
freecad-1.1.4-assembly-group-individual-link, with evidence requiring exact
freecadVersion: "1.1.4". It accepts an exact Assembly::AssemblyObject root
and direct Group members that are individual App::Link objects with
ElementCount == 0, corroborated parent membership, valid native state, and a
resolved, unambiguously declared-resource-qualified target. Supported target
types are PartDesign::Body, Part::Feature, and App::Part. Each qualifying
link contributes one occurrence of its exact target; App::Part contents are
not expanded or counted recursively. This contract makes no FreeCAD 1.1.1
compatibility guarantee.
Evidence 1.1 can classify an exact Assembly::JointGroup member as auxiliary
only with corroborated parent membership, valid native state, resolved
resolution, completed contents inspection, and an explicitly empty child
inventory. Its elementCount and target must be null and its diagnostic absent
or empty. The following is only the members[] entry's contents value, not a
complete evidence document:
{"inspectionCompleted": true, "group": []}Such a group contributes no occurrence. Missing contents or child inventory does not prove emptiness. Nonempty, unverified, unknown, or unclassified members cannot be silently excluded; every direct member must be accounted for before the scope can be complete. No general auxiliary-type exclusion is supported.
OccurrenceScope contains parent, ordered context, and mechanism.
OccurrenceKey(scope, member) combines that scope with the exact native member
name and excludes semantic annotations and the target. Each OccurrenceEntity
has a declared resource tuple (projectId, kind, logicalId), nativeKind
(object), exact native name, and optional semanticId. Owning resource and
parent assembly identity remain separate from member identity and referenced
resource/native target identity. Source coordinates and attempt-relative
materialized document coordinates qualify evidence against the finite declared
inventory; logical identity and document coordinate must identify the same
binding. The observed parent must match the requested selected source. Absolute
paths, labels, generic relationship keys, and raw digests are not occurrence keys.
Context is an explicit ordered array of OccurrenceContextFrame values, each
with parent and member, bounded to 16 frames. Missing context, malformed
members, repeated parent entities, and cycles to the scope parent are rejected.
Context preserves instance coordinates but does not certify recursive membership:
accepted occurrences and complete quantity require an empty context.
Completeness is complete, incomplete, unsupported, or unavailable.
A complete scope requires the exact requested root, completed full direct-member
inspection, explicit classification of every inventory member, corroborated
ownership, supported individual links and resolved resource-qualified targets,
and no unhandled members or scope diagnostics. An inspected empty scope, including
one containing only verified empty auxiliary members, is complete with
occurrences: [] and quantities: []. Incomplete or unsupported evidence can
retain accepted members but has quantities: null; unavailable or omitted
evidence also has unavailable quantity, never a fabricated zero.
Engine derives quantity from distinct accepted occurrences only within a complete
scope. Within its owning scope/context, the grouping key is
OccurrenceEntityKey(target): referenced (projectId, kind, logicalId) plus
nativeKind and exact name, excluding semanticId. Different native entities
in one resource remain separate; distinct members targeting the same entity
contribute independently. Exact duplicate member evidence canonicalizes;
conflicting evidence for one member identity fails deterministically, including
conflicting semantic annotations. Occurrences sort by member name and quantities
by target entity key, independently of raw member or inventory ordering.
The Engine API entrypoint is Executor.ExecutePackageWithOptions, with
PackageExecutionOptions.OccurrenceObservation carrying one explicit
OccurrenceRequest. Intent is execution-scoped, defensively copied through
dispatch and each attempt, preserved across retries, and cleared for later default
executions.
ExecutePackage uses empty options and preserves ordinary execution. The public
CLI and DSL do not author occurrence requests.
Request and normalized summary schemas are independently 1.0; evidence accepts
1.0 and 1.1. Evidence 1.0 retains its closed legacy member shape and rejects
contents, including explicit null. Structured auxiliary contents require 1.1.
Request/evidence decoding rejects unknown fields, duplicate fields (including
case variants), trailing JSON, invalid versions/types, and invalid contracts;
contradictory coverage or membership evidence is rejected during intake.
Engine materializes prm.occurrence-request.json in the prepared attempt working
directory and reads only prm.occurrence-evidence.json in its confined output
directory. No additional process argument is implied. A request's requirement
is optional or complete: optional omitted evidence becomes unavailable;
required noncomplete evidence fails with ErrOccurrenceCompletenessRequired,
wrapped by FreeCADRuntimeVerificationError at occurrence_validation.
Malformed evidence fails even when observation is optional. Executor outcomes
retain the request and exact evidence bytes for normalized emission.
Every eligible verified CAD outcome retains its own observation record; there is
no cross-outcome quantity aggregation. Emission integrates the summary as
ObservationRecord.observation.occurrences for that outcome, preserving ordinary
observation facts and the separate generic ReferenceRecord. Original bytes are
preserved at raw/runtime/prm.occurrence-evidence.json for single-outcome
packages and under
raw/outcomes/<outcomeKey>/runtime/prm.occurrence-evidence.json for multi-outcome
packages, classified as raw runtime evidence. SHA-256 of those original bytes
supplies summary evidence and record provenance with kind
occurrence-evidence. Stable normalized semantic keys and rollup do not imply
stable provenance-bearing record identity when raw evidence bytes differ. The
shared record identity contract remains unchanged.
This bounded contract does not support recursive assembly quantity, recursive
occurrence or cyclic assembly expansion, link arrays, App::LinkElement counting,
automatic recursive resource discovery, or general auxiliary exclusions.
Quantity is not a generic reference-edge count, semantic declaration, link-array
count, or CAD-reported BOM quantity. It introduces no BOM serialization, mass, or
material calculations, and quantity introduces no engineering facts or units of
its own; bounded engineering fact observation with explicit units is a separate
contract, described below. Permanent verification uses controlled Engine
evidence, not real FreeCAD occurrence discovery; see the
test matrix.
Engineering facts are normalized ObservationRecord material, not a parallel
fact database. Engine owns the requested fact scope, subject identity and
resource qualification, accepted fact kinds, value typing, explicit unit
representation, availability semantics, normalization into the existing
observation record family, deterministic identity and ordering, and
deterministic failure classification. The CAD runtime owns native property
access, native value extraction, native unit evidence, unavailable and
unsupported diagnostics, and raw evidence. Engine performs no heuristic
property discovery and invents no facts the runtime did not observe.
Fact observation is separate from mutation verification: fact observations never serve as target-state evidence, and target-state verification never decides fact acceptance. Quantity remains the #50 occurrence-derived semantics; it is not a CAD fact and is not observed through the fact contract.
The supported fact kind is bound_property: one explicitly named native
property observed under an explicitly bound, resource-qualified subject. The
subject is the #50 OccurrenceEntity shape — declared resource tuple
(projectId, kind, logicalId), nativeKind, exact native name, and optional
semanticId — and can carry #50 occurrence context frames only when a fact is
genuinely occurrence-scoped. Observed subjects join the declared logical
identity with the materialized document coordinate: identity and coordinate
must identify the same binding, and the same native name in two declared
resources stays distinct. Operational absolute paths are not identity
material.
Intent is opt-in and execution-scoped through
Executor.ExecutePackageWithOptions with
PackageExecutionOptions.FactObservation; the public CLI and DSL do not author
fact requests. Engine materializes the versioned request sidecar
prm.fact-request.json (schema 1.0) in the prepared attempt working directory
and reads only the versioned evidence sidecar prm.fact-evidence.json (schema
1.0, kind native_fact_evidence) from its confined output directory. Nil
intent requests no fact observation and forbids unsolicited fact evidence.
Observed values are typed finite scalars: number, integer, string, or
boolean. The value kind is cross-checked against the actual JSON scalar at
intake and again during record validation. Numeric values canonicalize
deterministically — 42, 42.0, and 4.2e1 are one observed value — while
NaN, infinities, non-integral integers, and non-canonical strings are
rejected. Zero is a valid observed value.
Units are optional explicit opaque text tokens carried by both the request
binding and the evidence; an absent unit is an explicit unitless fact, never an
implicit unit. Unit tokens have no semantics in Engine: no unit conversion,
conversion algebra, or quantity arithmetic exists or is implied. Units are
incompatible with non-numeric string and boolean values.
Availability is explicit: observed, unavailable, or unsupported. Observed
evidence must carry a value and value kind; unavailable and unsupported
evidence must carry a diagnostic and no value material. Omission never
substitutes a state. A request binding's requirement is optional or
required: an optional unavailable or unsupported fact is retained as a
normalized fact carrying its explicit state, while a required non-observed
binding fails deterministically. An omitted evidence file is explicit
unavailability for every requested binding; a present evidence file must cover
every requested binding, and unsolicited fact evidence is rejected.
Invalid fact contracts fail with ErrInvalidFact; required unavailable or
unsupported bindings fail with ErrRequiredFactUnavailable. Conflicting
duplicates within evidence fail under ErrInvalidFact, and record-level
conflicting facts fail under the existing ErrInvalidObservationRecord.
Equivalent duplicate evidence canonicalizes into one fact instead of selecting
a value.
Normalized engineering facts extend the existing observation record family as
fact-kind entries inside observation.facts[], keyed by the fact kind; no
separate record family exists. Fact emission merges into that outcome's
observation record, preserving ordinary observation facts and the occurrence
summary. Each eligible verified outcome keeps its own fact material: equal fact
subjects with different observed values remain distinct outcome-scoped
observations. Normalized fact ordering follows the requested bindings; raw
evidence ordering does not influence acceptance or output, and relocation does
not change normalized fact identity. Every fact carries shared provenance —
source kind fact-evidence, source reference
raw/fact/prm.fact-evidence.json or its
raw/outcomes/<outcomeKey>/fact/prm.fact-evidence.json form, and the SHA-256
digest of the exact evidence bytes. Raw fact evidence is preserved at the
corresponding path, classified as raw runtime evidence; the request sidecar is
not packaged. Facts are not aggregated across CAD outcomes.
This bounded contract does not support physical mass, density, or material inference; material catalogs or an Engine material database; heuristic or universal native-property observation; target-scoped metadata mutation; or any universal unit framework. No FreeCAD-native fact producer exists yet: permanent verification uses controlled Engine evidence, not real FreeCAD-native property observation, and native runtime version tokens in evidence are provenance only. The contracts are intended to be sufficient for a later FreeCAD-native implementation of bounded fact observation without redesigning Engine normalization; see the test matrix.
Integrity and provenance describe content identity, separate from the semantic observation surfaces above. Engine owns the source/lock policy, per-resource source identity, source-to-materialized baseline verification, validation of runtime-reported baseline evidence, independent persisted-result validation, normalized provenance, and deterministic integrity failure classification. The CAD runtime owns native access to the materialized resource, pre-mutation baseline observation, mutation/recompute/persistence, post-persistence result hashing, and raw integrity evidence. Engine never asks the adapter to decide lock policy, and the adapter never rewrites the lock.
prm.project-lock.json (schema version 1.0, unchanged) is the only project
source/input lock contract. It records the accepted source identities of
declared CAD resources and is not configured-result provenance. When a project
lock is present, Engine enforces it at the dedicated dispatch stage
source_lock, before any orchestration or runtime invocation: every declared
resource's actual source bytes must match its locked source digest, locked
digests must be canonical SHA-256 values, and a declared resource absent from
the required lock scope fails deterministically.
Unlocked workflows remain supported. They proceed normally and record lock
verification status not_performed, making no lock-verification claim.
Resource qualification goes through the #48 declared-resource identity model. Source identity — logical resource ID, canonical project-source coordinate, the SHA-256 digest of the actual source bytes, and lock state — is attached to the declared-resource inventory in Engine before planning. It is content addressed: relocation does not change it, and host paths, modification times, and filenames alone are not identity material.
Source identity and attempt-materialized baseline identity are represented separately. For byte-preserving materialization, Engine independently verifies that the materialized baseline digest equals the accepted source digest: the FreeCAD adapter hashes every materialized declared resource in the prepared attempt workspace and proves equality before any runtime invocation. Tampered or transforming materialization fails deterministically with the logical resource, expected and actual digests, and the attempt-relative coordinate — never a host absolute path.
Through the Engine-authored integrity request document
prm.integrity-request.json (schema version 1.0), Engine states which
declared resources the runtime may report, the attempt-relative materialized
coordinate Engine assigned to each, the expected pre-mutation baseline digest,
and which resource must report persisted-result identity. The request is
byte-deterministic, published under <runRoot>/integrity/<attemptID>/, and its
location is delivered only through the
PARAMETRON_RUNTIME_INTEGRITY_REQUEST environment variable. The channel is
Engine-owned: an inherited value for that variable is stripped when Engine
publishes no request, and the runtime process argv is unchanged.
The runtime reports per-resource baseline evidence in
prm.integrity-evidence.json (schema version 1.0) with resource statuses
observed, unavailable, missing, and unsupported. Engine validates this
evidence strictly: malformed digests, duplicate or unordered resources,
evidence for unrequested coordinates, and non-observed primary resources are
rejected; non-observed statuses are accepted for secondary resources. A
runtime baseline mismatch remains distinct from source-lock, materialization,
and result-content failures.
The persisted configured result is validated independently: Engine hashes the accessible persisted bytes itself and requires the runtime-reported result digest to agree. Missing, malformed, or mismatched result digests and missing or inaccessible persisted files are distinct deterministic failures. The configured-result digest represents post-persistence bytes; it is never written into the source lock and never replaces source identity.
Normalized records carry separate source, baseline, and result provenance
fields: accepted source digest with lock state, materialized baseline digest,
runtime-reported baseline digest with status, and persisted-result digest with
its validation status. Provenance is ordered by declared logical resource
identity, so equivalent evidence normalizes identically regardless of evidence
order or host paths. For multi-outcome packages the run-level execution record
retains source/lock identity only, while each outcome's engineering-observation
records retain that outcome's full configured-result chain; separate outcomes
may share source identity while carrying different persisted-result digests.
Raw runtime evidence is preserved verbatim at
raw/runtime/prm.integrity-evidence.json for single-outcome packages and under
raw/outcomes/<outcomeKey>/runtime/prm.integrity-evidence.json for multi-outcome
packages, separate from normalized records.
Integrity failures carry failure class/stage integrity with stable,
path-free codes, so lock, materialization, runtime-baseline, and
result-content failures remain distinguishable, and failure selection across
multiple invalid resources is deterministic.
Integrity semantics are coordinated with but separate from #49 generic references, #50 occurrence/quantity semantics, and #51 engineering facts. Resource qualification goes through the #48 declared-resource identity model, and zero-reference, unused, and standalone resources remain integrity-addressable. Digest validity never establishes reference resolution, occurrence completeness, or fact availability, and a configured-result digest is never a semantic entity ID. No recursive dependency discovery or metadata mutation exists, and a dependency encountered at execution is never silently added to the source lock.
No real FreeCAD integrity execution exists yet: permanent verification uses controlled runtimes and stub capabilities. Real FreeCAD pre-mutation baseline and post-persistence result proof is a later adapter phase built on these contracts, not implemented here; see the test matrix.
Engine's coordinated resource, reference, occurrence, fact, integrity, and
outcome-scoped package contracts are sufficient for parametron-freecad to
implement the bounded native phase without inventing normalized semantics.
The adapter implements bounded native responsibilities:
- resolve declared resources only through Engine-provided attempt-relative coordinates and report missing, unavailable, unsupported, or undeclared native access explicitly;
- emit schema
1.0generic reference traversal evidence, including accepted property/mechanism distinctions and declared, undeclared, or unsupported targets; - emit explicit direct-member occurrence evidence with complete, incomplete, or unsupported completeness and exact member inventory;
- emit bounded fact evidence for requested native properties with typed scalar values, explicit unit tokens, and observed, unavailable, or unsupported availability;
- report the pre-mutation materialized baseline digest and the post-persistence configured-result coordinate and digest, plus per-resource unavailable diagnostics;
- preserve exact raw result, observed, traversal, occurrence, fact, and integrity bytes and return them through the canonical request/evidence contracts.
The adapter must not emit Engine-normalized records, decide quantity or BOM policy, invent logical resource identity, enforce source-lock policy, derive plan/job/product identity, or persist PDM data. Engine owns declared-resource joins, expected-versus-observed verification, reference/occurrence/fact normalization, complete-scope quantity rollup, integrity validation, deterministic failure classification, and outcome-scoped package emission.
Recursive dependency discovery, general BOM generation, physical mass,
universal unit algebra, and a material database remain outside this phase. The
canonical contract and adapter handoff descriptions are maintained in
parametron-docs.
The authoring layer supports target actions for engineering-model intent such as:
- suppression
- visibility
- deletion
Engine resolves and validates this intent and projects it into external runtime
contracts, alongside Engine-owned target-state observation request and result
contracts for suppression, visibility, and existence evidence. The serialized
schema 1.0 request identifies the targets to observe; Engine retains the
expected final state in memory, derived from canonical mutation intent.
The external CAD runtime remains responsible for applying native document mutations and gathering native document evidence. Engine compares accepted raw observations with its expected state and classifies state mismatches, explicit missing targets, unavailable native evidence, and omitted required evidence. It can map accepted target-state evidence and verification outcomes into the existing normalized observation and verification record families while preserving raw evidence separately.
Normal execution emits these target-state observation and verification records
when the corresponding evidence is requested and available. No separate
target-state record family exists, raw prm.observed.json remains separate
evidence, and requested values are never substituted for observations.
Permanent repository tests prove the normal CLI path from target-action intent
through schema 1.0 canonical runtime requests, a controlled external runtime
process, Engine verification, and normalized/raw record-package emission. This
proof does not exercise real FreeCAD-native mutation or observation, and it does
not cover target-mutation submission through the HTTP API.
See the canonical Target-action contract.
The primary implementation areas are:
cmd/
parametron/ Local CLI
parametron-engine/ Engine API/server entry point
internal/
authoring/ DSL, IR, validation, and planning
engine/ execution, adapters, runtime contracts, records,
verification, scheduling, and related Engine services
docs/ Repository-local architecture, development, and historical docs
testdata/ Canonical test fixtures and example inputs
For a more detailed map, see Repository structure.
Requirements depend on the area being developed, but the Go toolchain is the canonical interface for Engine development.
Run the full Go test suite:
go test ./...Run static analysis:
go vet ./...Run a specific package:
go test ./internal/engine/recordmap/...Additional Python-based validation and opt-in real-runtime tests are documented
under docs/development/.
A Nix development environment is also available for contributors who prefer a reproducible local toolchain, but Nix is not required as the canonical command interface for the project.
See:
Current public Engine architecture, authoring, CLI, runtime, reference, and
adapter documentation is maintained in parametron-docs. Start at the
canonical Engine documentation landing page.
Repository-local documentation — package layout, contributor workflow, local
testing, fixture governance, and historical implementation records — is
organized under docs/ in this repository. Start at the
documentation map to locate the right
document.
See the organization-wide contribution guidelines for contribution workflow, coding expectations, and community standards.
Repository-specific development documentation is available under
docs/development/, starting with
Local development and
Testing strategy.
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0) and is part of the Parametron ecosystem.
If you use this software over a network, you must make the source code available under the same license.