Repository navigation
feat(decisions): preserve native catalog capabilities and accounting - #157492
Conversation
Keep task, protocol, modalities, reasoning, grounding, probability semantics, abstention and route billing distinct without changing chat Model types. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Preserve V1 while moving typed decision execution, both bundled engines, catalog projection and physical credential ownership onto the shared runtime. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]>
Keep existing request/auth owners, first-class V1/V2 SDK contracts and actual provider USD precedence. Capture only legitimate effective-route prices; preserve missing usage and the established diagnostic scope. Co-authored-by: vincentkoc <[email protected]> Co-authored-by: steipete <[email protected]>
Preserve v1/v2 chat projections and standalone pricing while adding explicit v3 publication and consumption. Carry the reviewed upstream v2 publisher/wire/pricing prerequisites without rebasing the published stack or changing state-store lifecycle. Preserve source-qualified zeros and qualified tariffs. Co-authored-by: vincentkoc <[email protected]> Co-authored-by: steipete <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. What this changesThe branch preserves prepared headers and route-based accounting for native decisions and adds a v3 catalog feed that carries their task capabilities. Example: A plugin runs a native decision reporting 100 input tokens.
Review scores
ProductKind: Feature · Worth it: Needs a maintainer decision Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 4 items remain This PR retains useful work absent from current main. The previously reported catalog-cache compatibility defect remains unresolved on the unchanged head. Priority: P2 Decision needed
Before merge
Findings
Provenance
Tests
Agent review detailsHow this fits togetherPlugins use the Decision SDK to request typed answers through OpenClaw’s model selection and credential owners. The hosted catalog supplies model capabilities and prices, which the Gateway stores and prepares for execution. flowchart LR
A[Plugin model declarations] --> B[Catalog publisher]
C[Provider pricing feeds] --> B
B --> D{Wire version}
D --> E[Legacy chat catalogs]
D --> F[Typed v3 catalog]
F --> G[Gateway catalog storage]
G --> H[Prepared decision execution and usage]
Technical reviewBest possible solution: Keep native execution on the existing preparation and usage owners, and introduce any accepted v3 feed through version-isolated catalog storage that preserves older cached catalogs. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the cache failure: select v3, refresh the shared slot, then return to an older reader or roll back the URL while offline. This review did not execute that transition. Is this the best way to solve the issue? Partly: reusing prepared request and usage owners is appropriate, but v3 consumption must preserve version-specific cached state rather than reuse an older reader’s slot. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ae64a98a4eb1. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +561, Tests +1950, Docs +77, Other +619. Total +3207 across 31 files. Added test files: 4. View PR surface stats
Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed October 8, 2026, 11:12 PM ET / October 9, 2026, 03:12 UTC (Revision 3). |
Apply only the +14 exports / +6 callables for the existing decisions data contract. Peter Steinberger explicitly approved the complete +18/+6 stack allowance on 2026-09-26; the remaining four execution types belong to the dependent PR. No additional API or guard exception. Co-authored-by: steipete <[email protected]>
Merge the updated data-layer prerequisite without rewriting its history, then allocate only the four approved execution/context types. Total allowance is exactly +18 exports / +6 callables, approved by Peter Steinberger on 2026-09-26. All implementation and generated SDK bytes remain unchanged. Co-authored-by: steipete <[email protected]>
Carry the budget approval from the existing data and execution layers without new surface growth or rewritten public history. Catalog, header/accounting and all other source bytes are unchanged. Co-authored-by: steipete <[email protected]>
* commit 'a4c73619a5c': (29 commits) test: align model and Discord fixtures with runtime owners perf(sessions): reuse startup deletion discovery (#174408) fix(gateway): attribute ephemeral connections in normal logs (#174406) test(telegram): consolidate duplicate coverage (batch d117) (#173112) perf(doctor): avoid redundant backup and transcript reads (#174416) fix(update): avoid redundant reads for closed SQLite generations (#174426) fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856) fix(decisions): skip prefilter for empty tool surfaces (#174269) perf(sqlite): retain unchanged database proofs across schema updates (#174409) refactor(test): remove duplicate export collision checks (#174391) fix: clear unused MCP and identity helper exports (#174421) fix(test): supply SQLite reliability fixture catalog refactor(mattermost): use the guarded transport directly (#174419) refactor(agents): trust prepared provider facts (#174388) fix(control-ui): open submenus immediately on click (#174292) test(anthropic): synchronize the late-send fixture with initialization refactor(ui): scope Plugins page state to Solid owners (#174281) perf(chat): pace board history refreshes and reuse cursors (#174407) perf(sqlite): bound session receipt scope publication (#174395) refactor(openrouter): share key budget test fixtures (#174340) ...
…ision-accounting-native * commit '2e8bfec53fc1cf06c9e438f42b027a82e04ace9a': (29 commits) test: align model and Discord fixtures with runtime owners perf(sessions): reuse startup deletion discovery (#174408) fix(gateway): attribute ephemeral connections in normal logs (#174406) test(telegram): consolidate duplicate coverage (batch d117) (#173112) perf(doctor): avoid redundant backup and transcript reads (#174416) fix(update): avoid redundant reads for closed SQLite generations (#174426) fix(ui): Activity page tabs collapse to a few pixels on desktop (#173856) fix(decisions): skip prefilter for empty tool surfaces (#174269) perf(sqlite): retain unchanged database proofs across schema updates (#174409) refactor(test): remove duplicate export collision checks (#174391) fix: clear unused MCP and identity helper exports (#174421) fix(test): supply SQLite reliability fixture catalog refactor(mattermost): use the guarded transport directly (#174419) refactor(agents): trust prepared provider facts (#174388) fix(control-ui): open submenus immediately on click (#174292) test(anthropic): synchronize the late-send fixture with initialization refactor(ui): scope Plugins page state to Solid owners (#174281) perf(chat): pace board history refreshes and reuse cursors (#174407) perf(sqlite): bound session receipt scope publication (#174395) refactor(openrouter): share key budget test fixtures (#174340) ...
Security-sensitive guard clearedCurrent revision: This PR no longer changes files in the maintainer security-review tier. Separate CODEOWNERS requirements still apply to security policy and enforcement files. |
…158510 * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402)
…esafe-decision-native * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402) # Conflicts: # src/agents/decision-inference.integration.test.ts
…/decision-tool-v2-proof-20261016 * commit 'cff3c307ba6d0ce273abcdaf5cade848d9746d30': feat(decisions): preserve native catalog capabilities and accounting (#157492) fix(ui): avoid reactive read warnings in picker scrolling (#174436) refactor(test): remove unused Nextcloud fixture signing (#174470) refactor(browser): share managed tab eviction fixtures (#174474) fix(update): preserve Windows inspection path identities (#174471) perf: reduce large-session compaction and indexing allocations (#174433) perf(codex): reduce allocations while reading app-server output (#174468) fix(gateway): skip startup publication checks without a target (#174453) refactor: deslop agent harnesses, channel plugins and packages (wave-6 bundle A) (#173531) perf(state): reduce shared SQLite worker heap retention (#174420) refactor: remove routine channel callsite diagnostics (#174402) # Conflicts: # docs/plugins/sdk-overview/capabilities.md
|
Merged via squash auto-merge.
|
…penclaw#157492) * feat: describe decision capabilities in model catalogs Keep task, protocol, modalities, reasoning, grounding, probability semantics, abstention and route billing distinct without changing chat Model types. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix: apply shared plugin model policy to decisions Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> * feat: support plugin-owned model credentials Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> * feat(decisions): preserve richer answers with versioned data codecs Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> * feat(decisions): run typed tasks with prepared model credentials Preserve V1 while moving typed decision execution, both bundled engines, catalog projection and physical credential ownership onto the shared runtime. Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> * fix(decisions): preserve native headers and route-aware accounting Keep existing request/auth owners, first-class V1/V2 SDK contracts and actual provider USD precedence. Capture only legitimate effective-route prices; preserve missing usage and the established diagnostic scope. Co-authored-by: vincentkoc <[email protected]> Co-authored-by: steipete <[email protected]> * feat(catalog): publish typed decisions on a versioned feed Preserve v1/v2 chat projections and standalone pricing while adding explicit v3 publication and consumption. Carry the reviewed upstream v2 publisher/wire/pricing prerequisites without rebasing the published stack or changing state-store lifecycle. Preserve source-qualified zeros and qualified tariffs. Co-authored-by: vincentkoc <[email protected]> Co-authored-by: steipete <[email protected]> * chore(sdk): record approved Decision V2 data allowance Apply only the +14 exports / +6 callables for the existing decisions data contract. Peter Steinberger explicitly approved the complete +18/+6 stack allowance on 2026-09-26; the remaining four execution types belong to the dependent PR. No additional API or guard exception. Co-authored-by: steipete <[email protected]> * fix(models): include inference metadata in extracted tooling * fix(decisions): preserve explicit owner-agent selection * fix(decisions): resolve V2 credentials for the operation agent * test(decisions): align accounting fixtures with captured rates Declare free output in estimable native fixtures, keep decimal precision assertions numeric, and mark the injected catalog fetch for the existing hermetic transport guard. Keep the publisher validator bound to its validated bundle type. * fix(decisions): preserve prepared route and auth facts * test(model-catalog): verify retained caches with released readers * test(decisions): handle optional normalized catalog providers * chore(decisions): satisfy scoped runtime lint * fix(model-catalog): keep manifest auth ownership out of published feeds * fix(decisions): authorize model identity independently of auth profile * fix(auth): retain plugin credential authority through dispatch * fix(decisions): retain credential authority through prepared dispatch * refactor(decisions): assert resolved credential authority directly * test(auth): preserve health probe exports in lifecycle fixture * fix(decisions): distinguish plain record validation * fix(decisions): repair v2 CI integration * fix(decisions): align accounting ratchet evidence --------- Co-authored-by: steipete <[email protected]> Co-authored-by: vincentkoc <[email protected]> Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: roboclaw-bot <[email protected]>
## What Problem This Solves Catalog data reaches every released install within hours, with no release. Agents treat manifest rows as inert metadata, so per-model facts keep landing as exact-ID code (35 of 37 model launches since July needed code), and data edits can change released behavior without anyone checking. ## User Impact There is no runtime change. Agents that work on models now follow 4 more rules in `src/plugins/AGENTS.md` "Model Listing": - **New model in a known family:** add a manifest row with its thinking data and `input`, not new ID-list entries. - **An exact-ID rule is allowed only** for a fact the catalog cannot express yet, with a comment citing its live probe or vendor source. - **Catalog data is live behavior.** Before changing `thinkingLevelMap`, `compat` or `input` on a shipped row, compare the offered levels and request bodies on the stable, extended-stable and beta readers. Report the result in the PR, and change only what a dated live probe supports. - **Hosted rows parse strictly.** On 2026.10.8 and earlier, one unknown row field rejects the whole refresh; current `main` skips only that row. New facts go inside `compat` or `thinkingLevelMap`. Any other field needs a schema decision first. ## Why This Change Was Made - **Measured on `main`:** 364 exact-ID model matchers exist in code. - **Moonshot's manifest disagrees with its code** for K3: the manifest lists `low`/`high`/`max`, but the code forces `max`. Publishing that row unchanged would change what released installs send. - **Strict readers drop rows with unknown fields.** That is what forced catalog v3 (#157492). **Decision (models and catalog maintainer):** catalog data safety is enforced through `AGENTS.md` guidance and PR evidence, not a hard CI block on publishing. ## Evidence - `pnpm check:agents-md-size`: all files are within 20000 chars. - `oxfmt --check` and `git diff --check` pass. - I checked the claims on `main`: - Strict rows: v2026.9.35 and v2026.10.8 validate `z.array(modelV2Schema)` as a whole, and `main` skips invalid rows (`packages/model-catalog-core/src/remote-catalog-bundle.ts`). - v2026.9.35 reads `thinkingLevelMap` in `src/auto-reply/thinking.ts`. - The 4-hour publish cron is in `openclaw/catalog` `.github/workflows/publish.yml`. Co-authored-by: Ayaan Zaidi <[email protected]>
## What Problem This Solves The model catalog has a v3 wire format (#157492) that nothing uses: - The hosted publisher never writes it. `openclaw/catalog`'s publish workflow passes only `--out` and `--out-v2`, so `catalog.openclaw.ai/models/v3/catalog.json` returns 404. - No release reads it by default. The default feed is v2. Still, every catalog change has to keep a third schema, parser, publisher path and set of tests valid, and the extra format confuses anyone reading the catalog code. ## User Impact There is no change for hosted-catalog users: published v1/v2 bundles are byte-identical. A self-hosted mirror that serves v3 is now rejected like any unsupported format. The refresh fails with an error, and the previous catalog stays active. ## Why This Change Was Made - **Removed:** - The v3 schemas, types, parser and sanitizer (`remote-catalog-bundle.ts`). - The client's `schemaVersion === 3` branch (`remote-bundle.ts`). - The publisher's `--out-v3` path. `assembleVersionedModelCatalogBundle` collapses into `assembleModelCatalogBundleV2`. - The v3 mirror docs and the v3-only tests. - **Kept:** - The `inference` capability data in plugin manifests and bundled rows, which ONNX, Levanto, Liquid AI, ClawRouter, Baseten and the OpenAI policy read. - The SQLite slot key `modelCatalog.remote.v3`. It is persisted state, and renaming it would discard every install's cached catalog; only its comment changes. **Decision (models and catalog maintainer, approved by @vincentkoc, the v3 author):** remove v3 rather than publish a third hosted feed for one optional field. Additive fields will be handled by reader tolerance, not by new wire versions. Net −248 lines (9 files, +44/−292). **Known edge, unchanged behavior:** an install that points at a custom v3 mirror and still has a v3 row cached gets a parse error from `readRemoteModelCatalogUpdate` and the recommendation read until it points at a v1/v2 feed. That is the existing intended contract for any unreadable stored download (see "keeps the accepted pair after invalid JSON"). Startup already treats it as absent. ## Evidence - **Upgrade from latest stable (2026.10.8), sandboxed with the network blocked:** - The stable `openclaw models refresh` cached the hosted v2 catalog. It wrote the row `modelCatalog.remote.v2` (`schemaVersion` 2), and `config set agents.defaults.model.primary` was also set. - This PR's build, reading the same state, still lists 2 marker models that exist only in the hosted catalog. The same build with no cache lists neither. - The config value is intact, and the stored row is unchanged (no re-download). - The legacy v1 slot, emulated by re-keying a v1 row, still loads too. - A mirror serving `schemaVersion: 3` fails the refresh with exit 1, and the previous catalog stays active. A stored v3 row at startup is treated as absent: the Gateway starts cleanly with bundled rows. - Byte-identical publisher output. I ran the publisher offline before and after the change (real repo manifests with empty source lists, plus the decisions fixture). `cmp` matches for v1 (167,405 B), v2 (174,027 B), both fixture outputs and the list of fetched URLs. - Focused tests pass: - `model-catalog-normalize`: 55 tests, including new rejection of `schemaVersion: 3`. - `remote-refresh` and `remote-overlay`: 19 tests, including a new "unsupported schemaVersion" case. - `publish-model-catalog-decisions` and `-typesafe`. - `oxfmt --check` and `oxlint --type-aware` are clean on the changed files. - `git grep -E 'BundleV3|bundleV3|outV3|out-v3|modelV3|ModelV3'` finds nothing. Co-authored-by: Ayaan Zaidi <[email protected]>
## What Problem This Solves Catalog data reaches every released install within hours, with no release. Agents treat manifest rows as inert metadata, so per-model facts keep landing as exact-ID code (35 of 37 model launches since July needed code), and data edits can change released behavior without anyone checking. ## User Impact There is no runtime change. Agents that work on models now follow 4 more rules in `src/plugins/AGENTS.md` "Model Listing": - **New model in a known family:** add a manifest row with its thinking data and `input`, not new ID-list entries. - **An exact-ID rule is allowed only** for a fact the catalog cannot express yet, with a comment citing its live probe or vendor source. - **Catalog data is live behavior.** Before changing `thinkingLevelMap`, `compat` or `input` on a shipped row, compare the offered levels and request bodies on the stable, extended-stable and beta readers. Report the result in the PR, and change only what a dated live probe supports. - **Hosted rows parse strictly.** On 2026.10.8 and earlier, one unknown row field rejects the whole refresh; current `main` skips only that row. New facts go inside `compat` or `thinkingLevelMap`. Any other field needs a schema decision first. ## Why This Change Was Made - **Measured on `main`:** 364 exact-ID model matchers exist in code. - **Moonshot's manifest disagrees with its code** for K3: the manifest lists `low`/`high`/`max`, but the code forces `max`. Publishing that row unchanged would change what released installs send. - **Strict readers drop rows with unknown fields.** That is what forced catalog v3 (openclaw#157492). **Decision (models and catalog maintainer):** catalog data safety is enforced through `AGENTS.md` guidance and PR evidence, not a hard CI block on publishing. ## Evidence - `pnpm check:agents-md-size`: all files are within 20000 chars. - `oxfmt --check` and `git diff --check` pass. - I checked the claims on `main`: - Strict rows: v2026.9.35 and v2026.10.8 validate `z.array(modelV2Schema)` as a whole, and `main` skips invalid rows (`packages/model-catalog-core/src/remote-catalog-bundle.ts`). - v2026.9.35 reads `thinkingLevelMap` in `src/auto-reply/thinking.ts`. - The 4-hour publish cron is in `openclaw/catalog` `.github/workflows/publish.yml`. Co-authored-by: Ayaan Zaidi <[email protected]>
…7481) ## What Problem This Solves The model catalog has a v3 wire format (openclaw#157492) that nothing uses: - The hosted publisher never writes it. `openclaw/catalog`'s publish workflow passes only `--out` and `--out-v2`, so `catalog.openclaw.ai/models/v3/catalog.json` returns 404. - No release reads it by default. The default feed is v2. Still, every catalog change has to keep a third schema, parser, publisher path and set of tests valid, and the extra format confuses anyone reading the catalog code. ## User Impact There is no change for hosted-catalog users: published v1/v2 bundles are byte-identical. A self-hosted mirror that serves v3 is now rejected like any unsupported format. The refresh fails with an error, and the previous catalog stays active. ## Why This Change Was Made - **Removed:** - The v3 schemas, types, parser and sanitizer (`remote-catalog-bundle.ts`). - The client's `schemaVersion === 3` branch (`remote-bundle.ts`). - The publisher's `--out-v3` path. `assembleVersionedModelCatalogBundle` collapses into `assembleModelCatalogBundleV2`. - The v3 mirror docs and the v3-only tests. - **Kept:** - The `inference` capability data in plugin manifests and bundled rows, which ONNX, Levanto, Liquid AI, ClawRouter, Baseten and the OpenAI policy read. - The SQLite slot key `modelCatalog.remote.v3`. It is persisted state, and renaming it would discard every install's cached catalog; only its comment changes. **Decision (models and catalog maintainer, approved by @vincentkoc, the v3 author):** remove v3 rather than publish a third hosted feed for one optional field. Additive fields will be handled by reader tolerance, not by new wire versions. Net −248 lines (9 files, +44/−292). **Known edge, unchanged behavior:** an install that points at a custom v3 mirror and still has a v3 row cached gets a parse error from `readRemoteModelCatalogUpdate` and the recommendation read until it points at a v1/v2 feed. That is the existing intended contract for any unreadable stored download (see "keeps the accepted pair after invalid JSON"). Startup already treats it as absent. ## Evidence - **Upgrade from latest stable (2026.10.8), sandboxed with the network blocked:** - The stable `openclaw models refresh` cached the hosted v2 catalog. It wrote the row `modelCatalog.remote.v2` (`schemaVersion` 2), and `config set agents.defaults.model.primary` was also set. - This PR's build, reading the same state, still lists 2 marker models that exist only in the hosted catalog. The same build with no cache lists neither. - The config value is intact, and the stored row is unchanged (no re-download). - The legacy v1 slot, emulated by re-keying a v1 row, still loads too. - A mirror serving `schemaVersion: 3` fails the refresh with exit 1, and the previous catalog stays active. A stored v3 row at startup is treated as absent: the Gateway starts cleanly with bundled rows. - Byte-identical publisher output. I ran the publisher offline before and after the change (real repo manifests with empty source lists, plus the decisions fixture). `cmp` matches for v1 (167,405 B), v2 (174,027 B), both fixture outputs and the list of fetched URLs. - Focused tests pass: - `model-catalog-normalize`: 55 tests, including new rejection of `schemaVersion: 3`. - `remote-refresh` and `remote-overlay`: 19 tests, including a new "unsupported schemaVersion" case. - `publish-model-catalog-decisions` and `-typesafe`. - `oxfmt --check` and `oxlint --type-aware` are clean on the changed files. - `git grep -E 'BundleV3|bundleV3|outV3|out-v3|modelV3|ModelV3'` finds nothing. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Decision models need discoverable capability and billing metadata, and completed decision calls need to appear in inference usage accounting.
User Impact
The V3 catalog carries decision capabilities and billing facts without replacing the V1/V2 feeds or their cached entries. Accepted decision usage is attributed to the selected provider/model and consuming plugin. An explicit zero-dollar charge stays zero; unknown route costs stay unknown.
The prepared-runtime stack and its shared credential-authority repair are integrated. This PR does not change default models.
Why This Change Was Made
The catalog publisher removes manifest-only auth ownership before validating the wire format. V3 has its own cache entry. Usage is recorded after the runtime accepts the result, with auth-profile suffixes removed from model accounting identity.
Stack base: #157225. Shared auth repair: #156799. Original PR ancestry is preserved.
Evidence
c99bc43bffb351d0e37d72b2f4aa89f7d4fd116bincorporates the final prepared-runtime parent. Twenty of the 21 feature paths remain byte-identical; the catalog schema combines the parent's parameter-count field with V3 inference metadata. All 11 catalog tests pass.26cbd409b9753a9318a6dc09f97b2f0b4b776a09integrates qualified Runtime2e8bfec53fc1cf06c9e438f42b027a82e04ace9aand repairs the two Accounting CI diagnostics: an obsolete assertion allowance and a missing test-mock isolation marker. Both failed ratchets and all seven usage tests pass; typed lint, formatting and hooks pass. The automatic Runtime forward preserves the accounting feature patch and both fixes.b227d1121da598b1036817e0e8106319d63e94bc, including SDK declarations/exports, runtime postbuild, CLI and Control UI checks. The prerequisites are now landed; final current-head CI is recorded below.The parent forward includes the main duplicate-check coverage fix and CI fixture repair at a4c7361. Feature patch identity was verified across the forward; existing proof limits remain in effect.
Prior CI https://github.com/openclaw/openclaw/actions/runs/38932937355 also timed out before first agent acceptance in the Discord transcript-capture E2E. The same head passed a focused reproduction on Bun (50.2s) and Node (75.3s), with its 120s limit unchanged; the required E2E runtime build passed at
14e993fff3ecb84eb1d7c9724c4ceda235d797e4. CI setup had consumed 103.8s before the request. Cold setup is a hypothesis, not a proven root cause or inherited-failure exemption; that earlier timeout remains unexplained, while subsequent current-head CI passed.Signed head
236ceb85e92ac8cb5bdc58a4a70bd79cbebd1094integrates landed Runtime 3dd7f57 and now targets main. The complete Accounting feature patch remains byte-identical; the three squash-parent conflicts preserve Accounting additions, and all intervening main paths are retained. Prior exact-head CI at26cbd409b9753a9318a6dc09f97b2f0b4b776a09passed: https://github.com/openclaw/openclaw/actions/runs/38936834648. Main updated dependency inputs during this bridge. Final current-head CI passed with 59 successful and 26 skipped jobs: https://github.com/openclaw/openclaw/actions/runs/38939407496. This hosted run qualifies the final dependency inputs; the old local install was not used as current dependency proof.Landed by native squash as cff3c30. The merge receipt and native checkout cleanup are complete.