Repository navigation
Open
Milestone
Description
- Owner: @Saanvi521 ·
minigit/index.py,tests/test_index.py,tests/test_checkout_safety.py - Deliverables:
docs/writeups/module-2.md, staging/status/diff segment ofdocs/demo.md, working-tree performance evidence - Depends on: Week 9 - M2: Working-tree demo rehearsal + usability fixes #61; verify Week 7 - M2: Polish status + diff output #45 and Week 8 - M2: Status/diff performance + working-tree regression checks #56 acceptance against merged W8: feat/working-tree-performance-finalization #64 (W7: Feat/status diff polish #54 is superseded)
- Branch from updated
main:docs/week10-working-tree-handoff
Current checkpoint (2026-11-18)
- Starting point: W8: feat/working-tree-performance-finalization #64's status/diff and walk optimization is merged; W7: Feat/status diff polish #54 is superseded. Polish log output and CLI errors #66's public merge-status helper is available, but both M2 private calls still need migration.
- Remaining: complete Week 7 - M2: Polish status + diff output #45/Week 8 - M2: Status/diff performance + working-tree regression checks #56/Week 9 - M2: Working-tree demo rehearsal + usability fixes #61, including the missing benchmark reproduction, helper integration, README/demo examples, Module 2 writeup, and recorded teammate run. Reuse Week 9 - Team: Track the project with mini-git + recovery rehearsal #73's project-source evidence where relevant.
- This is final acceptance at a recorded revision, not a new implementation of the already-merged Week 7/8 work.
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
- Carry forward unresolved Week 9 - M2: Working-tree demo rehearsal + usability fixes #61 findings with reproductions and owners. Review W8: feat/working-tree-performance-finalization #64's final behavior and avoid duplicating the superseded W7: Feat/status diff polish #54 implementation.
- Make the performance results reproducible:
docs/performance.mdcurrently instructs readers to runbench_working_tree.py, but W8: feat/working-tree-performance-finalization #64 does not include that file. Check in the actual benchmark or replace the instructions with an available equivalent and rerun the measurements. Record exact before/after revisions and align with Week 7 - M4: Network diagnostics + end-to-end performance baseline #47's shared fixture when available; do not present incomparable fixtures as one baseline. - Have a teammate demonstrate a file committed, edited/staged, then edited again; verify status distinguishes staged and unstaged bytes and commit records only the index snapshot. Verify context hunks, binary summaries, mode-only changes, unusual paths, and missing-final-newline output using existing coverage.
- Rehearse safe checkout and persistent conflict resolution with M3: dirty or colliding untracked work is preserved; unresolved paths remain visible; explicit add (including deletion resolution) enables the two-parent commit. Status/diff must remain read-only. Keep fresh-process regression coverage on the integrated revision. M2 currently calls the private
_read_pending_merge()helper; coordinate adoption of M3's new publicget_merge_status()from Polish log output and CLI errors #66 so the documented module boundary matches the implementation. - Finalize
docs/writeups/module-2.mdwith index snapshots, nested trees, Myers diff reuse, checkout safety, the file-walk optimization, measurements, tradeoffs, and lessons learned. Update README/demo expected output to include the branch heading and actual current diff semantics. - Add focused tests for new fixes, run
scripts/quality-check.sh, and open a linked PR for teammate review. Record the tested revision and hand off remaining limitations to M4.
Done when
- Missing benchmark/reproduction instructions are fixed and verified
- Staging, status/diff, checkout, and conflict resolution pass on the final revision
- Final Module 2 writeup and demo output match the shipped CLI
- Teammate rehearsal, quality check, and linked reviewed PR are recorded
Activity