@saasontools/strauss-kb 0.1.23 → 0.2.0
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/ARCHITECTURE.md +12 -0
- package/README.md +1 -0
- package/dist/{chunk-5IPQVXCM.js → chunk-7J2BBP67.js} +2 -2
- package/dist/{chunk-3EZ3PAPA.js → chunk-GMZDXWWU.js} +2 -2
- package/dist/{chunk-XENLCPL5.js → chunk-HNPHL6I4.js} +7649 -478
- package/dist/chunk-HNPHL6I4.js.map +1 -0
- package/dist/cli-main.cjs +7707 -541
- package/dist/cli-main.cjs.map +1 -1
- package/dist/cli-main.js +2 -2
- package/dist/index.cjs +7565 -395
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +98 -48
- package/dist/index.d.ts +98 -48
- package/dist/index.js +13 -3
- package/dist/mcp-main.cjs +7701 -535
- package/dist/mcp-main.cjs.map +1 -1
- package/dist/mcp-main.js +2 -2
- package/package.json +2 -1
- package/dist/chunk-XENLCPL5.js.map +0 -1
- /package/dist/{chunk-5IPQVXCM.js.map → chunk-7J2BBP67.js.map} +0 -0
- /package/dist/{chunk-3EZ3PAPA.js.map → chunk-GMZDXWWU.js.map} +0 -0
package/ARCHITECTURE.md
CHANGED
|
@@ -72,6 +72,18 @@ bundle would drop the record instead of naming it. Tolerant read, strict write:
|
|
|
72
72
|
`kb_impact` reports a superseded or rejected record and stops there. A withdrawn
|
|
73
73
|
record's declared dependencies are not obligations anyone still owes.
|
|
74
74
|
|
|
75
|
+
An edge is `strauss_links` and nothing else. A markdown link in a body renders
|
|
76
|
+
the same claim for a reader that knows only OKF, and `compose` writes both at
|
|
77
|
+
once, so a consumer that walked prose would count the edge twice and disagree
|
|
78
|
+
the moment the two drifted.
|
|
79
|
+
|
|
80
|
+
Two representations is what the package had, and it cost data: `sweep` read
|
|
81
|
+
frontmatter only and deleted records still cited in prose, while `doctor` read
|
|
82
|
+
prose only and missed a `related_to` at a superseded target. The repair was one
|
|
83
|
+
representation, not two readers: `compose` writes the link wherever it writes
|
|
84
|
+
the sentence, and `validate` is the only body read left, reporting that a
|
|
85
|
+
record's prose and its links have come apart.
|
|
86
|
+
|
|
75
87
|
## Rejected: a format that needs a parser
|
|
76
88
|
|
|
77
89
|
A hand-rolled frontmatter reader could not express nested maps, misreading every
|
package/README.md
CHANGED
|
@@ -474,6 +474,7 @@ caveats: <https://saasontools.github.io/strauss-agent-tools/mcp-reference>.
|
|
|
474
474
|
and `unchecked`. All nine groups are reported even when empty; `--strict` gates
|
|
475
475
|
on expiry alone, not on drift. Pass `--repo-root PATH` when the base does not sit
|
|
476
476
|
inside the tree it describes.
|
|
477
|
+
|
|
477
478
|
Windows and judgments:
|
|
478
479
|
[cli-reference](https://saasontools.github.io/strauss-agent-tools/cli-reference).
|
|
479
480
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
KB_DIR,
|
|
5
5
|
KbStore,
|
|
6
6
|
VERSION
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HNPHL6I4.js";
|
|
8
8
|
|
|
9
9
|
// src/cli.ts
|
|
10
10
|
import { join } from "path";
|
|
@@ -121,4 +121,4 @@ function usage() {
|
|
|
121
121
|
export {
|
|
122
122
|
runKbCli
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=chunk-
|
|
124
|
+
//# sourceMappingURL=chunk-7J2BBP67.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
KB_COMMANDS,
|
|
3
3
|
KbStore,
|
|
4
4
|
VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HNPHL6I4.js";
|
|
6
6
|
|
|
7
7
|
// src/mcp.ts
|
|
8
8
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
createKbMcpServer,
|
|
47
47
|
runKbMcpServer
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-GMZDXWWU.js.map
|