coaiajs 0.4.3 → 0.5.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 +24 -5
- package/dist/mcp/config.d.ts.map +1 -1
- package/dist/mcp/config.js +13 -1
- package/dist/mcp/config.js.map +1 -1
- package/dist/mcp/server.js +11 -1
- package/dist/mcp/server.js.map +1 -1
- package/dist/src/cli.js +62 -2
- package/dist/src/cli.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/narrative/argument-hygiene.d.ts +46 -0
- package/dist/src/narrative/argument-hygiene.d.ts.map +1 -0
- package/dist/src/narrative/argument-hygiene.js +155 -0
- package/dist/src/narrative/argument-hygiene.js.map +1 -0
- package/dist/src/narrative/contract.d.ts +200 -0
- package/dist/src/narrative/contract.d.ts.map +1 -0
- package/dist/src/narrative/contract.js +274 -0
- package/dist/src/narrative/contract.js.map +1 -0
- package/dist/src/narrative/github-bridge.d.ts +23 -0
- package/dist/src/narrative/github-bridge.d.ts.map +1 -0
- package/dist/src/narrative/github-bridge.js +320 -0
- package/dist/src/narrative/github-bridge.js.map +1 -0
- package/dist/src/narrative/graph-manager.d.ts +83 -2
- package/dist/src/narrative/graph-manager.d.ts.map +1 -1
- package/dist/src/narrative/graph-manager.js +444 -54
- package/dist/src/narrative/graph-manager.js.map +1 -1
- package/dist/src/narrative/index.d.ts +24 -3
- package/dist/src/narrative/index.d.ts.map +1 -1
- package/dist/src/narrative/index.js +36 -15
- package/dist/src/narrative/index.js.map +1 -1
- package/dist/src/narrative/jsonl-preservation.d.ts +26 -0
- package/dist/src/narrative/jsonl-preservation.d.ts.map +1 -0
- package/dist/src/narrative/jsonl-preservation.js +293 -0
- package/dist/src/narrative/jsonl-preservation.js.map +1 -0
- package/dist/src/narrative/jsonl-records.d.ts +31 -0
- package/dist/src/narrative/jsonl-records.d.ts.map +1 -0
- package/dist/src/narrative/jsonl-records.js +69 -0
- package/dist/src/narrative/jsonl-records.js.map +1 -0
- package/dist/src/narrative/tool-definitions.d.ts +2 -1
- package/dist/src/narrative/tool-definitions.d.ts.map +1 -1
- package/dist/src/narrative/tool-definitions.js +134 -1
- package/dist/src/narrative/tool-definitions.js.map +1 -1
- package/dist/src/narrative/tool-handlers.d.ts.map +1 -1
- package/dist/src/narrative/tool-handlers.js +203 -20
- package/dist/src/narrative/tool-handlers.js.map +1 -1
- package/dist/src/narrative/types.d.ts +1 -1
- package/dist/src/narrative/types.d.ts.map +1 -1
- package/dist/src/narrative/validation.d.ts +13 -2
- package/dist/src/narrative/validation.d.ts.map +1 -1
- package/dist/src/narrative/validation.js +19 -4
- package/dist/src/narrative/validation.js.map +1 -1
- package/dist/src/skill.d.ts +78 -0
- package/dist/src/skill.d.ts.map +1 -0
- package/dist/src/skill.js +341 -0
- package/dist/src/skill.js.map +1 -0
- package/dist/src/types.d.ts +189 -0
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/version.d.ts +9 -0
- package/dist/src/version.d.ts.map +1 -1
- package/dist/src/version.js +30 -14
- package/dist/src/version.js.map +1 -1
- package/docs/LINEAGE-COAIA-NARRATIVE.md +150 -0
- package/llms-full.txt +93 -8
- package/llms.txt +6 -3
- package/package.json +11 -1
- package/skills/coaiajs/SKILL.md +151 -0
- package/skills/coaiajs/references/beyond-narrative.md +82 -0
- package/skills/coaiajs/references/creative-orientation.md +42 -0
- package/skills/coaiajs/references/delayed-resolution.md +48 -0
- package/skills/coaiajs/references/install-and-environment.md +85 -0
- package/skills/coaiajs/references/mcp-tools.md +83 -0
- package/skills/coaiajs/references/narrative-beats.md +44 -0
- package/skills/coaiajs/references/reading-the-store.md +66 -0
- package/skills/coaiajs/references/structural-tension-charting.md +71 -0
- package/skills/coaiajs/references/wampum-belts.md +72 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Wampum Belts
|
|
2
|
+
|
|
3
|
+
A Wampum Belt is a non-linear mnemonic grid that runs in **parallel** with the linear
|
|
4
|
+
narrative beats. Beats are a sequence; a belt is a surface where position itself carries
|
|
5
|
+
meaning.
|
|
6
|
+
|
|
7
|
+
Reach for a belt when the order of things is not a line: when a reading depends on where
|
|
8
|
+
it sits relative to its neighbours, when several perspectives on one bead are all true,
|
|
9
|
+
or when a commitment needs a witness rather than a timestamp.
|
|
10
|
+
|
|
11
|
+
## Shape
|
|
12
|
+
|
|
13
|
+
A belt has `rows` × `cols` positions. Each position holds at most one bead, written once.
|
|
14
|
+
|
|
15
|
+
A bead carries:
|
|
16
|
+
|
|
17
|
+
| Field | Meaning |
|
|
18
|
+
|---|---|
|
|
19
|
+
| `mnemonic` | Short anchor phrase |
|
|
20
|
+
| `color` | `white`, `purple`, `black`, or `mixed` |
|
|
21
|
+
| `position` | `{ row, col }`, zero-indexed, inside the grid |
|
|
22
|
+
| `reading` | The canonical meaning |
|
|
23
|
+
| `relationalReadings` | Optional per-perspective readings, keyed `left` / `center` / `right` / `row:N` / `col:N` |
|
|
24
|
+
| `ceremonyLink` | Optional tie to a chart or a beat |
|
|
25
|
+
| `observations` | Free notes |
|
|
26
|
+
|
|
27
|
+
`read_wampum_belt` with a `position` resolves the reading for that position: it prefers
|
|
28
|
+
`col:N`, then `row:N`, then the positional label (`left` / `center` / `right`), and falls
|
|
29
|
+
back to the canonical `reading`.
|
|
30
|
+
|
|
31
|
+
## Ceremony links
|
|
32
|
+
|
|
33
|
+
`ceremonyLink.ceremonyType` is one of `commitment`, `accountability`, `witness`, or
|
|
34
|
+
`renewal`. With `chartId` it writes a `wampum_holds_accountable` edge to that chart; with
|
|
35
|
+
`beatName` it writes a `wampum_witnesses` edge to that beat.
|
|
36
|
+
|
|
37
|
+
**The edge is subject to the bead, not the belt.** A relation's identity in the store is
|
|
38
|
+
`(from, to, relationType)`. With the belt as subject, a second bead linking the same chart
|
|
39
|
+
under a different `ceremonyType` collided on that triple: the existence check matched, the
|
|
40
|
+
edge was skipped, and the bead kept a ceremony type the graph had no edge for. Silent
|
|
41
|
+
discard, with the bead's own record disagreeing with the graph and nothing saying so.
|
|
42
|
+
|
|
43
|
+
A bead id is `bead_<beltId>_<row>_<col>` and a position is written once, so
|
|
44
|
+
`(bead, target, relationType)` is unique by construction and every ceremony link survives
|
|
45
|
+
carrying its own type.
|
|
46
|
+
|
|
47
|
+
## Tools
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{ "tool": "create_wampum_belt",
|
|
51
|
+
"arguments": { "title": "Release ceremony", "purpose": "Hold what each step promised", "rows": 2, "cols": 3 } }
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```json
|
|
55
|
+
{ "tool": "add_wampum_bead",
|
|
56
|
+
"arguments": {
|
|
57
|
+
"beltId": "belt_1757200000000",
|
|
58
|
+
"mnemonic": "witnessed",
|
|
59
|
+
"color": "purple",
|
|
60
|
+
"position": { "row": 0, "col": 1 },
|
|
61
|
+
"reading": "The publish was seen by someone other than its author",
|
|
62
|
+
"relationalReadings": { "center": "seen from the middle of the belt" },
|
|
63
|
+
"ceremonyLink": { "ceremonyType": "witness", "chartId": "chart_1757200000000" }
|
|
64
|
+
} }
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{ "tool": "read_wampum_belt", "arguments": { "beltId": "belt_1757200000000" } }
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Out-of-bounds positions, occupied positions, and non-integer grids are refused with the
|
|
72
|
+
reason named.
|