@saasontools/strauss-kb 0.2.0 → 0.3.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/README.md +3 -3
- package/dist/{chunk-7J2BBP67.js → chunk-4AJGI6WN.js} +2 -2
- package/dist/{chunk-GMZDXWWU.js → chunk-EOSRZHWY.js} +2 -2
- package/dist/{chunk-HNPHL6I4.js → chunk-MC5LUSZ3.js} +3 -9
- package/dist/chunk-MC5LUSZ3.js.map +1 -0
- package/dist/cli-main.cjs +2 -8
- package/dist/cli-main.cjs.map +1 -1
- package/dist/cli-main.js +2 -2
- package/dist/index.cjs +2 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/mcp-main.cjs +2 -8
- package/dist/mcp-main.cjs.map +1 -1
- package/dist/mcp-main.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-HNPHL6I4.js.map +0 -1
- /package/dist/{chunk-7J2BBP67.js.map → chunk-4AJGI6WN.js.map} +0 -0
- /package/dist/{chunk-GMZDXWWU.js.map → chunk-EOSRZHWY.js.map} +0 -0
package/README.md
CHANGED
|
@@ -128,10 +128,10 @@ later OKF key of the same name:
|
|
|
128
128
|
| `strauss_verify` | Checks that would confirm the record still holds. |
|
|
129
129
|
| `strauss_materiality` / `strauss_confidence` / `strauss_owner` | `blocking`/`important`/`non-blocking`, `low`/`medium`/`high`, and a name. |
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
The types differ in what their body answers and where they start in the
|
|
132
132
|
lifecycle: `fact`, `requirement`, `constraint`, `decision`, `assumption`,
|
|
133
133
|
`open-question`, `risk`, `contract`, `flow`, `affected-system`,
|
|
134
|
-
`
|
|
134
|
+
`source-note`.
|
|
135
135
|
|
|
136
136
|
`strauss-kb types` prints each one's purpose, sections, and initial status;
|
|
137
137
|
`strauss-kb schema` emits JSON Schema from the code that enforces it.
|
|
@@ -341,7 +341,7 @@ strauss-kb [--bundle PATH] <command> [args]
|
|
|
341
341
|
sweep --tag <tag> --terminal [--dry-run]
|
|
342
342
|
Delete tagged records that are resolved, rejected or superseded.
|
|
343
343
|
schema JSON Schema for the format.
|
|
344
|
-
types
|
|
344
|
+
types Every type, its sections and initial status.
|
|
345
345
|
pin [bundle-path] [flags] Pin a base. --mode, --profiles, --frozen; --local/--user pick the layer.
|
|
346
346
|
unpin [bundle-path] Remove a base from every manifest layer that holds it.
|
|
347
347
|
pins Every pinned base, with whether it resolves to records.
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
KB_DIR,
|
|
5
5
|
KbStore,
|
|
6
6
|
VERSION
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MC5LUSZ3.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-4AJGI6WN.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
KB_COMMANDS,
|
|
3
3
|
KbStore,
|
|
4
4
|
VERSION
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MC5LUSZ3.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-EOSRZHWY.js.map
|
|
@@ -1883,7 +1883,6 @@ var KB_RECORD_TYPES = [
|
|
|
1883
1883
|
"contract",
|
|
1884
1884
|
"flow",
|
|
1885
1885
|
"affected-system",
|
|
1886
|
-
"test-obligation",
|
|
1887
1886
|
"source-note"
|
|
1888
1887
|
];
|
|
1889
1888
|
var KB_SLUG_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
|
|
@@ -2144,11 +2143,6 @@ var RECORD_TYPES = {
|
|
|
2144
2143
|
sections: ["System", "How it is affected", "Blast radius"],
|
|
2145
2144
|
initialStatus: "accepted"
|
|
2146
2145
|
},
|
|
2147
|
-
"test-obligation": {
|
|
2148
|
-
purpose: "Behavior or contract that must be verified",
|
|
2149
|
-
sections: ["Obligation", "Why it matters", "How to verify"],
|
|
2150
|
-
initialStatus: "open"
|
|
2151
|
-
},
|
|
2152
2146
|
"source-note": {
|
|
2153
2147
|
purpose: "Extracted note from source material",
|
|
2154
2148
|
sections: ["Note", "Where it came from"],
|
|
@@ -14699,7 +14693,7 @@ var typesCommand = define({
|
|
|
14699
14693
|
name: "types",
|
|
14700
14694
|
tool: "kb_types",
|
|
14701
14695
|
usage: "types",
|
|
14702
|
-
description: "
|
|
14696
|
+
description: "Every record type with its purpose, body sections, and starting status. Read this before writing rather than guessing headings \u2014 a section the type does not define is rejected.",
|
|
14703
14697
|
input: z40.object({}),
|
|
14704
14698
|
fromArgv: () => ({}),
|
|
14705
14699
|
run: () => Promise.resolve(RECORD_TYPES)
|
|
@@ -15973,7 +15967,7 @@ function typeRank(record) {
|
|
|
15973
15967
|
}
|
|
15974
15968
|
|
|
15975
15969
|
// src/version.ts
|
|
15976
|
-
var VERSION = true ? "0.
|
|
15970
|
+
var VERSION = true ? "0.3.0" : "0.0.0-dev";
|
|
15977
15971
|
|
|
15978
15972
|
export {
|
|
15979
15973
|
isCanonicalRepoUrl,
|
|
@@ -16133,4 +16127,4 @@ export {
|
|
|
16133
16127
|
KbStore,
|
|
16134
16128
|
VERSION
|
|
16135
16129
|
};
|
|
16136
|
-
//# sourceMappingURL=chunk-
|
|
16130
|
+
//# sourceMappingURL=chunk-MC5LUSZ3.js.map
|