AUTO-PROTO-01 · v0.2.0-implementation · Phase I Complete

Autopoietic

Controlled Runtime AST Transformation inside Isolated Execution Environments
Stability Conditions · Structural Invariants · Differential Verification · Controlled Deployment

"The ability to generate a modified program is separated
from the ability to establish its admissibility."
118
Tests Passing
8
Modules Complete
3
Invariant Layers
4
Transformations
4
Operational Dimensions
0
Pilot Runs

Separating Code Generation from Code Admissibility

A program transformation may produce syntactically valid source while introducing structural inconsistencies or behavioral regressions. Runtime code rewriting therefore cannot be validated by a single check. It requires layered evidence.

LAYER I_s

Syntactic

Does P₁ parse? Is the signature preserved? Are imports and decorators unchanged? S1–S6 cover formal validity.

LAYER I_t

Structural

Do all names have bindings? Are dependency cycles valid? Are there orphan variables? T1–T5 cover relational integrity.

LAYER I_b

Behavioral

Do return values, exceptions, and stdout match over a corpus? Are there new side effects? B1–B4 cover observable behavior.

No Dimension Guarantees Another

Isolation

Can candidate execution be separated from the original process? Evaluated via multiprocessing tests.

Verification

Does the candidate satisfy defined acceptance conditions? Evaluated via I_s ∧ I_t ∧ I_b.

Transition Integrity

Can activation occur without partial or inconsistent deployment? Evaluated via atomic swap.

Recoverability

Can the previous required state be restored? Evaluated via rollback and State Restoration Fidelity (deferred).

Phase I Complete · 118/118 Tests

Core — Extraction (extractor.py) Complete · 3 tests
Core — Transformation (transformer.py) Complete · 4 tests
Core — Deployer (deployer.py) Complete · 19 tests
Invariants — Syntactic (S1–S6) Complete · 22 tests
Invariants — Structural (T1–T5) Complete · 23 tests
Invariants — Behavioral (B1–B4) Complete · 18 tests
Sandbox — Isolation (isolated_runner.py) Complete · 17 tests
Sandbox — Differential (differential.py) Complete · 12 tests
Pilot study (0.3.0-pilot) Not started
Module-level rewriting (0.4.0) Conditional
Stateful support (1.0.0) Deferred

View Test Results

Live view of implementation status: module-by-module tests, Phase I completion, and roadmap.

Open Dashboard →