Repository navigation
Complete authenticated pull and the week 6 integration checkpoint - #49
Merged
Merged
Conversation
Co-authored-by: Shuhan6017 <135551146+Shuhan6017@users.noreply.github.com>
aman-a-shah
approved these changes
Oct 25, 2026
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.
Complete pull by fetching the advertised commit's entire object graph and passing the validated tip to
CommitManager.integrate_fetched_tip. Checked-out branches restore or merge their working trees, inactive branches advance without checkout, and conflicts retain their pending state for explicit resolution.Add authenticated
ls-remote,fetch, and multi-branch push/pull with shared-object deduplication. Preserve stale-push rejection, validate branch names and expected object types, bound protocol lines, reject malformed lengths, redact reflected tokens, and keep the server available after bad sessions.Replace the temporary merge implementation in network tests with the real commit manager. The mandatory Week 6 checkpoint uses fresh CLI processes for branch exchange, real two-parent merges, stale-push rejection, pull conflicts, resolution, and synchronization back to the other repository. Retain the storage PR's packed-only and missing-descendant regressions. README now documents the supported pull workflow.
Closes #41.
Validation:
scripts/quality-check.sh(390 tests, including storage, working-tree safety, fetched-tip integration, protocol failure/retry, and subprocess checkpoints).