Skip to content

fix(llama-cpp): reconcile managed router state before requests - #136363

Merged
vincentkoc merged 15 commits into
mainfrom
fix/llama-managed-router-reconcile
Sep 5, 2026
Merged

vincentkoc merged 15 commits into
mainfrom
fix/llama-managed-router-reconcile

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Managed llama.cpp preset state could be stale when a request bypassed the normal
agent dispatch path. Simple completion, compaction, PDF fallback, and image
description could prepare a provider but lose the prepared local-service
reconciler before completion or streaming. A guarded fetch could then reach a
healthy router before the plugin had applied the current preset.

This was most visible across model or limit transitions, Gateway restart, and
router-origin changes. Reload failure also needed to fail closed rather than
dispatch against stale state.

Canonical Fix

  • The provider runtime owns one prepared handle carrying the exact
    local-service reconciler and provider generation.
  • Normal dispatch preserves that handle.
  • Simple completion and compaction attach it before completion.
  • PDF and image direct paths use the same prepared handle for direct streams.
  • Guarded fetch consumes the attached generic local-service reconciler after
    service health acquisition; it does not resolve plugins on the request path.
  • The llama.cpp plugin remains the sole owner of canonical preset writes and
    serialized router reloads.

The preset lifecycle retains and deterministically orders configured chat
sections, preserves embedding state, prunes sections outside the configured
inventory, writes atomically only when canonical bytes change, and keeps the
desired revision dirty until reload succeeds. Direct-model local services do
not perform router reloads.

There is no stale-state fallback: reconciliation failure or cancellation blocks
the provider request and releases its request lease.

The endpoint matcher preserves all three accepted forms for one configured
service: the original normalized URL, its root, and lowercase /v1. A configured
legacy /V1 URL therefore remains an exact acquisition target while the root and
canonical lowercase alias also work.

Scope And Compatibility

  • No configuration, database, SQLite schema/version, persisted state,
    migration, upgrade, or Gateway protocol change.
  • No Code Mode or Talk changes.
  • Public SDK additions are one optional provider reconciliation hook, one
    context export, and one optional acquisition callback. There are no removals
    or signature changes.
  • pnpm plugin-sdk:surface:check: 152 public entrypoints, 4,436 exports,
    2,620 callable exports, and zero package-exported forbidden subpaths.

Maintainer Decision

Accepted: the optional provider reconciliation hook and fail-closed reload
behavior are intentional compatibility tradeoffs. Serving against stale router
state is worse than surfacing the reload failure. Endpoint compatibility and
direct-model behavior remain covered.

The ClawSweeper embedding-provider data-model classification is a false
positive. extensions/llama-cpp/src/embedding-provider.ts only threads prepared
runtime and reconciliation state. It does not change SQLite schema, serialized
state, vector metadata, migrations, or upgrade semantics.

Exact Candidate

  • Head: 4fc265e91c1403fe6996d54d2a90e9f5b365ca3b
  • Tree: 9d51145036cfa13c260543286b6f2df91e27c2f3
  • 15 signed Vincent Koc commits.
  • 42 files, raw +1762/-541.
  • Reviewed surface: source +620/-413 (net +207), tests/support
    +1128/-127 (net +1001), docs +12, tooling +2/-1 (net +1).

At the final guard, live main was
bd381bffb29df6994e78353be688d8a552e4b4bb. Its only changed-path
intersection with the PR is three files touched by the unrelated Workshop cron
refactor efa4b5dfbb3a87ba973f2fb53ba4f454e345ed4e. The edits are in disjoint
hunks, and git merge-tree --write-tree succeeds without conflicts.

Verification

Exact-Head Hosted CI

Head 4fc265e91c1403fe6996d54d2a90e9f5b365ca3b is fully green:

  • openclaw/ci-gate
  • production and test type checks
  • core lint shards
  • source, architecture, dependency, and prompt guards
  • changed and compact test shards
  • build artifacts and Control UI performance
  • both Windows Node test shards
  • CodeQL, OpenGrep, and dependency security checks

Focused And Testbox Proof

  • Exact-head focused local proof: provider local-service suite 22/22,
    changed-file formatting/lint, and git diff --check.
  • Blacksmith Testbox at signed candidate d67e4265b061e53a5a4a9fc16b069dd418906b2e
    passed production lint, pnpm tsgo, pnpm check:test-types, formatting, and
    the provider local-service suite 22/22. The final test-only commit compacts
    that proof below the line-count lint budget; exact-head hosted CI covers it.
  • Earlier full Blacksmith Testbox validation:
    https://github.com/openclaw/openclaw/actions/runs/33970834644
    covered pnpm check:changed, llama.cpp and provider contracts, SDK surface,
    production/test types, build, PDF, image, compaction, and normal dispatch.

Focused coverage proves ordering, fail-closed behavior, prepared-generation
preservation, request-lease release, same-generation reuse, simple completion,
compaction, normal dispatch, PDF, image, /btw, configured-origin changes,
direct-model behavior, root alias acquisition, and exact configured /V1
acquisition.

Native Windows ARM64

The exact head and tree were exercised on a native Windows ARM64 host with Node
24:

  • Verified pinned llama.cpp release b10534, build 10534, commit
    2b5621094ef383cdcd8428ef6d22efe5df976532, using the Windows CPU ARM64
    archive.
  • Verified a pinned Qwen2.5 0.5B GGUF artifact before serving.
  • Direct llama.cpp completion returned HTTP 200 server-sent events with a
    terminal [DONE].
  • Local-service acquisition passed for both the root alias and the exact
    configured /V1 endpoint.
  • A real source Gateway listed the model, completed chat.send and
    agent.wait with status ok, received HTTP 200 SSE from the provider, wrote
    five chat events, and retained two history messages byte-for-byte across a
    Gateway restart.
  • The source Control UI returned HTTP 200. Its real model picker rendered
    llama.cpp and Ollama rows from an intentional mock catalog, and unique search
    filtered to the llama.cpp row.

The native live Gateway dispatch used the configured generic llama.cpp provider;
managed-plugin lifecycle and reconciliation are covered by the hosted and WSL2
test suites. Ollama was not installed on the host, so no live Ollama inference
claim is made. The pinned Windows ARM64 llama.cpp asset is CPU-only, so this is
not NVIDIA/GPU parity proof.

The native source build connection dropped after producing the unified bundle;
exact-head hosted build-artifacts completed successfully.

WSL2 ARM64

An exact-head task worktree on WSL2 ARM64 with Node 24.15 passed:

  • provider local-service suite: 22/22
  • llama.cpp managed-server suite: 30/30
  • total: 52/52

The Windows model artifact was not available through the WSL mount during this
run, so WSL2 establishes source/runtime parity rather than live model throughput
or GPU parity.

Dependency Contracts

OpenClaw pins llama.cpp release b10534, commit
2b5621094ef383cdcd8428ef6d22efe5df976532.
Direct source inspection confirmed:

The sibling Codex runtime source at
5f49aba876922d6f2f55caa153bbb0ed1b46feba was inspected before verdict and
change, including app-server protocol request shape, thread request processing,
remote compaction, and provider client dispatch.

Review

  • Fresh structured autoreview: scoped-clean, no P0/P1 findings.
  • Independent exact-head audit: clean two-file endpoint follow-up, signed
    commits, no privacy or SDK-surface drift.
  • Exact-head ClawSweeper review:
    fix(llama-cpp): reconcile managed router state before requests #136363 (comment)
    found no actionable code, security, or correctness findings. The two
    maintainer decisions requested there are explicitly accepted and documented
    above.

@vincentkoc vincentkoc self-assigned this Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts agents Agent runtime and tooling extensions: llama-cpp size: L maintainer Maintainer-authored PR labels Sep 2, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 2, 2026
@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 5, 2026, 2:02 PM ET / 18:02 UTC.

ClawSweeper review

What this changes

Reconciles managed llama.cpp router presets before requests and preserves prepared provider state across chat, embeddings, completion, compaction, PDF, and image processing.

Merge readiness

⛔ Blocked before merge - 2 items remain

The previous endpoint blocker is repaired, and current main still lacks the central reconciliation behavior. No remaining blocking correctness finding was established in the inspected paths.

Priority: P2
Reviewed head: 4fc265e91c1403fe6996d54d2a90e9f5b365ca3b

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent owner-boundary repair with the prior blockers addressed and useful lifecycle coverage; the public hook carries a documented compatibility tradeoff.
Proof confidence 🌊 off-meta tidepool Not applicable: The ordinary contributor-proof gate is exempt for this MEMBER-authored internal reliability change. Captured Windows evidence reports real chat, embedding, and reload recovery; later Testbox coverage supports the prepared-handle paths but belongs to an earlier stated head.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The ordinary contributor-proof gate is exempt for this MEMBER-authored internal reliability change. Captured Windows evidence reports real chat, embedding, and reload recovery; later Testbox coverage supports the prepared-handle paths but belongs to an earlier stated head.
Evidence reviewed 13 items Pinned review scope: Reviewed checkout 4fc265e against the supplied merge base. The introduction diff passes whitespace checks, and the checkout remains clean. The supplied stale test merge was not used to infer removal of current-main behavior.
Previous endpoint finding resolved: The variant set now retains the original normalized endpoint alongside root and lowercase /v1 forms. The acquisition regression at src/agents/provider-local-service.test.ts:261 exercises the exact configured /V1 endpoint and host-owned process configuration.
Request ordering and lease ownership: Service acquisition finishes before reconciliation; rejection or cancellation releases the lease. The guarded transport awaits this boundary before network dispatch. Tests cover reconciliation failure, late cancellation, and reuse of a healthy externally running process.
Findings None None.
Security None None.

How this fits together

OpenClaw prepares provider models and leases their local server before sending inference requests. The llama.cpp plugin owns the server’s model presets; the shared transport waits for its reconciliation before dispatch.

flowchart TD
  A[Chat and utility requests] --> B[Prepared provider model]
  B --> C[Local server health and lease]
  C --> D[Plugin preset reconciliation]
  E[Configured models and limits] --> D
  D --> F{Reload successful?}
  F -->|Yes| G[Provider request]
  F -->|No| H[Release lease and report failure]
Loading

Before merge

  • Resolve merge risk (P1) - The optional hook becomes a public SDK contract, and existing managed requests can now stop on reload failure instead of proceeding against stale presets; this is an intentional compatibility tradeoff documented in the PR.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +207, Tests +1001, Docs +12, Other +1. Total +1221 across 42 files.

View PR surface stats
Area Files Added Removed Net
Source 22 620 413 +207
Tests 17 1128 127 +1001
Docs 2 12 0 +12
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 1 +1
Total 42 1762 541 +1221

Review metrics

Metric Value Why it matters
Production versus test growth Production net +207; tests/support net +1001; tooling net +1; docs +12 Moves net out; production growth adds the post-health lifecycle boundary and propagates prepared handles while deleting stale success caches.
Public contract additions 1 optional provider hook, 1 context export, 1 optional acquisition callback; 0 new config options The SDK additions define a reusable request lifecycle contract without introducing operator settings.

Stored data model

Persistent data-model change detected: serialized state: extensions/llama-cpp/src/embedding-provider.ts, unknown-data-model-change: extensions/llama-cpp/src/embedding-provider.ts, vector/embedding metadata: extensions/llama-cpp/src/embedding-provider.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Retain the documented reconciliation contract (recommended)
    Accept the optional hook and intentional request failure on unsuccessful reload, preserving endpoint compatibility and direct-model behavior.

Technical review

Best possible solution:

Keep reconciliation at the plugin-owned post-health boundary; the added lifecycle code supplies ordering that existing pre-stream wrappers cannot guarantee while removing stale preparation caches.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: current main caches successful preparation and can reuse a healthy router without applying subsequent preset transitions. No failing runtime scenario was executed during this read-only review.

Is this the best way to solve the issue?

Yes, the owner boundary is appropriate: the plugin controls preset state while core supplies post-health request ordering; a preparation-only wrapper cannot cover healthy-router reuse.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 925fb0c3353c.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary contributor-proof gate is exempt for this MEMBER-authored internal reliability change. Captured Windows evidence reports real chat, embedding, and reload recovery; later Testbox coverage supports the prepared-handle paths but belongs to an earlier stated head.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This repairs bounded managed-local-provider state and dispatch behavior without evidence of an emergency regression.
  • merge-risk: 🚨 compatibility: The PR adds an optional public provider contract and intentionally blocks requests when managed-router reconciliation fails.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The ordinary contributor-proof gate is exempt for this MEMBER-authored internal reliability change. Captured Windows evidence reports real chat, embedding, and reload recovery; later Testbox coverage supports the prepared-handle paths but belongs to an earlier stated head.

Evidence

What I checked:

  • Pinned review scope: Reviewed checkout 4fc265e against the supplied merge base. The introduction diff passes whitespace checks, and the checkout remains clean. The supplied stale test merge was not used to infer removal of current-main behavior. (4fc265e91c14)
  • Previous endpoint finding resolved: The variant set now retains the original normalized endpoint alongside root and lowercase /v1 forms. The acquisition regression at src/agents/provider-local-service.test.ts:261 exercises the exact configured /V1 endpoint and host-owned process configuration. (src/agents/provider-local-service-target.ts:66, 4fc265e91c14)
  • Request ordering and lease ownership: Service acquisition finishes before reconciliation; rejection or cancellation releases the lease. The guarded transport awaits this boundary before network dispatch. Tests cover reconciliation failure, late cancellation, and reuse of a healthy externally running process. (src/agents/provider-local-service.ts:126, 4fc265e91c14)
  • Prepared runtime and sibling dispatch: Stream registration reads the original model’s registry before copying it and attaches the prepared provider handle to dispatch. Simple completion, direct compaction, PDF fallback, image processing, and side questions carry this boundary; generation tests cover ambient provider replacement and repeated completion. (src/agents/provider-stream.ts:39, 4fc265e91c14)
  • Preset owner and warm artifact behavior: The plugin serializes preset writes and reloads, records applied revisions only after success, preserves configured chat inventory and embeddings, and skips router reloads for direct-model services. The warm custom-artifact regression is complete; the existing sha256File identity cache avoids repeatedly hashing unchanged GGUF files. (extensions/llama-cpp/src/managed-server.ts:454, 4fc265e91c14)
  • Current-main necessity: Fetched main retains success-cached chat preparation and the older single-chat-section preset writer without the proposed post-health reconciliation. The central repair therefore remains distinct work. (extensions/llama-cpp/src/managed-server.ts, 925fb0c3353c)

Likely related people:

  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (16 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-04T10:24:51.386Z sha c84d1ee :: blocked before merge. :: none
  • reviewed 2026-09-04T10:43:38.287Z sha d5ba33f :: blocked before merge. :: none
  • reviewed 2026-09-04T11:57:19.311Z sha 7bba4b8 :: blocked before merge. :: none
  • reviewed 2026-09-04T15:55:43.779Z sha 3cebc8f :: blocked before merge. :: [P1] Carry the reconciler across all prepared model paths
  • reviewed 2026-09-05T14:43:02.965Z sha cdc44fe :: blocked before merge. :: [P2] Preserve resolved custom models across preset reconciliations
  • reviewed 2026-09-05T15:56:05.683Z sha 9f975e032437e68d2f5ed52da71f36406dd68f27 :: blocked before merge. :: [P2] Resolve the registry from the original runtime-bound model
  • reviewed 2026-09-05T16:08:26.076Z sha c91b706 :: blocked before merge. :: [P1] Preserve the exact configured endpoint when building variants | [P2] Complete the custom-model regression fixture
  • reviewed 2026-09-05T17:00:09.981Z sha c6ff594 :: blocked before merge. :: [P1] Preserve the exact configured endpoint when building variants

@vincentkoc
vincentkoc force-pushed the fix/llama-managed-router-reconcile branch from 9ca1fbe to caac0bd Compare September 2, 2026 19:09
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 2, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 2, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 2, 2026
@vincentkoc
vincentkoc force-pushed the fix/llama-managed-router-reconcile branch from c0780f9 to 0020bbd Compare September 2, 2026 21:39
@vincentkoc
vincentkoc force-pushed the fix/llama-managed-router-reconcile branch from a8bf019 to c91b706 Compare September 5, 2026 15:59
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. label Sep 5, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 5, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer disposition for the exact reviewed head
4fc265e91c1403fe6996d54d2a90e9f5b365ca3b:

  1. Accepted: the optional public provider reconciliation hook and fail-closed
    reload behavior are intentional compatibility tradeoffs. A managed request
    must surface reload failure rather than continue against stale router state.
    Exact configured endpoint compatibility, root/lowercase aliases, and
    direct-model behavior remain covered.
  2. The embedding-provider data-model classification is a false positive.
    extensions/llama-cpp/src/embedding-provider.ts threads prepared runtime and
    reconciliation state only. It changes no SQLite schema, serialized state,
    vector metadata, migration, or upgrade semantics.

The PR body now records both decisions plus exact-head native Windows ARM64,
WSL2 ARM64, hosted CI, Testbox, SDK-surface, and residual limitation evidence.
The reviewed head is unchanged, so no duplicate ClawSweeper re-review is
requested.

@vincentkoc
vincentkoc merged commit 717f824 into main Sep 5, 2026
187 checks passed
@vincentkoc
vincentkoc deleted the fix/llama-managed-router-reconcile branch September 5, 2026 18:14
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 5, 2026
* commit '911d7d5b0c107f7274f2415ca9655dcc6105f0e8': (867 commits)
  fix(skills): deliver pending Workshop approval controls (#139248)
  fix(gateway): deliver loopback ask_user prompts to the originating channel (#138831)
  docs: keep root agent instructions focused on repository policy (#139258)
  fix(matrix): exclude archived state roots from scans and selection (#112329)
  perf(agents): prepare exact tool names once per catalog batch (#139267)
  fix: preserve Swarm progress and simplify owner plumbing (#139269)
  fix(tailscale): release claims after gateway process-group exit (#139261)
  refactor(cli): simplify lazy command registration (#139108)
  test(ui): retain synthetic widget failure evidence (#139229)
  fix(buzz): keep implicit replies at thread root (#138879)
  test(diagnostics): await graceful Gateway shutdown before cleanup (#139247)
  fix(ci): unblock releases with different tooling package managers (#139259)
  feat(ui): add social preview links for private sessions (#139250)
  fix(codex): retain failed conversations for guarded continuation (#139246)
  chore(ui): refresh control ui locales (#139200)
  fix(ci): run browser checks for real-gateway inputs (#139256)
  fix(llama-cpp): reconcile managed router state before requests (#136363)
  chore(i18n): refresh native locales (#139237)
  refactor(worker): unify inference payload handling (#139245)
  refactor(terminal): replay wrapped prefixes in one pass (#139240)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 6, 2026
…law#136363)

* fix(llama-cpp): reconcile managed router state before requests

* fix(llama-cpp): type managed stream wrapper

* fix(llama-cpp): restore reconciliation type coverage

* fix(ci): repair provider topology and stream typing

* fix(ci): document reconciler type assertions

* test(plugins): keep reconciler coverage within lint budget

* fix(llama-cpp): attach managed reconciliation to completion paths

* fix(pdf): preserve prepared provider stream

* fix(runtime): preserve prepared media provider generation

* test(agents): avoid lifecycle fixture shadowing

* fix(llama-cpp): retain resolved artifacts across requests

* fix(agents): preserve provider runtime registry

* test(llama-cpp): complete warm-cache model fixture

* fix(agents): preserve exact configured local-service endpoint

* test(agents): keep local-service acquisition proof lintable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation extensions: llama-cpp maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants