@manifesto-ai/governance 3.1.2 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -3
- package/dist/chunk-JLXJCLOD.js +1020 -0
- package/dist/chunk-JLXJCLOD.js.map +1 -0
- package/dist/index.d.ts +3 -15
- package/dist/index.js +15 -1018
- package/dist/index.js.map +1 -1
- package/dist/provider.d.ts +15 -0
- package/dist/provider.js +73 -0
- package/dist/provider.js.map +1 -0
- package/dist/runtime-types.d.ts +7 -8
- package/dist/service/governance-service.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/with-governance.d.ts +1 -1
- package/package.json +13 -7
package/README.md
CHANGED
|
@@ -42,7 +42,8 @@ const proposal = await governed.proposeAsync(
|
|
|
42
42
|
- proposal lifecycle and authority evaluation
|
|
43
43
|
- pending human/tribunal resolution through `approve()` / `reject()`
|
|
44
44
|
- governance decision records and post-commit governance events
|
|
45
|
-
-
|
|
45
|
+
- lineage-preserving query access such as `getWorldSnapshot()`, `getLatestHead()`, and `getBranches()`
|
|
46
|
+
- low-level governance stores, services, authority handlers, and intent-instance helpers via `@manifesto-ai/governance/provider`
|
|
46
47
|
|
|
47
48
|
## What Changes After Governance Activation
|
|
48
49
|
|
|
@@ -50,17 +51,20 @@ const proposal = await governed.proposeAsync(
|
|
|
50
51
|
- the canonical state-change path becomes `proposeAsync() -> approve()/reject()`
|
|
51
52
|
- lineage must be composed before governance activation
|
|
52
53
|
- visible snapshots publish only after approved execution seals successfully
|
|
54
|
+
- `getWorldSnapshot(worldId)` remains the stored sealed snapshot lookup; `restore(worldId)` remains the normalized resume path inherited from lineage
|
|
53
55
|
|
|
54
56
|
## Low-Level Surface Still Available
|
|
55
57
|
|
|
56
|
-
The
|
|
58
|
+
The provider entry point remains public for lower-level tooling and protocol tests:
|
|
57
59
|
|
|
60
|
+
- `@manifesto-ai/governance/provider`
|
|
58
61
|
- `createGovernanceService()`
|
|
59
62
|
- `createGovernanceEventDispatcher()`
|
|
60
|
-
- `createInMemoryGovernanceStore()`
|
|
61
63
|
- `createAuthorityEvaluator()`
|
|
62
64
|
- authority handlers and lifecycle types
|
|
63
65
|
|
|
66
|
+
`createInMemoryGovernanceStore()` also remains available from the root package as a consumer-safe bootstrap helper.
|
|
67
|
+
|
|
64
68
|
Those are no longer the canonical application entry story.
|
|
65
69
|
|
|
66
70
|
## Docs
|