Skip to content

feat(registry): add signed versioned extension catalog snapshots (#121) - #138

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0048/feat-extension-catalog-snapshots
Nov 10, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-0048/feat-extension-catalog-snapshots

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Priority: P2 | Area: registry | Labels: feat,area:registry,P2 | Milestone: v0.1.0 | RFC: OQ-028, OQ-029 | Task: CTX-0048

Summary

  • Add scripts/extension-catalog.ts implementing the versioned, Ed25519-signed extension catalog snapshot publisher and reader (schema_version = 1) with CatalogKeyDirectory (active / retired / revoked) rotation and revocation windows, monotonic snapshot_version, bounded issued_at/expires_at, and payload_sha256 digest over canonical unsigned payload bytes.
  • Enforce closed-schema rejection (E_CATALOG_UNKNOWN_FIELD), shared size/count/TTL bounds (CATALOG_MAX_BYTES, CATALOG_MAX_ENTRIES, CATALOG_MAX_ENTRY_BYTES, CATALOG_MAX_TTL_MS), anti-downgrade (E_CATALOG_DOWNGRADE), release SHA256SUMS cross-checking (E_CATALOG_ARTIFACT_MISMATCH), and offline seed bootstrap boundary preservation (resolveCatalogArtifact).
  • Add unit and conformance tests in tests/extension-catalog.test.ts, document the contract in README.md, and wire just catalog-validate into justfile, registry-check.yml, and deploy.yml.

Verification

  • just check (198 pass, 0 fail, just catalog-validate, just registry-validate, just registry-check, just app-build)
  • just actionlint
  • gitleaks detect --source . --no-git
  • Independent review: APPROVE (ctx-0048-reviewer, PX-0155)

Closes #121

@Xuepoo Xuepoo added this to the v0.1.0 milestone Nov 10, 2026
@Xuepoo Xuepoo added feat Feature P2 Priority: medium area:registry Plugin registry sources, pins, and generated metadata labels Nov 10, 2026
@Xuepoo
Xuepoo merged commit 76f8cd5 into main Nov 10, 2026
6 checks passed
@Xuepoo
Xuepoo deleted the ctx-0048/feat-extension-catalog-snapshots branch November 10, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:registry Plugin registry sources, pins, and generated metadata feat Feature P2 Priority: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[registry] Signed versioned extension catalog snapshots with bounded freshness

1 participant