Repository navigation
feat(hosting): publish versioned v2 catalog - #6
Conversation
|
🦞👀 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: needs maintainer review before merge. Reviewed September 23, 2026, 10:57 AM ET / 14:57 UTC (Revision 3). ClawSweeper reviewWhat this changesPublishes a versioned v2 model catalog alongside v1, generates and commits both together, and extends staging, HTTP checks, and rollback documentation. Merge readiness✅ Ready for maintainer review The previous prerequisite blocker is resolved, and no introduced correctness or security defect was found. This remains useful work absent from main; the member-authored draft stays open for normal landing. Priority: P2 Review scores
Verification
How this fits togetherThis repository publishes OpenClaw model metadata and pricing as static JSON assets. Its workflow invokes the upstream publisher, commits changed catalogs, and deploys verified assets for clients to fetch. flowchart TD
A[Upstream model metadata and pricing] --> B[Paired catalog publisher]
B --> C{Either catalog changed?}
C -->|Yes| D[Commit both versions]
C -->|No| E[Stage committed assets]
D --> E
E --> F[Verify isolated preview]
F --> G[Publish v1, alias, and v2]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Publish v2 as an additive endpoint while retaining v1 compatibility, paired generation, and the existing preview-to-production verification gates. Do we have a high-confidence way to reproduce the issue? Not applicable: this adds a versioned publication capability rather than repairing a reported runtime failure; current main's staging code confirms the capability is absent. Is this the best way to solve the issue? Yes. Reusing the landed upstream publisher and existing static hosting pipeline is a narrow additive solution that preserves the v1 contract. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning medium; reviewed against b2bdaa5c4983. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
0d7d5d5 to
27d5637
Compare
|
@clawsweeper re-review Please review the final head 27d5637. The alias, schema, and publisher prerequisites are merged. The refreshed generated pair is unchanged publisher output from landed main, generated after the fixed consumer build; independent provenance, tuple, pricing, and staged-asset checks passed. The consumer PR remains unmerged. |
|
🦞👀 Re-review progress:
|
Serve
/models/v2/catalog.jsonalongside v1 and its byte-identical unversioned alias. One publisher invocation generates both versions from the same source snapshot; semantic changes to either version commit the pair together. The explicit asset allowlist, cache policy, preview isolation, and exact-main deployment guards are preserved.Prerequisites are landed: alias #5, schema openclaw/openclaw#156518, and publisher openclaw/openclaw#156530. This PR now targets main and contains only the hosting slice plus its generated pair. Related: openclaw/openclaw#156507. Consumer openclaw/openclaw#156535 remains unmerged.
The generated files are unchanged output of one genuine paired publisher invocation on actual OpenClaw main
d9bf2a328ebed9db90912baf868b52da65dae3fb, a descendant of the landed publisher. The publisher source is unchanged from the reviewed implementation. Native generation run: 44 providers and 1,065 matching model rows, with sharedgeneratedAt=1790174816318(2026-09-23 14:46:56.318 UTC). This is later than the immutable consumer build's realbuiltAt(14:25:49.105 UTC), allowing live remote-catalog activation to be tested without rebuilding that consumer. No timestamp or catalog content was hand-edited.66c21b02feac782df4817fe3d6f9eb6e2feb7c42a023495de72f4de7558be05e64557847de7598c0a7a72cf08c8fff187794238a0697f8c7888d6ec98e69799fV1 retains
minVersion=2026.7.0; v2 leaves the release floor unset. Independent validation confirms provider defaults, model metadata, tuple and known-price parity; v2 contains 767 known prices (including one free model), 289 unknown, and nine unavailable.Validation:
0d7deb90eb3d7d6d7d76855e28cc3057b0b732b0has the identical reviewed tree.Production version
19979c9a-a198-41f9-877e-c8207d65d519deployed at 2026-09-23 15:03:59.779 UTC from the merge commit. Native push deployment remains failed: attempt 1 uploaded the preview but its verification process exited 143; one reviewed failed-job retry passed preview verification and deployed production, then the runner's production verification was canceled without an assertion result. The termination cause is unproven. No further rerun, source change, regeneration, or security change was made; the independent public checks above establish current live behavior without claiming green deployment CI.Diff size: production/workflow/header +33/-10, tests/smoke +54/-19, documentation +20/-10. Generated data is separate: +25,485/-149, including the new 25,074-line v2 artifact.