Repo-level public DWN MVP#180
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.
Summary
This PR turns the previous broad refactor into a repo-level public MVP for using gitd in place of GitHub's core collaboration surface. It focuses on source, branches, issues, PRs, moderation, local helpers, and passive DWN-backed sync/restore. CI, private repos, org/team inheritance, and public indexer design remain out of scope for this slice.
Key pieces:
moderatorbehavior and CLI moderation commands for blocks, locks, hide/unhide/delete comment events, reports, and interaction limits.$squashonly their ownrefs/heads/users/<did-hash>/...branches; maintainers/owners retain protected/default branch authority.$squashcheckpoints and reducers for deterministic branch convergence.gitd servethe local helper for CLI/local use, including profile-scoped helper discovery, local-only CLI RPC forwarding, passive DWN sync, and empty-cache restore from DWN records.git-remote-didclone/fetch through the local DWN helper when the target repo owner is remote and no hosted GitTransport service is needed.REPO_LEVEL_MVP_PLAN.md.Verification
bun run buildbun testNotes
The passive-DWN e2e proves the key public repo loop: Alice creates and syncs the repo, Bob clones through his local helper, Bob pushes a contributor branch to Alice's canonical repo via passive-DWN records, Bob opens canonical work items, Casey moderates, Alice merges, and a fresh Bob helper clones the merged repo from DWN records without a hosted authority service holding project keys.