@unifyplane/apply-runtime
v0.1.0
Published
Deterministic apply runtime. Applies compiled plans and records evidence.
Readme
UnifyPlane Apply Runtime
Status: Active · Architecture Locked System Type: Pipeline Runtime (Non-Authoritative) Repository: unifyplane-apply-runtime
PURPOSE
UnifyPlane Apply Runtime is a deterministic runtime that applies compiled plans, invokes external validators, and records immutable evidence.
It does not define correctness, authority, business logic, or generation logic.
Its sole responsibility is to apply what has already been decided elsewhere, observe outcomes, and emit evidence.
IDENTITY (AUTHORITATIVE)
UnifyPlane Apply Runtime applies compiled plans deterministically and records evidence. It invokes external validators but does not define correctness, authority, or execution.
This identity is locked.
LIFECYCLE MODEL
PLAN -> APPLY -> VALIDATE -> EVIDENCE
Where:
PLAN A compiled, explicit instruction set produced upstream.
APPLY Deterministic execution of plan steps performed by this runtime.
VALIDATE Structural and/or semantic validation performed by external Validator SDKs.
EVIDENCE Immutable, machine-verifiable observation written to the consumer system.
Validation is a stage, not the identity of this runtime.
WHAT THIS RUNTIME DOES
- Applies compiled plans deterministically
- Dispatches plan steps in a defined order
- Invokes external Validator SDKs
- Collects and emits ValidatorResult outputs
- Writes immutable evidence to downstream systems
WHAT THIS RUNTIME DOES NOT DO
This repository explicitly does not:
- define validation logic
- decide correctness or legitimacy
- own authority or meaning
- generate artifacts
- mutate canonical domain state
- perform Change Impact Analysis (CIA)
- act as an agent or reasoning system
If logic belongs to authority, semantics, generation, or decision-making, it does not belong here.
ROLE SEPARATION (NON-NEGOTIABLE)
MDM / Domain Repository Owns meaning, contracts, versions, and approvals. Never runs validators.
Validator SDK Owns structural and semantic correctness. Pure, deterministic, side-effect free. Returns ValidatorResult only.
Apply Runtime (this repository) Applies plans, invokes validators, and records evidence. Never decides correctness or authority.
CIA POSITIONING
Change Impact Analysis (CIA) is drift-first and advisory.
This runtime:
- emits evidence consumed by CIA
- does not perform CIA
- does not mutate canonical state
Generators and transformers are explicitly out of scope.
FINAL INVARIANT
This runtime observes and applies. It never decides, generates, or governs.
Any behavior outside this invariant is a defect.
Runtime & Tooling Declaration (Authoritative)
- Runtime model: CommonJS | ESM
- TypeScript module target: commonjs | NodeNext
- JSON loading strategy: require() | ESM-compliant JSON loading
- Test runner: jest | vitest | none
- Build contract:
npm run buildMUST succeeddist/MUST be Node-executable without ts-node/tsx
