Skip to content

Week 9 - M1: Storage readiness + object-format writeup #60

Open

Description

@aman-a-shah

Current checkpoint (2026-11-18)

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

  1. 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.
  2. 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-object and cat-file commands or documented Python APIs.
  3. 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.
  4. 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.
  5. Draft docs/writeups/module-1.md: what was built, object framing and hashing, tree serialization, compression/pack layout, key tradeoffs, measured results from docs/performance.md, and what you would change next. Separate measurements from expectations.
  6. Reconcile docs/packfiles.md with the delivered implementation. Document remaining limitations, including deferred pruning/garbage collection or delta compression, without expanding this issue into those features.
  7. 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.
  8. 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

  1. added
    module-1
    week-9
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

module-1week-9

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions