@miadi/ncp-story-studio 0.7.6 → 0.8.1
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 -5
- package/dist/graph/react/story-graph.d.ts +33 -2
- package/dist/graph/react/story-graph.d.ts.map +1 -1
- package/dist/graph/react/story-graph.js +13 -9
- package/dist/graph/react/story-graph.js.map +1 -1
- package/package.json +1 -3
- package/PHASES.md +0 -293
- package/rispecs/README.rise.md +0 -5
- package/rispecs/RISPEC.md +0 -9
package/README.md
CHANGED
|
@@ -5,14 +5,16 @@ zero-dependency validator, a reader that accepts the NCP dialects that actually
|
|
|
5
5
|
story-lattice layout with a React renderer, story-project storage over JSON files or Neon Postgres,
|
|
6
6
|
the agent link protocol, and the canonical terminology as data.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
In the Miadi stack, this is one of two narrative models. The Narrative Context Protocol (NCP)
|
|
9
|
+
describes a story the way Dramatica does: throughlines, players, storypoints and storybeats.
|
|
10
|
+
Miadi's story studio opens NCP story projects, draws them as a line of beats, and lets agents
|
|
11
|
+
read and link into them. The other model is `@miadi/wampum-narrative-engine`, a peer rather than
|
|
12
|
+
a view of this one, and `@miadi/ncp-wampum-bridge` carries a story between the two.
|
|
9
13
|
|
|
10
14
|
## Install
|
|
11
15
|
|
|
12
16
|
```bash
|
|
13
|
-
|
|
14
|
-
# in this workspace
|
|
15
|
-
pnpm -w add @miadi/ncp-story-studio@workspace:* --filter <consumer>
|
|
17
|
+
npm i @miadi/ncp-story-studio
|
|
16
18
|
```
|
|
17
19
|
|
|
18
20
|
`react` and `@neondatabase/serverless` are optional peer dependencies: they are needed only by
|
|
@@ -147,7 +149,7 @@ Cards clamp their summary and illustration to three lines, so the canvas is 480p
|
|
|
147
149
|
import { JsonStoryStore } from '@miadi/ncp-story-studio/store/json'
|
|
148
150
|
import { NeonStoryStore } from '@miadi/ncp-story-studio/store/neon'
|
|
149
151
|
|
|
150
|
-
const store = new JsonStoryStore({ root: '
|
|
152
|
+
const store = new JsonStoryStore({ root: './ncp-story-projects' })
|
|
151
153
|
await store.init()
|
|
152
154
|
const project = await store.get('catalyst-of-change')
|
|
153
155
|
await store.save({ ...project, document }, { expected_updated_at: project.updated_at })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { type GraphLayoutOptions } from '../index.js';
|
|
2
|
+
import { type GraphLayout, type GraphLayoutOptions } from '../index.js';
|
|
3
3
|
import type { Narrative } from '../../schema/types.js';
|
|
4
4
|
export interface StoryGraphProps {
|
|
5
5
|
narrative: Narrative;
|
|
@@ -37,6 +37,37 @@ export interface StoryGraphProps {
|
|
|
37
37
|
* `focusedBeatId` without the two chasing each other.
|
|
38
38
|
*/
|
|
39
39
|
onCenteredBeatChange?: (beatId: string) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Draw this layout instead of computing the line from `narrative`.
|
|
42
|
+
*
|
|
43
|
+
* For a host that lays the same beats out some other way — a belt, where a
|
|
44
|
+
* beat's place on a woven field carries the meaning that order carries here.
|
|
45
|
+
* The nodes must be this narrative's own, so every mark, ring, card and tone
|
|
46
|
+
* panel below is unchanged; only where they sit differs. Nodes are expected in
|
|
47
|
+
* ascending `x`, which is what `nearestNodeIndex` binary-searches.
|
|
48
|
+
*/
|
|
49
|
+
layout?: GraphLayout;
|
|
50
|
+
/**
|
|
51
|
+
* The scroll region's accessible name. A host drawing something that is not a
|
|
52
|
+
* line says what it is, rather than letting a screen reader announce a lattice.
|
|
53
|
+
*/
|
|
54
|
+
regionLabel?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Draw the horizontal timeline spine and the end marker (default true). A
|
|
57
|
+
* layout that is not a line turns it off: a sequence rule drawn through a
|
|
58
|
+
* field would assert an order the field does not have.
|
|
59
|
+
*/
|
|
60
|
+
spine?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Draw only the beats around the view (default true).
|
|
63
|
+
*
|
|
64
|
+
* The window is counted in node indices, which on a line is about a screen's
|
|
65
|
+
* worth. A layout that stacks its nodes in rows puts far more of them inside
|
|
66
|
+
* the same horizontal span, and the window then covers a couple of columns
|
|
67
|
+
* and leaves the rest of the field blank on the first paint. A host drawing
|
|
68
|
+
* such a layout turns this off and accepts the whole of it.
|
|
69
|
+
*/
|
|
70
|
+
windowed?: boolean;
|
|
40
71
|
}
|
|
41
|
-
export declare function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, cards, className, emptyMessage, followFocus, centerBeatId, snap, onCenteredBeatChange, }: StoryGraphProps): React.ReactElement;
|
|
72
|
+
export declare function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, cards, className, emptyMessage, followFocus, centerBeatId, snap, onCenteredBeatChange, layout: layoutProp, regionLabel, spine, windowed, }: StoryGraphProps): React.ReactElement;
|
|
42
73
|
//# sourceMappingURL=story-graph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story-graph.d.ts","sourceRoot":"","sources":["../../../src/graph/react/story-graph.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,
|
|
1
|
+
{"version":3,"file":"story-graph.d.ts","sourceRoot":"","sources":["../../../src/graph/react/story-graph.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EAExB,MAAM,aAAa,CAAA;AAEpB,OAAO,KAAK,EAAE,SAAS,EAAa,MAAM,uBAAuB,CAAA;AAEjE,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,SAAS,CAAA;IACpB,wBAAwB;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACtC,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,+EAA+E;IAC/E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gDAAgD;IAChD,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;;;OAKG;IACH,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/C;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAwBD,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,aAAa,EACb,WAAW,EACX,OAAO,EACP,KAAY,EACZ,SAAS,EACT,YAAsD,EACtD,WAAkB,EAClB,YAAY,EACZ,IAAY,EACZ,oBAAoB,EACpB,MAAM,EAAE,UAAU,EAClB,WAAW,EACX,KAAY,EACZ,QAAe,GAChB,EAAE,eAAe,GAAG,KAAK,CAAC,YAAY,CA8ZtC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
3
3
|
// The story lattice as the studio draws it: one horizontal line, a node per
|
|
4
4
|
// beat carrying its tone rings, the telling above the line and the tone triad
|
|
5
5
|
// below it. The geometry comes from the headless layout so a server can draw
|
|
@@ -29,9 +29,9 @@ const CARD_DEFAULTS = {
|
|
|
29
29
|
ringGap: 10,
|
|
30
30
|
paddingX: 200,
|
|
31
31
|
};
|
|
32
|
-
export function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, cards = true, className, emptyMessage = 'This narrative has no storybeats yet.', followFocus = true, centerBeatId, snap = false, onCenteredBeatChange, }) {
|
|
32
|
+
export function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, cards = true, className, emptyMessage = 'This narrative has no storybeats yet.', followFocus = true, centerBeatId, snap = false, onCenteredBeatChange, layout: layoutProp, regionLabel, spine = true, windowed = true, }) {
|
|
33
33
|
const resolved = React.useMemo(() => ({ ...(cards ? CARD_DEFAULTS : {}), ...options }), [cards, options]);
|
|
34
|
-
const layout = React.useMemo(() => layoutNarrative(narrative, resolved), [narrative, resolved]);
|
|
34
|
+
const layout = React.useMemo(() => layoutProp ?? layoutNarrative(narrative, resolved), [layoutProp, narrative, resolved]);
|
|
35
35
|
const beatsById = React.useMemo(() => {
|
|
36
36
|
const map = new Map();
|
|
37
37
|
for (const beat of narrative.subtext.storybeats)
|
|
@@ -258,8 +258,12 @@ export function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, car
|
|
|
258
258
|
}
|
|
259
259
|
const { centerY, width, height } = layout;
|
|
260
260
|
const drawnIndices = new Set();
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
if (!windowed)
|
|
262
|
+
for (let index = 0; index < layout.nodes.length; index += 1)
|
|
263
|
+
drawnIndices.add(index);
|
|
264
|
+
else
|
|
265
|
+
for (let index = range[0]; index <= range[1]; index += 1)
|
|
266
|
+
drawnIndices.add(index);
|
|
263
267
|
if (!measured)
|
|
264
268
|
for (let index = 0; index <= Math.min(WINDOW_GUESS, layout.nodes.length - 1); index += 1)
|
|
265
269
|
drawnIndices.add(index);
|
|
@@ -269,7 +273,7 @@ export function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, car
|
|
|
269
273
|
drawnIndices.add(held);
|
|
270
274
|
}
|
|
271
275
|
const drawn = [...drawnIndices].sort((a, b) => a - b).flatMap((index) => layout.nodes[index] ?? []);
|
|
272
|
-
return (_jsxs("div", { className: className, "data-ncp-graph": "canvas", style: { position: 'relative' }, children: [_jsx("div", { ref: scroller, className: "ncp-graph-scroll", role: "region", "aria-label": `Story lattice: ${layout.nodes.length} beats. Drag to pan, arrow keys to scroll.`, tabIndex: 0, onPointerDown: onPointerDown, onPointerMove: onPointerMove, onPointerUp: endDrag, onPointerCancel: (event) => {
|
|
276
|
+
return (_jsxs("div", { className: className, "data-ncp-graph": "canvas", style: { position: 'relative' }, children: [_jsx("div", { ref: scroller, className: "ncp-graph-scroll", role: "region", "aria-label": regionLabel ?? `Story lattice: ${layout.nodes.length} beats. Drag to pan, arrow keys to scroll.`, tabIndex: 0, onPointerDown: onPointerDown, onPointerMove: onPointerMove, onPointerUp: endDrag, onPointerCancel: (event) => {
|
|
273
277
|
pressedCard.current = null;
|
|
274
278
|
endDrag(event);
|
|
275
279
|
}, onClick: onCardClick, onKeyDown: onKeyDown, onFocus: (event) => {
|
|
@@ -289,7 +293,7 @@ export function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, car
|
|
|
289
293
|
overscrollBehaviorX: 'contain',
|
|
290
294
|
scrollSnapType: snap && !dragging ? 'x mandatory' : undefined,
|
|
291
295
|
WebkitOverflowScrolling: 'touch',
|
|
292
|
-
}, children: _jsxs("div", { style: { position: 'relative', width, height }, children: [_jsxs("svg", { width: width, height: height, style: { position: 'absolute', inset: 0, pointerEvents: 'none' }, "aria-hidden": "true", children: [_jsx("defs", { children: _jsxs("linearGradient", { id: "ncp-timeline", x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [_jsx("stop", { offset: "0%", stopColor: "#4f46e5", stopOpacity: "0" }), _jsx("stop", { offset: "10%", stopColor: "#8b5cf6", stopOpacity: "0.5" }), _jsx("stop", { offset: "90%", stopColor: "#ec4899", stopOpacity: "0.5" }), _jsx("stop", { offset: "100%", stopColor: "#ec4899", stopOpacity: "0" })] }) }), _jsx("path", { d: `M 0,${centerY} L ${width},${centerY}`, stroke: "url(#ncp-timeline)", strokeWidth: 7, strokeOpacity: 0.25, fill: "none" }), _jsx("path", { d: `M 0,${centerY} L ${width},${centerY}`, stroke: "url(#ncp-timeline)", strokeWidth: 2, fill: "none" }), cards
|
|
296
|
+
}, children: _jsxs("div", { style: { position: 'relative', width, height }, children: [_jsxs("svg", { width: width, height: height, style: { position: 'absolute', inset: 0, pointerEvents: 'none' }, "aria-hidden": "true", children: [_jsx("defs", { children: _jsxs("linearGradient", { id: "ncp-timeline", x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [_jsx("stop", { offset: "0%", stopColor: "#4f46e5", stopOpacity: "0" }), _jsx("stop", { offset: "10%", stopColor: "#8b5cf6", stopOpacity: "0.5" }), _jsx("stop", { offset: "90%", stopColor: "#ec4899", stopOpacity: "0.5" }), _jsx("stop", { offset: "100%", stopColor: "#ec4899", stopOpacity: "0" })] }) }), spine ? (_jsxs(_Fragment, { children: [_jsx("path", { d: `M 0,${centerY} L ${width},${centerY}`, stroke: "url(#ncp-timeline)", strokeWidth: 7, strokeOpacity: 0.25, fill: "none" }), _jsx("path", { d: `M 0,${centerY} L ${width},${centerY}`, stroke: "url(#ncp-timeline)", strokeWidth: 2, fill: "none" })] })) : null, cards
|
|
293
297
|
? drawn.map((node) => (_jsxs("g", { stroke: "#475569", strokeWidth: 1, strokeDasharray: "4 4", opacity: 0.3, children: [_jsx("path", { d: `M ${node.x},${node.y} L ${node.x},${node.y - 110}`, fill: "none" }), _jsx("path", { d: `M ${node.x},${node.y} L ${node.x},${node.y + 110}`, fill: "none" })] }, `stem-${node.id}`)))
|
|
294
298
|
: layout.links.slice(range[0], Math.max(range[0], range[1])).map((link) => (_jsx("path", { d: link.path, fill: "none", stroke: "currentColor", strokeOpacity: 0.35, strokeWidth: 2 }, link.id)))] }), snap
|
|
295
299
|
? layout.nodes.map((node) => (_jsx("span", { "aria-hidden": "true", style: {
|
|
@@ -300,7 +304,7 @@ export function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, car
|
|
|
300
304
|
height: 1,
|
|
301
305
|
scrollSnapAlign: 'center',
|
|
302
306
|
} }, `snap-${node.id}`)))
|
|
303
|
-
: null, drawn.map((node) => (_jsx(BeatMark, { node: node, focused: focusedBeatId === node.id, cards: cards, perspective: perspectiveName(node.id), onClick: interactive ? handleBeatClick : undefined }, node.id))), _jsx("div", { "aria-hidden": "true", style: {
|
|
307
|
+
: null, drawn.map((node) => (_jsx(BeatMark, { node: node, focused: focusedBeatId === node.id, cards: cards, perspective: perspectiveName(node.id), onClick: interactive ? handleBeatClick : undefined }, node.id))), spine ? (_jsx("div", { "aria-hidden": "true", style: {
|
|
304
308
|
position: 'absolute',
|
|
305
309
|
left: width - 40,
|
|
306
310
|
top: centerY,
|
|
@@ -315,7 +319,7 @@ export function StoryGraph({ narrative, focusedBeatId, onBeatClick, options, car
|
|
|
315
319
|
justifyContent: 'center',
|
|
316
320
|
color: '#94a3b8',
|
|
317
321
|
fontSize: 14,
|
|
318
|
-
}, children: "\u25B8" })] }) }), _jsx("style", { children: `
|
|
322
|
+
}, children: "\u25B8" })) : null] }) }), _jsx("style", { children: `
|
|
319
323
|
@keyframes ncp-ring-spin { to { transform: rotate(360deg); } }
|
|
320
324
|
[data-ncp-ring="outer"] { animation: ncp-ring-spin 24s linear infinite; transform-origin: 50% 50%; }
|
|
321
325
|
[data-ncp-ring="middle"] { animation: ncp-ring-spin 18s linear infinite reverse; transform-origin: 50% 50%; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"story-graph.js","sourceRoot":"","sources":["../../../src/graph/react/story-graph.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,4EAA4E;AAC5E,8EAA8E;AAC9E,6EAA6E;AAC7E,qDAAqD;AACrD,EAAE;AACF,+EAA+E;AAC/E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,gBAAgB,GAIjB,MAAM,aAAa,CAAA;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AAE,KAAK,EAAE,GAC7F,GACG,KA1CC,IAAI,CA2CR,CACP,CAAA;gBACH,CAAC,CAAC,GACI,CACT,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAA;AACH,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miadi/ncp-story-studio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Narrative Context Protocol story studio as consumable modules: canonical NCP types and a zero-dependency validator, a headless story-lattice layout with a React renderer, story-project storage providers (JSON files and Neon Postgres), the agent link protocol, and the terminology and example data behind the teaching surface.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Miadi",
|
|
@@ -63,9 +63,7 @@
|
|
|
63
63
|
"files": [
|
|
64
64
|
"dist",
|
|
65
65
|
"assets",
|
|
66
|
-
"rispecs",
|
|
67
66
|
"README.md",
|
|
68
|
-
"PHASES.md",
|
|
69
67
|
"LICENSE"
|
|
70
68
|
],
|
|
71
69
|
"repository": {
|
package/PHASES.md
DELETED
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
# @miadi/ncp-story-studio — Phase Plan
|
|
2
|
-
|
|
3
|
-
**Written:** 2026-09-12 · steered by Guillaume's annotations on the capability survey.
|
|
4
|
-
**Reads with:** `AGENTS.md` (direction, version table stale — read manifests), `STATUS.md`,
|
|
5
|
-
`rispecs/`, and `/a/src/Miadi-18/rispecs/wampum-narrative-engine/` (later phases).
|
|
6
|
-
**Origin issue:** `jgwill/Miadi#361`. Wampum lanes: `#437` foundations, `#438` NCP bridge,
|
|
7
|
-
`#439` package surface.
|
|
8
|
-
|
|
9
|
-
## Sources of truth
|
|
10
|
-
|
|
11
|
-
| what | where |
|
|
12
|
-
|---|---|
|
|
13
|
-
| Canonical NCP schema | `/workspace/repos/avadisabelle/holisticagnostic-narrative-context-protocol/schema/ncp-schema.json` |
|
|
14
|
-
| Prototype experience to rebuild | `/workspace/repos/miadisabelle/a1f8409e-1a36-495e-9ac2-84f617e6447c-ncp-story-studio-251125` |
|
|
15
|
-
| Governance research | that repo's `foundations/{decolonization-protocol-extensions,oral-tradition-storywork,linguistic-relativity-indigenous-epistemology}/` |
|
|
16
|
-
| Wampum specs | `rispecs/wampum-narrative-engine/` in this checkout |
|
|
17
|
-
| Consumption target | `app/ncp` in this checkout — **planned, not yet created** |
|
|
18
|
-
|
|
19
|
-
`app/ncp` is where the published packages are consumed to rebuild the prototype experience
|
|
20
|
-
inside Miadi, with the seed projects (Catalyst of Changes and the other four narratives)
|
|
21
|
-
observable there. It is a target, not a stale reference.
|
|
22
|
-
|
|
23
|
-
## Status — 2026-09-19 (phone round, from a real phone — 0.7.3 to 0.7.6)
|
|
24
|
-
|
|
25
|
-
Reported from an iPhone: sweep the scrubber to the end and back, and the page died. Reproduced in
|
|
26
|
-
WebKit (the engine of every iOS browser) with Playwright's iPhone profile: the studio rewrote the
|
|
27
|
-
URL on every beat crossed, and WebKit throws a `SecurityError` past 100 `replaceState` calls in 10
|
|
28
|
-
seconds. The app now writes the URL once the reader rests. In the package, for the phone's memory:
|
|
29
|
-
|
|
30
|
-
- **The graph draws the window around the view, not the whole line** (`visibleNodeRange`): a dozen
|
|
31
|
-
cards, rings and stems instead of ninety, however long the story. The canvas keeps its full width,
|
|
32
|
-
so scrolling, snapping and focus-following are unchanged.
|
|
33
|
-
- **A focused beat stays drawn, and the first screen is drawn before hydration** (0.7.4, from a
|
|
34
|
-
WebKit review); a follow longer than six beats cuts instead of gliding, and the follow
|
|
35
|
-
runs before paint so a cut never shows an empty frame (0.7.5, 0.7.6): arrow keys kept working past the window's edge only while the focused beat
|
|
36
|
-
stayed mounted, and a link to beat 40 painted an empty line until the page hydrated.
|
|
37
|
-
- **No full-length SVG blur.** The line's glow was an `feGaussianBlur` over a 32,000px path — at
|
|
38
|
-
a phone's 3x density a buffer 97,000 pixels wide. It is now a faint wide stroke under the thin one.
|
|
39
|
-
|
|
40
|
-
## Status — 2026-09-19 (phone round, second pass — 0.7.0 to 0.7.2)
|
|
41
|
-
|
|
42
|
-
Two independent reviews read the first pass: a code review (9 findings) and a phone UX walk at
|
|
43
|
-
360, 390, 430, 768 and landscape (20 findings, one blocking). What the package took from them:
|
|
44
|
-
|
|
45
|
-
- **The line and the scrubber cannot disagree.** `centerBeatId` separates where the reader is from
|
|
46
|
-
the beat they chose; a relaid line (cards ↔ compact) is put back on its beat.
|
|
47
|
-
- **A swipe is reported where it comes to rest**, not beat by beat as it passes; the scroll the
|
|
48
|
-
graph makes itself is never reported. The scrubber reads the beat from where the thumb lifts.
|
|
49
|
-
- **Fine mode and go-to-number** on the scrubber: ninety beats across a phone is four pixels a
|
|
50
|
-
beat; a resting thumb gets twelve, and the counter takes "60".
|
|
51
|
-
- **Cards open their beat**; rings are thicker and more opaque; nothing in the graph is under
|
|
52
|
-
10px; the scrubber has a visible keyboard focus ring.
|
|
53
|
-
- **`ValidationIssue.elementIds`**: a sequence clash names its beats, once per clash.
|
|
54
|
-
- **A crossing costs two beats, not ninety** (0.7.2): beat marks are memoised behind one stable
|
|
55
|
-
click handler, so the scrubber no longer drags a full re-render of the line behind the thumb.
|
|
56
|
-
Fine mode reads the pause from event timestamps (0.7.1): a timer fired mid-slide on a busy page.
|
|
57
|
-
- Held for Guillaume: a tone palette where each axis owns a hue family. Three axes currently share
|
|
58
|
-
purples (opinion, power, transcendence), which a phone cannot tell apart; the prototype's
|
|
59
|
-
palette is kept until that is decided.
|
|
60
|
-
|
|
61
|
-
## Status — 2026-09-19 (phone round)
|
|
62
|
-
|
|
63
|
-
The studio was built at a desk and read on a phone. On a 390px screen the nine tabs wrapped into
|
|
64
|
-
three rows and scrolled away with the page, the save sat at the top of a 32,000px beat list, the
|
|
65
|
-
edit buttons appeared only on hover — which a touch screen never does — and a vertical swipe that
|
|
66
|
-
started on the graph could not scroll the page past it. What changed (0.6.0, and `app/ncp`):
|
|
67
|
-
|
|
68
|
-
- **`<BeatScrubber>`** — one tick per beat, coloured by tone, signposts tallest. A thumb runs along
|
|
69
|
-
ninety beats in one stroke; the graph or the list follows it. It rides in the studio's sticky bar
|
|
70
|
-
in both the graph and the beats view.
|
|
71
|
-
- **The graph on touch is a carousel.** `snap` settles one beat at the centre; `followFocus` scrolls
|
|
72
|
-
a linked beat into view (before, `?view=graph&beat=x` opened on beat 1); `onCenteredBeatChange`
|
|
73
|
-
lets the host know where the reader is. Vertical swipes pass through to the page.
|
|
74
|
-
- **Shorter cards, shorter canvas.** Cards clamp to three lines; the canvas drops from 720 to 480.
|
|
75
|
-
- **In the app:** a bottom bar on phones (overview · graph · beats · ask · more), a views sheet and
|
|
76
|
-
the chat as sheets over the shared `DragSheet` (jgwill/Miadi#381), a sticky status bar with the
|
|
77
|
-
save, beats that filter by words and appreciation and fold into an outline, card actions shown on
|
|
78
|
-
touch, 16px fields so iOS does not zoom into every edit, and whole-card links on the project list.
|
|
79
|
-
|
|
80
|
-
## Status — 2026-09-19 (navigation round)
|
|
81
|
-
|
|
82
|
-
Four things a reader asked for after using it:
|
|
83
|
-
|
|
84
|
-
- **The line is navigable.** Drag the empty space to pan; arrow keys scroll it, shift for a longer
|
|
85
|
-
step, Home and End for the ends. A press that starts on a beat still opens that beat.
|
|
86
|
-
- **Compact says something.** It was circles; now each mark carries its narrative function, its
|
|
87
|
-
summary and its three tone letters, so a ninety-beat story is readable at a glance.
|
|
88
|
-
- **Cards are the default at every length** — the card is what makes a beat readable, and the line
|
|
89
|
-
is now navigable, so length is no longer a reason to hide them. Compact is one click away.
|
|
90
|
-
- **Every view is reachable without dragging.** The tab bar wraps; `terminology` was hidden behind a
|
|
91
|
-
sideways scroll.
|
|
92
|
-
- **Validation reads as three things**: what to fix, what the story extends (declared, not drift),
|
|
93
|
-
and what is worth knowing — each group counted once with its places behind a disclosure, instead
|
|
94
|
-
of sixty-three identical lines.
|
|
95
|
-
|
|
96
|
-
## Status — 2026-09-15 (interface round)
|
|
97
|
-
|
|
98
|
-
The surface was refined against the prototype it is modelled on, which had a visual language the
|
|
99
|
-
rebuild had not carried across:
|
|
100
|
-
|
|
101
|
-
- **The graph draws cards again.** A node is a numbered mark with three tone rings that turn slowly;
|
|
102
|
-
above the line its card carries the appreciation, the perspective, the summary and the
|
|
103
|
-
illustration; below it a panel names each tone axis with its colour. The headless layout is
|
|
104
|
-
unchanged — this is presentation over the same geometry — so a server still draws the same SVG.
|
|
105
|
-
- **Beats are a timeline, not a list.** A gradient spine with the sequence circles sitting on it and
|
|
106
|
-
the cards alternating left and right, each card carrying its tone triad as A/S/T chips. Editing
|
|
107
|
-
opens in place and closes back into the same shape.
|
|
108
|
-
- **Every element view is a card** in the prototype's shapes: perspectives with a point-of-view
|
|
109
|
-
badge, players with an avatar and their visual and audio lines, storypoints with an appreciation
|
|
110
|
-
eyebrow and a function chip, dynamics with their vector.
|
|
111
|
-
- **One room, one light.** `app/ncp` uses the prototype's slate ground with indigo, purple and pink
|
|
112
|
-
accents rather than the portal's neutral tokens — the studio is its own room, and the rest of the
|
|
113
|
-
portal keeps its own.
|
|
114
|
-
- **The view is in the URL.** `?view=graph&beat=<id>` — a link can point at a story's graph, or at
|
|
115
|
-
one beat inside it, and a reload lands where it left.
|
|
116
|
-
- **The tab bar counts.** Each view says how much it holds.
|
|
117
|
-
|
|
118
|
-
## Status — 2026-09-12 (second round)
|
|
119
|
-
|
|
120
|
-
A third review — a parity audit against the prototype — returned 14 gaps. What closed:
|
|
121
|
-
|
|
122
|
-
- **The six teaching stories are back.** Catalyst of Change, Echoes of the Past, Tushell and the
|
|
123
|
-
Orchestra of Agents, The Keeper Chronicles, The Bridge Walker, The Archive Keeper — every beat
|
|
124
|
-
toned. Catalyst is assembled from its source document plus the enrichment table the prototype
|
|
125
|
-
kept separately, so it arrives with its 90 toned beats, 23 moments and 5 overviews (the
|
|
126
|
-
prototype's own adapter dropped 22 of those moments).
|
|
127
|
-
- **The agent reads the whole story.** The digest threshold was 60k, and the seed story is ~80k, so
|
|
128
|
-
the studio's own narrative reached the model as an index. Default is 400k now.
|
|
129
|
-
- **A story can be read**: beat storytelling and illustration without opening an editor, tone names
|
|
130
|
-
beside the colours, storypoint and player storytelling rendered, perspective references named.
|
|
131
|
-
- **The graph says what its colours mean** — a legend, and every node describes itself in words.
|
|
132
|
-
- **Terminology is a place**: `/ncp/terminology`, all 255 terms by section plus the legacy table.
|
|
133
|
-
- **The chat is a chat**: a welcome, a thinking indicator, auto-scroll, and a drawer on a phone.
|
|
134
|
-
- **A story can bring its own reading positions** — the persona registry is open, so the prototype's
|
|
135
|
-
guest voices (a wise owl, a data dolphin) can be registered without changing this package.
|
|
136
|
-
|
|
137
|
-
Both of those are now closed. A story's guest voices reach the prompt: asking *Tushell and the
|
|
138
|
-
Orchestra of Agents* about its first beat answers as 🧠 Mia · 🌸 Miette · 🎨 Ava8 · 🌊 Tushell ·
|
|
139
|
-
🦉 Wise Owl, and the Keeper Chronicles answer with 🌀 Miawapaskone and 🪶 Grandmother Yazhi. And the
|
|
140
|
-
studio answers for real by default — `NCP_AGENT_DISABLED=1` is the off switch, not an on switch.
|
|
141
|
-
A live call still needs the writer credential, because the port is publicly reachable and a model
|
|
142
|
-
call costs money; a browser without it gets the prompt instead of an error.
|
|
143
|
-
|
|
144
|
-
## Status — 2026-09-12
|
|
145
|
-
|
|
146
|
-
Phase 1 and Phase 2 are **built and running**: `@miadi/ncp-story-studio` 0.1.0 with 86 tests, and
|
|
147
|
-
`app/ncp` consuming it on port 3335. What landed, and what each phase still holds, is below; the
|
|
148
|
-
module surface is in `README.md`.
|
|
149
|
-
|
|
150
|
-
Verified end to end on 2026-09-12: the four bundled examples seeded into a JSON store, the studio
|
|
151
|
-
rendering graph and beat editor, an edit saved from the browser through a server action to
|
|
152
|
-
`story.ncp.json` on disk, a conditional `PUT` accepted and a stale one refused with 409, an
|
|
153
|
-
unauthenticated write refused with 401.
|
|
154
|
-
|
|
155
|
-
Two adversarial reviews ran against this work — one on the package, one on `app/ncp`. They
|
|
156
|
-
returned 18 and 14 findings. All are fixed; the package half carries a regression test per finding
|
|
157
|
-
(`test/review-findings.test.mjs`), and the surface half was re-verified by request:
|
|
158
|
-
|
|
159
|
-
```bash
|
|
160
|
-
# a server action without the credential is refused, and with it is allowed
|
|
161
|
-
curl -X POST /api/ncp/session -H "Authorization: Bearer $MIADI_API_TOKEN_WRITER" -c jar.txt
|
|
162
|
-
# a story that arrived invalid stays editable; an edit that adds an error does not
|
|
163
|
-
curl -X PUT /api/ncp/projects/shawshank-redemption ... # 200, preexisting_errors: 19
|
|
164
|
-
# a server action and a REST PUT racing on the same version: one wins, one conflicts
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
## Phase 1 — vocabulary and data · **built**
|
|
168
|
-
|
|
169
|
-
Goal: one NCP type surface everyone can produce compatible data against, and a viewer in
|
|
170
|
-
`app/ncp` reading real stories.
|
|
171
|
-
|
|
172
|
-
- **S1 `/schema`** — TypeScript types, a zero-dependency validator (Zod was dropped: a published
|
|
173
|
-
package should not pin a validation library on its consumers), the canonical JSON Schema as an
|
|
174
|
-
asset, and fixtures, from the
|
|
175
|
-
canonical schema (29 appreciations, 148/144 narrative functions, 9 dynamics × 16 vectors,
|
|
176
|
-
3-axis tones, 6 audience POVs, `moments.fabric`). Prototype-only fields
|
|
177
|
-
(`custom_appreciation`, `custom_narrative_function`, `Player.motivations`,
|
|
178
|
-
`Perspective.throughline`) become **declared extensions**; `pov` renames to
|
|
179
|
-
`author_structural_pov`. No Wampum fields in the model at this phase.
|
|
180
|
-
- **S2 `/graph`** — the story lattice as a real component package (headless layout + React
|
|
181
|
-
renderer), consumed by `app/ncp`, not copied into it.
|
|
182
|
-
- **S9 examples + terminology** — the 5 canonical examples, the 5 prototype narratives, and
|
|
183
|
-
`docs/terminology/` as data behind a browser view. Teaching surface is first-class, not a
|
|
184
|
-
by-product.
|
|
185
|
-
- **`app/ncp` v1** — project list, story viewer, graph view, reading from the store provider.
|
|
186
|
-
|
|
187
|
-
## Phase 2 — editing and story projects · **built**
|
|
188
|
-
|
|
189
|
-
- **S3 `/editor`** — CRUD for beats / players / storypoints, drag-reorder, dynamic perspectives,
|
|
190
|
-
live validation with structural-tension alerts. **Two storage providers behind one
|
|
191
|
-
interface: JSON files and Neon (Postgres).** Story projects are managed, not held in a tab.
|
|
192
|
-
- **S4 `/agents`** — the `[[Beat|Player|Perspective|Point:ID|Label]]` link protocol as its own
|
|
193
|
-
parser module, and a provider-neutral model adapter (the prototype hard-codes one vendor and
|
|
194
|
-
one model string). Personas: 🧠 Mia structural, 🌸 Miette narrative, 🎨 Ava8 musical.
|
|
195
|
-
- **S12 chronicle ↔ story** — import episode material into a story, and surface a story inside
|
|
196
|
-
an episode. Both directions, reusing `@miadi/inquiry-weave` and the chronicle readers in
|
|
197
|
-
`app/chronicle/lib/`.
|
|
198
|
-
- **S10 import / export** — NCP JSON in and out, then reuse what Miadi already publishes:
|
|
199
|
-
`@miadi/voice` for spoken readings, the Twine promotion path for a readable book,
|
|
200
|
-
`@miadi/musical-composition-to-episode` for composition links.
|
|
201
|
-
|
|
202
|
-
### What Phase 1 and 2 taught, and what changed because of it
|
|
203
|
-
|
|
204
|
-
- **Three dialects, not one.** The canonical schema, the subtxt exports, and the Catalyst design
|
|
205
|
-
file disagree about shape *and* vocabulary. One reader now recognizes each and reports every
|
|
206
|
-
adaptation, which is what lets all four examples open in the same studio.
|
|
207
|
-
- **The canonical `required` lists name every field.** No shipped example satisfies them, so the
|
|
208
|
-
studio validates what a studio needs by default and enforces the schema's own lists on request.
|
|
209
|
-
- **Beat `sequence` numbers a series, not a narrative.** Signposts 1-4 and progressions 1-16 are
|
|
210
|
-
separate runs inside one throughline; uniqueness is checked per series.
|
|
211
|
-
- **An adversarial review found 18 defects** in the first cut, the worst of which deleted a store
|
|
212
|
-
root. Every one is fixed with a named regression test in `test/review-findings.test.mjs`.
|
|
213
|
-
|
|
214
|
-
## Phase 3 — relational and symphonic readings
|
|
215
|
-
|
|
216
|
-
- **S11 Ava8 × NCP** — Ava8 is a musical orchestra agent, not a name collision. Relate story
|
|
217
|
-
`moments` to musical structure and explore symphonic capability inside a story. RISE specs
|
|
218
|
-
drafted during Phase 1–2 so this phase has ground to stand on.
|
|
219
|
-
- **S5 Wampum** — specs first (`rispecs/wampum-narrative-engine/` already holds the belt model,
|
|
220
|
-
the `project`/`read` bridge with its `crossing_report`, and the four-layer perspective
|
|
221
|
-
prompt). First concrete artifact: **Catalyst of Changes rendered in belt form**, to look at
|
|
222
|
-
and reflect on, before any schema support lands.
|
|
223
|
-
- **S6 governance, first implementations** — only the layers earlier phases proved they need.
|
|
224
|
-
|
|
225
|
-
## Phase 4 — narrative workflow runtime
|
|
226
|
-
|
|
227
|
-
**S7** — goals, candidate trajectories, state versions, budgets, termination authority. The
|
|
228
|
-
spec needs revision before it is built; it is not Phase 1 material.
|
|
229
|
-
|
|
230
|
-
## Phase 5 — three universes
|
|
231
|
-
|
|
232
|
-
**S8** — Engineer / Ceremony / Story validators returning evidence rather than a score.
|
|
233
|
-
Deliberately last: elements of the model resemble it already, and introducing it early would
|
|
234
|
-
confuse the vocabulary. It gets integrated where it belongs, not early.
|
|
235
|
-
|
|
236
|
-
## The spec lane that runs through every phase
|
|
237
|
-
|
|
238
|
-
Specifications advance even where implementation does not.
|
|
239
|
-
|
|
240
|
-
- `rispecs/governance/<layer>/` — one folder per layer: transmission conditions, relational
|
|
241
|
-
provenance, linguistic frame, performativity, semantic access control. Each states who the
|
|
242
|
-
teller and receiver requirements are, what the layer means, and how it sits in the model.
|
|
243
|
-
Kept alive as later phases reveal what governance actually has to do. If a phase needs part
|
|
244
|
-
of it early, that part gets analysed and implemented then — not pre-built.
|
|
245
|
-
- Wampum specs and the Ava8 × NCP spec, written ahead of their phase for the same reason.
|
|
246
|
-
|
|
247
|
-
## Consumption inside `app/`
|
|
248
|
-
|
|
249
|
-
- **C1** — publish order: schema, then the graph component, then editor, then agents. Headless
|
|
250
|
-
first: validators and layout carry no React so route handlers can use them; the React
|
|
251
|
-
renderer ships behind a subpath export (`@miadi/attention-ui` is the local precedent).
|
|
252
|
-
- **C2** — `workspace:*` in the root `package.json` while exports move; published semver once
|
|
253
|
-
they settle. Every manifest change updates `pnpm-lock.yaml` with scoped install/build/test.
|
|
254
|
-
- **C3** — surface: `app/ncp` (projects), `app/ncp/studio/[storyId]` (the studio),
|
|
255
|
-
`app/api/ncp/*` (validate, stories, later projections). Pattern to copy:
|
|
256
|
-
`app/chronicle/lib/*.ts` and `app/chronicle/[episode]/page.tsx` importing
|
|
257
|
-
`@miadi/episodic-memory-schema`, `@miadi/inquiry-weave`, `@miadi/tide` server-side.
|
|
258
|
-
- **C4** — validation runs server-side, where its record can be persisted.
|
|
259
|
-
- **C5** — storage provider chosen by environment: JSON files under a stories root, or Neon.
|
|
260
|
-
Browser storage only for per-viewer conveniences.
|
|
261
|
-
- **C6** — `app/live-story-monitor` and `app/narrative-lattice` become consumers of these
|
|
262
|
-
packages. Today `app/narrative-lattice/page.tsx` runs on fixtures from
|
|
263
|
-
`@/types/live-story-monitor-data`; they need feeding from the same schema and provider.
|
|
264
|
-
- **C7** — port 3335 is the single surface: dev mode while building, prod rebuild when
|
|
265
|
-
shipping, and state what is shipping from an untracked tree before rebuilding.
|
|
266
|
-
|
|
267
|
-
## What this gives Concordia
|
|
268
|
-
|
|
269
|
-
- **K1** — an authorship record a rights or ethics review can read: state version, agent and
|
|
270
|
-
role, model, prompt, schema version, approvals, rejected alternatives.
|
|
271
|
-
- **K2** — per-field artifacts for the faculty alignment open as `jgwill/Miadi#611`–`#614`.
|
|
272
|
-
- **K3** — the Martin Lefebvre report in this folder is a literature anchor for the
|
|
273
|
-
narrative-theory framing. Cite from it; do not specify from it.
|
|
274
|
-
- **K4** — a seminar-ready teaching surface: terminology browser and worked example stories,
|
|
275
|
-
with governance handling stated in the data rather than promised in prose.
|
|
276
|
-
|
|
277
|
-
## Risks that set the order
|
|
278
|
-
|
|
279
|
-
- **R2** — schema divergence between the prototype types and the canonical schema. Freeze S1
|
|
280
|
-
before porting any UI.
|
|
281
|
-
- **R3** — the schema repo is not vendored here (its only submodule is `llms`). Pin it or copy
|
|
282
|
-
the schema with a version stamp, or the enums drift silently.
|
|
283
|
-
- **R1** — cultural protocol. Deferring Wampum out of Phase 1 removes this from the critical
|
|
284
|
-
path. When it returns: public seed belts only, no community-specific readings without
|
|
285
|
-
consent, and the refusal gate exists before any generated reading ships.
|
|
286
|
-
|
|
287
|
-
## Stale claims in `AGENTS.md` (do not carry forward)
|
|
288
|
-
|
|
289
|
-
- The version table. Real versions today: `@miadi/episodic-memory-schema` 0.10.0, `@miadi/tide`
|
|
290
|
-
0.4.0, `@miadi/tide-contract` 0.3.0, `@miadi/hooks-core` 0.5.0, `@miadi/a2a-contracts` 0.1.1.
|
|
291
|
-
Read the manifests, per the `miadi-package-truth` skill.
|
|
292
|
-
- `pnpm add @miadi/ncp-story-studio` — no manifest, nothing published yet.
|
|
293
|
-
- `@miadi/three-universe-processor` appears in issue prose only; no such package exists.
|
package/rispecs/README.rise.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# RISE README: @miadi/ncp-story-studio
|
|
2
|
-
|
|
3
|
-
NCP story studio for story studio workflows for narrative continuity and production planning.
|
|
4
|
-
|
|
5
|
-
Read `./RISPEC.md`, check `../package.json`, and use the narrowest package needed. Indexed from root `llms.txt` and `llms-full.txt`.
|
package/rispecs/RISPEC.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
# RISPEC: @miadi/ncp-story-studio
|
|
2
|
-
|
|
3
|
-
RISE = Reverse-engineer, Intent-extract, Specify, Export.
|
|
4
|
-
|
|
5
|
-
Purpose: story studio workflows for narrative continuity and production planning.
|
|
6
|
-
Install: `pnpm add @miadi/ncp-story-studio` or workspace `pnpm -w add @miadi/ncp-story-studio@workspace:* --filter <consumer-package>`.
|
|
7
|
-
Contract: public exports, schemas, CLI flags, or adapter payloads owned by this package.
|
|
8
|
-
Authority: `package.json`, source exports, tests, and release metadata remain truth.
|
|
9
|
-
Handoff: verify exports, examples, test evidence, and publish/stub/deprecated status.
|