Skip to content

feat(mesh): upgrade to mesh-llm 0.76.0-rc7 and recommend Qwen3.8 27B - #6189

Draft
micspiral wants to merge 11 commits into
mainfrom
micspiral/mesh-0.76.0-rc3
Draft

feat(mesh): upgrade to mesh-llm 0.76.0-rc7 and recommend Qwen3.8 27B#6189
micspiral wants to merge 11 commits into
mainfrom
micspiral/mesh-0.76.0-rc3

Conversation

@micspiral

@micspiral micspiral commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Upgrades Buzz's mesh-llm dependencies through the released v0.76.0-rc7 tag (5d07a20b), including open-relay discovery/admission fixes and the Qwen3.8 curated recommendation.

Also keeps the Qwen3.8-27B-Q4_K_M curated large pick (desktop/src-tauri/src/mesh_llm/catalog.rs).

Resolver note: bumping the mesh tag alone fails — mesh log-store needs rusqlite 0.37 -> libsqlite3-sys 0.35 while buzz-admin's sqlx pins 0.30.1, and only one package may link sqlite3. Updating libsqlite3-sys in the same cargo update resolves it (same shape as the rc3 bump).

Verification (local, M5 Metal)

cargo check clean for buzz-relay and buzz-desktop --features mesh-llm; desktop debug binary builds.

Mesh SDK serve path exercised with the repo's existing harness (examples/mesh_agent_e2e.rs, MESH_E2E_MODEL=unsloth/Qwen3.8-27B-GGUF:Q4_K_M):

perm result
P1 explicit-model chat PASS
P2 auto/virtual-mesh chat PASS
P3 oversized-budget must fail "FAIL" — stale harness constant, see below
P4 agentic tool use (buzz-agent + buzz-dev-mcp) PASS

P3 asserts a 150k output budget must be refused, targeting <=128k-context models. Qwen3.8-27B reports qwen35.context_length = 262144, so 150k x the 1.25 router margin (187.5k) genuinely fits and the router correctly accepted it. Stale constant in the example, not a mesh or rc7 defect; left unchanged here.

Perf on M5 Metal, Qwen3.8-27B-Q4_K_M: TTFT 0.22-0.32 s, ~25 tok/s streaming; agent-shaped turns ~1 s to first token after the first (prefix cache), disk KV tier on by default.

Upgrade behavior

This upgrade does not preserve or reuse running MeshLLM instances. Existing mesh processes are allowed to stop with the old Buzz process, and the upgraded app starts fresh mesh instances against the new runtime and relay-mode configuration.

@micspiral
micspiral requested a review from a team as a code owner August 18, 2026 02:26
Bump every mesh-llm git dependency in buzz-relay and buzz-desktop from
v0.75.1 to v0.76.0-rc3, and make Qwen3.8 27B Q4_K_M the curated pick for
64GB-class machines.

The rc carries the two changes that make Qwen3.8 safe to recommend:
Mesh-LLM/mesh-llm#1283 routes Qwen3.8 identities to the qwen35 recurrent
family (without it the identity compacts to a string matching neither
qwen35 nor qwen36, so a hybrid recurrent model is classified as dense
attention-KV), and #1342 restores recurrent shared prefixes. #1343 adds
Qwen3.8-27B-Q4_K_M to the compiled MODEL_CATALOG.

Because the large pick now exists in MODEL_CATALOG, the synthesized
catalog entry Buzz carried for the gemma-4-26B pick is removed along with
its size/file/description constants; the entry is canonicalized from the
upstream catalog instead. The retired gemma-4-26B alias is kept in
canonical_curated_model_id so machines that already selected it keep
resolving to a model id Mesh's OpenAI ingress accepts.

Dependency resolution notes: iroh moves 1.0.2 -> 1.0.3 to match the rc's
requirement, and libsqlite3-sys moves 0.30.1 -> 0.35.0 because the rc's
mesh-llm-log-store requires rusqlite 0.37 (only one package may link
sqlite3).

Verification: cargo check passes for buzz-relay and for buzz-desktop with
--features mesh-llm; 2611 buzz-desktop tests pass; cargo fmt --check is
clean. Two failures predate this change and reproduce on unmodified
origin/main: the global_config
inherited_shared_compute_translates_to_supported_agent_transport
assertion (expects "auto", gets "mesh") and an items-after-test-module
clippy lint in managed_agents/restore.rs. Not runtime-verified against a
live Qwen3.8 mesh node from this branch.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
buzz-agent's `BUZZ_AGENT_LLM_TIMEOUT_SECS` defaults to 240s. MeshLLM's
OpenAI frontend gives a backend call 600s
(`OpenAiFrontendConfig::DEFAULT_BACKEND_TIMEOUT`), so on shared compute the
client aborts work the server is still legitimately doing.

Requests to a local mesh are `stream: false`, so a cold multi-ten-thousand
token prefill is one silent request. Measured on an M5 Max serving
Qwen3.8-27B Q4_K_M: an 88,318-token cold prompt returns HTTP 200 after
503s at 176 tok/s prefill. At the 240s default the client gives up at
four minutes, then retries with an escalated budget (240 -> 480 -> 960),
piling load onto a box that is already prefilling the first attempt.

Seat the mesh client budget at 660s, just above the frontend's 600s, so
the mesh's own error surfaces rather than a client abort racing it.
Remote providers are untouched and keep buzz-agent's 240s default. Like
the other mesh seeds this is a default, not policy: an explicit user
value survives via `insert_default_if_unset` plus the copy-forward list
in `relay_mesh_process_env`.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
Bump every mesh-llm git dependency in buzz-relay and buzz-desktop from
the v0.76.0-rc3 tag to v0.76.0-rc4.

rc4 is a low-risk move from rc3: git diff v0.76.0-rc3..v0.76.0-rc4 in
Mesh-LLM/mesh-llm touches only generated console web assets and the
release version bump, so the runtime behaviour Buzz depends on is the
same code we already validated. It is the first release tag carrying the
Qwen3.8 fixes as a downloadable artifact for every platform, which means
nodes no longer need a source build to serve the curated large pick.

The Qwen3.8 27B curated recommendation from the rc3 commit is unchanged.

Verification: cargo check passes for buzz-relay and for buzz-desktop
with --features mesh-llm. The one warning emitted (unreachable statement
in commands/workspace.rs) predates this change.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
@micspiral
micspiral force-pushed the micspiral/mesh-0.76.0-rc3 branch from 777426b to 0cd224c Compare August 20, 2026 02:08
@micspiral micspiral changed the title feat(mesh): upgrade to mesh-llm 0.76.0-rc3 and recommend Qwen3.8 27B feat(mesh): upgrade to mesh-llm 0.76.0-rc4 and recommend Qwen3.8 27B Aug 20, 2026
desktop-standalone was the only launch recipe that ignored the `mesh`
variable. dev, staging and production all build FEATURES=(--features
mesh-llm) when it is set; desktop-standalone invoked `tauri dev` with no
features, so `just mesh=1 desktop-standalone` silently produced a
non-mesh build and the app reported "mesh-llm feature not enabled" from
desktop/src-tauri/src/mesh_llm_stubs.rs.

Wire it up the same way as the other three recipes.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
@micspiral
micspiral marked this pull request as draft August 20, 2026 08:59
Bump every mesh-llm git dependency in buzz-relay and buzz-desktop from
the v0.76.0-rc4 tag to v0.76.0-rc6, and regenerate both lockfiles at
tag commit a8ddb455.

Verification: cargo check -p buzz-relay --all-targets and cargo check
--manifest-path desktop/src-tauri/Cargo.toml --features mesh-llm
--all-targets pass. The desktop check retains the pre-existing
unreachable-code warning in commands/workspace.rs. The buzz-relay package
suite compiled rc6 and ran 892 passing tests, but its existing mesh demo
forwarded-arm test timed out with HTTP 504 twice.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
@micspiral micspiral changed the title feat(mesh): upgrade to mesh-llm 0.76.0-rc4 and recommend Qwen3.8 27B feat(mesh): upgrade to mesh-llm 0.76.0-rc6 and recommend Qwen3.8 27B Aug 21, 2026
michaelneale and others added 4 commits August 25, 2026 11:17
…ership

Mesh admission is seeded from the relay's NIP-43 membership snapshot
(kind:13534), which is built purely from the `relay_members` table. On a
relay running with `BUZZ_REQUIRE_RELAY_MEMBERSHIP=false`, signing in never
writes a `relay_members` row, so that snapshot lists at most whoever was
added out of band. Ordinary participants are absent from it.

Desktop treated that as an authoritative roster, so every node resolved an
empty intersection, fell back to `trust_owners([self])`, and sat at "1 NODE"
with an empty peer list forever. Two machines sharing compute on the same
open relay could never see each other, through any number of restarts.

Admission was only part of it: `availability_from_events` also required a
snapshot and filtered status notes to `members.contains(reporter)`, so
serve-target discovery was membership-gated too. Relaxing admission alone
would still have left peers undiscoverable.

Resolve the relay's membership mode from its NIP-11 document instead. The
relay advertises NIP-43 only when membership is actually enforced, so the
advertisement is a faithful signal. When it is absent, skip the snapshot
requirement for routing and pass `trusted_owner_ids: None`, which the
existing SDK path already maps to `TrustPolicy::Off` — stock MeshLLM
behaviour, scoped by the relay-derived mesh topic.

Membership emptiness deliberately does NOT drive this. On an enforcing relay
a missing snapshot is a transient replication gap, and the existing code
treats it as an error precisely so a blip cannot flap a live node down to
self-only. Keying open-mesh off "no snapshot" would have turned that blip
into a silent loss of admission enforcement. A failed NIP-11 probe therefore
falls back to the enforcing behaviour: an unreachable relay can never relax
admission.

Closed-relay behaviour is unchanged, including the fail-closed error and the
shrink hysteresis. `roster_reconcile_action` maps `Ok(None)` to `Keep`: a
node already enforcing an allowlist keeps it, so a mid-flight NIP-11 change
cannot de-restrict a running mesh.

Freshness and owner-signed endpoint binding still gate routing on an open
relay; only the membership intersection is lifted.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
…-rc3

* origin/main: (86 commits)
  Centralize replaceable event persistence (#6660)
  feat(workflows): discover trigger filter values (#6712)
  feat(desktop): simplify the message action rail (#6529)
  fix(desktop): restore icon-only remote marker (#6491)
  fix(ci): prevent poisoned Rust caches (#6618)
  docs(security): route reports through private advisories (#6728)
  fix(composer): wrap Buzz chip labels without orphaning icons (#6581)
  fix(desktop): bound thread /query and surface load errors, not false-empty (#6447)
  fix(messages): route edits to the owning composer (#6575)
  fix(mobile): join starter channels after accepting invite (#5915)
  Add mobile profile editing (#6583)
  fix(desktop): align jump-to-latest pill with composer height (#6606)
  fix(desktop): emit singular `mention` feed category so alerts route correctly (#6665)
  fix(mobile): recover stale and shuffled messages (#6691)
  feat(mobile): browse and join open channels (#6243)
  show mention counts in channel notifications (#6696)
  fix(desktop): hide selection formatting tray on composer right-click (#6683)
  fix(desktop): stabilize members dialog scrolling (#6670)
  fix(desktop): keep member runtime status off the UI thread (#6445)
  perf(desktop): persist channel heads, collapse thread reads and reply sends (#6572)
  ...
…e, and probing

Follow-up to the open-mesh change (d99cba5), closing three gaps found in
review:

1. A stray membership snapshot on an open relay no longer gates routing.
   Admission runs TrustPolicy::Off there, but discovery still intersected
   status notes with any kind:13534 roster that happened to exist (added out
   of band), and the query layer applied the same authors filter — a hybrid
   where admission admits everyone while discovery hides non-roster peers.
   Both branches now check the relay mode: open relays ignore membership
   entirely and rely on freshness plus owner-signed endpoint binding.

2. Reconcile recovers a node isolated by the startup probe fallback. A
   transient NIP-11 probe failure at start falls back to the enforcing path
   and a self-only allowlist; treating Ok(None) as an unconditional Keep then
   pinned that node at "1 NODE" until an app restart — the original bug,
   reintroduced by one HTTP blip. A self-only roster admits nobody else, so
   restarting into open mesh relaxes nothing that protected anyone. An
   allowlist admitting other owners is still never relaxed mid-flight.

3. Successful NIP-11 probes are memoized per relay URL. The deployment mode
   does not flap at runtime, and discovery re-probed on every reconcile poll.
   Failures are not cached, so the fallback in (2) re-probes and recovers.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Michael Neale <michael.neale@gmail.com>
Bump every MeshLLM git dependency in buzz-relay and buzz-desktop from v0.76.0-rc6 to the released v0.76.0-rc7 tag at 5d07a20b, and regenerate both lockfiles. The transitive lockfile delta follows rc7's dependency graph; json5 is removed and the Windows/proc-macro families move to the versions rc7 selects.

Review also closes two open-relay gaps: malformed NIP-11 mode evidence now keeps the fail-closed fallback, and persisted-agent bootstrap target resolution uses the relay mode instead of reapplying closed-membership filtering on open relays.

Verification: both package suites compile against rc7. Desktop mesh-focused tests pass (88 passed, 1 ignored). The full desktop suite retains the pre-existing inherited shared-compute assertion failure (mesh vs auto); the relay suite retains the pre-existing mesh demo forwarded-arm HTTP 504 (908 passed, 1 failed, 48 ignored).

Co-authored-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz>
Signed-off-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz>
@micspiral micspiral changed the title feat(mesh): upgrade to mesh-llm 0.76.0-rc6 and recommend Qwen3.8 27B feat(mesh): upgrade to mesh-llm 0.76.0-rc7 and recommend Qwen3.8 27B Aug 25, 2026
Jimmy added 2 commits August 25, 2026 15:04
Signed-off-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz>
Co-authored-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz>
Co-authored-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz>
Signed-off-by: Jimmy <1fe240cd1a8cf775f6f3060f115e5a303181f3abf28ad4cb0c2515f4a02b36a8@meshllm.communities.buzz.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants