Skip to content

docs(cipher): per-node capacity profiles design (Qwen3 MRL dims, named vectors, BRV floor, URL fix first) - #3355

Merged
POWERFULMOVES merged 7 commits into
mainfrom
docs/cipher-capacity-profiles
Nov 19, 2026
Merged

POWERFULMOVES merged 7 commits into
mainfrom
docs/cipher-capacity-profiles

Conversation

@POWERFULMOVES

Copy link
Copy Markdown
Owner

Summary

Design only, no code. Operator canon 2026-10-11 (verbatim): "your cipher config should be different based on node capacity and embeds are multi dimensions plus lightwieght brv".

pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md:

  • Measured today on 5090: one static memAgent/cipher.yml (qwen3-embedding:4b, 2560 d) for every node; the compose embedding URL defaults to a port nothing answers on here (compose Ollama is on 11436 / pmoves-ollama:11434 and has qwen3-embedding:4b, embeddinggemma:300m, nomic-embed-text pulled), so every memory stored this session landed embedded: false; brv is missing; hardware profiles and node roles describe capacity but nothing maps it to an embedding choice.
  • Design: a declared cipher_profile per node in node-vocabulary.yaml (classes gpu-large / gpu-small / edge, derived from the hardware profile by a documented rule); two named Qdrant vectors in one collection (q06b_1024 fleet vector every node can produce or fetch, q4b_2560 local on large nodes) with embed_model / embed_dim / node in the payload. MRL prefix compatibility holds within one model, not across 0.6B/4B, which is why the fleet vector is a fixed (model, dim). BRV (byterover-cli, BM25 context tree) is the memory floor and the whole memory on edge nodes when the mesh is down.
  • Do first: the Ollama URL class (cipher stanza + the 32 tensorzero.toml api_base entries) under the compose road; nothing above embeds until that lands.
  • Three open questions for the operator at the end.

Pairs with the passport design (#3317 §3c node evidence: the review there proposes recording capacity_class in the same evidence record) and B850's memory-travels handoff (BRV, per-node token store).

Required Checks

  • Overlay check: design only; cipher is a service, not a harness row.
  • Added/updated documentation when altering behavior or workflows

🤖 Generated with Claude Code

…ed vectors, BRV floor, URL fix first

Operator canon 2026-10-11: "your cipher config should be different based on
node capacity and embeds are multi dimensions plus lightwieght brv".
Design only. Measured on 5090: one static memAgent/cipher.yml
(qwen3-embedding:4b, 2560 d); compose embedding URL points at a port nothing
answers on, so every memory stored today landed embedded:false; brv is
missing. Proposes a declared cipher_profile per node (gpu-large / gpu-small
/ edge), two named Qdrant vectors (fleet q06b_1024 every node can produce or
fetch, local q4b_2560 on large nodes; MRL prefix holds within one model, not
across sizes), BRV as the whole memory on edge nodes, and names the Ollama
URL class fix as the precondition.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one): 1

  • coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added docs Documentation governance AGNOTE register / agent definitions / damage-control hooks labels Oct 11, 2026
@kilo-code-bot

kilo-code-bot Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Roast 🔥

Verdict: No Issues Found | Recommendation: Merge

Oh wait, this incremental change is actually clean. I need to sit down. All four carried-forward findings are fixed at HEAD b6ba9da, and every replacement citation was re-verified against current code:

  • Compose evidence line numbers — EMBEDDING_DIM=2560 now cited at pmoves/docker-compose.yml:4189 (verified at HEAD; the grep -n re-derivation hint is a nice self-healing touch). OLLAMA URL defaults corrected to :4170-4171 for the cipher stanza, and all four claimed pmoves-ollama:11434 consumer references (:2788, :3091, :3293, :5190) check out — they are, in fact, every Ollama consumer line in the file.
  • Dangling partner docs — B850_MEMORY_TRAVELS.md now correctly cited at pmoves/docs/handoffs/ (file exists), and the AGINT passport design doc is now honestly labeled as living on branch docs/agint-passport-design, not main — verified the branch exists on the remote.
  • The 4090 self-contradiction — the headliner of the last review. The 4090 is now in gpu-small (16 GB VRAM per pmoves/config/profiles/laptop-4090.yaml:4,72, verified), and the new post-table paragraph owns the correction explicitly, naming the kilo review and establishing the override rule. A doc about evidence discipline that actually absorbs evidence discipline. Genuinely good bookkeeping.

I had my flamethrower warmed up and everything. The one thing I can't verify is the runtime curl measurements (15:30 vs 19:50 EDT observations) — host state I can't probe read-only from here — but the doc itself already hedges those correctly with the "node-local runtime state, not a fix in the files" framing.

📊 Overall: Like watching someone fix every citation in their bibliography and then add a paragraph confessing which citation the reviewer caught — the rare sequel that's better than the original.

Files Reviewed (1 file + targeted context)
  • pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md — incremental change verified clean; all 4 prior findings re-verified as resolved
  • pmoves/docker-compose.yml, pmoves/config/profiles/laptop-4090.yaml, pmoves/docs/handoffs/B850_MEMORY_TRAVELS.md — read-only citation verification
Previous Review Summaries (2 snapshots, latest commit d4b0480)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit d4b0480)

Verdict: 4 Issues Found | Recommendation: Address before merge

Incremental re-review (since e1ed0fb): the new "Re-measured 19:50 EDT" paragraph in §1 is genuinely good — it records fresh runtime state, explicitly refuses to let a node-local host process masquerade as a file-level fix, and keeps the §3 URL-class fix standing. Textbook honest bookkeeping. All four prior findings were re-verified against current HEAD and remain unresolved — none overlap the new paragraph.

Overview

Severity Count
🚨 critical 0
⚠️ warning 1
💡 suggestion 3
🤏 nitpick 0
Issue Details (click to expand)
File Line Roast
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 16 Evidence table cites docker-compose.yml:4126 for EMBEDDING_DIM=2560; verified at HEAD the anchor is 4189 (4126 is a healthcheck stanza). Footnoting a Wikipedia article with a 404.
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 17 Same defect: cites 4107-4109 for the host.docker.internal:11434 OLLAMA_URL defaults; actual lines are 4170-4171. The claim survives, the citation is a scavenger hunt.
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 8 "Pairs with" cites plans/AGINT_PASSPORT_DESIGN_2026-10-08.md, which exists nowhere in this tree (unmerged PR #3317 branch deliverable), and a bare B850_MEMORY_TRAVELS.md whose real home is pmoves/docs/handoffs/.
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 36 The first row of the class table breaks its own rule: gpu-large is "≥24 GB VRAM" but the 4090 is a laptop with 16 GB VRAM (pmoves/config/profiles/laptop-4090.yaml:4,72 — total_mb: 16384) — squarely inside the doc's own gpu-small band, yet assigned qwen3-embedding:4b @ 2560 local.

🏆 Best part: The measured core is genuinely solid — EMBEDDING_DIM=2560 (compose.yml:4189), the OLLAMA_HOST_PORT:-11435 publish, the host.docker.internal:11434 api_base entries in tensorzero.toml, tz_registry_sync.py defaulting to pmoves-ollama:11434/v1, the cli_tools BRV install route, and all four hardware-profile RAM figures all check out. The MRL within-family-across-sizes reasoning is also correct, and the new re-measurement paragraph models exactly the humility the doc preaches. Oh wait, the engineering is actually careful. I need to sit down.

💀 Worst part: A design doc whose thesis is "evidence-anchored facts" gets two of its evidence line numbers wrong (still) and then contradicts its own capacity rule on the first table row — the exact genre of error this doc exists to prevent.

📊 Overall: Like a great detective novel whose footnotes cite the wrong chapter — the mystery is solved correctly, but half the readers just spent the night in the wrong building.

Fix these issues in Kilo Cloud

Files Reviewed (1 file + context)
  • pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md - 4 issues (all carried forward re-verified at HEAD d4b0480e; incremental change §1 re-measurement paragraph clean)
  • pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md - clean (claim row append only)

Previous review (commit e1ed0fb)

Verdict: 4 Issues Found | Recommendation: Address before merge

Overview

Severity Count
🚨 critical 0
⚠️ warning 1
💡 suggestion 3
🤏 nitpick 0
Issue Details (click to expand)
File Line Roast
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 16 Evidence table cites docker-compose.yml:4126 for EMBEDDING_DIM=2560; that line is the wealth-mcp stanza — the real anchor is 4189. Footnoting a Wikipedia article with a 404.
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 17 Same defect: cites 4107-4109 for the host.docker.internal:11434 OLLAMA_URL defaults; actual lines are 4170-4171. The claim survives, the citation is a scavenger hunt.
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 8 "Pairs with" cites plans/AGINT_PASSPORT_DESIGN_2026-10-08.md, which exists nowhere in this tree (unmerged PR #3317 branch deliverable), and a bare B850_MEMORY_TRAVELS.md whose real home is pmoves/docs/handoffs/.
pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md 34 The first row of the class table breaks its own rule: gpu-large is "≥24 GB VRAM" but the 4090 is a laptop with 16 GB VRAM (laptop-4090.yaml:4,72) — squarely inside the doc's own gpu-small band, yet assigned qwen3-embedding:4b @ 2560 local.

🏆 Best part: The measured core is genuinely solid — EMBEDDING_DIM=2560, the OLLAMA_HOST_PORT:-11435 publish, the 32 host.docker.internal:11434 api_base entries in tensorzero.toml, tz_registry_sync.py defaulting to pmoves-ollama:11434/v1, the cli_tools BRV install route, and all four hardware-profile RAM figures all check out. The MRL within-family-across-sizes reasoning is also correct. Oh wait, the engineering is actually careful. I need to sit down.

💀 Worst part: A design doc whose thesis is "evidence-anchored facts" gets two of its evidence line numbers wrong and then contradicts its own capacity rule on the first table row — the exact genre of error this doc exists to prevent.

📊 Overall: Like a great detective novel whose footnotes cite the wrong chapter — the mystery is solved correctly, but half the readers just spent the night in the wrong building.

Note: Pmoves-cipher/memAgent/cipher.yml:14-18 (line 16's other citation) could not be verified from this checkout — the submodule is unpopulated here. Everything else cited in §1 was verified against the tree.

Files Reviewed (2 files)
  • pmoves/docs/plans/CIPHER_NODE_CAPACITY_PROFILES_2026-10-11.md - 4 issues
  • pmoves/docs/AGENTS/AGNOTE4482PHI.t1.md - clean (claim row append only)

Fix these issues in Kilo Cloud


Reviewed by glm-5.3-flash · Input: 60.2K · Output: 4.7K · Cached: 486.7K

POWERFULMOVES and others added 3 commits October 11, 2026 19:55
…oes not close the URL-class row

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…evious commit

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…anch, 4090 moved to gpu-small per the stated rule

Kilo review on #3355, all four verified: EMBEDDING_DIM is at :4189 and the
cipher OLLAMA_URL pair at :4170-4171 (the old cites landed in wealth-mcp);
the passport design doc is on PR #3317's branch, not on main; the B850
handoff gets its full path; the 4090 is a 16 GB laptop GPU and belongs in
gpu-small under the rule the table states. Added the explicit-override rule
(declared cipher_profile, never inferred) for nodes that run above their
class, which the 4090 already does with qwen3-embedding:8b in inventory.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

@POWERFULMOVES POWERFULMOVES left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5090-CLAUDE (5090-claude), self-review after the kilo pass. All four findings verified against origin/main before editing; fixed in b6ba9da.

Finding Verified Fix
docker-compose.yml:4126 is not EMBEDDING_DIM Yes: grep -n EMBEDDING_DIM on main gives 4189. Cite corrected, with the base commit the line numbers are read from and the grep that re-derives them.
:4107-4109 is not the cipher OLLAMA_URL pair Yes: 4170-4171. Cite corrected. The row now also lists the four other Ollama consumers in the file that default to pmoves-ollama:11434 (2788, 3091, 3293, 5190), which is the "URL class" claim made concrete: cipher is the odd one out.
plans/AGINT_PASSPORT_DESIGN_2026-10-08.md does not exist on main; B850_MEMORY_TRAVELS.md cited bare Yes: the passport doc is on PR #3317's branch. Passport cited by PR and branch; handoff cited by full path.
4090 listed in gpu-large against the table's own >=24 GB VRAM rule Yes: laptop-4090.yaml says 16 GB total, 14 GB usable. 4090 moved to gpu-small. Added the rule for nodes that run above their class: an explicit cipher_profile override in the vocabulary entry, declared and never inferred. The 4090 already inventories qwen3-embedding:8b, so it is the first expected override, and the record will say so.

One honest note on row 2: at 15:30 EDT nothing answered on 11434 on this node; at 19:50 a host Ollama did (the doc's re-measure paragraph records it, and the row now carries both timestamps). That is node-local runtime state, so the §3 URL-class fix stands.

🤖 Generated with Claude Code

…3355 on main's #3363 merge; register rows appended on both sides)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@POWERFULMOVES

Copy link
Copy Markdown
Owner Author

Re-anchored on main (merge of fac327e2a8, #3363) because GitHub flagged the claim-register append as a conflict; git merged it clean and the diff over main is unchanged. The one red check on the new head, validate-command-anchors-ratchet, is inherited from main (two GHOST_PATH findings in the new auth runbook, also red on #3363's own head) and is fixed by #3364. 5090-CLAUDE.

@github-actions

Copy link
Copy Markdown
Contributor

ORGSIM-MIRROR drift check (advisory, fail-soft)

vv3 / 8 files / VERIFIED 124 / DRIFTED 10 / UNDECIDED 29 / digest 5a98e0f5fe2e

Zero-LLM deterministic audit - unreachable = UNDECIDED, never dead - scripts/runbook_drift.py

@POWERFULMOVES
POWERFULMOVES merged commit cacbd76 into main Nov 19, 2026
28 checks passed
@POWERFULMOVES
POWERFULMOVES deleted the docs/cipher-capacity-profiles branch November 19, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation governance AGNOTE register / agent definitions / damage-control hooks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant