feat: rename author to issuer with URI-based identity#1
Merged
Conversation
Replace the opaque `author` string with `issuer`, a URI-based identity field (`mailto:`, `https:`, `urn:qualifier:`). Rename `author_type` to `issuer_type` and `AuthorType` to `IssuerType`. This is a breaking change to the Metabox envelope — all content-addressed IDs change due to the MCF field rename and body field reordering.
The deploy step was guarded by `github.event_name == 'push'`, so PR builds never deployed a preview. Deploy to a branch-specific Cloudflare Pages URL on PRs so the preview comment actually has a URL to post.
|
🔍 Preview deployed: https://258a1fd9.qualifier-dev.pages.dev |
Move issuer_type (human/ai/tool/unknown) from the body of Attestation and Epoch records to the Metabox envelope, making it uniform across all record types and accessible without body parsing. DependencyRecord gains issuer_type for the first time. Envelope field order is now: metabox, type, subject, issuer, issuer_type, created_at, id, body. Golden epoch ID updated (canonical form changed); attestation and dependency IDs unchanged (issuer_type was None).
Add scripts/fmt.sh (cargo fmt + prettier) and scripts/quality_gates.sh (format, clippy, test, doc, site gates), adapted from toolpath. Prettier-reformat site CSS, JS, and markdown.
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.
Replace the opaque
authorstring withissuer, a URI-based identity field (mailto:,https:,urn:qualifier:). Renameauthor_typetoissuer_typeandAuthorTypetoIssuerType. This is a breaking change to the Metabox envelope — all content-addressed IDs change due to the MCF field rename and body field reordering.