@hraness/wordcell 0.20.0-bootstrap.1 → 0.21.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.
Files changed (81) hide show
  1. package/README.md +29 -15
  2. package/dist/agent-context.js +1 -0
  3. package/dist/agent-guide-audit.js +1 -0
  4. package/dist/attachments.js +1 -0
  5. package/dist/authoring.js +1 -0
  6. package/dist/authority-4sp9d552.js +663 -0
  7. package/dist/benchmark.js +1 -0
  8. package/dist/capture.js +1 -0
  9. package/dist/cli.js +3781 -32
  10. package/dist/clip/acquire.js +1 -0
  11. package/dist/clip/args.js +1 -0
  12. package/dist/clip/bounded-byte-buffer.js +1 -0
  13. package/dist/clip/browser-profiles.js +1 -0
  14. package/dist/clip/bundle-reader.js +1 -0
  15. package/dist/clip/cli.js +1 -0
  16. package/dist/clip/cookies.js +1 -0
  17. package/dist/clip/doctor.js +1 -0
  18. package/dist/clip/jobs.js +1 -0
  19. package/dist/clip/network-proxy.js +1 -0
  20. package/dist/clip/network.js +1 -0
  21. package/dist/clip/persist.js +1 -0
  22. package/dist/clip/refresh.js +1 -0
  23. package/dist/clip/terminal.js +1 -0
  24. package/dist/evaluation-builder.js +13 -5
  25. package/dist/evaluation-kb.js +11 -4
  26. package/dist/evaluation.js +1 -0
  27. package/dist/git.js +1 -0
  28. package/dist/graph-authority.js +29 -0
  29. package/dist/graph-percolation.js +16 -0
  30. package/dist/graph.js +1 -0
  31. package/dist/index-0k2x4nn9.js +393 -0
  32. package/dist/{index-n05s3wsb.js → index-115b07ap.js} +156 -541
  33. package/dist/index-11621h23.js +160 -0
  34. package/dist/{index-tkpxp48t.js → index-51bap0mq.js} +2 -2
  35. package/dist/{index-8a08v6x8.js → index-59ssmqqm.js} +1 -1
  36. package/dist/index-bcfn9xah.js +472 -0
  37. package/dist/index-bgfzwt4h.js +51 -0
  38. package/dist/{index-bs0yf4pp.js → index-pbr6rv47.js} +2 -2
  39. package/dist/{index-m7et4rz4.js → index-vdw5yjfa.js} +61 -9
  40. package/dist/index-z1w83f81.js +4 -0
  41. package/dist/index.js +61 -34
  42. package/dist/navigation.js +1 -0
  43. package/dist/pdf.js +1 -0
  44. package/dist/percolate.js +1 -0
  45. package/dist/portfolio.js +11 -4
  46. package/dist/query.js +1 -0
  47. package/dist/repository-memory.js +1 -0
  48. package/dist/sdk.js +10 -3
  49. package/dist/search-rules.js +1 -0
  50. package/dist/search.js +1 -0
  51. package/dist/semantic.js +3 -1
  52. package/dist/source-inbox.js +1 -0
  53. package/dist/untrusted-content.js +1 -0
  54. package/dist/url-intelligence.js +1 -0
  55. package/dist/workflow.js +1 -0
  56. package/dist/workflows/decision-context.js +11 -4
  57. package/dist/workflows/explain-change.js +1 -0
  58. package/dist/workflows/index.js +11 -4
  59. package/dist/workflows/plan-radar.js +1 -0
  60. package/package.json +24 -6
  61. package/skills/wordcell/SKILL.md +2 -2
  62. package/skills/wordcell/references/percolate.md +4 -0
  63. package/skills/wordcell/references/query.md +6 -0
  64. package/src/cli-program.ts +45 -2
  65. package/src/graph-authority-model.ts +116 -0
  66. package/src/graph-authority.ts +219 -0
  67. package/src/graph-cache-filesystem.ts +4 -0
  68. package/src/graph-cli.ts +96 -0
  69. package/src/graph-facts.ts +206 -0
  70. package/src/graph-percolation.ts +39 -0
  71. package/src/graph-query.ts +122 -0
  72. package/src/index.ts +2 -0
  73. package/src/oh/authority.ts +193 -0
  74. package/src/oh/programs.ts +99 -0
  75. package/src/oh/schema.ts +40 -0
  76. package/src/oh/snapshot.ts +114 -0
  77. package/src/oh/validation.ts +61 -0
  78. package/src/sdk.ts +51 -6
  79. package/dist/index-sy0zety7.js +0 -3630
  80. package/dist/kb-alias.js +0 -55
  81. package/src/kb-alias.ts +0 -14
package/README.md CHANGED
@@ -14,7 +14,7 @@ system.
14
14
  Bun 1.3.14 or newer is required.
15
15
 
16
16
  ```sh
17
- bun add --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.20.0/hraness-wordcell-0.20.0.tgz
17
+ bun add --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.21.0/hraness-wordcell-0.21.0.tgz
18
18
  wordcell --help
19
19
  ```
20
20
 
@@ -253,14 +253,14 @@ Treat the knowledge base as repository-adjacent durable memory. Authored Markdow
253
253
 
254
254
  ## Installation reference
255
255
 
256
- [Bun](https://bun.sh/docs/installation) is the required runtime. GitHub Releases are the canonical distribution, and each release publishes the same archive to npm as `@hraness/wordcell`. The examples target the prepared `0.20.0` release and become available when its GitHub release is published. Existing `@hraness/kb` installs remain available during that transition. For signed artifact verification, see [the release procedure](docs/publishing.md#verify-a-published-release).
256
+ [Bun](https://bun.sh/docs/installation) is the required runtime. GitHub Releases are the canonical distribution, and each release publishes the same archive to npm as `@hraness/wordcell`. The examples target the prepared `0.21.0` release and become available when its GitHub release is published. Existing `@hraness/kb` installs remain available during that transition. For signed artifact verification, see [the release procedure](docs/publishing.md#verify-a-published-release).
257
257
 
258
258
  ### Tell your coding agent to install it
259
259
 
260
260
  Copy this prompt into Codex, Claude Code, or another coding agent:
261
261
 
262
262
  ```text
263
- Install the `wordcell` Agent Skill from `hraness/wordcell#v0.20.0` with the standard skills
263
+ Install the `wordcell` Agent Skill from `hraness/wordcell#v0.21.0` with the standard skills
264
264
  CLI. Use the skill's runtime instructions to install the exact
265
265
  versioned GitHub release archive only when the command is missing. Verify it
266
266
  with `wordcell doctor` and `wordcell --help`, but do not initialize or modify a vault until
@@ -270,8 +270,8 @@ I ask.
270
270
  Install the single public skill with either runner:
271
271
 
272
272
  ```sh
273
- npx skills add hraness/wordcell#v0.20.0
274
- bunx skills add hraness/wordcell#v0.20.0
273
+ npx skills add hraness/wordcell#v0.21.0
274
+ bunx skills add hraness/wordcell#v0.21.0
275
275
  ```
276
276
 
277
277
  Both commands discover the same `wordcell` skill and install it into the selected
@@ -281,14 +281,14 @@ refresh a catalog, or edit Markdown. When invoked, the skill uses an existing
281
281
  CLI from the immutable GitHub release archive.
282
282
 
283
283
  The public skills CLI reads `skills/wordcell/` from the repository. The immutable
284
- `0.20.0` packed release includes the same tree under
284
+ `0.21.0` packed release includes the same tree under
285
285
  `node_modules/@hraness/wordcell/skills/wordcell/`, and the package check verifies that the
286
286
  installed skill is byte-identical to the repository source.
287
287
 
288
288
  Install the two global commands with Bun:
289
289
 
290
290
  ```sh
291
- bun add --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.20.0/hraness-wordcell-0.20.0.tgz
291
+ bun add --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.21.0/hraness-wordcell-0.21.0.tgz
292
292
  wordcell --help
293
293
  wordcell-evaluation-builder --help
294
294
  ```
@@ -296,7 +296,7 @@ wordcell-evaluation-builder --help
296
296
  The same GitHub archive can be installed with npm:
297
297
 
298
298
  ```sh
299
- npm install --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.20.0/hraness-wordcell-0.20.0.tgz
299
+ npm install --global --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.21.0/hraness-wordcell-0.21.0.tgz
300
300
  wordcell --help
301
301
  ```
302
302
 
@@ -309,7 +309,7 @@ reviewed and enabled; run `wordcell doctor` to inspect the resulting capabilitie
309
309
  For programmatic use, add the versioned GitHub archive to a Bun project:
310
310
 
311
311
  ```sh
312
- bun add --exact --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.20.0/hraness-wordcell-0.20.0.tgz
312
+ bun add --exact --ignore-scripts https://github.com/hraness/wordcell/releases/download/v0.21.0/hraness-wordcell-0.21.0.tgz
313
313
  ```
314
314
 
315
315
  The resulting dependency should remain exact:
@@ -317,13 +317,13 @@ The resulting dependency should remain exact:
317
317
  ```json
318
318
  {
319
319
  "dependencies": {
320
- "@hraness/wordcell": "https://github.com/hraness/wordcell/releases/download/v0.20.0/hraness-wordcell-0.20.0.tgz"
320
+ "@hraness/wordcell": "https://github.com/hraness/wordcell/releases/download/v0.21.0/hraness-wordcell-0.21.0.tgz"
321
321
  }
322
322
  }
323
323
  ```
324
324
 
325
- Version 0.20.0 retains two public GitHub dependencies: `@hraness/oh` at
326
- immutable release `v0.2.0` for closure verification and `@tobilu/qmd` at commit
325
+ Version 0.21.0 retains two public GitHub dependencies: `@hraness/oh` at
326
+ immutable release archive `v0.4.3` for graph projection and closure verification and `@tobilu/qmd` at commit
327
327
  `aa993dceb3ef8cfb71d470554ca437570f5a2b3c` for store-local model behavior.
328
328
  Installation also needs Git and public GitHub access while it resolves those
329
329
  dependencies. Browser-cookie capture uses the exact upstream registry release
@@ -437,6 +437,8 @@ or `wordcell search` to expand the question deliberately.
437
437
  | `wordcell refresh --root <directory>` | Rebuild a managed catalog atomically and report graph findings. An authored-catalog vault remains unchanged. |
438
438
  | `wordcell check --root <directory>` | Verify catalog policy, graph integrity, and confined local image, PDF, and tldraw attachments without changing files. `--no-catalog` gates an edit lane without requiring the shared catalog refresh. |
439
439
  | `wordcell catalog --root <directory>` | Render an exhaustive disposable catalog without modifying an authored or managed front door. |
440
+ | `wordcell graph query --program <name> --root <directory>` | Query a bounded, proof-bearing Oh projection; see [the graph guide](docs/graph-authority.md). |
441
+ | `wordcell graph rebuild\|verify --root <directory>` | Rebuild or verify the disposable local graph cache without editing Markdown. |
440
442
  | `wordcell graph --root <directory>` | Print the resolved contextual and typed graph, broken or ambiguous targets, orphans, and advisory mention candidates. |
441
443
  | `wordcell backlinks <note> --root <directory>` | Show incoming contextual links and typed relationships for a note resolved by path, title, or alias. |
442
444
  | `wordcell links <note> --root <directory>` | Traverse incoming, outgoing, or bidirectional contextual links and typed relationships with explicit depth and node limits. |
@@ -572,7 +574,7 @@ descriptors, and promotion expectations in its own repository. The installed
572
574
  `wordcell-evaluation-builder` binary exposes the same build lifecycle without a
573
575
  source checkout.
574
576
  Other focused entries include
575
- `@hraness/wordcell/graph`, `@hraness/wordcell/navigation`, `@hraness/wordcell/percolate`,
577
+ `@hraness/wordcell/graph-authority`, `@hraness/wordcell/graph-percolation`, `@hraness/wordcell/graph`, `@hraness/wordcell/navigation`, `@hraness/wordcell/percolate`,
576
578
  `@hraness/wordcell/portfolio`, `@hraness/wordcell/query`, `@hraness/wordcell/repository-memory`,
577
579
  `@hraness/wordcell/search-rules`, `@hraness/wordcell/untrusted-content`,
578
580
  `@hraness/wordcell/source-inbox`, and `@hraness/wordcell/semantic`; web-capture orchestration and
@@ -601,9 +603,9 @@ ritual. The package smoke test keeps future tagged packages byte-identical to
601
603
  that source tree.
602
604
 
603
605
  ```sh
604
- npx skills add hraness/wordcell#v0.20.0
606
+ npx skills add hraness/wordcell#v0.21.0
605
607
  # or
606
- bunx skills add hraness/wordcell#v0.20.0
608
+ bunx skills add hraness/wordcell#v0.21.0
607
609
  ```
608
610
 
609
611
  The skill invokes the installed `wordcell` command without depending on a repository
@@ -618,6 +620,18 @@ See [Design](docs/design.md), [Portfolio federation](docs/portfolio.md), [Agent
618
620
 
619
621
  ## Release notes
620
622
 
623
+ ### Upgrade to v0.21.0
624
+
625
+ Version 0.21.0 adds a rebuildable Oh graph, named positive-rule queries with
626
+ source proofs, read-only cache verification, and opt-in percolation proofs.
627
+ See [the graph guide](docs/graph-authority.md) for commands, resource limits,
628
+ revision identity, and cache recovery. Existing graph reports, percolation V2,
629
+ search ranking, vault formats and `kb://` identifiers stay compatible.
630
+
631
+ The deprecated `kb` command alias is removed as announced in 0.20.0. Update
632
+ scripts to invoke `wordcell`; existing pinned 0.20.x installations retain the
633
+ alias. No Markdown or document-ID migration is required.
634
+
621
635
  ### Upgrade to v0.20.0
622
636
 
623
637
  Version 0.20.0 renames the product from KB to Wordcell. The package is
@@ -16,6 +16,7 @@ import {
16
16
  normalizeRepositoryScope,
17
17
  parseAgentContextMarker
18
18
  } from "./index-5vwpzb5a.js";
19
+ import"./index-z1w83f81.js";
19
20
  export {
20
21
  parseAgentContextMarker,
21
22
  normalizeRepositoryScope,
@@ -8,6 +8,7 @@ import {
8
8
  discoverAgentGuides
9
9
  } from "./index-hya40gb2.js";
10
10
  import"./index-5vwpzb5a.js";
11
+ import"./index-z1w83f81.js";
11
12
  export {
12
13
  discoverAgentGuides,
13
14
  defaultAgentGuideIgnoredDirectories,
@@ -8,6 +8,7 @@ import {
8
8
  validateAttachmentReferences,
9
9
  validateMarkdownAttachments
10
10
  } from "./index-x3fthpsc.js";
11
+ import"./index-z1w83f81.js";
11
12
  export {
12
13
  validateMarkdownAttachments,
13
14
  validateAttachmentReferences,
package/dist/authoring.js CHANGED
@@ -16,6 +16,7 @@ import {
16
16
  } from "./index-6sw24nvv.js";
17
17
  import"./index-3rm7cz6h.js";
18
18
  import"./index-ekpwvbra.js";
19
+ import"./index-z1w83f81.js";
19
20
  export {
20
21
  removeNoteRelation,
21
22
  noteRevision,