@saasontools/strauss-kb 0.1.21 → 0.1.22
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 +10 -1
- package/dist/{chunk-XBZ7G5R5.js → chunk-AEO5U42S.js} +3849 -3602
- package/dist/chunk-AEO5U42S.js.map +1 -0
- package/dist/{chunk-VXWN62HT.js → chunk-DVSPHL4B.js} +2 -2
- package/dist/{chunk-WVJULVGY.js → chunk-TSE4YQEG.js} +2 -2
- package/dist/cli-main.cjs +1433 -1194
- package/dist/cli-main.cjs.map +1 -1
- package/dist/cli-main.js +2 -2
- package/dist/index.cjs +421 -165
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +293 -17
- package/dist/index.d.ts +293 -17
- package/dist/index.js +17 -3
- package/dist/mcp-main.cjs +1433 -1194
- package/dist/mcp-main.cjs.map +1 -1
- package/dist/mcp-main.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-XBZ7G5R5.js.map +0 -1
- /package/dist/{chunk-VXWN62HT.js.map → chunk-DVSPHL4B.js.map} +0 -0
- /package/dist/{chunk-WVJULVGY.js.map → chunk-TSE4YQEG.js.map} +0 -0
package/README.md
CHANGED
|
@@ -232,6 +232,13 @@ never writes `verified[]`; `--check` writes nothing at all. Per anchor:
|
|
|
232
232
|
- **drifted** — hash changed. Baseline kept unless `--rebaseline`.
|
|
233
233
|
- **unresolved** — not comparable, with a reason. A finding, not an error.
|
|
234
234
|
|
|
235
|
+
`anchor-set <concept-id>` (`kb_anchor_set`) sets those pointers when a refactor
|
|
236
|
+
renamed or extracted the code: the complete new anchor set, plus a required
|
|
237
|
+
reason that lands in the log. Carry an anchor's `hash` forward and the code
|
|
238
|
+
behind a moved pointer still reports drift until it is read and
|
|
239
|
+
accepted with `--rebaseline`; `--resolve` stamps the set in the same call.
|
|
240
|
+
It never verifies or moves standing. [Full rules](https://saasontools.github.io/strauss-agent-tools/cli-reference#anchor-set).
|
|
241
|
+
|
|
235
242
|
An anchor naming another `repo` is read from that repository's **remote**,
|
|
236
243
|
through a bare cache under `~/.strauss/repo-cache` — a local checkout is one
|
|
237
244
|
person's possibly stale view of the same file. With a `ref` it has three
|
|
@@ -307,6 +314,8 @@ strauss-kb [--bundle PATH] <command> [args]
|
|
|
307
314
|
verify <concept-id> --note <text> Append a verified[] event — who checked, when, and what the check found.
|
|
308
315
|
anchor-resolve <concept-id> [--repo-root <path>] [--rebaseline] [--restamp]
|
|
309
316
|
Resolve anchors against the working tree: stamp, or report drift.
|
|
317
|
+
anchor-set <concept-id> [--resolve] < anchors.json
|
|
318
|
+
Set anchors after a refactor you read, with a reason; --resolve stamps them.
|
|
310
319
|
reassess <concept-id> [--repo-root <path>] [--with-diff]
|
|
311
320
|
One drifted record as something to judge: claim, classes, diff, impact.
|
|
312
321
|
promote <concept-id...> --to <bundle> [--source <url>] [--force] | --list
|
|
@@ -383,7 +392,7 @@ strauss-kb validate || echo "errors above" # warnings alone still exit 0
|
|
|
383
392
|
```
|
|
384
393
|
|
|
385
394
|
Every CLI verb is a tool: `kb_write`, `kb_write_decision`, `kb_no_decision`,
|
|
386
|
-
`kb_status`, `kb_supersede`, `kb_answer`, `kb_verify`, `kb_anchor_resolve`, `kb_reassess`,
|
|
395
|
+
`kb_status`, `kb_supersede`, `kb_answer`, `kb_verify`, `kb_anchor_resolve`, `kb_anchor_set`, `kb_reassess`,
|
|
387
396
|
`kb_promote`,
|
|
388
397
|
`kb_load`, `kb_catalog`,
|
|
389
398
|
`kb_pack`, `kb_export`,
|