@forwardimpact/libwiki 0.3.2 → 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/package.json +1 -1
- package/src/audit/grammar.js +3 -4
- package/src/audit/rules.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forwardimpact/libwiki",
|
|
3
|
-
"version": "0.3.
|
|
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",
|
package/src/audit/grammar.js
CHANGED
|
@@ -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.
|
|
6
|
-
//
|
|
7
|
-
//
|
|
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$/;
|
package/src/audit/rules.js
CHANGED
|
@@ -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
|
|
495
|
+
hint: "rename to an admitted class, or extend audit/grammar.js in a reviewed change (the single admission path)",
|
|
496
496
|
},
|
|
497
497
|
];
|