@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/dist/index.d.cts CHANGED
@@ -165,7 +165,7 @@ declare const kbLinkSchema: z.ZodObject<{
165
165
  target: z.ZodString;
166
166
  rel: z.ZodString;
167
167
  }, z.core.$loose>;
168
- declare const KB_RECORD_TYPES: readonly ["fact", "requirement", "constraint", "decision", "assumption", "open-question", "risk", "contract", "flow", "affected-system", "test-obligation", "source-note"];
168
+ declare const KB_RECORD_TYPES: readonly ["fact", "requirement", "constraint", "decision", "assumption", "open-question", "risk", "contract", "flow", "affected-system", "source-note"];
169
169
  type KbRecordType = (typeof KB_RECORD_TYPES)[number];
170
170
  /** Both halves of `<type>.<slug>` are kebab-case, and neither may be empty. */
171
171
  declare const KB_SLUG_PATTERN: RegExp;
@@ -1906,7 +1906,7 @@ declare class TreeSitterResolver implements AnchorResolver {
1906
1906
  /**
1907
1907
  * What each record type is for, and the shape of its body.
1908
1908
  *
1909
- * A table rather than twelve composer modules. The types differ only in which
1909
+ * A table rather than a composer module per type. The types differ only in which
1910
1910
  * questions their body answers and where they start in the lifecycle; encoding
1911
1911
  * that as data keeps the one composer honest and makes adding a type an edit
1912
1912
  * rather than a file.
package/dist/index.d.ts CHANGED
@@ -165,7 +165,7 @@ declare const kbLinkSchema: z.ZodObject<{
165
165
  target: z.ZodString;
166
166
  rel: z.ZodString;
167
167
  }, z.core.$loose>;
168
- declare const KB_RECORD_TYPES: readonly ["fact", "requirement", "constraint", "decision", "assumption", "open-question", "risk", "contract", "flow", "affected-system", "test-obligation", "source-note"];
168
+ declare const KB_RECORD_TYPES: readonly ["fact", "requirement", "constraint", "decision", "assumption", "open-question", "risk", "contract", "flow", "affected-system", "source-note"];
169
169
  type KbRecordType = (typeof KB_RECORD_TYPES)[number];
170
170
  /** Both halves of `<type>.<slug>` are kebab-case, and neither may be empty. */
171
171
  declare const KB_SLUG_PATTERN: RegExp;
@@ -1906,7 +1906,7 @@ declare class TreeSitterResolver implements AnchorResolver {
1906
1906
  /**
1907
1907
  * What each record type is for, and the shape of its body.
1908
1908
  *
1909
- * A table rather than twelve composer modules. The types differ only in which
1909
+ * A table rather than a composer module per type. The types differ only in which
1910
1910
  * questions their body answers and where they start in the lifecycle; encoding
1911
1911
  * that as data keeps the one composer honest and makes adding a type an edit
1912
1912
  * rather than a file.
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  runKbCli
3
- } from "./chunk-7J2BBP67.js";
3
+ } from "./chunk-4AJGI6WN.js";
4
4
  import {
5
5
  createKbMcpServer,
6
6
  runKbMcpServer
7
- } from "./chunk-GMZDXWWU.js";
7
+ } from "./chunk-EOSRZHWY.js";
8
8
  import {
9
9
  BaseError,
10
10
  CONTEXT_BEGIN,
@@ -161,7 +161,7 @@ import {
161
161
  unifiedDiff,
162
162
  unpinBase,
163
163
  validateBundle
164
- } from "./chunk-HNPHL6I4.js";
164
+ } from "./chunk-MC5LUSZ3.js";
165
165
  export {
166
166
  BaseError,
167
167
  CONTEXT_BEGIN,
package/dist/mcp-main.cjs CHANGED
@@ -1919,7 +1919,6 @@ var KB_RECORD_TYPES = [
1919
1919
  "contract",
1920
1920
  "flow",
1921
1921
  "affected-system",
1922
- "test-obligation",
1923
1922
  "source-note"
1924
1923
  ];
1925
1924
  var KB_SLUG_PATTERN = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
@@ -2152,11 +2151,6 @@ var RECORD_TYPES = {
2152
2151
  sections: ["System", "How it is affected", "Blast radius"],
2153
2152
  initialStatus: "accepted"
2154
2153
  },
2155
- "test-obligation": {
2156
- purpose: "Behavior or contract that must be verified",
2157
- sections: ["Obligation", "Why it matters", "How to verify"],
2158
- initialStatus: "open"
2159
- },
2160
2154
  "source-note": {
2161
2155
  purpose: "Extracted note from source material",
2162
2156
  sections: ["Note", "Where it came from"],
@@ -14693,7 +14687,7 @@ var typesCommand = define({
14693
14687
  name: "types",
14694
14688
  tool: "kb_types",
14695
14689
  usage: "types",
14696
- description: "The twelve record types with their purpose, body sections, and starting status. Read this before writing rather than guessing headings \u2014 a section the type does not define is rejected.",
14690
+ 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.",
14697
14691
  input: import_zod40.z.object({}),
14698
14692
  fromArgv: () => ({}),
14699
14693
  run: () => Promise.resolve(RECORD_TYPES)
@@ -15958,7 +15952,7 @@ function assertActor(actor, { named = false } = {}) {
15958
15952
  }
15959
15953
 
15960
15954
  // src/version.ts
15961
- var VERSION = true ? "0.2.0" : "0.0.0-dev";
15955
+ var VERSION = true ? "0.3.0" : "0.0.0-dev";
15962
15956
 
15963
15957
  // src/mcp.ts
15964
15958
  function createKbMcpServer() {