1.1 KiB
1.1 KiB
Repository Guide
Architecture
src/idea194_attractorforge_verified_attractor/models.pydefines the DSL and artifact objects.src/idea194_attractorforge_verified_attractor/adapters.pycontains deterministic toy dynamics for orbital and bioreactor simulations.src/idea194_attractorforge_verified_attractor/compiler.pyturns specs into controllers, PlanCerts, BasinSketches, and Merkle-logged PlanDeltas.src/idea194_attractorforge_verified_attractor/runtime.pyprovides deterministic execution and replay verification.src/idea194_attractorforge_verified_attractor/cli.pyexposes a small CLI for manual inspection.
Tech Stack
- Python 3.11+
- Standard library only for runtime logic
pytestfor testssetuptoolsbuild backend viapyproject.toml
Rules
- Keep controller behavior deterministic.
- Preserve bounded control outputs in the compiler and runtime.
- Prefer small, explicit data models over implicit dictionaries.
- Update tests whenever compiler or runtime behavior changes.
- Keep artifact hashes stable by using canonical JSON formatting.
Testing
bash test.shpytestpython3 -m build