M3 slice 6: Explored persistence #21

Closed
opened 2026-11-14 20:55:56 +01:00 by SirStone · 1 comment
Owner

What

Explored area persisted in chunks, loaded on start, round-trips exactly; schema migration from an old DB to the new one works. See DESIGN 4.4, 6.4, 10.3.

Acceptance

  • Test group persistence green: explored chunks round trip; old DB migrates to new (fixture DB from a previous schema version).
  • Restart: each player's explored area identical before and after.
  • Write timing does not hold the global lock beyond limits in 4.3.
  • devbox run test green.

Decide while building

Chunk format and size, when chunks are written, DDL. Record as FIXED (owner-delegated) in DESIGN.

Refs

Map #2. Decisions: #12 What M3 done means, #10 Library check: mummy and db_connector. DESIGN 4.3, 4.4, 6.4, 10.3, 13 (M3 group 8).

## What Explored area persisted in chunks, loaded on start, round-trips exactly; schema migration from an old DB to the new one works. See DESIGN 4.4, 6.4, 10.3. ## Acceptance - Test group **persistence** green: explored chunks round trip; old DB migrates to new (fixture DB from a previous schema version). - Restart: each player's explored area identical before and after. - Write timing does not hold the global lock beyond limits in 4.3. - `devbox run test` green. ## Decide while building Chunk format and size, when chunks are written, DDL. Record as FIXED (owner-delegated) in DESIGN. ## Refs Map #2. Decisions: #12 What M3 done means, #10 Library check: mummy and db_connector. DESIGN 4.3, 4.4, 6.4, 10.3, 13 (M3 group 8).
SirStone added the ready-for-agent label 2026-11-14 20:55:56 +01:00
SirStone added a new dependency 2026-11-14 20:56:14 +01:00
SirStone added a new dependency 2026-11-14 20:56:15 +01:00
SirStone added a new dependency 2026-11-14 20:56:21 +01:00
Author
Owner

Slice complete and merged to main.

Commits:

  • 22014a3 server: the chunked explored store (#21)
  • df4634d server: load and persist explored with every mutation (#21)
  • 8c7487b tools: the persistence group and six explored mutations (#21)
  • fe7ffb0 design: record the explored persistence decisions (#21)
  • d773a5e results: rerun the slice 6 gates on the final tree (#21)

Gate: devbox run test + devbox run mutation green on the final tree.

Slice complete and merged to `main`. Commits: - `22014a3` server: the chunked explored store (#21) - `df4634d` server: load and persist explored with every mutation (#21) - `8c7487b` tools: the persistence group and six explored mutations (#21) - `fe7ffb0` design: record the explored persistence decisions (#21) - `d773a5e` results: rerun the slice 6 gates on the final tree (#21) Gate: `devbox run test` + `devbox run mutation` green on the final tree.
Sign in to join this conversation.