@forwardimpact/libwiki 0.3.1 → 0.3.3

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 CHANGED
@@ -157,7 +157,26 @@ import {
157
157
 
158
158
  ## Documentation
159
159
 
160
- - [Operate a Predictable Agent Team](https://www.forwardimpact.team/docs/libraries/predictable-team/index.md)
161
- - [Send a Memo or Update a Storyboard](https://www.forwardimpact.team/docs/libraries/predictable-team/wiki-operations/index.md)
162
- - [Audit and Auto-Fix the Wiki](https://www.forwardimpact.team/docs/libraries/predictable-team/wiki-integrity/index.md)
163
- - [Allocate Collision-Ledger Entries for Parallel Work](https://www.forwardimpact.team/docs/libraries/predictable-team/collision-ledger/index.md)
160
+ - [Operate a Predictable Agent Team](https://www.gemba.team/docs/predictable-team/index.md)
161
+ - [Send a Memo or Update a Storyboard](https://www.gemba.team/docs/predictable-team/wiki-operations/index.md)
162
+ - [Audit and Auto-Fix the Wiki](https://www.gemba.team/docs/predictable-team/wiki-integrity/index.md)
163
+ - [Allocate Collision-Ledger Entries for Parallel Work](https://www.gemba.team/docs/predictable-team/collision-ledger/index.md)
164
+
165
+ ## Documentation home
166
+
167
+ libwiki is an import-only library. It declares no `bin`. The `gemba-wiki`
168
+ command ships with the Gemba product, which imports these modules. Run it
169
+ with `npx gemba-wiki`.
170
+
171
+ The package publishes as `@forwardimpact/libwiki` on the Forward Impact npm
172
+ scope. Install it with `npm install @forwardimpact/libwiki`. Its task guides
173
+ live on the Gemba site at <https://www.gemba.team/>. The Forward Impact library
174
+ guide tree at <https://www.forwardimpact.team/docs/libraries/index.md> is not
175
+ this library's guide home.
176
+
177
+ **Decision (2026-08-26):** the split package scope and guide host are
178
+ deliberate. libwiki stays a Gear npm package, so `package.json .homepage`
179
+ keeps <https://www.forwardimpact.team>. The agent-memory guides moved to
180
+ gemba.team with the rest of the Gemba product. The `## Documentation` list
181
+ above carries the current URLs. Old `forwardimpact.team/docs/libraries/`
182
+ addresses forward to gemba.team.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/libwiki",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Wiki lifecycle for agent teams — persistent memory, declarative integrity audits, and a collision ledger so coordination survives across sessions and parallel work.",
5
5
  "keywords": [
6
6
  "wiki",
@@ -2,10 +2,9 @@ import path from "node:path";
2
2
  import { WEEKLY_LOG_NAME_RE, WEEKLY_LOG_PART_NAME_RE } from "../constants.js";
3
3
 
4
4
  // The wiki filename admission grammar. It is a pure classifier. It takes a
5
- // wiki-relative path and decides whether the filename grammar admits it. The
6
- // normative prose lives in memory-protocol.md's "Wiki Filename Grammar"
7
- // section. This module enforces that prose. One home per policy, so the two
8
- // cannot drift. The audit's `admission` scope is the only consumer.
5
+ // wiki-relative path and decides whether the filename grammar admits it. This
6
+ // module is the one home of the grammar. The audit's `admission` scope is the
7
+ // only consumer.
9
8
 
10
9
  const NAMED_LEDGERS = new Set(["Home.md", "MEMORY.md", "STATUS.md"]);
11
10
  const STORYBOARD_RE = /^storyboard-\d{4}-M\d{2}\.md$/;
@@ -492,6 +492,6 @@ export const RULES = [
492
492
  check: () => ({}),
493
493
  message: (s) =>
494
494
  `${s.relPath} matches no class in the wiki filename grammar`,
495
- hint: "rename to an admitted class, or extend the Wiki Filename Grammar section in memory-protocol.md and audit/grammar.js together (the single admission path)",
495
+ hint: "rename to an admitted class, or extend audit/grammar.js in a reviewed change (the single admission path)",
496
496
  },
497
497
  ];
@@ -370,25 +370,25 @@ export function createDefinition() {
370
370
  documentation: [
371
371
  {
372
372
  title: "Operate a Predictable Agent Team",
373
- url: "https://www.forwardimpact.team/docs/libraries/predictable-team/index.md",
373
+ url: "https://www.gemba.team/docs/predictable-team/index.md",
374
374
  description:
375
375
  "End-to-end guide to wiki memory, XmR charts, and team coordination.",
376
376
  },
377
377
  {
378
378
  title: "Send a Memo or Update a Storyboard",
379
- url: "https://www.forwardimpact.team/docs/libraries/predictable-team/wiki-operations/index.md",
379
+ url: "https://www.gemba.team/docs/predictable-team/wiki-operations/index.md",
380
380
  description:
381
381
  "Send cross-team memos, refresh storyboard charts, sync the wiki, and record the product-mix metric.",
382
382
  },
383
383
  {
384
384
  title: "Audit and Auto-Fix the Wiki",
385
- url: "https://www.forwardimpact.team/docs/libraries/predictable-team/wiki-integrity/index.md",
385
+ url: "https://www.gemba.team/docs/predictable-team/wiki-integrity/index.md",
386
386
  description:
387
387
  "Check the wiki against the rule catalogue, auto-fix what is safe, and flag the rest for a human.",
388
388
  },
389
389
  {
390
390
  title: "Allocate Collision-Ledger Entries for Parallel Work",
391
- url: "https://www.forwardimpact.team/docs/libraries/predictable-team/collision-ledger/index.md",
391
+ url: "https://www.gemba.team/docs/predictable-team/collision-ledger/index.md",
392
392
  description:
393
393
  "Assign stable, collision-free ids to parallel work and rebuild the ledger projections.",
394
394
  },