Skip to content

chore: update schemas from constructive-db - #1928

Open
Anmol1696 wants to merge 1 commit into
mainfrom
schema-update/20261023-075222
Open

Anmol1696 wants to merge 1 commit into
mainfrom
schema-update/20261023-075222

Conversation

@Anmol1696

Copy link
Copy Markdown
Contributor

Automated Schema + SDK Update

This PR was created by the schema-propagation workflow.

What changed

Updated schema files from constructive-db and regenerated ALL SDK clients.

Source: constructive-db@f30aa190135

Schemas updated

  • sdk/constructive-sdk/schemas/ — all API targets from constructive-db (auto-discovered)
  • sdk/migrate-client/schemas/ — migrate
  • pgpm/export/src/meta-export-tables.json — generated meta export table list

Clients regenerated

  • sdk/constructive-sdk/src/ — ORM client
  • sdk/constructive-cli/src/ — CLI client
  • sdk/constructive-react/src/ — React hooks
  • sdk/migrate-client/src/ — Migrate client

Skill references updated

  • .agents/skills/ — Generated skill documentation

Auto-generated by constructive-hub schema-propagation

Auto-generated by schema-propagation workflow.
Source: constructive-db@f30aa190135
@tenki-reviewer

tenki-reviewer Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 Surface the async constructBlueprint migration to consumers (construct-blueprint.ts:19) — The constructBlueprint mutation changed from synchronous execution to an enqueue-and-poll job: it now snapshots a pending blueprint_construction row, enqueues a blueprint:construct job running metaschema_private.construct_blueprint_run, and returns the construction id immediately with status transitions pending -> constructing -> constructed|failed; failure no longer raises the mutation (sdk/constructive-cli/src/modules/cli/commands/construct-blueprint.ts:19).

The change is almost entirely regenerated SDK output across constructive-cli, constructive-react, and constructive-sdk, staying in lockstep with GraphQL schema snapshots for the auth and modules APIs. The substantive contract shifts are the move of constructBlueprint from synchronous execution to an enqueue-and-poll background job, and the addition of exchangeNativeHandoff with PKCE-related fields (codeChallenge, nativeRedirectUri, codeVerifier) threaded through CLI commands, hooks, and ORM input types. Skill and reference documentation is updated to match.

Files Change
sdk/constructive-sdk/schemas/{auth,modules}.graphql Schema snapshots: new exchangeNativeHandoff mutation, PKCE fields, BlueprintConstruction.error/status docs, DomainModule.sweepUnverifiedDomainsFunction
sdk/constructive-cli/src/{auth,modules}/... Regenerated CLI commands (exchange-native-handoff, blueprint-construction CRUD, construct-blueprint, domain-module) and ORM input/mutation types
sdk/constructive-react/src/{auth,modules}/... Regenerated hooks (new useExchangeNativeHandoffMutation, blueprint construction queries/mutations), mutation keys, schema types, and types
sdk/constructive-sdk/src/{auth,modules}/... Regenerated ORM input types and mutation barrels mirroring the CLI and React packages
.agents/skills/{cli-auth,cli-modules,hooks-*,orm-*}/... Documentation and skill references updated for the new mutation, fields, and async blueprint contract

Reviewed commit: 3a252d9

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