Skip to content

feat(catalog): host typed decision catalog v3 - #8

Draft
roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/decision-hosted-catalog-support
Draft

roboclaw-bot wants to merge 2 commits into
mainfrom
openclaw/decision-hosted-catalog-support

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Contributor

Summary

Add the separately versioned models/v3/catalog.json static asset for typed decision metadata. Keep the existing v1/v2 artifacts and the byte-identical v1 alias unchanged. Model definitions, task semantics, pricing selection, and wire validation remain in the canonical OpenClaw publisher; this repository only generates, stages, and serves its outputs.

Draft — depends on openclaw/openclaw#157492 and its prerequisites landing on upstream main before this hosting change is activated. The workflow still checks out upstream main, never the development branch. A preflight refuses an older generator without --out-v3. No workflow was triggered, no deployment or live configuration was changed, and no paid inference was performed.

Changes

  • Append --out-v3 to the existing publisher invocation; compare all three outputs before promoting them and commit the full version set when any payload changes. Timestamp/source-SHA-only refreshes still do not commit.
  • Stage v3 byte-for-byte with the same exact-path cache, CORS, content-type and ETag policy. The unversioned alias remains v1; preview isolation, permissions, schedule, concurrency and deployment guards are unchanged.
  • Extend staging, smoke and regeneration regressions for four URLs, native-only metadata, explicit zero versus unknown pricing, route-price provenance, stale/malformed/missing data, and repository/next-output exposure.
  • Document dependency ordering and the operator-controlled v3 URL selection only after the asset exists on a compatible reader. No old v1 minimum-version floor is copied to v3.

Requirements and shared decision-model design contributed by Vincent Koc and Peter Steinberger.

Work sessions

Canonical artifact

The initial v3 asset was generated, not hand-edited, in an isolated checkout of upstream candidate c3bd84fb207ae2b585ec126c620e4790ca39f480 using its normal frozen dependency install and the canonical --pricing --out --out-v2 --out-v3 CLI. The generated v1/v2 candidates were validated but not substituted for this repository's existing artifacts, avoiding unrelated pricing churn during bootstrap. Future scheduled generations publish all three together.

  • 1,295,877 bytes; 1,081 model rows, including ten decision-only rows.
  • SHA-256: adf8bd891f71c465aeef0bbc1aee82113618460eb9b3bbb76eabe9cfc75fd240.
  • Validated unchanged through the upstream v3 wire validator; no endpoint, header, authScope, credential or hook fields. V3 has no inherited minVersion.
  • OpenRouter Jev route-qualified standalone rates preserve input $0.042/M, output zero and openRouter provenance. Direct TypeSafe rows remain unknown where this upstream candidate does not yet declare an authoritative tariff; hosting does not manufacture one. Local ONNX remains unknown monetary pricing, not a free hosted tariff.
  • Upstream public-feed warnings for missing vendor rates remain explicit unavailable/unknown facts; no vendor data was patched here.

Validation

  • Canonical three-version generation completed successfully; v3 source-schema round-trip passed.
  • node scripts/build.mjs passed; exact staged bytes for all four URLs, unchanged v1/v2, and alias-to-v1 equality verified.
  • [email protected] deploy --dry-run --env preview passed; no bindings and no upload/deployment.
  • Five local non-network hosting tests passed in 0.405 seconds. The three new/extended staging, regeneration and prerequisite regressions fail against the previous hosting source and pass on this candidate. Regeneration exercises timestamps-only, v1-only/v2-only/v3-only changes, absent, malformed, empty, whitespace-only, multi-document or non-object next v3, and initial v3 bootstrap. An inherited plain-jq empty-input gap noted during independent review was repaired with a single-object framing check before any promotion.
  • The full six-test hosting suite has one environment-blocked test: the pre-existing loopback smoke test receives HTTP 502 with Secret egress proxy refused the request. A minimal loopback fetch reproduces it. The mandatory proxy was not disabled or bypassed. The four-URL smoke matrix still needs hosted CI on this exact head; this is not presented as a green full suite or live v3 CDN proof.
  • JavaScript syntax, workflow YAML, git diff --check, and unchanged permissions/schedule/concurrency/preview/deployment step comparisons passed.
  • Independent full hosting review found no newly introduced P0–P2 issues; a focused follow-up review accepted the repaired single-object framing guard with no findings and reran its regression successfully.

No merge, deployment, default-feed cutover, or live service/configuration change is included.


View the OpenClaw team session

roboclaw-bot and others added 2 commits September 24, 2026 19:08
Add canonical v3 static publication while preserving v1/v2 and the v1 alias. Require the upstream v3 publisher and validate complete JSON artifacts before promoting the version set.

Co-authored-by: vincentkoc <[email protected]>
Co-authored-by: steipete <[email protected]>
OpenClaw-Publication: a6d63439-26b4-4c00-ab6a-95ce54089ec0
@clawsweeper

clawsweeper Bot commented Sep 24, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

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

@clawsweeper

clawsweeper Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

ClawSweeper status: review started.

I am starting a fresh review of this pull request: feat(catalog): host typed decision catalog v3 This is item 1/1 in the current shard. Shard 0/1.

This temporary status tracks the active review worker. The completed review will appear in the durable ClawSweeper review comment.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant