Clarify discovery roles, make dist-pin authoritative, and split checksum surfaces (Model A)#5
Open
Clarify discovery roles, make dist-pin authoritative, and split checksum surfaces (Model A)#5
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.
Motivation
dist-pin/was ambiguous between a local staging area and a publish bundle, which undermined release integrity.checksums.txtthat mixed current release truth with archival and bundle artifacts, making verification noisy.Description
.well-known/agent.jsonis the current pointer and.well-known/agent-cards-v1.1.0.jsonis the frozen v1.1.0 snapshot, and both files now include explicitmeta.descriptor_rolefields.schemas/v1.1.0/agent.descriptor.schema.jsonto allow exactly the pointer/snapshot meta fields and updated.well-known/*JSON to setdescriptor_role,current_pointer_target, andfrozen_release.scripts/validate-cards.mjsso the pointer may differ only in the allowed pointer fields and fail validation on any other drift.dist-pin/agent-cards/v1.1.0a committed authoritative publish bundle by removing it from.gitignore, adding it topackage.jsonfiles, documenting the intent inREADME.md, and adding bundle mirroring checks inscripts/validate-cards.mjs.scripts/generate-checksums.mjsto generate/verifychecksums-v1.1.0.txt(current release),checksums-v1.0.0.txt(archival), and bundle-localdist-pin/.../checksums.txt, and removed the singlechecksums.txt.meta/manifest.json,README.md, anddist-pin/bundle copies so manifest and docs point readers to the canonicalchecksums-v1.1.0.txtand the bundle-local checksums files.Testing
npm run validate(which runsvalidate:cards, checksum verification andtsc --noEmit) and it completed successfully.npm run validate:cardsto exercise schema + discovery relationship + dist-pin mirroring checks and it passed.node scripts/generate-checksums.mjsandnode scripts/generate-checksums.mjs --verify(invoked vianpm run generate:checksums/npm run validate:checksums) and all generated and bundle-local checksum files matched their expected scopes.Codex Task