Repository navigation
fix(models): refresh native pricing without pinning defaults - #133695
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Pre-merge finding: preserve prepared prices in no-plugin usage lookupConfirmed on head I reproduced this through the actual sourceCost = { input: 1, output: 2 };
runtimeCost = { input: 1, output: 2, cacheRead: 0, cacheWrite: 0 };
setRuntimeConfigSnapshot(runtimeConfig, sourceConfig);
usage = { input: 1000, output: 1000, cacheRead: 0, cacheWrite: 0 };With no agent-local Please repair the resolver owner before merging: in the no-plugin path, use the already-materialized config schedule as the lower-priority input, overlay projected authored rates with Add paired source/runtime regression cases for partial, omitted, empty, and empty-tier costs, including nonzero inherited rates and the real footer/status boundary. This is a new rendering regression, separate from the intentionally documented historical repricing and serialized-price-pin limitations. The broader source ownership and complete-schedule refactor remains the right repair. Resolution — published repairRepaired in a419204e942. The no-plugin resolver now merges already-prepared prices beneath projected authored cost before final normalization, preserving no-source absence, agent-local precedence, explicit zero/flat/tier intent, and the no-plugin/no-network boundary. The original red reproduction above now returns The final 411-test owner/sibling run includes nonzero inherited cache rates, omitted/empty/zero/tiered schedules and actual footer/status presentation. All three isolated network-denied probes were rerun after |
1655682 to
e1f4101
Compare
|
Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 2:43 AM ET / 06:43 UTC. ClawSweeper reviewWhat this changesThe PR adds native Venice and OpenCode pricing-source handling so catalog publication and runtime resolution preserve provider tier schedules. Merge readinessThe branch is not on current main and its source-level owner boundaries and focused coverage look coherent; leave it open for the maintainer-owned compatibility decision on catalog-fed pricing. Priority: P2 Review scores
Verification
How this fits togetherProvider manifests feed OpenClaw’s model catalog, which runtime model resolution uses to calculate and report usage cost. The changed parsers and shared pricing policy prepare provider pricing before it reaches onboarding and configured model selection. flowchart LR
A[Provider price endpoint] --> B[Provider price parser]
B --> C[Plugin pricing policy]
C --> D[Catalog publisher]
D --> E[Runtime model resolution]
E --> F[Usage cost reporting]
Decision needed
Why: Whether refreshed provider prices should coexist with pre-existing operator pricing is an intentional upgrade contract, not a source-proven implementation defect. Before merge
Agent review detailsSecurityNone. PR surfaceSource +88, Tests +1891, Docs +80, Config +8, Other -118. Total +1949 across 48 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Land only with the explicit-cost override and non-migrating merge-mode onboarding behavior deliberately accepted as the catalog compatibility contract. Do we have a high-confidence way to reproduce the issue? Yes, at source level: focused tests specify the parser, tier boundary, catalog and onboarding paths, although this read-only review did not execute them. Is this the best way to solve the issue? Yes, conditionally: provider-owned parsers plus the shared pricing policy are the correct ownership split, once maintainers accept the explicit-cost compatibility behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 01eb7d52384a. LabelsLabel changes:
Label justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (2 earlier review cycles)
|
Additional pre-merge finding: OpenRouter override semanticsFresh review found an OpenRouter contract mismatch in the shared parser. I verified the official pricing contract and independently reproduced four failures against the current candidate:
A fresh unauthenticated models request returned 396 models and 67 overrides, including 53 static prompt overrides; 33 prompt overrides omit at least one cache-price field. This is not an invoice or paid-inference test. The metadata capture SHA-256 is The repair belongs in Landing remains held while this owner repair and boundary regression proof are completed. The two earlier no-plugin/native-zero findings have local passing repairs, and will be published together after the next clean review. Resolution — published repairRepaired in a419204e942. The shared OpenRouter compiler now inherits omitted same-source fields, activates at unique Before the repair, 19 normalizer cases and one case each in plugin discovery, embedded capabilities and publication failed. Final owner/sibling proof passed 411 tests across 23 files, complete changed gates and |
Merge prepared costs beneath authored display prices, retain validated native free schedules under exact owner policy, and compile OpenRouter overrides with strict thresholds and source-order inheritance for each price key. Preserve zero, partial, flat and tiered user pricing without new settings or storage. Follow-up repairs for #133695.
|
@clawsweeper re-review Published repair head: |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Native-pricing boundary decisionThe remaining P2's private-helper premise does not apply to this entrypoint. The selected boundary is the existing narrow public artifact contract, not a temporary import of plugin internals:
The shared registry describes a closed set of upstream pricing feeds and their source-authority contract. It does not select runtime provider defaults or own Venice payload interpretation. The plugin manifest still owns source opt-in/mapping; manifest normalization enforces provider ownership; runtime policy remains provider-agnostic; Venice decoding stays in its public plugin artifact. The publisher is repository tooling, not a Gateway request-time loader. Rank-up disposition: keep this existing public-artifact boundary and the shared closed feed registry. A new manifest-dispatched publisher hook is not needed for the current sources and would add another plugin API/activation path. Routing this pure decoder through the broad catalog barrel would likewise add unnecessary dependencies. No private-import compatibility exception is being accepted. Upgrade behavior remains covered by fresh/existing-config, prepared-source, explicit-zero/partial/tier, and restart tests. The remaining landing blockers are the recorded CI failures; the existing provider-scaffold repair is now explicitly approved as a dependency, with a source-level CSS budget cleanup being prepared without raising limits. |
a419204 to
da90f45
Compare
Use complete native OpenCode and Venice pricing schedules while preserving authored zero, partial, flat and tiered costs across preparation and lookup. Avoid generated price pins during fresh merge-mode Venice onboarding. Follow-up to #133349 (cached long-context accounting) and #129694 (Venice runtime pricing); related to #113549 (broader OpenCode catalog drift).
Merge prepared costs beneath authored display prices, retain validated native free schedules under exact owner policy, and compile OpenRouter overrides with strict thresholds and source-order inheritance for each price key. Preserve zero, partial, flat and tiered user pricing without new settings or storage. Follow-up repairs for #133695.
da90f45 to
2a1ea4b
Compare
|
Land-ready proof for The native source/preparation owner now preserves authored cost intent through resolution and usage display. Venice parsing stays in the supported public The maintainer explicitly accepts the compatibility contract requested by the latest exact-head ClawSweeper review: refreshed native feeds serve unpinned models, existing serialized authored costs remain authoritative, and merge-mode onboarding does not migrate existing pins. That review has no actionable code findings and accepts the public artifact. The earlier optional hook/barrel rewrite is superseded by the documented owner decision and compiled-entrypoint proof. All Before merge and Rank-up items are addressed. Exact-head hosted proof, both attempt 1:
The repaired-main rebase and mandatory native-wrapper refresh preserve both reviewed pricing patch IDs. Final source commits are OPENCLAW_VITEST_MAX_WORKERS=1 node scripts/run-vitest.mjs packages/model-catalog-core/src/model-catalog-pricing.test.ts src/model-catalog/pricing.test.ts test/scripts/publish-model-catalog.test.ts src/utils/usage-format.test.ts src/agents/models-config.model-input-presence.test.ts src/agents/models-config.merge.test.ts src/agents/embedded-agent-runner/model.forward-compat.errors-and-overrides.test.ts src/agents/embedded-agent-runner/openrouter-model-capabilities.test.ts extensions/venice/models.test.ts extensions/venice/onboard.test.ts extensions/opencode/index.test.ts extensions/openrouter/provider-catalog.test.tsPrior final contract proof remains valid: 411 tests across 23 files, complete changed gates, Real unauthenticated Node metadata requests returned HTTP 200 for Venice/OpenCode (111/94 models) and OpenRouter (396 models). Venice captured arithmetic covered 556 decimal rates / 756 boundary cases; OpenRouter replay covered 53 static boundaries, excluded 14 UTC overrides and rejected five negative-base rows. Separate Python 403 and reviewer DNS failures are transport/environment observations. Publisher → real localhost HTTP → existing SQLite → fresh-process lifecycle proof is synthetic; there was no paid inference, live operator Gateway session or invoice reconciliation. Existing serialized pins, historical unbilled repricing, UTC scheduling and capability-cache lifecycle are not redesigned. Native The old CSS/scaffold failures were recovered through existing main fixes, with no pricing-branch UI edit or budget increase. PR #129614 is closed unmerged as superseded by landed #133616; its candidate was not imported. Broader OpenCode tracker #113549 remains open. Final LOC: runtime/library +600/-519 (net +81); publisher/tooling/manifest/config +334/-438 (net -104); combined non-test -23; tests/support +1962/-70 (net +1892); docs +112/-32 (net +80). Runtime additions implement native parsing, authored ownership and strict per-key compilation; moved metadata is counted once. Hosted catalog activation remains with the parent; no catalog or release workflow was dispatched. |
|
Merged via squash.
|
Post-merge hosted catalog verificationCatalog activation is complete. Publish catalog run 33366265306 succeeded and produced catalog commit bcf5bafe6fa99ae287ef8ad61b3ccaf85a26654c. Its recorded OpenClaw source is At 2026-08-31 07:07 UTC, the ordinary canonical catalog URL, without cache-busting, served byte-identical content to the committed artifact. An independent metadata comparison against fresh unauthenticated native feeds passed:
This is published metadata parity, not invoice or paid-inference proof. OpenCode retains its existing metadata threshold contract. No inference requests, npm/software release, version bump, or operator Gateway restart occurred. Existing explicit price pins remain authoritative; the documented four-hour publisher, six-hour client refresh, and restart-owned prepared-snapshot lifecycle are unchanged. See Venice provider documentation. |
…w#133695) * fix(models): refresh native pricing without pinning defaults Use complete native OpenCode and Venice pricing schedules while preserving authored zero, partial, flat and tiered costs across preparation and lookup. Avoid generated price pins during fresh merge-mode Venice onboarding. Follow-up to openclaw#133349 (cached long-context accounting) and openclaw#129694 (Venice runtime pricing); related to openclaw#113549 (broader OpenCode catalog drift). * fix(pricing): preserve native schedules through resolution Merge prepared costs beneath authored display prices, retain validated native free schedules under exact owner policy, and compile OpenRouter overrides with strict thresholds and source-order inheritance for each price key. Preserve zero, partial, flat and tiered user pricing without new settings or storage. Follow-up repairs for openclaw#133695.
Related: #106080 ## What Problem This Solves Fixes: completions report `$0` when model pricing is unavailable, while session usage can omit deliberately configured free prices. ## User Impact Plugin completions and normal agent results now omit unavailable costs instead of claiming free usage. Explicit operator zero pricing and provider-billed zero totals remain `0`, and session logs and summaries agree. Recorded positive costs keep their request-time pricing. No configuration changes or migration are required. ## Why This Change Was Made Adapter-default zeros are not billing evidence. Cost reporting now uses the existing configured/catalog pricing resolver, preserves recorded cost evidence, and carries provider-billed provenance through a sum only when every contribution is billed. Empty cost objects and empty tier lists cannot establish a price by themselves. Legacy run summaries that report a cost without token buckets still preserve an explicit zero. Unpriced adapter zeros accompanied by token usage remain unknown. Recorded zero-cost components survive normalization and aggregation without inventing provider-billed provenance. Existing derived usage summaries refresh through their normal semantic cache revision; stored transcripts, database schemas, and retention are unchanged. This reworks the earlier marker-based proposal for the current pricing rules established in #114060 and #133695. It does **not** add `pricingUnavailable`, change catalog eligibility, or treat every unmarked generated zero as a free price. Zero-only catalog placeholders remain unknown; authored overrides and authoritative native pricing retain their existing precedence. The broader pricing-cache/discovery issue is not claimed fixed. ## Evidence Reproduced on baseline `0b753f1e` through a normally loaded plugin's `api.runtime.llm.complete`, a real loopback HTTP/SSE adapter, and the normal agent CLI—not injected normalized usage or fabricated transcript records. | Scenario | Observed after the fix | | --- | --- | | No pricing, an empty cost object, or an empty tier list | Completion cost omitted; these emitted `0` before | | Configured rates with 1,000 input and 500 output tokens | `$0.002` preserved | | Explicit operator free pricing | `0` preserved, including session logs that omitted it before | | Provider-billed `0`, including a model with no configured rates | `0` preserved | | Static catalog rows without prices or with zero-only placeholders | Cost omitted under existing catalog policy | | Author-owned `models.json` override | `$0.004` honored; file bytes unchanged | Five normal agent runs also passed public log and **fresh** usage-summary checks. Unknown pricing counted one missing-cost entry; authored-free and billed-zero runs counted none. An unrelated public config mutation preserved the original omitted cost field rather than persisting materialized zeros. A warm-cache upgrade kept the same configuration and transcript and made exactly one original model request. The old fresh rollup still marked a free-priced entry as missing; the corrected runtime naturally refreshed it to known `0`, without deleting the cache or calling the model again. - Four targeted regressions failed on the original source for the expected reasons. - 164 focused pricing/runtime tests passed. After the final component-preservation and warm-cache corrections, 114 affected normalization, accumulator, estimator, and cache tests passed; unchanged proof was reused. - Scoped type-aware lint and the supported runtime build passed. - CI-exposed compatibility checks were corrected and passed: 30 focused consumer cases, the affected plugin test type graph, and the exact assertion-allowance shrink. No unrelated shard-budget change is included. The provider responses were synthetic; this does not claim live vendor billing or budget-enforcement validation. Co-authored-by: Ayaan Zaidi <[email protected]>
…w#111175) Related: openclaw#106080 ## What Problem This Solves Fixes: completions report `$0` when model pricing is unavailable, while session usage can omit deliberately configured free prices. ## User Impact Plugin completions and normal agent results now omit unavailable costs instead of claiming free usage. Explicit operator zero pricing and provider-billed zero totals remain `0`, and session logs and summaries agree. Recorded positive costs keep their request-time pricing. No configuration changes or migration are required. ## Why This Change Was Made Adapter-default zeros are not billing evidence. Cost reporting now uses the existing configured/catalog pricing resolver, preserves recorded cost evidence, and carries provider-billed provenance through a sum only when every contribution is billed. Empty cost objects and empty tier lists cannot establish a price by themselves. Legacy run summaries that report a cost without token buckets still preserve an explicit zero. Unpriced adapter zeros accompanied by token usage remain unknown. Recorded zero-cost components survive normalization and aggregation without inventing provider-billed provenance. Existing derived usage summaries refresh through their normal semantic cache revision; stored transcripts, database schemas, and retention are unchanged. This reworks the earlier marker-based proposal for the current pricing rules established in openclaw#114060 and openclaw#133695. It does **not** add `pricingUnavailable`, change catalog eligibility, or treat every unmarked generated zero as a free price. Zero-only catalog placeholders remain unknown; authored overrides and authoritative native pricing retain their existing precedence. The broader pricing-cache/discovery issue is not claimed fixed. ## Evidence Reproduced on baseline `b16cb8c0` through a normally loaded plugin's `api.runtime.llm.complete`, a real loopback HTTP/SSE adapter, and the normal agent CLI—not injected normalized usage or fabricated transcript records. | Scenario | Observed after the fix | | --- | --- | | No pricing, an empty cost object, or an empty tier list | Completion cost omitted; these emitted `0` before | | Configured rates with 1,000 input and 500 output tokens | `$0.002` preserved | | Explicit operator free pricing | `0` preserved, including session logs that omitted it before | | Provider-billed `0`, including a model with no configured rates | `0` preserved | | Static catalog rows without prices or with zero-only placeholders | Cost omitted under existing catalog policy | | Author-owned `models.json` override | `$0.004` honored; file bytes unchanged | Five normal agent runs also passed public log and **fresh** usage-summary checks. Unknown pricing counted one missing-cost entry; authored-free and billed-zero runs counted none. An unrelated public config mutation preserved the original omitted cost field rather than persisting materialized zeros. A warm-cache upgrade kept the same configuration and transcript and made exactly one original model request. The old fresh rollup still marked a free-priced entry as missing; the corrected runtime naturally refreshed it to known `0`, without deleting the cache or calling the model again. - Four targeted regressions failed on the original source for the expected reasons. - 164 focused pricing/runtime tests passed. After the final component-preservation and warm-cache corrections, 114 affected normalization, accumulator, estimator, and cache tests passed; unchanged proof was reused. - Scoped type-aware lint and the supported runtime build passed. - CI-exposed compatibility checks were corrected and passed: 30 focused consumer cases, the affected plugin test type graph, and the exact assertion-allowance shrink. No unrelated shard-budget change is included. The provider responses were synthetic; this does not claim live vendor billing or budget-enforcement validation. Co-authored-by: Ayaan Zaidi <[email protected]>
Related: #133349 — merged cached long-context accounting and custom tier support.
Related: #129694 — merged Venice runtime pricing repair that prevents zero overwrites.
Related: #113549 — open OpenCode/Go catalog drift tracker; this change addresses pricing only and does not close its broader ID, context, or hybrid-refresh scope.
Additional instructions
This is a same-repository maintainer branch; maintainers can update it.
What Problem This Solves
Fixes an issue where users relying on native Venice, OpenCode, or OpenRouter prices could see stale or incomplete cost estimates, and users changing unrelated model settings could accidentally pin generated prices instead of receiving later catalog prices. Explicit partial or zero prices could also disagree between model preparation and usage reporting.
This is a maintainer-requested follow-up to the accounting and Venice runtime repairs linked above. Before this change, generated defaults could become indistinguishable from authored prices while moving through preparation and runtime resolution. Afterward, raw authored costs retain their authority and native catalog prices can refresh wherever the user has not authored a price override.
Why This Change Was Made
Venice's plugin-owned
pricing-api.tsreads the existing cached/modelsresponse and is reused by the shared catalog publisher. A closed native-source registry and shared complete-schedule normalization handle OpenCode, Venice, and the existing sibling pricing paths without grafting base prices and tiers from different sources. Venice's whole-request extended rates begin strictly above the API threshold, including cached prompt tokens.Authored costs are merged before materialized defaults across worker source capture, both preparation passes, final model resolution, and usage lookup. First-authored duplicate-row and canonical provider spelling precedence agree across those owners. Redundant source-context state and overlapping lookup/index refresh machinery are removed. Adding a downstream reporting guard would leave the preparation owner incorrect; guessing a migration from serialized price values would risk overwriting real user choices.
Display-only lookups merge prepared runtime prices below raw authored overrides without plugin discovery or network access. Valid native free schedules require an enabled owner-normalized authoritative-source policy and an exact hosted owner key; unknown zero seeds, non-authoritative zeros, aliases, disabled/unowned policy, and private endpoints remain unknown. The publisher and resolver share one source registry.
OpenRouter static overrides compile complete schedules from the same native base: thresholds are strictly greater than
min_prompt_tokens, with integer boundaries atfloor(N)+1; matching rows apply in source order per price key. Omitted fields inherit, equal thresholds and explicit zero work, and UTC/unknown predicates are excluded. The generic calculator and Venice/OpenCode boundary semantics are unchanged.There is no new operator option, dependency, pricing store, SQLite schema, protocol version, or inference-time pricing HTTP request. The authoritative publisher refuses failed native pricing instead of replacing output; runtime retains its existing offline seed behavior.
User Impact
Venice and OpenCode estimates can use current complete native schedules, including cache rates and long-context tiers. Fresh Venice onboarding in merge mode avoids writing generated price pins; replace mode retains its explicit seed. Explicit zero, partial, flat, tiered, and agent-local
models.jsonprices remain authoritative. Empty authored cost inherits the applicable schedule; a flat authored cost removes inherited tiers.Existing serialized costs remain explicit because historical authorship cannot be inferred safely. Copying an entire materialized model array back into config retains the documented authorship limitation. Historical unbilled tiered estimates can still be repriced under the existing policy; provider-billed totals remain authoritative. UTC scheduling and OpenRouter’s existing capability-cache lifecycle are unchanged. The updated model, provider, manifest, and token-use docs describe these boundaries.
Release-note context: refresh native Venice/OpenCode pricing without pinning generated defaults, while preserving user-authored prices through preparation and reporting.
Evidence
Current repair commit: a419204e942. All eleven final repair file hashes and the full local diff SHA-256
366b16a875ca98872ebd233673b51a6ed0d56600a622bfbd726048a35f2e5d07matched the parent-verified candidate before staging; all hashes were rechecked after the normal commit hook. Final independent Codex autoreview was scoped-clean, with no P0/P1 findings (confidence 0.88). The final review supersedes the earlier review that identified the OpenRouter gap. Tests and runtime probes were performed separately from review.Final owner/sibling proof: 411 tests passed across 23 files, complete changed gates passed, and
pnpm buildpassed in 269.7 seconds (four dependency eval warnings, no ineffective dynamic-import warnings). Before the OpenRouter repair, owner regressions failed 19 cases in the shared normalizer and one case each in plugin discovery, embedded capabilities, and the publisher. Earlier phases captured 40 intended red regressions plus eight duplicate-owner cases and passed the 262-test integration, 515-test owner/sibling, 268-test duplicate-owner, and 80-test fixture runs; these overlap and are not presented as unique-test totals.Exact final test and gate commands
The parent reran all three real-function probes after the final build in fresh isolated HOME/state/temp directories, with OS-level network denial and no inference. The no-plugin probe resolves
0.003and the exact footerUsage: 1.0k in / 1.0k out · est $0.0030; regression coverage also checks nonzero inherited cache prices, omitted/empty/zero/tiered input, and actual status text/presentation. The native-zero probe publishes and resolves both authoritative native providers to an estimate of exactly0. The OpenRouter probe passes independent arithmetic for partial input, strict threshold, omitted cache prices, and later matching rows per key.Public endpoint proof is real and unauthenticated: Node transport returned HTTP 200 for Venice (111 models) and OpenCode (94 models) at 2026-08-31 02:03:50 UTC, and OpenRouter at 03:03:35 UTC. The separate Python client received 403; reviewer-environment DNS failure was a limitation of that environment, not evidence that the Node API request failed.
OpenRouter captured-payload replay: 396 models, 67 overrides, 53 supported static boundaries across 48 models, including 33 overrides omitting cache prices. An independent oracle scans matching raw keys backwards and computes costs directly per token, rather than using compiled intervals.
node --import tsx .artifacts/venice-dynamic-pricing/openrouter-capture-parity.mjspassed 15,904 scenarios / 79,520 cost comparisons, zero mismatches; 14 UTC overrides were excluded, and five negative-base rows explicitly asserted rejection. Capture SHA-256:1876a950030d3ea9420f6ceb54a6a59ad2fe891b290be703091b209d1e77a30f. Contract: OpenRouter pricing object.Venice real API plus local publisher artifact proof represented all 111 schedules / 14 extended schedules. Source-blind comparison passed 556 exact decimal rates / 756 boundary scenarios. Capture SHA-256:
6da350f42aaa171f9bf78d2722b791e7f282cda0934df54239a557a05b28c0aa. Separate synthetic publisher → real localhost HTTP → existing SQLite → fresh-process proof covers restart activation, process-stable snapshots, ETag/304, authored/local precedence and no lookup HTTP, with owned resources closed.These are live public metadata requests, captured-artifact arithmetic, and synthetic lifecycle/display proofs. They are not a live operator Gateway/UI session, paid inference, or invoice reconciliation. Missing/malformed/explicit-zero API inputs and namespace isolation are tested through source-aware faults, not inferred from captures that lack such rows. Hosted catalog activation remains a separate owner action after merge; no catalog or release workflow is dispatched by this PR delivery.
Review findings and before-merge dispositions
The no-plugin finding, the native-zero finding in the ClawSweeper review, and the OpenRouter contract finding are repaired in the commit above. Original red evidence is retained in the finding comments.
The latest ClawSweeper review reviewed exact head
2a1ea4b7ad8d78884f7714bab2a4845cd11d9000at 2026-08-31 06:43 UTC and reports no actionable code findings, explicitly accepting the public parser artifact. Its remaining Before merge and Rank-up request is the compatibility decision: the maintainer explicitly accepts authoritative Venice/OpenCode feeds refreshing unpinned model estimates, existing serialized authored costs remaining authoritative, and merge-mode onboarding remaining non-migrating. This is the already-approved upgrade contract; no provenance migration is inferred. The required exact-head CI outcome is recorded below.LOC against fork parent
119720344a871a667f973d5e4eb2ead8935466ed: runtime/library +600/-519 (net +81); publisher/tooling/manifest/config +334/-438 (net -104); combined non-test implementation net -23. Tests/support +1962/-70 (net +1892); docs +112/-32 (net +80). Source metadata moved from publisher to shared ownership is not additional feature growth. Runtime growth implements native schedule parsing/ownership and correct strict per-key compilation while duplicate registries/helpers/lookups are removed.Public-artifact boundary disposition
The maintainer decision and compiled-entrypoint proof resolves the earlier ClawSweeper P2 and optional Rank-up move; the latest exact-head review accepts this boundary.
extensions/venice/pricing-api.tsis the intentionally narrow top-level public artifact supported byextensions/AGENTS.md:71-74, discovered by public-surface build tooling and shipped as the external official plugin's package-localdist/pricing-api.js. Its actual package build and execution of byte-identical compiled files with the existing host SDK passed. It performs no network, auth, setup or plugin activation.The shared registry is a closed upstream-feed contract. Manifest provider ownership, enablement and source mapping still govern generic runtime policy. The publisher is repository tooling; it does not add a Gateway request-time loader. The proposed extra manifest-dispatched hook or broad catalog-barrel re-export is intentionally skipped because the existing public artifact already provides the required boundary. No temporary private-import exception is accepted. Fresh/existing config and restart coverage above addresses the intended upgrade behavior.
Repaired-main CI recovery
The prior CI run 33355046925, attempt 1, failed six jobs on the same largest-CSS budget (54,809 B versus 54,784 B). Main commit
964fa991c0aff81e2ae46a0c9f99ebc0ab349d1aremoves four unconsumed custom properties without changing the limit; the verified build is 54,732 B. Later main also consolidates footer selectors.The provider scaffold failure, run 33355046937, attempt 1, is repaired by PR #133616, commit
c093e85957b6ac9a3bda486a8de4fd43eafe57c8. Its scaffold CI 33357602625 passed. Parent verification on actual main2013295097918f660a4a8839eb264ad9154b9284passed 33 owner tests andpnpm test:plugins:init-provider-scaffoldagainst installed public OpenClaw 2026.8.1, including compilation, generated catalog behavior and a clean Inspector. PR #129614 was closed unmerged as superseded; none of its separate candidate commits were imported here.A single recovery rebase onto main
b047b753b766e3dcbe259efc643a4eadb6d72c2dproduced headda90f4505b634ebaa016eebc8ec880fa6490d1d2, with commitsee4b7a80b9fe75126b8dec225dfd115f7a6b49baandda90f4505b634ebaa016eebc8ec880fa6490d1d2. Both individual stable patch IDs match their reviewed predecessors andgit range-diffreports both unchanged. All 45 other touched files retain reviewed bytes; the remaining three test/harness files preserve upstream duplicate-test removal, mock cleanup and the compiled-subprocess plugin. No pricing source, UI patch, budget change or dependency repair was added. Recounted LOC is unchanged from above.Recovery focused tests passed 342 tests across 12 files / seven shards in 387.26 seconds, using the command below.
git diff --check, individual patch IDs, range-diff and the clean source tree were verified. Fresh hosted CI passed on the final byte-identical head; native preparation uses that exact-head evidence.The native wrapper then required one additional guard refresh because main changed
scripts/pr-lib/process-group-runner.mjsto keep Git maintenance within its owning operation. Refreshing onto70338624f636fe006b61b9f39db4072f0364ac91produced final head2a1ea4b7ad8d78884f7714bab2a4845cd11d9000(source commits40a62bc5555b795c3d282cdd629a86dab69debaf,2a1ea4b7ad8d78884f7714bab2a4845cd11d9000). All 48 tested files are byte-identical to the 342-test recovery head, and both individual pricing patch IDs remain unchanged. This was an enforced wrapper recovery, not a pricing repair; no additional source review was needed.Fresh exact-head CI run 33364429994, attempt 1, passed on
2a1ea4b7ad8d78884f7714bab2a4845cd11d9000. Provider scaffold run 33364430031, attempt 1, also passed on the same head.node scripts/watch-pr-ci.mjs 133695 2a1ea4b7ad8d78884f7714bab2a4845cd11d9000exited 0 withGREEN, zero pending checks. The intermediate run 33364286126 was superseded by that mandatory guard refresh. Native review artifacts validate asREADY FOR /prepare-prwithissueValidation.status=valid.OPENCLAW_TESTBOX=1 scripts/pr prepare-run 133695passed after green exact-head CI and verified the unchanged remote head.scripts/pr merge-run 133695then passed and confirmed MERGED as84da6ded4e27cf6dc67497a2143d685c33221d80at 2026-08-31 06:50:26 UTC. All 48 touched file blobs match the tested head exactly in the merge commit. The land-ready proof and native completion receipt record the outcome. Live main rules enforce linear history andopenclaw/ci-gate, non-strict, with no required-approval rule; no bypass is used.