1.2 KiB
1.2 KiB
SoundGraph Studio — Phase0 primitives
This repository contains Phase0 primitives for SoundGraph Studio: a content-addressed representation of AudioModule objects, an AudioPatch structure with a Merkle-based root for provable inclusion, and simple provenance events with cryptographic signatures.
What is included
- A small Python package
idea44_soundgraph_studio_verifiableimplementing:- AudioModule: content-addressed modules (SHA-256 over canonical JSON)
- AudioPatch: nodes referencing module CIDs and edges; Merkle root over nodes+edges
- ProvenanceEvent: lightweight signed events (ed25519) for tamper-evident audit trails
- Tests (pytest) that validate CID reproducibility, Merkle inclusion proofs, and signature verification
- Packaging (pyproject.toml + setup.cfg) and a
test.shthat runs the test suite and verifies build
How to run tests
- Make sure you have Python 3.8+ and
python3 -m pipavailable. - Run:
./test.sh
This will install the package in editable mode, run pytest, and run python3 -m build to verify packaging.
Notes
- This is intentionally focused on Phase0 local graph primitives — a solid foundation for future delta-sync, adapters, and governance ledger work.