@manifesto-ai/skills 0.2.1 → 0.2.2

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/SKILL.md CHANGED
@@ -11,9 +11,9 @@ You are working on a Manifesto-based project. These rules are non-negotiable.
11
11
 
12
12
  This skills pack follows the current implementation in this repo.
13
13
 
14
- - `@manifesto-ai/world` is still the active code target for world/governance/lineage behavior.
15
- - `@manifesto-ai/governance` and `@manifesto-ai/lineage` are currently split-design docs, not code packages to target for implementation work here.
16
- - When docs describe future structure that is not implemented yet, prefer existing package exports and source files.
14
+ - `@manifesto-ai/world` is the canonical governed composition package and exact consumer-facing facade.
15
+ - `@manifesto-ai/governance` and `@manifesto-ai/lineage` are implemented code packages and own their protocol-layer behavior.
16
+ - For governed work, prefer top-level `@manifesto-ai/world` for composition and import split-native packages directly only when the task is intentionally limited to governance or lineage.
17
17
 
18
18
  ## Absolute Rules
19
19
 
@@ -1,7 +1,7 @@
1
1
  # Manifesto Architecture
2
2
 
3
- > Source: `packages/core/docs/core-SPEC.md`, `packages/host/docs/host-SPEC.md`, `packages/sdk/docs/sdk-SPEC-v1.0.0.md`, current `packages/world/src/*`
4
- > Last synced: 2026-03-28
3
+ > Source: `packages/core/docs/core-SPEC.md`, `packages/host/docs/host-SPEC.md`, `packages/sdk/docs/sdk-SPEC-v2.0.0.md`, current `packages/world/src/*`
4
+ > Last synced: 2026-03-31
5
5
 
6
6
  ## Rules
7
7
 
@@ -42,14 +42,12 @@ SDK-style app
42
42
  Governed path
43
43
  Actor submits IntentInstance
44
44
  -> World
45
- -> HostExecutor
45
+ -> WorldExecutor
46
46
  -> Host
47
47
  -> Core
48
48
  -> new World state + lineage records
49
49
  ```
50
50
 
51
- The separate `@manifesto-ai/governance` and `@manifesto-ai/lineage` packages are not implemented code targets in this repo yet. They currently exist as split-design documentation only.
52
-
53
51
  ## Package Sovereignty
54
52
 
55
53
  | Package | Responsibility | MUST NOT |
@@ -59,19 +57,14 @@ The separate `@manifesto-ai/governance` and `@manifesto-ai/lineage` packages are
59
57
  | **World** | Proposal lifecycle, authority evaluation, lineage DAG, persistence, governance event emission | Import `@manifesto-ai/host` directly, compute semantic meaning, apply Core patches itself |
60
58
  | **SDK** | Public app entrypoint (`createManifesto`), typed effect registration, `dispatchAsync`, typed patch helpers, selected re-exports | Invent semantics outside Core/Host/World public contracts |
61
59
 
62
- ## Current `world` Note
63
-
64
- In this repo's implementation, `@manifesto-ai/world` is still the active monolithic package for:
60
+ ## Current Governed Structure
65
61
 
66
- - actor registry
67
- - proposal queue and state machine
68
- - authority handlers and evaluation
69
- - lineage DAG helpers
70
- - persistence interfaces and in-memory store
71
- - governance event emission
72
- - `HostExecutor` boundary
62
+ In this repo's implementation:
73
63
 
74
- ADR-014 split docs are useful for future direction, but not the current implementation baseline for code changes.
64
+ - `@manifesto-ai/world` is the exact consumer-facing governed facade
65
+ - `@manifesto-ai/governance` is the current governance protocol package
66
+ - `@manifesto-ai/lineage` is the current continuity protocol package
67
+ - top-level `@manifesto-ai/world` re-exports the split-native surfaces needed for explicit composition
75
68
 
76
69
  ## Snapshot Structure
77
70
 
@@ -82,7 +75,6 @@ type Snapshot = {
82
75
  system: {
83
76
  status: "idle" | "computing" | "pending" | "error";
84
77
  lastError: ErrorValue | null;
85
- errors: ErrorValue[];
86
78
  pendingRequirements: Requirement[];
87
79
  currentAction: string | null;
88
80
  };
@@ -120,7 +112,7 @@ Each `compute()` call is complete and independent. Continuity lives in the snaps
120
112
  - **Determinism**: Core can be tested without mocks.
121
113
  - **Auditability**: World records proposal and decision lineage.
122
114
  - **Portability**: Host remains the execution seam.
123
- - **Clarity**: SDK is the public app-facing layer, while World is optional governance/orchestration around Host.
115
+ - **Clarity**: SDK is the public app-facing direct-dispatch layer, while World is the explicit governed composition layer around Host.
124
116
 
125
117
  ## Cross-References
126
118
 
@@ -23,15 +23,25 @@ When implementation and future-design docs diverge, use the implemented package
23
23
  - `packages/host/src/index.ts`
24
24
 
25
25
  ### World
26
- - `packages/world/src/index.ts`
27
- - `packages/world/src/world.ts`
26
+ - `packages/world/docs/world-facade-spec-v1.0.0.md`
28
27
  - `packages/world/docs/VERSION-INDEX.md`
29
- - `packages/world/docs/world-SPEC.md`
28
+ - `packages/world/src/index.ts`
29
+ - `packages/world/src/facade/index.ts`
30
+
31
+ Note: top-level `@manifesto-ai/world` is the exact governed facade in the current repo.
32
+
33
+ ### Governance
34
+ - `packages/governance/docs/governance-SPEC-1.0.0v.md`
35
+ - `packages/governance/docs/VERSION-INDEX.md`
36
+ - `packages/governance/src/index.ts`
30
37
 
31
- Note: current repo code still implements world concerns in `@manifesto-ai/world`.
38
+ ### Lineage
39
+ - `packages/lineage/docs/lineage-SPEC-1.0.1v.md`
40
+ - `packages/lineage/docs/VERSION-INDEX.md`
41
+ - `packages/lineage/src/index.ts`
32
42
 
33
43
  ### SDK
34
- - `packages/sdk/docs/sdk-SPEC-v1.0.0.md`
44
+ - `packages/sdk/docs/sdk-SPEC-v2.0.0.md`
35
45
  - `packages/sdk/docs/VERSION-INDEX.md`
36
46
  - `packages/sdk/src/index.ts`
37
47
  - `packages/sdk/src/types.ts`
@@ -48,15 +58,14 @@ Note: current repo code still implements world concerns in `@manifesto-ai/world`
48
58
 
49
59
  ## Future-split / design-only references
50
60
 
51
- These are useful design docs, but they are not backed by separate code packages in this repo yet:
61
+ These are useful next-major drafts, but they are not the default coding target unless a task explicitly targets them:
52
62
 
53
- - `packages/governance/docs/governance-SPEC-1.0.0v.md`
54
- - `packages/governance/docs/VERSION-INDEX.md`
55
- - `packages/lineage/docs/lineage-SPEC-1.0.1v.md`
56
- - `packages/lineage/docs/VERSION-INDEX.md`
57
- - `packages/world/docs/world-facade-spec-v1.0.0.md`
63
+ - `packages/sdk/docs/sdk-SPEC-v3.0.0-draft.md`
64
+ - `packages/governance/docs/governance-SPEC-2.0.0v.md`
65
+ - `packages/lineage/docs/lineage-SPEC-2.0.0v.md`
66
+ - `packages/world/docs/world-facade-spec-v2.0.0.md`
58
67
 
59
- Use them for ADR-014 direction, not as the primary basis for current code changes.
68
+ Use them for next-major direction, not as the primary basis for current code changes.
60
69
 
61
70
  ## ADRs
62
71
 
@@ -42,12 +42,12 @@ This is a compact summary of high-salience rules. For exact wording, defer to th
42
42
 
43
43
  ## Current implementation note
44
44
 
45
- - In this repo, `@manifesto-ai/world` is still the active implementation target for world/governance/lineage behavior.
46
- - `@manifesto-ai/governance` and `@manifesto-ai/lineage` exist as split-design documentation, not implemented code packages.
47
- - For coding tasks, prefer the current exported surface in `packages/world/src/*` over future split docs.
45
+ - In this repo, top-level `@manifesto-ai/world` is the exact consumer-facing governed facade.
46
+ - `@manifesto-ai/governance` and `@manifesto-ai/lineage` are implemented code packages and own their protocol-layer behavior.
47
+ - For consumer-facing governed work, prefer current `@manifesto-ai/world` exports and adapter subpaths. Import split-native packages directly only when the task is intentionally scoped to governance or lineage.
48
48
 
49
49
  ## Guidance for LLM use
50
50
 
51
51
  - Do not infer behavior not stated in SPEC, FDR, ADR, or current exported code.
52
- - When docs and code differ because a future split is not implemented yet, call that out explicitly.
52
+ - When current and next-major docs differ, call that out explicitly and prefer the current exported surface unless the task targets a draft.
53
53
  - Prefer current package exports and source layout for implementation guidance.
@@ -18,6 +18,8 @@ interface ManifestoCore {
18
18
  applySystemDelta(snapshot, delta): Snapshot;
19
19
  validate(schema): ValidationResult;
20
20
  explain(schema, snapshot, path): ExplainResult;
21
+ isActionAvailable(schema, snapshot, actionName): boolean;
22
+ getAvailableActions(schema, snapshot): readonly string[];
21
23
  }
22
24
  ```
23
25
 
@@ -41,7 +43,6 @@ type Snapshot = {
41
43
  system: {
42
44
  status: "idle" | "computing" | "pending" | "error";
43
45
  lastError: ErrorValue | null;
44
- errors: ErrorValue[];
45
46
  pendingRequirements: Requirement[];
46
47
  currentAction: string | null;
47
48
  };
@@ -82,9 +83,8 @@ type SystemDelta = {
82
83
  status?: SystemState["status"];
83
84
  currentAction?: string | null;
84
85
  lastError?: ErrorValue | null;
85
- appendErrors: ErrorValue[];
86
- addRequirements: Requirement[];
87
- removeRequirementIds: string[];
86
+ addRequirements?: readonly Requirement[];
87
+ removeRequirementIds?: readonly string[];
88
88
  };
89
89
  ```
90
90
 
@@ -93,6 +93,8 @@ type SystemDelta = {
93
93
  - `createSnapshot`
94
94
  - `createIntent`
95
95
  - `createCore`
96
+ - `isActionAvailable`
97
+ - `getAvailableActions`
96
98
  - schema and evaluator re-exports
97
99
 
98
100
  ## Notes
@@ -100,3 +102,4 @@ type SystemDelta = {
100
102
  - Core owns semantic meaning and validation.
101
103
  - Host owns execution.
102
104
  - World owns governance and proposal flow around execution.
105
+ - Current Core v4 keeps `lastError` as the sole current error surface.
@@ -8,7 +8,7 @@ Host executes effects, applies patches, orchestrates the compute loop, and fulfi
8
8
 
9
9
  ## Public API
10
10
 
11
- ### `createHost(schema, effectHandlers, options?): ManifestoHost`
11
+ ### `createHost(schema, options?): ManifestoHost`
12
12
 
13
13
  ```typescript
14
14
  const host = createHost(schema, effectHandlers, {
@@ -68,4 +68,5 @@ SDK wraps this Host-level contract into the simpler `(params, ctx)` developer-fa
68
68
  ## Notes
69
69
 
70
70
  - Host is the execution seam between Core and the outside world.
71
- - `@manifesto-ai/world` defines a `HostExecutor` boundary so World does not import Host directly.
71
+ - Host-facing Snapshot references follow the current Core v4 shape and no longer include accumulated `system.errors`.
72
+ - `@manifesto-ai/world` defines a `WorldExecutor` boundary so World does not import Host directly.
@@ -7,12 +7,13 @@
7
7
  SDK owns the public app-facing surface:
8
8
 
9
9
  - `createManifesto()`
10
+ - availability query convenience methods on `ManifestoInstance`
10
11
  - `dispatchAsync()`
11
12
  - `defineOps()`
12
13
  - SDK error types
13
14
  - selected re-exports from Core, Host, and World
14
15
 
15
- In the current implementation, `createManifesto()` composes Core, Host, and Compiler directly. The package also depends on `@manifesto-ai/world` and re-exports `WorldStore` helpers, but `createManifesto()` itself is not a World orchestrator.
16
+ In the current implementation, `createManifesto()` composes Core, Host, and Compiler directly. The package also depends on `@manifesto-ai/world` and re-exports only a thin governed surface, but `createManifesto()` itself is not a World orchestrator.
16
17
 
17
18
  ## Dependencies
18
19
 
@@ -63,6 +64,8 @@ interface ManifestoInstance<T = unknown> {
63
64
  event: K,
64
65
  handler: (payload: ManifestoEventMap<T>[K]) => void,
65
66
  ): Unsubscribe;
67
+ isActionAvailable(actionName: string): boolean;
68
+ getAvailableActions(): readonly string[];
66
69
  getSnapshot(): Snapshot<T>;
67
70
  dispose(): void;
68
71
  }
@@ -118,7 +121,7 @@ Payloads are event-specific through `ManifestoEventMap<T>`.
118
121
 
119
122
  - From Core: `createIntent`, `createSnapshot`, `createCore`, core types
120
123
  - From Host: `HostResult`, `HostOptions`
121
- - From World: `WorldStore`, `createMemoryWorldStore`
124
+ - From World: `createWorld` plus the thin governed type surface needed for explicit composition
122
125
 
123
126
  ## Errors
124
127
 
@@ -127,3 +130,9 @@ Payloads are event-specific through `ManifestoEventMap<T>`.
127
130
  - `DisposedError`
128
131
  - `CompileError`
129
132
  - `DispatchRejectedError`
133
+
134
+ ## Notes
135
+
136
+ - SDK `Snapshot<T>` transparently follows the current Core Snapshot shape.
137
+ - `getSnapshot()` no longer exposes accumulated `system.errors`.
138
+ - `isActionAvailable()` and `getAvailableActions()` delegate to Core against the current snapshot.
@@ -1,20 +1,16 @@
1
1
  # @manifesto-ai/world
2
2
 
3
- > Current monolithic World Protocol implementation in this repo.
3
+ > Canonical governed composition surface for Manifesto.
4
4
 
5
5
  ## Role
6
6
 
7
- In the current codebase, `@manifesto-ai/world` is the active implementation target for:
7
+ Top-level `@manifesto-ai/world` is the exact consumer-facing facade for:
8
8
 
9
- - actor registration and authority bindings
10
- - proposal submission and lifecycle
11
- - authority evaluation, including HITL and policy rules
12
- - lineage DAG helpers
13
- - world persistence interfaces and in-memory storage
14
- - governance event emission
15
- - `HostExecutor` boundary definition
16
-
17
- Future split docs for `@manifesto-ai/governance` and `@manifesto-ai/lineage` exist, but those packages are not implemented as code in this repo yet.
9
+ - `createWorld()` and `WorldRuntime`
10
+ - the `GovernedWorldStore` contract and seal transaction seam
11
+ - the world-owned execution boundary (`WorldExecutor`)
12
+ - split-native lineage and governance service re-exports
13
+ - intent-instance helpers and governed bootstrap wiring
18
14
 
19
15
  ## Dependencies
20
16
 
@@ -23,82 +19,51 @@ Future split docs for `@manifesto-ai/governance` and `@manifesto-ai/lineage` exi
23
19
 
24
20
  ## Public API
25
21
 
26
- ### `createManifestoWorld(config): ManifestoWorld`
22
+ ### `createWorld(config): WorldInstance`
27
23
 
28
24
  ```typescript
29
- interface ManifestoWorldConfig {
30
- schemaHash: string;
31
- executor?: HostExecutor;
32
- store?: WorldStore;
33
- onHITLRequired?: HITLNotificationCallback;
34
- customEvaluators?: Record<string, CustomConditionEvaluator>;
35
- eventSink?: WorldEventSink;
36
- executionKeyPolicy?: ExecutionKeyPolicy;
25
+ interface WorldConfig {
26
+ store: GovernedWorldStore;
27
+ lineage: LineageService;
28
+ governance: GovernanceService;
29
+ eventDispatcher: GovernanceEventDispatcher;
30
+ executor: WorldExecutor;
37
31
  }
38
32
  ```
39
33
 
40
- ### `ManifestoWorld`
34
+ ### `WorldInstance`
41
35
 
42
36
  ```typescript
43
- class ManifestoWorld {
44
- registerActor(actor: ActorRef, policy: AuthorityPolicy): void;
45
- updateActorBinding(actorId: string, policy: AuthorityPolicy): void;
46
- getActorBinding(actorId: string): ActorAuthorityBinding | null;
47
- getRegisteredActors(): ActorRef[];
48
- onHITLRequired(handler: HITLNotificationCallback): () => void;
49
-
50
- createGenesis(initialSnapshot: Snapshot): Promise<World>;
51
- switchBranch(newBaseWorld: WorldId): Promise<void>;
52
- get epoch(): number;
53
-
54
- submitProposal(
55
- actorId: string,
56
- intent: IntentInstance,
57
- baseWorld: WorldId,
58
- trace?: ProposalTrace,
59
- ): Promise<ProposalResult>;
60
-
61
- processHITLDecision(
62
- proposalId: string,
63
- decision: "approved" | "rejected",
64
- reasoning?: string,
65
- approvedScope?: IntentScope | null,
66
- ): Promise<ProposalResult>;
67
-
68
- getWorld(worldId: WorldId): Promise<World | null>;
69
- getSnapshot(worldId: WorldId): Promise<Snapshot | null>;
70
- getGenesis(): Promise<World | null>;
71
- getProposal(proposalId: string): Promise<Proposal | null>;
72
- getEvaluatingProposals(): Promise<Proposal[]>;
73
- getDecision(decisionId: string): Promise<DecisionRecord | null>;
74
- getDecisionByProposal(proposalId: string): Promise<DecisionRecord | null>;
75
- getLineage(): WorldLineage;
37
+ interface WorldInstance {
38
+ store: GovernedWorldStore;
39
+ lineage: LineageService;
40
+ governance: GovernanceService;
41
+ coordinator: WorldCoordinator;
42
+ runtime: WorldRuntime;
76
43
  }
77
44
  ```
78
45
 
79
- ### `ProposalResult`
46
+ ### `WorldRuntime`
80
47
 
81
48
  ```typescript
82
- type ProposalResult = {
83
- proposal: Proposal;
84
- decision?: DecisionRecord;
85
- resultWorld?: World;
86
- error?: WorldError;
87
- };
49
+ interface WorldRuntime {
50
+ executeApprovedProposal(input: ExecuteApprovedProposalInput): Promise<WorldRuntimeCompletion>;
51
+ resumeExecutingProposal(input: ResumeExecutingProposalInput): Promise<WorldRuntimeCompletion>;
52
+ }
88
53
  ```
89
54
 
90
- ### `HostExecutor`
55
+ ### `WorldExecutor`
91
56
 
92
57
  World defines its own execution seam and does not import `@manifesto-ai/host` directly:
93
58
 
94
59
  ```typescript
95
- interface HostExecutor {
60
+ interface WorldExecutor {
96
61
  execute(
97
62
  key: ExecutionKey,
98
- baseSnapshot: Snapshot,
63
+ snapshot: Snapshot,
99
64
  intent: Intent,
100
- opts?: HostExecutionOptions,
101
- ): Promise<HostExecutionResult>;
65
+ opts?: WorldExecutionOptions,
66
+ ): Promise<WorldExecutionResult>;
102
67
 
103
68
  abort?(key: ExecutionKey): void;
104
69
  }
@@ -106,16 +71,21 @@ interface HostExecutor {
106
71
 
107
72
  ## Stores, Helpers, and Re-exports
108
73
 
109
- Key currently implemented exports include:
74
+ Top-level exports include:
75
+
76
+ - `createWorld`
77
+ - `createLineageService`
78
+ - `createGovernanceService`
79
+ - `createGovernanceEventDispatcher`
80
+ - `createIntentInstance`, `createIntentInstanceSync`
81
+ - split-native lineage and governance types
82
+ - the facade-owned `GovernedWorldStore`, `WorldCoordinator`, and `WorldRuntime` types
110
83
 
111
- - `WorldStore`, `createMemoryWorldStore`
112
- - `createExecutionKey`, `defaultExecutionKeyPolicy`
113
- - actor registry helpers
114
- - proposal queue helpers
115
- - authority handlers and evaluator
116
- - lineage helpers
117
- - world event types and `createNoopWorldEventSink`
118
- - factories such as `createGenesisWorld`, `createWorldFromExecution`, `createIntentInstance`
84
+ Concrete store adapters live on subpaths:
85
+
86
+ - `@manifesto-ai/world/in-memory`
87
+ - `@manifesto-ai/world/indexeddb`
88
+ - `@manifesto-ai/world/sqlite`
119
89
 
120
90
  ## Event Model
121
91
 
@@ -130,9 +100,8 @@ Current world implementation emits governance-oriented events such as:
130
100
  - `world:created`
131
101
  - `world:forked`
132
102
 
133
- ## Current vs Future Structure
134
-
135
- - **Current code target**: `@manifesto-ai/world`
136
- - **Future design references**: `@manifesto-ai/governance`, `@manifesto-ai/lineage`, `world-facade-spec-v1.0.0`
103
+ ## Current Structure
137
104
 
138
- If you are changing code in this repo today, start from `packages/world/src/index.ts` and `packages/world/src/world.ts`.
105
+ - Use top-level `@manifesto-ai/world` for consumer-facing governed composition.
106
+ - Use `@manifesto-ai/governance` or `@manifesto-ai/lineage` directly only when the task is intentionally scoped to one protocol layer.
107
+ - Use adapter subpaths only when you need a concrete store implementation.
@@ -1,7 +1,7 @@
1
1
  # SPEC Index
2
2
 
3
3
  > Source: `./llm/LLM-INDEX.md`
4
- > Last synced: 2026-03-28
4
+ > Last synced: 2026-03-31
5
5
 
6
6
  ## Normative Hierarchy
7
7
 
@@ -11,7 +11,7 @@
11
11
  4. **Code**
12
12
  5. **README**
13
13
 
14
- When documents conflict, prefer the higher-ranked source. When docs describe future package splits that are not implemented in code yet, use current package exports and source layout for coding tasks.
14
+ When documents conflict, prefer the higher-ranked source. When current and next-major docs diverge, use the current exported package surface for coding tasks unless the task explicitly targets a draft.
15
15
 
16
16
  ## Current Code-Writing Baseline
17
17
 
@@ -19,36 +19,52 @@ When documents conflict, prefer the higher-ranked source. When docs describe fut
19
19
 
20
20
  - `packages/core/docs/core-SPEC.md`
21
21
  - `packages/core/docs/VERSION-INDEX.md`
22
+ - `packages/core/src/index.ts`
22
23
 
23
- Use for: constitution, snapshot structure, patch semantics, validation, `SystemDelta`.
24
+ Use for: constitution, current Snapshot shape, patch semantics, validation, `SystemDelta`, and availability query API.
24
25
 
25
26
  ### Host
26
27
 
27
28
  - `packages/host/docs/host-SPEC.md`
28
29
  - `packages/host/docs/VERSION-INDEX.md`
30
+ - `packages/host/src/index.ts`
29
31
 
30
- Use for: effect handler contract, requirement lifecycle, execution model, Host/Core boundary.
32
+ Use for: effect handler contract, requirement lifecycle, execution model, and Host/Core boundary.
31
33
 
32
34
  ### World
33
35
 
34
- - `packages/world/src/index.ts`
35
- - `packages/world/src/world.ts`
36
+ - `packages/world/docs/world-facade-spec-v1.0.0.md`
36
37
  - `packages/world/docs/VERSION-INDEX.md`
37
- - `packages/world/docs/world-SPEC.md`
38
+ - `packages/world/src/index.ts`
39
+ - `packages/world/src/facade/index.ts`
38
40
 
39
- Use for: actual implemented `@manifesto-ai/world` API, proposal flow, authority evaluation, persistence, event emission, lineage helpers.
41
+ Use for: top-level governed composition, `createWorld()`, `WorldRuntime`, store contract, and the exact facade-owned execution boundary.
40
42
 
41
- Important: current repo code still targets monolithic `@manifesto-ai/world`. Treat governance/lineage split docs as design context unless you are explicitly editing docs.
43
+ ### Governance
44
+
45
+ - `packages/governance/docs/governance-SPEC-1.0.0v.md`
46
+ - `packages/governance/docs/VERSION-INDEX.md`
47
+ - `packages/governance/src/index.ts`
48
+
49
+ Use for: proposal lifecycle, authority evaluation, governance events, and proposal persistence semantics.
50
+
51
+ ### Lineage
52
+
53
+ - `packages/lineage/docs/lineage-SPEC-1.0.1v.md`
54
+ - `packages/lineage/docs/VERSION-INDEX.md`
55
+ - `packages/lineage/src/index.ts`
56
+
57
+ Use for: world identity, seal attempts, branch/head/tip rules, restore, replay, and continuity persistence.
42
58
 
43
59
  ### SDK
44
60
 
45
- - `packages/sdk/docs/sdk-SPEC-v1.0.0.md`
61
+ - `packages/sdk/docs/sdk-SPEC-v2.0.0.md`
46
62
  - `packages/sdk/docs/VERSION-INDEX.md`
47
63
  - `packages/sdk/src/index.ts`
48
64
  - `packages/sdk/src/types.ts`
49
65
  - `packages/sdk/src/create-manifesto.ts`
50
66
 
51
- Use for: `createManifesto()`, `ManifestoConfig`, `ManifestoInstance`, `dispatchAsync`, typed events, typed patch helpers.
67
+ Use for: `createManifesto()`, `ManifestoConfig`, `ManifestoInstance`, availability queries, `dispatchAsync`, typed events, and typed patch helpers.
52
68
 
53
69
  ### Compiler
54
70
 
@@ -65,23 +81,24 @@ Use for: MEL syntax, compiler public API, bundler integrations, compile diagnost
65
81
 
66
82
  Use for: code generation plugin contracts.
67
83
 
68
- ## Design / Future-Split References
84
+ ## Next-Major Draft References
69
85
 
70
- These docs are real, but they are not the current code-writing target for implementation work in this repo:
86
+ These docs are real, but they are not the current code-writing target unless the task explicitly targets a draft:
71
87
 
72
- - `packages/governance/docs/VERSION-INDEX.md`
73
- - `packages/governance/docs/governance-SPEC-1.0.0v.md`
74
- - `packages/lineage/docs/VERSION-INDEX.md`
75
- - `packages/lineage/docs/lineage-SPEC-1.0.1v.md`
76
- - `packages/world/docs/world-facade-spec-v1.0.0.md`
88
+ - `packages/sdk/docs/sdk-SPEC-v3.0.0-draft.md`
89
+ - `packages/governance/docs/governance-SPEC-2.0.0v.md`
90
+ - `packages/lineage/docs/lineage-SPEC-2.0.0v.md`
91
+ - `packages/world/docs/world-facade-spec-v2.0.0.md`
77
92
 
78
- Use them to understand ADR-014 direction and package split intent. Do not treat them as proof that separate `@manifesto-ai/governance` or `@manifesto-ai/lineage` code packages are implemented here.
93
+ Use them to understand projected next-major changes. Do not let them override current package exports unless the task is explicitly about the draft.
79
94
 
80
95
  ## Global ADRs Worth Loading
81
96
 
82
97
  - ADR-002: `onceIntent` + `$mel` namespace
83
98
  - ADR-010: protocol-first SDK reconstruction
84
99
  - ADR-014: split world protocol design direction
100
+ - ADR-015: current Snapshot error-history removal
101
+ - ADR-016: next-major lineage/governance/world epoch direction
85
102
 
86
103
  ## Quick Lookup
87
104
 
@@ -89,11 +106,12 @@ Use them to understand ADR-014 direction and package split intent. Do not treat
89
106
  |----------------------|-------|
90
107
  | Snapshot structure | `packages/core/docs/core-SPEC.md` |
91
108
  | `patches` + `systemDelta` contract | `packages/core/docs/core-SPEC.md`, `packages/core/src/schema/result.ts` |
109
+ | Availability query API | `packages/core/docs/core-SPEC.md`, `packages/core/src/core/action-availability.ts`, `packages/sdk/src/create-manifesto.ts` |
92
110
  | Effect handler contract | `packages/host/docs/host-SPEC.md`, `packages/sdk/src/types.ts` |
93
111
  | SDK instance API | `packages/sdk/src/types.ts`, `packages/sdk/src/create-manifesto.ts` |
94
112
  | `dispatchAsync` | `packages/sdk/src/dispatch-async.ts` |
95
- | Current World implementation surface | `packages/world/src/index.ts`, `packages/world/src/world.ts` |
96
- | World docs and transition context | `packages/world/docs/VERSION-INDEX.md` |
97
- | Governance / lineage split direction | `packages/governance/docs/VERSION-INDEX.md`, `packages/lineage/docs/VERSION-INDEX.md` |
113
+ | Current governed facade surface | `packages/world/src/index.ts`, `packages/world/src/facade/index.ts`, `packages/world/docs/world-facade-spec-v1.0.0.md` |
114
+ | Governance package surface | `packages/governance/src/index.ts`, `packages/governance/docs/VERSION-INDEX.md` |
115
+ | Lineage package surface | `packages/lineage/src/index.ts`, `packages/lineage/docs/VERSION-INDEX.md` |
98
116
  | MEL syntax | `packages/compiler/docs/SPEC-v0.7.0.md` |
99
117
  | Compiler public API | `packages/compiler/src/index.ts` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manifesto-ai/skills",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "LLM knowledge pack for Manifesto with Codex and Claude Code integration guidance",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,26 +1,26 @@
1
1
  {
2
2
  "version": "0.4.0",
3
- "lastChecked": "2026-03-28",
3
+ "lastChecked": "2026-03-31",
4
4
  "mappings": [
5
5
  {
6
6
  "skill": "SKILL.md",
7
7
  "sources": [
8
8
  { "path": "CLAUDE.md", "version": "1.0", "sections": ["§1", "§2", "§3", "§11"] },
9
- { "path": "packages/core/docs/core-SPEC.md", "version": "3.0.0", "sections": ["§3"] },
10
- { "path": "packages/host/docs/host-SPEC.md", "version": "3.0.0", "sections": ["§4", "§7"] },
11
- { "path": "packages/world/src/world.ts", "version": "2.5.0" }
9
+ { "path": "packages/core/docs/core-SPEC.md", "version": "4.0.0", "sections": ["§3"] },
10
+ { "path": "packages/host/docs/host-SPEC.md", "version": "4.0.0", "sections": ["§4", "§7"] },
11
+ { "path": "packages/world/src/facade/index.ts", "version": "2.6.0" }
12
12
  ],
13
- "lastSynced": "2026-03-28"
13
+ "lastSynced": "2026-03-31"
14
14
  },
15
15
  {
16
16
  "skill": "knowledge/architecture.md",
17
17
  "sources": [
18
- { "path": "packages/core/docs/core-SPEC.md", "version": "3.0.0", "sections": ["§3", "§13", "§16"] },
19
- { "path": "packages/host/docs/host-SPEC.md", "version": "3.0.0", "sections": ["§4", "§7", "§9"] },
20
- { "path": "packages/sdk/src/create-manifesto.ts", "version": "2.1.0" },
21
- { "path": "packages/world/src/world.ts", "version": "2.5.0" }
18
+ { "path": "packages/core/docs/core-SPEC.md", "version": "4.0.0", "sections": ["§3", "§13", "§16"] },
19
+ { "path": "packages/host/docs/host-SPEC.md", "version": "4.0.0", "sections": ["§4", "§7", "§9"] },
20
+ { "path": "packages/sdk/src/create-manifesto.ts", "version": "2.2.0" },
21
+ { "path": "packages/world/src/facade/index.ts", "version": "2.6.0" }
22
22
  ],
23
- "lastSynced": "2026-03-28"
23
+ "lastSynced": "2026-03-31"
24
24
  },
25
25
  {
26
26
  "skill": "knowledge/mel-patterns.md",
@@ -33,27 +33,27 @@
33
33
  {
34
34
  "skill": "knowledge/effect-patterns.md",
35
35
  "sources": [
36
- { "path": "packages/host/docs/host-SPEC.md", "version": "3.0.0", "sections": ["§7", "§8", "§9"] },
37
- { "path": "packages/sdk/src/types.ts", "version": "2.1.0" },
38
- { "path": "packages/sdk/src/create-manifesto.ts", "version": "2.1.0" }
36
+ { "path": "packages/host/docs/host-SPEC.md", "version": "4.0.0", "sections": ["§7", "§8", "§9"] },
37
+ { "path": "packages/sdk/src/types.ts", "version": "2.2.0" },
38
+ { "path": "packages/sdk/src/create-manifesto.ts", "version": "2.2.0" }
39
39
  ],
40
- "lastSynced": "2026-03-28"
40
+ "lastSynced": "2026-03-31"
41
41
  },
42
42
  {
43
43
  "skill": "knowledge/patch-rules.md",
44
44
  "sources": [
45
- { "path": "packages/core/docs/core-SPEC.md", "version": "3.0.0", "sections": ["§8", "§13", "§14"] },
45
+ { "path": "packages/core/docs/core-SPEC.md", "version": "4.0.0", "sections": ["§8", "§13", "§14"] },
46
46
  { "path": "packages/core/src/schema/patch.ts", "version": "2.7.1" },
47
47
  { "path": "packages/core/src/core/apply.ts", "version": "2.7.1" }
48
48
  ],
49
- "lastSynced": "2026-03-28"
49
+ "lastSynced": "2026-03-31"
50
50
  },
51
51
  {
52
52
  "skill": "knowledge/antipatterns.md",
53
53
  "sources": [
54
54
  { "path": "CLAUDE.md", "version": "1.0", "sections": ["§10"] },
55
- { "path": "packages/core/docs/core-SPEC.md", "version": "3.0.0" },
56
- { "path": "packages/world/src/world.ts", "version": "2.5.0" }
55
+ { "path": "packages/core/docs/core-SPEC.md", "version": "4.0.0" },
56
+ { "path": "packages/world/src/facade/index.ts", "version": "2.6.0" }
57
57
  ],
58
58
  "note": "Accumulated from real usage feedback and constitutional violations.",
59
59
  "lastSynced": "2026-02-09"
@@ -63,46 +63,46 @@
63
63
  "sources": [
64
64
  { "path": "skills/knowledge/llm/LLM-INDEX.md", "version": "0.4.0" }
65
65
  ],
66
- "lastSynced": "2026-03-28"
66
+ "lastSynced": "2026-03-31"
67
67
  },
68
68
  {
69
69
  "skill": "knowledge/packages/core.md",
70
70
  "sources": [
71
71
  { "path": "packages/core/package.json", "version": "2.7.1" },
72
72
  { "path": "packages/core/src/index.ts", "version": "2.7.1" },
73
- { "path": "packages/core/docs/core-SPEC.md", "version": "3.0.0" }
73
+ { "path": "packages/core/docs/core-SPEC.md", "version": "4.0.0" }
74
74
  ],
75
- "lastSynced": "2026-03-28"
75
+ "lastSynced": "2026-03-31"
76
76
  },
77
77
  {
78
78
  "skill": "knowledge/packages/host.md",
79
79
  "sources": [
80
- { "path": "packages/host/package.json", "version": "2.3.5" },
81
- { "path": "packages/host/src/index.ts", "version": "2.3.5" },
82
- { "path": "packages/host/docs/host-SPEC.md", "version": "3.0.0" }
80
+ { "path": "packages/host/package.json", "version": "2.4.0" },
81
+ { "path": "packages/host/src/index.ts", "version": "2.4.0" },
82
+ { "path": "packages/host/docs/host-SPEC.md", "version": "4.0.0" }
83
83
  ],
84
- "lastSynced": "2026-03-28"
84
+ "lastSynced": "2026-03-31"
85
85
  },
86
86
  {
87
87
  "skill": "knowledge/packages/world.md",
88
88
  "sources": [
89
- { "path": "packages/world/package.json", "version": "2.5.0" },
90
- { "path": "packages/world/src/index.ts", "version": "2.5.0" },
91
- { "path": "packages/world/src/world.ts", "version": "2.5.0" },
89
+ { "path": "packages/world/package.json", "version": "2.6.0" },
90
+ { "path": "packages/world/src/index.ts", "version": "2.6.0" },
91
+ { "path": "packages/world/src/facade/index.ts", "version": "2.6.0" },
92
92
  { "path": "packages/world/docs/VERSION-INDEX.md", "version": "2026-03-28" }
93
93
  ],
94
- "lastSynced": "2026-03-28"
94
+ "lastSynced": "2026-03-31"
95
95
  },
96
96
  {
97
97
  "skill": "knowledge/packages/sdk.md",
98
98
  "sources": [
99
- { "path": "packages/sdk/package.json", "version": "2.1.0" },
100
- { "path": "packages/sdk/src/index.ts", "version": "2.1.0" },
101
- { "path": "packages/sdk/src/types.ts", "version": "2.1.0" },
102
- { "path": "packages/sdk/src/create-manifesto.ts", "version": "2.1.0" },
103
- { "path": "packages/sdk/docs/sdk-SPEC-v1.0.0.md", "version": "1.0.0" }
99
+ { "path": "packages/sdk/package.json", "version": "2.2.0" },
100
+ { "path": "packages/sdk/src/index.ts", "version": "2.2.0" },
101
+ { "path": "packages/sdk/src/types.ts", "version": "2.2.0" },
102
+ { "path": "packages/sdk/src/create-manifesto.ts", "version": "2.2.0" },
103
+ { "path": "packages/sdk/docs/sdk-SPEC-v2.0.0.md", "version": "2.0.0" }
104
104
  ],
105
- "lastSynced": "2026-03-28"
105
+ "lastSynced": "2026-03-31"
106
106
  },
107
107
  {
108
108
  "skill": "knowledge/packages/compiler.md",