Expand description
Law packages as signed content (T72, W10).
A law declaration carries more than just the condition and consequence — it carries provenance: who authored it, under what licence, whether it is physical or fictional, and a cryptographic signature binding the author to the law’s content.
Without signed law packages, any agent can inject a “law” that
says transform.dissolve(self) without anyone knowing who wrote
it or whether it’s physically valid. Signed law packages make
the provenance travel with the law.
§Structure
A LawPackage wraps a LawDecl with:
- Author DID: who wrote the law.
- Licence IRI: under what terms the law may be used.
- Physical validity: is this a physical law (conservation- respecting) or a fictional/game rule?
- Signature: Ed25519 signature over the law’s canonical encoding, binding the author to the content.
- Asserted at: when the law was authored (Instant).
Reference: docs/vibescript-full-impl-PLAN.md §8.14 T72,
excellence-first §3.8, W10.
Structs§
- LawPackage
- A signed law package — a law declaration with provenance and cryptographic signature (T72, W10).
- LawStore
- A registry of law packages — a law store (T72, W10).
Enums§
- LawKind
- Whether a law is physically valid or a fictional/game rule (T72).