Milestone 669, "Knowledge reaches every project, work stays in its own: a fast exact search, cross-project recall ranked and labelled", plus related work. Every commit was green on dev; the head ddbfbab passed CI run 11152.
The exact search gets cheap (#8190; closes#6834). Migration 0139 stores embedding vectors inline (STORAGE MAIN) on the four embedding tables and rewrites the existing rows once, about 34k. The ranking scope carries ids and distances only, and chunk text is read for the winners.
The cannot_decline warning counts the cue gate's declines (#8192).
Knowledge crosses projects (#8191). Snippets, notes, processes and lessons from the user's other projects reach a session, ranked 0.05 below the project's own and labelled from <project>. Work stays in its project. The reach is editable in Settings › Moments.
Rulings reach the work (#8205, #8206). A System with rulings and no file patterns is flagged in enter_project and on its card. The guidance gives a ruling's for/not-for form, names the ruling in the code comment, and has a session read rulings before changing a constraint.
The MCP instructions shrink to 569 characters (#8211), with an 800-character budget.
The Claude Code plugin is MIT; the server stays AGPL-3.0-only.
The plugin is at version 2026.11.28.2315.
Deploy note: migration 0139 rewrites every vector row once at startup.
Milestone 669, "Knowledge reaches every project, work stays in its own: a fast exact search, cross-project recall ranked and labelled", plus related work. Every commit was green on dev; the head ddbfbab passed CI run 11152.
- **The exact search gets cheap (#8190; closes #6834).** Migration 0139 stores embedding vectors inline (`STORAGE MAIN`) on the four embedding tables and rewrites the existing rows once, about 34k. The ranking scope carries ids and distances only, and chunk text is read for the winners.
- **The cannot_decline warning counts the cue gate's declines (#8192).**
- **Knowledge crosses projects (#8191).** Snippets, notes, processes and lessons from the user's other projects reach a session, ranked 0.05 below the project's own and labelled `from <project>`. Work stays in its project. The reach is editable in Settings › Moments.
- **Rulings reach the work (#8205, #8206).** A System with rulings and no file patterns is flagged in `enter_project` and on its card. The guidance gives a ruling's for/not-for form, names the ruling in the code comment, and has a session read rulings before changing a constraint.
- **The MCP instructions shrink to 569 characters (#8211)**, with an 800-character budget.
- **The Claude Code plugin is MIT; the server stays AGPL-3.0-only.**
- The plugin is at version 2026.11.28.2315.
**Deploy note:** migration 0139 rewrites every vector row once at startup.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The operator settled the split on 2026-11-09. The server is AGPL-3.0-only.
The plugin is a client adapter that people install into their own tooling,
so it is MIT. plugin/ now carries its own LICENSE, the manifest declares
MIT, and the README's Licence section names both. Plugin version minted
2026.11.28.1705.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Step 1 of milestone 669 "Knowledge reaches every project, work stays in its
own: a fast exact search, cross-project recall ranked and labelled", for
#6834 "auto_inject p90 latency has climbed since 10-23".
A search with no project in scope took about 1 s, because it ranked about
26k chunks exactly. Two costs on that path, neither of which changes a result:
- pgvector's vector type defaults to EXTERNAL storage, and a chunk row
(about 1.5 KB of vector plus its text) is over the 2 KB toast threshold,
so every vector sat in TOAST and each distance paid a lookup (151k buffer
hits for 26k rows). Migration 0139 sets STORAGE MAIN on the four
embedding tables and rewrites the existing rows once.
- The materialized scope carried every chunk's text beside its distance and
spilled the sort to disk. It now carries the id, chunk index and distance,
and the text is joined back for the rows that survive the cut.
Measured on the live corpus: 1,151 ms as before, 393 ms with the text out of
the scope, before the storage change.
The HNSW index stays out of the ranking. With pgvector 0.8's iterative
scan it returned 7 to 60 of the true 144 nearest chunks under a narrow
scope, at every setting tried.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#8192 "The cannot_decline warning reads the result count from before the cue
gate, so a gated arm can never show a decline", step 3 of milestone 669.
auto_inject logs its ranked results before the cue gate decides, so a call
the gate silenced still reads as a hit, and cannot_decline fired on an arm
whose gate withholds most calls (since 11-23, gate_kept = 0 on 55 of 69,
40 of 44 and 71 of 84 calls a day, with result_count never 0).
The readout gains a `gate` block per source (gated_calls, declined_by_gate),
null where no row carried a gate decision, and cannot_decline counts
zero_result_calls plus declined_by_gate.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A per-kind reach beside the kind-by-moment table (setting record_reach,
default snippet/note/process/lesson) widens the passive note arms and their
slots to the user's other projects. A record from elsewhere gives up 0.05
before the floor and the ranking, and its line names the project. Work kinds
stay in their project, the visibility clause is unchanged, and an explicit
project search still means that project. Settings > Moments edits the reach.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Its rulings reach no session: delivery is by path_patterns alone. enter_project
carries rulings_undelivered (absent when none) with the fix call, the Systems
list reads ruling_count, and the System card says so with a button to name
its files. A System without rulings is not flagged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
writing-records: the for/not-for form, naming a System's files so its
rulings reach an edit, and the comment at a constraint naming its ruling.
using-grimoire: read the area's rulings before changing a filter, gate or
default, and take a change that would undo one to the operator. The project
filter in embeddings now names its ruling, and the docstring that stretched
its reason to every kind is corrected. Plugin version minted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
569 characters, from 1,600: what Grimoire is, enter_project first, ask
what_might_apply before a consequential act, search before building, the force
of each record kind, and that responses say what to do next. The rest is
enforced in responses or stated in a skill. The budget drops to 800, and the
guidance registry stops requiring index words for the topics that left.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Milestone 669, "Knowledge reaches every project, work stays in its own: a fast exact search, cross-project recall ranked and labelled", plus related work. Every commit was green on dev; the head
ddbfbabpassed CI run 11152.STORAGE MAIN) on the four embedding tables and rewrites the existing rows once, about 34k. The ranking scope carries ids and distances only, and chunk text is read for the winners.from <project>. Work stays in its project. The reach is editable in Settings › Moments.enter_projectand on its card. The guidance gives a ruling's for/not-for form, names the ruling in the code comment, and has a session read rulings before changing a constraint.Deploy note: migration 0139 rewrites every vector row once at startup.
🤖 Generated with Claude Code