Repository navigation
feat(registry): add signed versioned extension catalog snapshots (#121) - #138
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Priority: P2 | Area: registry | Labels: feat,area:registry,P2 | Milestone: v0.1.0 | RFC: OQ-028, OQ-029 | Task: CTX-0048
Summary
scripts/extension-catalog.tsimplementing the versioned, Ed25519-signed extension catalog snapshot publisher and reader (schema_version = 1) withCatalogKeyDirectory(active/retired/revoked) rotation and revocation windows, monotonicsnapshot_version, boundedissued_at/expires_at, andpayload_sha256digest over canonical unsigned payload bytes.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), releaseSHA256SUMScross-checking (E_CATALOG_ARTIFACT_MISMATCH), and offline seed bootstrap boundary preservation (resolveCatalogArtifact).tests/extension-catalog.test.ts, document the contract inREADME.md, and wirejust catalog-validateintojustfile,registry-check.yml, anddeploy.yml.Verification
just check(198 pass, 0 fail,just catalog-validate,just registry-validate,just registry-check,just app-build)just actionlintgitleaks detect --source . --no-gitAPPROVE(ctx-0048-reviewer,PX-0155)Closes #121