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
57 changes: 57 additions & 0 deletions RELEASE_EVIDENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,63 @@ Latest implementation and adoption results are in the
[dogfood execution ledger](docs/DOGFOOD-EXECUTION.md). The dated snapshots below
remain historical evidence; internal pilot acceptance is separate from G0–G4.

## 0.4.0 shipment checks, 23 September 2026

Local navigation gains two tools and loses most of the friction recorded in
the retrieval experiments:

- `repository_explore` answers one symbol per call: declaration source, scoped
references with their enclosing declarations, importers and tests.
- `repository_coverage` is a deterministic pre-submit check. It lists explored
files a draft leaves uncited and quotes that are not verbatim; it checks the
first eight symbols and names the rest as not checked.
- Search takes `pathPrefix` and printable literals whose ends fall on whole
tokens, not only identifiers. Search and packet responses render as compact
text by default; pass `format: "json"` for the previous structure.
- Search, explore and coverage build the index on first use; an explicit
`repository_refresh` is needed only after edits or branch changes.
- `repository_packet` queues concurrent calls (up to eight waiting), requires
only `sources` through MCP, reads a whole file from a path alone or to the
end when `endLine` runs past it, merges overlapping ranges and states file
lengths in range errors.
- Plan mode also selects named classes, interfaces, type aliases and enums, so
an anchor on a field or signature line returns its whole declaration.
- Served tool instructions and schemas are smaller (5,586 bytes for the tool
listing).
- `@forgesworn/context` retrieval ranks by BM25 with a source-label bonus.

Local Node 24.21.0 checks from `npm ci --ignore-scripts` passed 451 tests,
independent packed-package smoke, navigation stdio smoke, 22 scale tests and
the 10k postings probe. Both unchanged benchmark gates passed with
required-source recall 1.0: raw evidence 37.93x, navigation 356.2x.
Commit-specific CI, archive checksums and registry checks accompany the
release; this entry does not pre-claim them.

External repository walkthrough (tool level, no model): the packed 0.4.0
tarballs installed outside the workspace, then `doctor` and a stdio MCP client
on `sindresorhus/ky` at `0d59458` (89 files, 18,463 locations). Explore built
the index on first use; a packet given only a path returned the whole file;
explore resolved `HTTPError` with references and tests; a literal search, a plan anchor on a
class field (whole class returned) and a read past the end of a file succeeded;
an edit made navigation stale and packets were refused until refresh, after
which the new line was found; paths outside the root and under `node_modules`
were refused; an unknown symbol returned an explicit empty result. This is not
client, developer or task acceptance on that repository.

Measured benefit: none shown. A locked repeated run on a DeepSeek V4 Pro
executor (72 cells, eight tasks, three repetitions;
[results](docs/experiments/repeated-pro-20260923/RESULTS.md)) found the
pre-release Context arm used more executor input than plain tools (geometric
mean ratio 1.17, 90% interval 0.79 to 1.36) and Graphify (1.31, 0.94 to 1.64),
and was accepted on 3 of 8 tasks against 5 for each. Its input followed extra
turns rather than larger tool results; the first-use build, whole-file packets
and range merging above remove the deterministic part of that overhead but are
not yet measured on an executor. No token, subscription or cash saving is
claimed for this release.

Reconnect existing MCP servers after upgrading. Clients that parsed the JSON
search or packet output must now request `format: "json"`.

## 0.3.3 shipment checks, 22 September 2026

The TS/JS scanner now binds calls to scoped compiler symbols over selected source
Expand Down
6 changes: 3 additions & 3 deletions docs/GETTING-STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ matching core version:
mkdir context-install
cd context-install
npm init -y
npm install --ignore-scripts /absolute/path/to/forgesworn-context-0.3.3.tgz \
/absolute/path/to/forgesworn-context-tools-0.3.3.tgz
npm install --ignore-scripts /absolute/path/to/forgesworn-context-0.4.0.tgz \
/absolute/path/to/forgesworn-context-tools-0.4.0.tgz
```

For that installation, use
Expand Down Expand Up @@ -266,7 +266,7 @@ stable checkout to bind.
| Symptom | Check |
| --- | --- |
| No repository tools | Correct project config scope, executable paths, project trust and reconnect |
| Only three to five tools | Installed/build revision predates `repository_packet` (0.3.0) or `repository_explore` and `repository_coverage` (after 0.3.3), or the client's tool allowlist omits them |
| Only three to five tools | Installed/build revision predates `repository_packet` (0.3.0) or `repository_explore` and `repository_coverage` (0.4.0), or the client's tool allowlist omits them |
| Packet tool advertises no arguments | Use a build with the top-level object-schema fix and reconnect |
| Wrong root | Stop using the binding; correct the exact checkout/worktree path and reconnect |
| Stale or unknown evidence / generation mismatch | Inspect status, refresh successfully, and use the newly returned generation |
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/context-tools/THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Third-party notices

These notices accompany `@forgesworn/context-tools@0.3.3`. The package itself is
These notices accompany `@forgesworn/context-tools@0.4.0`. The package itself is
MIT licensed, Copyright (c) 2026 TheCryptoDonkey; see `LICENSE`.

Runtime dependencies are installed separately by the package manager, not
Expand All @@ -9,9 +9,9 @@ notices below cover direct runtime dependencies; retain the licence files
from transitive dependencies as well when redistributing an installation or
bundle. Dependency versions and source links refer to this release.

## @forgesworn/context@0.3.3
## @forgesworn/context@0.4.0

Declared licence: MIT. Source package: https://www.npmjs.com/package/@forgesworn/context/v/0.3.3
Declared licence: MIT. Source package: https://www.npmjs.com/package/@forgesworn/context/v/0.4.0

```text
MIT License
Expand Down
4 changes: 2 additions & 2 deletions packages/context-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@forgesworn/context-tools",
"version": "0.3.3",
"version": "0.4.0",
"description": "Local CLI and MCP tools for Z1P Core encrypted context",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -36,7 +36,7 @@
"test": "vitest run --config vitest.config.ts"
},
"dependencies": {
"@forgesworn/context": "0.3.3",
"@forgesworn/context": "0.4.0",
"@modelcontextprotocol/sdk": "1.30.0",
"@noble/hashes": "1.8.0",
"ignore": "7.0.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/context/THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Third-party notices

These notices accompany `@forgesworn/context@0.3.3`. The package itself is
These notices accompany `@forgesworn/context@0.4.0`. The package itself is
MIT licensed, Copyright (c) 2026 TheCryptoDonkey; see `LICENSE`.

Runtime dependencies are installed separately by the package manager, not
Expand Down
2 changes: 1 addition & 1 deletion packages/context/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@forgesworn/context",
"version": "0.3.3",
"version": "0.4.0",
"description": "Z1P Core portable signed and encrypted context collections",
"license": "MIT",
"type": "module",
Expand Down
Loading