Skip to content

chore(catalog): regenerate the API contract with next_step on page reads - #139

Open
burak-bayir wants to merge 1 commit into
masterfrom
feat/page-next-step
Open

burak-bayir wants to merge 1 commit into
masterfrom
feat/page-next-step

Conversation

@burak-bayir

Copy link
Copy Markdown
Member

Why

The API is about to name the next step on every page that has a next page. The catalog's drift check fails until the bundled contract matches the spec the API serves, so the contract needs next_step the day it ships.

What changed

  • generated-api-contract.json is regenerated with npm run generate-api-contract from the coming spec. 19 response shapes add next_step? after next_cursor, such as the DM history, notifications, Spaces search & bookmark folder pages.
  • No operation is added or removed, so the catalog policy stays as it is. 192 of 224 operations stay agent-callable.

Scope

1 generated file. A script compared old & new and found every change is the added next_step?.

Tradeoffs

Against the spec the API serves today, the drift check reports next_step as extra. This PR merges once the API serves it.

Verification

  • The generator ran on the coming spec in its served JSON form. The comparison found 19 changed shapes, each differing only by , next_step?.
  • bin/check-local runs through the SDK check runner.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@burak-bayir
burak-bayir requested a review from a team as a code owner November 30, 2026 19:30
@burak-bayir

Copy link
Copy Markdown
Member Author

FAIL at head 1d19eaeb3d00dbbd59fdd17fb6a09e2a3079daa3, patch-id cf533828c3485e7bc5a0a75bd11a96d5abbaa0ef, for merge order only, from a non-author Gemini 4 Neon xhigh verifier. The contract diff itself needs no change.

Why it cannot merge yet

  • master requires xquik-local-checks, and this head has no such status. Against the currently served API spec, the catalog drift check fails until the API serves next_step.
  • The API change that adds next_step has not shipped yet, so the API does not serve it.
  • The branch is 1 commit behind master (aaf4ca61dc, which holds the cross-spawn 7.1.2 fix from fix(deps): move cross-spawn to 7.1.2 #140).

What I checked, reads only, 2026-12-01 10:40 UTC

  • Spec. The coming API spec defines optional string PageNextStep on 8 named page schemas and 5 inline page paths.
  • Diff. Only generated-api-contract.json changes (903 lines before and after, 19 lines updated). Every changed line adds optional next_step? right after next_cursor on a paginated response shape, and no other field changes. I did not run bin/check-local.
  • Siblings. Matches the open next_step PRs across the SDK repositories.

What unblocks a PASS

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