Repository navigation
Save library views as mdbase.view records - #24
Merged
Merged
Conversation
Saved views are now ordinary records of a type implementing the mdbase.view contract. Reader provisions the published mdbase.view pack beside its own, requires the contract, and saves views with create and whole-document update under its record grants, so it no longer requests views.manage. New views are written at views/<view id>.md. View builders return frontmatter rather than serialized documents, the manifest check verifies every provided pack, and both manifest writers format with the repository's Prettier configuration.
callumalpass
force-pushed
the
feature/view-contract
branch
2 times, most recently
from
September 28, 2026 11:35
eda663f to
186a8e9
Compare
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.
Saved views are now ordinary records of a type implementing the
mdbase.viewcontract (mdbase-dev/mdbase-spec#56).mdbase.viewand provisions the publishedmdbase.viewpack (Add the mdbase.view saved-view contract pack mdbase-contracts#11) beside Reader's own, so collection setup installs it.createatviews/<view id>.mdand replaced with a whole-documentupdate, under Reader's record grants. Reader no longer requestsviews.manage.manifest:verifychecks every provided pack and that a view record projects throughmdbase.view; both manifest writers format with the repository's Prettier configuration.Depends on the connect release that pins callumalpass/mdbase-rs#94. The same flow (setup installs the pack, then create/list/execute/replace/delete a view record with record grants only) is covered end to end in the mdbase-connect e2e.
pnpm checkpasses.🤖 Generated with Claude Code