Skip to content

fix(schemas): move schema host to schemas.major.build, base URL to prod api - #139

Open
josegironn wants to merge 1 commit into
mainfrom
josegironn/schemas-url-build
Open

fix(schemas): move schema host to schemas.major.build, base URL to prod api#139
josegironn wants to merge 1 commit into
mainfrom
josegironn/schemas-url-build

Conversation

@josegironn

@josegironn josegironn commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

What

Two fixes tied to the published JSON Schemas moving to schemas.major.build:

  1. Schema $id / hostschemas.major.techschemas.major.build
    • projects/schemas.go: compile IDs (match the vendored $id)
    • Re-vendored projects/schemas/{project,agent}.schema.json ($id is the only content delta) + SCHEMAS.sha256
    • projects/testdata/valid/** $schema refs
  2. Sync/drift base URL — the default was a fictional api.major.tech; now https://api.prod.major.build (Makefile sync-schemas + .github/workflows/schemas-drift.yml)

Note

The vendored bytes were hand-updated (only the $id string differs from what the API serves). Once major-technology/mono-builder#1903 is deployed and prod serves GET /schemas/{project,agent}.json, re-running make sync-schemas should be a content no-op (only refreshes the fetched: timestamp). The drift job still has its "not live yet" skip-with-warning branch — worth dropping per its own TODO once prod serves the endpoint.

Related

  • major-technology/mono-builder#1903
  • major-technology/project-template#1

🤖 Generated with Claude Code

Made with Orca 🐋

…od api

The published JSON Schemas moved from schemas.major.tech to
schemas.major.build, and the sync/drift base URL default was a fictional
api.major.tech.

- schemas.go: compile IDs -> schemas.major.build (match vendored $id)
- Makefile sync-schemas default + schemas-drift.yml base URL ->
  https://api.prod.major.build
- re-vendored project/agent schema bytes ($id only) + SCHEMAS.sha256
- testdata $schema refs -> schemas.major.build

Re-run `make sync-schemas` against prod once it serves
GET /schemas/{project,agent}.json to confirm byte-for-byte; content
already matches.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXiDMg9GbDAqPFEXPYK1SH
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