chore(protocol): refresh Swift gateway models#80436
Conversation
Regenerate the shared OpenClawKit GatewayModels.swift output so the Swift protocol model includes internalRuntimeHandoffId from the gateway schema.
|
Thanks for the context here. I did a careful shell check against current Current main already contains the generated Swift So I’m closing this as already implemented rather than keeping a duplicate issue open. Review detailsBest possible solution: Keep the generated Swift model already present on current main; no separate merge from this PR is needed. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows the schema requires Is this the best way to solve the issue? Yes. Refreshing the generated OpenClawKit model is the narrowest maintainable fix, and current main already contains that exact generated output. Security review: Security review cleared: The diff only refreshes generated Swift Codable model output and does not alter CI, dependency resolution, secret handling, or the runtime handoff trust gate. What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 00453a9607a5; fix evidence: commit 00453a9607a5, main fix timestamp 2026-05-12T00:17:49+01:00. |
Summary
internalRuntimeHandoffIdCodable property/mapping toAgentParamsinapps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift.Why
pnpm protocol:checkon currentmainregenerates this file and reports a dirty diff, which causeschecks-fast-protocolto fail on unrelated PRs rebased onto current main.Real behavior proof
mainregeneratesapps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swiftwith a missinginternalRuntimeHandoffIdmapping, leaving the protocol output dirty.git diff --exit-code.Validation
mainwith the protocol generation/check sequence.apps/shared/OpenClawKit/Sources/OpenClawProtocol/GatewayModels.swift(4 insertions).