Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 21 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ system.
Bun 1.3.14 or newer is required.

```sh
bun add --global @hraness/kb@0.18.0
bun add --global @hraness/kb@0.18.1
kb --help
```

Expand Down Expand Up @@ -219,43 +219,43 @@ Treat the knowledge base as repository-adjacent durable memory. Authored Markdow
Copy this prompt into Codex, Claude Code, or another coding agent:

```text
Install the `kb` Agent Skill from `hraness/kb#v0.18.0` with the standard skills
Install the `kb` Agent Skill from `hraness/kb#v0.18.1` with the standard skills
CLI. Use the skill's runtime instructions to install the exact
`@hraness/kb@0.18.0` registry release only when the command is missing. Verify it
`@hraness/kb@0.18.1` registry release only when the command is missing. Verify it
with `kb doctor` and `kb --help`, but do not initialize or modify a vault until
I ask.
```

Install the single public skill with either runner:

```sh
npx skills add hraness/kb#v0.18.0
bunx skills add hraness/kb#v0.18.0
npx skills add hraness/kb#v0.18.1
bunx skills add hraness/kb#v0.18.1
```

Both commands discover the same `kb` skill and install it into the selected
agent runner. Skill installation is inert: it does not initialize a vault,
refresh a catalog, or edit Markdown. When invoked, the skill uses an existing
`kb` command or, when the command is missing, checks for Bun and installs the
CLI from the immutable `@hraness/kb@0.18.0` npm version.
CLI from the immutable `@hraness/kb@0.18.1` npm version.

The public skills CLI reads `skills/kb/` from the repository. The immutable
`0.18.0` npm package includes the same tree under
`0.18.1` npm package includes the same tree under
`node_modules/@hraness/kb/skills/kb/`, and the package check verifies that the
installed skill is byte-identical to the repository source.

Install the two global commands with Bun:

```sh
bun add --global @hraness/kb@0.18.0
bun add --global @hraness/kb@0.18.1
kb --help
kb-evaluation-builder --help
```

The same registry package can be installed with npm:

```sh
npm install --global --ignore-scripts @hraness/kb@0.18.0
npm install --global --ignore-scripts @hraness/kb@0.18.1
kb --help
```

Expand All @@ -268,20 +268,20 @@ reviewed and enabled; run `kb doctor` to inspect the resulting capabilities.
For programmatic use, add the exact npm version to a Bun project:

```sh
bun add --exact @hraness/kb@0.18.0
bun add --exact @hraness/kb@0.18.1
```

The resulting dependency should remain exact:

```json
{
"dependencies": {
"@hraness/kb": "0.18.0"
"@hraness/kb": "0.18.1"
}
}
```

Version 0.18.0 retains three public GitHub dependencies: `@hraness/oh` at
Version 0.18.1 retains three public GitHub dependencies: `@hraness/oh` at
immutable release `v0.2.0` for closure verification,
`@steipete/sweet-cookie` at Hraness release `v0.4.2` for the cookie-scope safety
fork, and `@tobilu/qmd` at commit
Expand Down Expand Up @@ -545,9 +545,9 @@ a vault. The package smoke test keeps future tagged packages byte-identical to
that source tree.

```sh
npx skills add hraness/kb#v0.18.0
npx skills add hraness/kb#v0.18.1
# or
bunx skills add hraness/kb#v0.18.0
bunx skills add hraness/kb#v0.18.1
```

The skill invokes the installed `kb` command without depending on a repository
Expand All @@ -560,6 +560,13 @@ See [Design](docs/design.md), [Portfolio federation](docs/portfolio.md), [Agent

## Release notes

### Upgrade to v0.18.1

Version 0.18.1 restructures the public README and hosted projection around one
durable note, the exact recovery workflow, inspectable retrieval signals, and
explicit authority boundaries. Runtime APIs and package behavior are
unchanged.

### Upgrade to v0.18.0

Version 0.18.0 adds a review-only adoption seam for exact dependency closures
Expand Down
2 changes: 1 addition & 1 deletion docs/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ keep the tag and npm version immutable. After the recovery workflow is on
current `main`, dispatch it with the existing tag:

```sh
gh workflow run release.yml --ref main -f tag=v0.18.0
gh workflow run release.yml --ref main -f tag=v0.18.1
```

The recovery path accepts only the newest stable repository tag. It freshly
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hraness/kb",
"version": "0.18.0",
"version": "0.18.1",
"description": "A knowledge base for coding agents, built from Markdown, backlinks, semantic search, and Git context.",
"license": "MIT",
"contentPolicy": {
Expand Down
2 changes: 1 addition & 1 deletion portfolio-inventory.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "@hraness/kb",
"path": ".",
"visibility": "public",
"version": "0.18.0"
"version": "0.18.1"
}
],
"dependencies": [
Expand Down
4 changes: 2 additions & 2 deletions scripts/npm-release-workflow.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ describe("npm release workflows", () => {
readonly version?: unknown;
};
expect(manifest).toEqual(expect.objectContaining({
version: "0.18.0",
version: "0.18.1",
description: "A knowledge base for coding agents, built from Markdown, backlinks, semantic search, and Git context.",
keywords: [
"knowledge-base",
Expand Down Expand Up @@ -410,7 +410,7 @@ describe("canonical npm package identity", () => {
});
const verified = await verifyNpmPackageIdentity(validInput);
expect(verified.fileCount).toBe(201);
expect(verified.unpackedBytes).toBe(4_897_069);
expect(verified.unpackedBytes).toBe(4_897_331);
expect(verified.sourceArchiveSha512).not.toBe(verified.registryArchiveSha512);

const originalTar = gunzipSync(sourceBytes);
Expand Down
2 changes: 1 addition & 1 deletion skills/kb/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ missing:
```sh
command -v kb >/dev/null 2>&1 || {
command -v bun >/dev/null 2>&1 || exit 1
bun add --global @hraness/kb@0.18.0
bun add --global @hraness/kb@0.18.1
}
kb --help
```
Expand Down