Repository navigation
Open
Milestone
Description
- Owner: @DanisLol ·
minigit/commits.py,tests/test_commits.py, shared CLI tests - Deliverables:
docs/writeups/module-3.md, history/merge segment ofdocs/demo.md, final CLI consistency evidence - Depends on: Week 9 - M3: History/merge demo rehearsal + design writeup #62; carry forward incomplete Week 7 - M3: Polish log output + shared CLI errors #46 and Week 8 - M3: History performance + final CLI consistency audit #57 work; coordinate M2 and M4 integration
- Branch from updated
main:docs/week10-history-handoff
Current checkpoint (2026-11-18)
- Starting point: Polish log output and CLI errors #66 delivers the log/merge CLI polish and public state helpers.
- Remaining: complete Week 7 - M3: Polish log output + shared CLI errors #46/Week 8 - M3: History performance + final CLI consistency audit #57/Week 9 - M3: History/merge demo rehearsal + design writeup #62's shared error audit, measured history pass, helper adoption, Module 3 writeup, and teammate rehearsal. Verify both-parent history and conflict resolution again at the final integrated revision.
- Keep unsupported command variants documented as limitations; the completion estimate covers the original 10-week core deliverables, not unselected extensions.
Scope
Finish the final week of the planned Weeks 9-10 buffer. Earlier open issues remain prerequisites, not assumed accomplishments. Fix reproducible blockers, finalize the writeup, and verify the delivered behavior at the team's recorded demo revision. Preserve existing module contracts; optional stretch work is only included if separately selected and completed after core readiness.
Steps
- Review Week 9 - M3: History/merge demo rehearsal + design writeup #62 and the final log/CLI changes in Polish log output and CLI errors #66. Keep remaining Week 8 - M3: History performance + final CLI consistency audit #57 performance and consistency work explicit rather than treating log polish as completion of the whole history milestone.
- Verify the final demo graph: root commit, branch, fast-forward, clean divergent two-parent merge, and overlapping conflict resolved across fresh processes. Confirm conflict parent order remains
[local_tip, other_tip], unresolved paths block commit, and unsuccessful operations preserve branch tips and local work. - Check detailed log and
log --onelineagainst the delivered behavior: full IDs/parents, timezone-explicit date, multiline messages, deterministic stored-parent traversal, shared ancestors once, and no reliance on timestamp ordering. Reuse skewed/equal timestamp and second-parent ancestry tests. - Complete the shared CLI audit with M2/M4: help, successful outcomes, stderr, exit codes, missing/corrupt objects, invalid refs, dirty checkout, merge conflict, and network rejection. Keep module APIs compatible and use the shared exception boundary; add focused regressions for actual gaps.
- Finalize
docs/writeups/module-3.md: immutable snapshots, refs/HEAD, graph traversal, merge-base choices, fast-forward/three-way merge, conflict state, fetched-tip integration, measured results, design tradeoffs, and lessons learned. Keep documented ordering and supported command variants precise. - Have a teammate reproduce the history segment at the final revision. Run
scripts/quality-check.sh, open a linked PR, request teammate review, and provide M4 with the final writeup, CLI evidence, and remaining limitations.
Done when
- History and conflict/merge acceptance pass at the final integrated revision
- CLI audit and any outstanding history performance work have evidence or explicit follow-ups
- Final Module 3 writeup and demo match delivered graph and CLI behavior
- Teammate rehearsal, quality check, and linked reviewed PR are recorded
Activity