Repository navigation
Open
Description
- Owner: @mahis1067 ·
minigit/objects.py,tests/test_objects.py - Deliverables: current
docs/packfiles.md,docs/writeups/module-1.md, storage segment for the shareddocs/demo.md - Depends on: Week 8 - M1: Measured storage optimizations + packfile regression checks #55; use the integrated Week 8 checkpoint from Week 8 - M4: Network performance + final end-to-end checkpoint #58
- Branch from updated
main:docs/week9-storage-readiness - Plan: Weeks 9-10 buffer, stretch goals, and demo prep
Current checkpoint (2026-11-18)
- Landed: Document storage formats and add a reproducible snapshot demo #72 provides the Module 1 writeup, an executable storage demo with matching output, and format/API limitations. Bound pack-index caching and verify replacement detection #71 provides bounded-cache validation and revision-pinned storage measurements; the docs now use one canonical measurement report.
- Remaining: finish the shared Week 8 - M1: Measured storage optimizations + packfile regression checks #55/Week 8 - M4: Network performance + final end-to-end checkpoint #58 verification and record another teammate reproducing the storage segment at that integrated revision. The local validation run is recorded in the runbook; it is not a substitute for a named teammate rehearsal.
- Keep final acceptance here until that evidence exists. Week 10 - M1: Storage verification + final design writeup #67 handles the final Week 10 verification and handoff rather than recreating the draft writeup.
Scope
Week 9 turns the delivered storage implementation into a reproducible demo and a short design writeup. Finish the Week 7/8 prerequisites before final verification; their open issues are not assumed complete. Documentation and rehearsal planning can start now. Keep hashes, formats, APIs, and M1's ownership of object-file I/O compatible.
Steps
- Review Week 8 - M1: Measured storage optimizations + packfile regression checks #55 and the shared Week 8 performance report. Carry forward unresolved storage findings with their existing issue links; fix reproducible blockers to the demo and add focused regressions for those fixes.
- Rehearse a small storage explanation in a temporary repository: identical bytes produce the same object ID, changing bytes changes the ID, a nested tree links to blobs/subtrees, and a commit points to the root tree. Use the supported
hash-objectandcat-filecommands or documented Python APIs. - Demonstrate the same snapshot reading correctly from loose, packed-only, and mixed storage using existing fixtures/helpers. Match the actual packfile entry point; do not imply a pack CLI exists unless it has shipped. Keep any removal of loose fixture objects inside disposable test repositories.
- Explain and verify the established missing-object versus corrupt-object behavior, validation of duplicate writes, and pack publication order. Reuse the Week 8 regressions; add a new test only for a new failure found during rehearsal.
- Draft
docs/writeups/module-1.md: what was built, object framing and hashing, tree serialization, compression/pack layout, key tradeoffs, measured results fromdocs/performance.md, and what you would change next. Separate measurements from expectations. - Reconcile
docs/packfiles.mdwith the delivered implementation. Document remaining limitations, including deferred pruning/garbage collection or delta compression, without expanding this issue into those features. - Supply the storage segment and expected results to M4's shared demo. Have another teammate follow it from a clean temporary repository; record the tested revision and any blocker.
- Run
scripts/quality-check.sh; open a linked PR and request teammate review. Any optional stretch contribution follows the team's Week 9 triage after core readiness.
Done when
- Storage-related demo blockers are fixed with focused regressions, or explicitly tracked with a reproduction and owner
- Loose/packed/mixed storage and integrity behavior agree with the existing checkpoint
- Object/pack documentation matches the actual supported entry points
- Module 1 writeup is drafted with design decisions, tradeoffs, and measured evidence
- A teammate reproduced the storage demo; quality check is green; linked PR and review request are ready
Activity