1.0 KiB
1.0 KiB
ReplicaSurety — idea199-replicasurety-economic-surety
This repository implements a focused, production-minded chunk of the ReplicaSurety vision:
- PoeticCert and ReplayBundle JSON schemas (Pydantic models)
- A tiny off-chain Surety Ledger (in-memory with JSON persistence)
- A deterministic ReplayBundle verifier that emits a signed verdict (demo)
- FastAPI endpoints to interact with the ledger and verifier
- Tests, README, AGENTS.md, and a test.sh that runs tests and builds the package
This is an intentionally small, well-tested foundation intended for further extension.
Quickstart
Install (editable):
python3 -m pip install -e .
Run tests and build (this repository includes test.sh):
bash test.sh
Run the demo API locally:
uvicorn src.idea199_replicasurety_economic_surety.api:app --reload
Project layout
- src/idea199_replicasurety_economic_surety: implementation
- tests/: pytest test suite
- AGENTS.md: architecture and rules for contributors
License: MIT