1.2 KiB
1.2 KiB
AGENTS.md
Repository Purpose
This repository contains a Python reference implementation for the Autopoiesis service-genome fabric.
Architecture
genome.py: genome schema, canonical hashing, Ed25519 signing, signed artifact verification.policy.py: policy templates, deterministic smoke-test evaluation, safety attestation.ledger.py: append-only provenance ledger, Merkle root computation, replay trace models.replicator.py: deterministic replication planner and lightweight ReplicaWeave intent model.
Tech Stack
- Python 3.11+
pydanticfor strict data modelscryptographyfor Ed25519 signing and verificationpytestfor testsbuildfor packaging verification
Rules
- Keep changes deterministic and canonical where hashes or signatures are involved.
- Preserve frozen model semantics unless there is a concrete reason to relax them.
- Prefer the smallest correct change that improves safety, verification, or reproducibility.
- Update tests whenever schema, policy, or hashing behavior changes.
- Keep public APIs importable from
idea187_autopoiesis_verifiable_service.__init__.
Test Commands
bash test.shpython3 -m buildpython3 -m pytest