@shardworks/astrolabe-apparatus 0.1.227 → 0.1.228
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 +12 -8
- package/dist/astrolabe.d.ts.map +1 -1
- package/dist/astrolabe.js +6 -2
- package/dist/astrolabe.js.map +1 -1
- package/dist/engines/index.d.ts +1 -0
- package/dist/engines/index.d.ts.map +1 -1
- package/dist/engines/index.js +1 -0
- package/dist/engines/index.js.map +1 -1
- package/dist/engines/plan-finalize.d.ts +20 -0
- package/dist/engines/plan-finalize.d.ts.map +1 -0
- package/dist/engines/plan-finalize.js +50 -0
- package/dist/engines/plan-finalize.js.map +1 -0
- package/dist/plan-and-ship.d.ts +25 -0
- package/dist/plan-and-ship.d.ts.map +1 -0
- package/dist/plan-and-ship.js +116 -0
- package/dist/plan-and-ship.js.map +1 -0
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@shardworks/astrolabe-apparatus`
|
|
2
2
|
|
|
3
|
-
The Astrolabe transforms patron briefs into structured work specifications.
|
|
3
|
+
The Astrolabe transforms patron briefs into structured work specifications and carries them through implementation. A single combined rig (`astrolabe.plan-and-ship`) runs the planning pipeline — inventory, analysis, patron review, specification writing — and then continues into draft → implement → review → revise → seal on the same brief writ. The brief reaches `completed` only after the final seal engine finishes. It sits between the Clerk (writ lifecycle) and the Spider (rig execution), contributing kit pieces to both.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -129,33 +129,37 @@ The Astrolabe declares one book in Stacks:
|
|
|
129
129
|
| `astrolabe.plan-init` | Creates a PlanDoc from the brief writ; validates codex presence |
|
|
130
130
|
| `astrolabe.inventory-check` | Validates that the reader produced a non-empty inventory |
|
|
131
131
|
| `astrolabe.decision-review` | Two-pass engine: blocks for patron review, then reconciles answers. Decisions with `selected` already pre-set by the analyst are auto-accepted — they are excluded from the InputRequestDoc, and if nothing remains reviewable the engine fast-paths to `writing` without opening the gate. |
|
|
132
|
-
| `astrolabe.
|
|
132
|
+
| `astrolabe.plan-finalize` | Transitions the plan to `completed` and yields the written `spec` downstream. Does not post any writ. Used inside `plan-and-ship` to hand the spec off to the implement engine on the same brief rig. |
|
|
133
|
+
| `astrolabe.spec-publish` | Publishes the generated specification as a new mandate writ. Used only by the legacy two-phase / three-phase rigs that split planning from implementation across two writs. |
|
|
133
134
|
|
|
134
135
|
### Rig Templates (contributed to Spider)
|
|
135
136
|
|
|
136
137
|
| Template | Mapped Writ Type | Engines |
|
|
137
138
|
|---|---|---|
|
|
138
|
-
| `astrolabe.
|
|
139
|
-
| `astrolabe.
|
|
139
|
+
| `astrolabe.plan-and-ship` | `brief` (default) | plan-init → draft → reader-analyst → inventory-check → decision-review → spec-writer → plan-finalize → implement → review → revise → seal |
|
|
140
|
+
| `astrolabe.two-phase-planning` | — (opt-in) | plan-init → draft → reader-analyst → inventory-check → decision-review → spec-writer → spec-publish → seal |
|
|
141
|
+
| `astrolabe.three-phase-planning` | — (opt-in) | plan-init → draft → reader → inventory-check → analyst → decision-review → spec-writer → spec-publish → seal |
|
|
140
142
|
|
|
141
|
-
The `resolutionEngine` is `spec-writer` for
|
|
143
|
+
The `resolutionEngine` is `seal` for `plan-and-ship` (brief completes when implementation seals) and `spec-writer` for the two legacy planning-only templates (where the brief's rig terminates at spec-writer and a follow-up mandate writ carries the implementation separately).
|
|
142
144
|
|
|
143
145
|
#### Rig Template Selection
|
|
144
146
|
|
|
145
|
-
The `brief` writ type maps to `astrolabe.
|
|
147
|
+
The `brief` writ type maps to `astrolabe.plan-and-ship` by default. This single combined rig carries the brief through planning and implementation on one writ — the `plan-finalize` engine hands the written spec directly to the downstream `implement` engine via `${yields.plan-finalize.spec}`, and no separate mandate writ is posted. The brief reaches `completed` only when the final seal engine completes.
|
|
146
148
|
|
|
147
|
-
To use
|
|
149
|
+
To use a legacy planning-only template (which posts a separate mandate writ and ends the brief's lifecycle at spec-writer), add a rig template mapping override in `guild.json`:
|
|
148
150
|
|
|
149
151
|
```json
|
|
150
152
|
{
|
|
151
153
|
"spider": {
|
|
152
154
|
"rigTemplateMappings": {
|
|
153
|
-
"brief": "astrolabe.
|
|
155
|
+
"brief": "astrolabe.two-phase-planning"
|
|
154
156
|
}
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
```
|
|
158
160
|
|
|
161
|
+
Substitute `astrolabe.three-phase-planning` for the split reader / analyst variant.
|
|
162
|
+
|
|
159
163
|
### Tools
|
|
160
164
|
|
|
161
165
|
| Tool | Permission | Description |
|
package/dist/astrolabe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"astrolabe.d.ts","sourceRoot":"","sources":["../src/astrolabe.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAkB,MAAM,wBAAwB,CAAC;AAQrE,OAAO,KAAK,EAEV,eAAe,EAGhB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"astrolabe.d.ts","sourceRoot":"","sources":["../src/astrolabe.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAkB,MAAM,wBAAwB,CAAC;AAQrE,OAAO,KAAK,EAEV,eAAe,EAGhB,MAAM,YAAY,CAAC;AAgBpB,iBAAS,sBAAsB,IAAI,eAAe,CAEjD;AAID,wBAAgB,eAAe,IAAI,MAAM,CAkRxC;AAGD,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
package/dist/astrolabe.js
CHANGED
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
import { guild } from '@shardworks/nexus-core';
|
|
11
11
|
import { tool } from '@shardworks/tools-apparatus';
|
|
12
12
|
import { z } from 'zod';
|
|
13
|
-
import { createPlanInitEngine, createInventoryCheckEngine, createDecisionReviewEngine, createSpecPublishEngine, } from "./engines/index.js";
|
|
13
|
+
import { createPlanInitEngine, createInventoryCheckEngine, createDecisionReviewEngine, createSpecPublishEngine, createPlanFinalizeEngine, } from "./engines/index.js";
|
|
14
14
|
import { twoPhaseRigTemplate } from "./two-phase-planning.js";
|
|
15
15
|
import { threePhaseRigTemplate } from "./three-phase-planning.js";
|
|
16
|
+
import { planAndShipRigTemplate } from "./plan-and-ship.js";
|
|
16
17
|
// ── Config resolver ──────────────────────────────────────────────────
|
|
17
18
|
function resolveAstrolabeConfig() {
|
|
18
19
|
return guild().guildConfig().astrolabe ?? {};
|
|
@@ -25,6 +26,7 @@ export function createAstrolabe() {
|
|
|
25
26
|
const inventoryCheckEngine = createInventoryCheckEngine(() => plansBook);
|
|
26
27
|
const decisionReviewEngine = createDecisionReviewEngine(() => plansBook);
|
|
27
28
|
const specPublishEngine = createSpecPublishEngine(() => plansBook);
|
|
29
|
+
const planFinalizeEngine = createPlanFinalizeEngine(() => plansBook);
|
|
28
30
|
// ── API ────────────────────────────────────────────────────────
|
|
29
31
|
const api = {
|
|
30
32
|
async show(planId) {
|
|
@@ -228,13 +230,15 @@ export function createAstrolabe() {
|
|
|
228
230
|
'astrolabe.inventory-check': inventoryCheckEngine,
|
|
229
231
|
'astrolabe.decision-review': decisionReviewEngine,
|
|
230
232
|
'astrolabe.spec-publish': specPublishEngine,
|
|
233
|
+
'astrolabe.plan-finalize': planFinalizeEngine,
|
|
231
234
|
},
|
|
232
235
|
rigTemplates: {
|
|
233
236
|
'two-phase-planning': twoPhaseRigTemplate,
|
|
234
237
|
'three-phase-planning': threePhaseRigTemplate,
|
|
238
|
+
'plan-and-ship': planAndShipRigTemplate,
|
|
235
239
|
},
|
|
236
240
|
rigTemplateMappings: {
|
|
237
|
-
brief: 'astrolabe.
|
|
241
|
+
brief: 'astrolabe.plan-and-ship',
|
|
238
242
|
},
|
|
239
243
|
tools: [
|
|
240
244
|
planShowTool,
|
package/dist/astrolabe.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"astrolabe.js","sourceRoot":"","sources":["../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,iBAAiB,EAAE;iBAChE;aACF;YAED,QAAQ,EAAE,GAAG;YAEb,KAAK,CAAC,IAAoB;gBACxB,MAAM,MAAM,GAAG,KAAK,EAAE,CAAC,SAAS,CAAY,QAAQ,CAAC,CAAC;gBACtD,SAAS,GAAG,MAAM,CAAC,IAAI,CAAU,WAAW,EAAE,OAAO,CAAC,CAAC;YACzD,CAAC;SACF;KACF,CAAC;AACJ,CAAC;AAED,sEAAsE;AACtE,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
package/dist/engines/index.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ export { createPlanInitEngine } from './plan-init.ts';
|
|
|
2
2
|
export { createInventoryCheckEngine } from './inventory-check.ts';
|
|
3
3
|
export { createDecisionReviewEngine } from './decision-review.ts';
|
|
4
4
|
export { createSpecPublishEngine } from './spec-publish.ts';
|
|
5
|
+
export { createPlanFinalizeEngine } from './plan-finalize.ts';
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/engines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/engines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/engines/index.js
CHANGED
|
@@ -2,4 +2,5 @@ export { createPlanInitEngine } from "./plan-init.js";
|
|
|
2
2
|
export { createInventoryCheckEngine } from "./inventory-check.js";
|
|
3
3
|
export { createDecisionReviewEngine } from "./decision-review.js";
|
|
4
4
|
export { createSpecPublishEngine } from "./spec-publish.js";
|
|
5
|
+
export { createPlanFinalizeEngine } from "./plan-finalize.js";
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/engines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/engines/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* plan-finalize clockwork engine.
|
|
3
|
+
*
|
|
4
|
+
* Planning-phase terminator for the combined plan-and-ship rig. Unlike
|
|
5
|
+
* `spec-publish`, this engine does NOT post a mandate writ and does NOT
|
|
6
|
+
* create any clerk links. It merely validates that the spec-writer stage
|
|
7
|
+
* produced a spec, yields the spec verbatim for downstream engines
|
|
8
|
+
* (specifically the `implement` engine, whose `prompt` given is wired to
|
|
9
|
+
* `${yields.plan-finalize.spec}`), and transitions the plan's status from
|
|
10
|
+
* `writing` to `completed`.
|
|
11
|
+
*
|
|
12
|
+
* Preconditions:
|
|
13
|
+
* - plan.status must be 'writing'
|
|
14
|
+
* - plan.spec must be a non-empty string
|
|
15
|
+
*/
|
|
16
|
+
import type { EngineDesign } from '@shardworks/fabricator-apparatus';
|
|
17
|
+
import type { Book } from '@shardworks/stacks-apparatus';
|
|
18
|
+
import type { PlanDoc } from '../types.ts';
|
|
19
|
+
export declare function createPlanFinalizeEngine(getPlansBook: () => Book<PlanDoc>): EngineDesign;
|
|
20
|
+
//# sourceMappingURL=plan-finalize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-finalize.d.ts","sourceRoot":"","sources":["../../src/engines/plan-finalize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAqC,MAAM,kCAAkC,CAAC;AACxG,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,wBAAgB,wBAAwB,CAAC,YAAY,EAAE,MAAM,IAAI,CAAC,OAAO,CAAC,GAAG,YAAY,CA+CxF"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* plan-finalize clockwork engine.
|
|
3
|
+
*
|
|
4
|
+
* Planning-phase terminator for the combined plan-and-ship rig. Unlike
|
|
5
|
+
* `spec-publish`, this engine does NOT post a mandate writ and does NOT
|
|
6
|
+
* create any clerk links. It merely validates that the spec-writer stage
|
|
7
|
+
* produced a spec, yields the spec verbatim for downstream engines
|
|
8
|
+
* (specifically the `implement` engine, whose `prompt` given is wired to
|
|
9
|
+
* `${yields.plan-finalize.spec}`), and transitions the plan's status from
|
|
10
|
+
* `writing` to `completed`.
|
|
11
|
+
*
|
|
12
|
+
* Preconditions:
|
|
13
|
+
* - plan.status must be 'writing'
|
|
14
|
+
* - plan.spec must be a non-empty string
|
|
15
|
+
*/
|
|
16
|
+
export function createPlanFinalizeEngine(getPlansBook) {
|
|
17
|
+
return {
|
|
18
|
+
id: 'astrolabe.plan-finalize',
|
|
19
|
+
async run(givens, _context) {
|
|
20
|
+
const planId = givens.planId;
|
|
21
|
+
const book = getPlansBook();
|
|
22
|
+
const plan = await book.get(planId);
|
|
23
|
+
if (!plan) {
|
|
24
|
+
throw new Error(`Plan "${planId}" not found.`);
|
|
25
|
+
}
|
|
26
|
+
// Validate status
|
|
27
|
+
if (plan.status !== 'writing') {
|
|
28
|
+
throw new Error(`plan-finalize: expected plan status "writing" but got "${plan.status}" for plan "${planId}".`);
|
|
29
|
+
}
|
|
30
|
+
// Validate spec exists
|
|
31
|
+
if (typeof plan.spec !== 'string' || plan.spec.length === 0) {
|
|
32
|
+
throw new Error(`Plan "${planId}" has no spec — spec-writer stage did not produce output.`);
|
|
33
|
+
}
|
|
34
|
+
const spec = plan.spec;
|
|
35
|
+
// Mark the plan completed. The combined rig still has implementation
|
|
36
|
+
// work to do downstream of this engine, but from Astrolabe's POV the
|
|
37
|
+
// planning phase is done the moment the spec is ready for handoff.
|
|
38
|
+
const now = new Date().toISOString();
|
|
39
|
+
await book.patch(planId, {
|
|
40
|
+
status: 'completed',
|
|
41
|
+
updatedAt: now,
|
|
42
|
+
});
|
|
43
|
+
return {
|
|
44
|
+
status: 'completed',
|
|
45
|
+
yields: { spec },
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=plan-finalize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-finalize.js","sourceRoot":"","sources":["../../src/engines/plan-finalize.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,MAAM,UAAU,wBAAwB,CAA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3
|
+
*
|
|
4
|
+
* Combined planning + implementation rig. Carries a single brief writ
|
|
5
|
+
* through the full pipeline — plan, decision review, spec drafting,
|
|
6
|
+
* implementation, review, revise, seal — without posting an intermediate
|
|
7
|
+
* mandate writ. The brief writ itself reaches `completed` only after the
|
|
8
|
+
* implementation seal succeeds, which restores correct blocked_by
|
|
9
|
+
* dependency gating for downstream writs.
|
|
10
|
+
*
|
|
11
|
+
* Stages: plan-init → draft → reader-analyst → inventory-check →
|
|
12
|
+
* decision-review → spec-writer → plan-finalize → implement →
|
|
13
|
+
* review → revise → seal.
|
|
14
|
+
*
|
|
15
|
+
* The `draft` engine is shared across both phases (D6 in the commission
|
|
16
|
+
* spec): every downstream engine reads the same `upstream['draft']`
|
|
17
|
+
* worktree. The `seal` engine runs without `abandon: true` — the seal is
|
|
18
|
+
* real. `implement.givens.prompt` is wired to `${yields.plan-finalize.spec}`
|
|
19
|
+
* so the implementing anima works from the planning spec instead of the
|
|
20
|
+
* brief's raw body (the old path through spec-publish posting a mandate is
|
|
21
|
+
* not used here).
|
|
22
|
+
*/
|
|
23
|
+
import type { RigTemplate } from '@shardworks/spider-apparatus';
|
|
24
|
+
export declare const planAndShipRigTemplate: RigTemplate;
|
|
25
|
+
//# sourceMappingURL=plan-and-ship.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-and-ship.d.ts","sourceRoot":"","sources":["../src/plan-and-ship.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,eAAO,MAAM,sBAAsB,EAAE,WA6FpC,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Plan-and-ship rig template (`astrolabe.plan-and-ship`).
|
|
3
|
+
*
|
|
4
|
+
* Combined planning + implementation rig. Carries a single brief writ
|
|
5
|
+
* through the full pipeline — plan, decision review, spec drafting,
|
|
6
|
+
* implementation, review, revise, seal — without posting an intermediate
|
|
7
|
+
* mandate writ. The brief writ itself reaches `completed` only after the
|
|
8
|
+
* implementation seal succeeds, which restores correct blocked_by
|
|
9
|
+
* dependency gating for downstream writs.
|
|
10
|
+
*
|
|
11
|
+
* Stages: plan-init → draft → reader-analyst → inventory-check →
|
|
12
|
+
* decision-review → spec-writer → plan-finalize → implement →
|
|
13
|
+
* review → revise → seal.
|
|
14
|
+
*
|
|
15
|
+
* The `draft` engine is shared across both phases (D6 in the commission
|
|
16
|
+
* spec): every downstream engine reads the same `upstream['draft']`
|
|
17
|
+
* worktree. The `seal` engine runs without `abandon: true` — the seal is
|
|
18
|
+
* real. `implement.givens.prompt` is wired to `${yields.plan-finalize.spec}`
|
|
19
|
+
* so the implementing anima works from the planning spec instead of the
|
|
20
|
+
* brief's raw body (the old path through spec-publish posting a mandate is
|
|
21
|
+
* not used here).
|
|
22
|
+
*/
|
|
23
|
+
export const planAndShipRigTemplate = {
|
|
24
|
+
engines: [
|
|
25
|
+
{
|
|
26
|
+
id: 'plan-init',
|
|
27
|
+
designId: 'astrolabe.plan-init',
|
|
28
|
+
upstream: [],
|
|
29
|
+
givens: { writ: '${writ}' },
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: 'draft',
|
|
33
|
+
designId: 'draft',
|
|
34
|
+
upstream: ['plan-init'],
|
|
35
|
+
givens: { writ: '${writ}' },
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
id: 'reader-analyst',
|
|
39
|
+
designId: 'anima-session',
|
|
40
|
+
upstream: ['draft'],
|
|
41
|
+
givens: {
|
|
42
|
+
role: 'astrolabe.sage-reading-analyst',
|
|
43
|
+
prompt: 'Plan ID: ${yields.plan-init.planId}',
|
|
44
|
+
cwd: '${yields.draft.path}',
|
|
45
|
+
writ: '${writ}',
|
|
46
|
+
metadata: { engineId: 'reader-analyst' },
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: 'inventory-check',
|
|
51
|
+
designId: 'astrolabe.inventory-check',
|
|
52
|
+
upstream: ['reader-analyst'],
|
|
53
|
+
givens: { planId: '${yields.plan-init.planId}' },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: 'decision-review',
|
|
57
|
+
designId: 'astrolabe.decision-review',
|
|
58
|
+
upstream: ['inventory-check'],
|
|
59
|
+
givens: { planId: '${yields.plan-init.planId}' },
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
id: 'spec-writer',
|
|
63
|
+
designId: 'anima-session',
|
|
64
|
+
upstream: ['decision-review'],
|
|
65
|
+
givens: {
|
|
66
|
+
role: 'astrolabe.sage-writer',
|
|
67
|
+
prompt: 'Plan ID: ${yields.plan-init.planId}\n\n' +
|
|
68
|
+
'Decision summary:\n${yields.decision-review.decisionSummary}',
|
|
69
|
+
cwd: '${yields.draft.path}',
|
|
70
|
+
writ: '${writ}',
|
|
71
|
+
metadata: { engineId: 'spec-writer' },
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'plan-finalize',
|
|
76
|
+
designId: 'astrolabe.plan-finalize',
|
|
77
|
+
upstream: ['spec-writer'],
|
|
78
|
+
givens: { planId: '${yields.plan-init.planId}' },
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'implement',
|
|
82
|
+
designId: 'implement',
|
|
83
|
+
upstream: ['plan-finalize'],
|
|
84
|
+
givens: {
|
|
85
|
+
writ: '${writ}',
|
|
86
|
+
role: '${vars.role}',
|
|
87
|
+
prompt: '${yields.plan-finalize.spec}',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
id: 'review',
|
|
92
|
+
designId: 'review',
|
|
93
|
+
upstream: ['implement'],
|
|
94
|
+
givens: {
|
|
95
|
+
writ: '${writ}',
|
|
96
|
+
role: 'reviewer',
|
|
97
|
+
buildCommand: '${vars.buildCommand}',
|
|
98
|
+
testCommand: '${vars.testCommand}',
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: 'revise',
|
|
103
|
+
designId: 'revise',
|
|
104
|
+
upstream: ['review'],
|
|
105
|
+
givens: { writ: '${writ}', role: '${vars.role}' },
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
id: 'seal',
|
|
109
|
+
designId: 'seal',
|
|
110
|
+
upstream: ['revise'],
|
|
111
|
+
givens: {},
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
resolutionEngine: 'seal',
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=plan-and-ship.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan-and-ship.js","sourceRoot":"","sources":["../src/plan-and-ship.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAgB;IACjD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,WAAW;YACf,QAAQ,EAAE,qBAAqB;YAC/B,QAAQ,EAAE,EAAE;YACZ,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SAC5B;QACD;YACE,EAAE,EAAE,OAAO;YACX,QAAQ,EAAE,OAAO;YACjB,QAAQ,EAAE,CAAC,WAAW,CAAC;YACvB,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SAC5B;QACD;YACE,EAAE,EAAE,gBAAgB;YACpB,QAAQ,EAAE,eAAe;YACzB,QAAQ,EAAE,CAAC,OAAO,CAAC;YACnB,MAAM,EAAE;gBACN,IAAI,EAAE,gCAAgC;gBACtC,MAAM,EAAE,qCAAqC;gBAC7C,GAAG,EAAE,sBAAsB;gBAC3B,IAAI,EAAE,SAAS;gBACf,QAAQ,EAAE,EAAE,QAAQ,EAAE,gBAAgB,EAAE;aACzC;SACF;QACD;YACE,EAAE,EAAE,iBAAiB;YACrB,QAAQ,EAAE,2BAA2B;YACrC,QAA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I,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE;SAClD;QACD;YACE,EAAE,EAAE,MAAM;YACV,QAAQ,EAAE,MAAM;YAChB,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,MAAM,EAAE,EAAE;SACX;KACF;IACD,gBAAgB,EAAE,MAAM;CACzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shardworks/astrolabe-apparatus",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.228",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"zod": "4.3.6",
|
|
23
|
-
"@shardworks/
|
|
24
|
-
"@shardworks/
|
|
25
|
-
"@shardworks/
|
|
26
|
-
"@shardworks/
|
|
27
|
-
"@shardworks/
|
|
28
|
-
"@shardworks/
|
|
23
|
+
"@shardworks/tools-apparatus": "0.1.228",
|
|
24
|
+
"@shardworks/clerk-apparatus": "0.1.228",
|
|
25
|
+
"@shardworks/stacks-apparatus": "0.1.228",
|
|
26
|
+
"@shardworks/spider-apparatus": "0.1.228",
|
|
27
|
+
"@shardworks/loom-apparatus": "0.1.228",
|
|
28
|
+
"@shardworks/fabricator-apparatus": "0.1.228"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/node": "25.5.0",
|
|
32
|
-
"@shardworks/nexus-core": "0.1.
|
|
32
|
+
"@shardworks/nexus-core": "0.1.228"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|