Skip to content

[codex] Add registry archive bootstrap and sync checks#251

Draft
ignatov wants to merge 1 commit intomainfrom
ignatov/registry-archive-bootstrap
Draft

[codex] Add registry archive bootstrap and sync checks#251
ignatov wants to merge 1 commit intomainfrom
ignatov/registry-archive-bootstrap

Conversation

@ignatov
Copy link
Copy Markdown
Contributor

@ignatov ignatov commented Apr 22, 2026

Summary

  • add registry-archive support to the registry build, including incremental merge logic and sync validation against the current registry.json
  • add a one-off backfill script plus a checked-in bootstrap seed built from published release snapshots
  • publish registry-archive.json and registry-archive.schema.json alongside the existing registry artifacts

Why

The registry already publishes immutable historical snapshots, but there was no cumulative index of all published agent versions. This change bootstraps that archive once and then keeps it current incrementally on each build.

Impact

Clients can resolve historical install/run metadata for old agent versions from a single archive file, while the build now fails if the current registry snapshot and archive drift apart.

Validation

  • cd .github/workflows && uv run --with pytest pytest tests/test_backfill_registry_archive.py -q
  • cd .github/workflows && uv run --with ruff ruff check registry_archive.py build_registry.py tests/test_backfill_registry_archive.py backfill_registry_archive.py
  • SKIP_URL_VALIDATION=1 uv run --with jsonschema .github/workflows/build_registry.py --dry-run --previous-archive .github/workflows/bootstrap/registry-archive.seed.json
  • SKIP_URL_VALIDATION=1 uv run --with jsonschema .github/workflows/build_registry.py --previous-archive .github/workflows/bootstrap/registry-archive.seed.json

@ignatov
Copy link
Copy Markdown
Contributor Author

ignatov commented Apr 22, 2026

@benbrandt just for your information

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.

2 participants