Skip to content

Commit d366ccd

Browse files
copeusclaude
andcommitted
release(memory): v2.5.4 — one model load per DENSE refresh
reindex_batch embeds all files' chunks in a single embedder call (was: one venv subprocess + ONNX load per file). FTS5-only path unchanged; degrade-safe. Selftest proves single-call + slicing + degrade with a fake embedder; Codex cross-model verify ACCURATE (5/5 with file:line). Versions 2.5.4 lockstep. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 70905aa commit d366ccd

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "superpowers-v",
1111
"description": "Compound V for Superpowers: triple parallel pre-flight (code archaeology + domain-expert + Context7 library validator), disjoint partitioning, manifest-driven multi-backend dispatch (Claude + Codex + Antigravity + Cursor), git-diff scope enforcement, crash-resumable runs, adaptive tier-based routing, epic mode, V-memory local-first semantic+lexical recall over docs/superpowers (opt-in pure-python embeddings + a deterministic recall→action bridge), and batched parallel dispatch (Opus default, narrow Sonnet exception)",
12-
"version": "2.5.3",
12+
"version": "2.5.4",
1313
"source": "./",
1414
"author": {
1515
"name": "Oleg",

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "superpowers-v",
33
"description": "Compound V for Superpowers: triple parallel pre-flight (code archaeology + domain-expert advisor + library/doc validator via Context7), disjoint file partitioning, manifest-driven multi-backend dispatch (Claude + headless Codex + Antigravity + Cursor workers), git-diff scope enforcement, crash-resumable runs, adaptive tier-based routing, epic mode for multi-feature builds, V-memory local-first semantic+lexical recall over docs/superpowers (opt-in pure-python embeddings + a deterministic recall\u2192action bridge), and batched parallel dispatch (Opus default, Sonnet for narrow junior-task carve-out), plus /v:onboard — a project-onboarding command that builds a citation-verified knowledge base + AGENTS.md/CLAUDE.md bridge behind a human gate. Auto-intercepts brainstorming \u2192 writing-plans \u2192 execution transitions.",
4-
"version": "2.5.3",
4+
"version": "2.5.4",
55
"author": {
66
"name": "Oleg",
77
"email": "copeus@gmail.com"

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to **superpowers-v (Compound V)** are documented here.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project uses semantic versioning.
66

7+
## [2.5.4] — 2026-07-05
8+
9+
### Performance
10+
- **V-memory DENSE refresh now loads the embedding model *once*, not per file.** The refresh embedded per file — `reindex_file` invoked the isolated-venv embedder subprocess once per file, and each subprocess rebuilt the ONNX `InferenceSession`, so `N` files meant `N` model loads (the reason the first full pass over `docs/superpowers/**` was slow). `cmd_refresh` now uses a new `reindex_batch` that chunks all to-index files, flattens their chunks into **one** embedder call, and slices the vectors back per file — **one model load per refresh**. The FTS5-only (embeddings-off) path is unchanged and it stays **degrade-safe** (a failed batch persists `NULL` embeddings → FTS5-only; the CORE lexical lane is never affected). Selftest injects a **call-counting fake embedder** proving the single call + correct per-file vector slicing + degrade — no network/model needed. **Codex cross-model verification: ACCURATE** on all five claims with `file:line` evidence (single call, offset slicing with no off-by-one, empty-corpus skips the model load, degrade-safe `NULL` fallback, atomic persistence preserved).
11+
712
## [2.5.3] — 2026-07-05
813

914
### Added — `npx autoskills` recommender for `/v:onboard`

0 commit comments

Comments
 (0)