Repository navigation
Closed
Labels
kind:taskA task the plan skill rendered; the body carries ## Taskmodel:strongestThe strongest model available: unknown ground, or large work that needs careplan:enablementUnblocks other tasks: a lane, a gated path, a missing piece of the treesize:L500 to 900 net lines; one PR, and the ceiling
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Retained sessions | L | needs care | strongest | an agent | 720 (420 code, 300 tests) |
Old records and replies round-trip; one id everywhere.
Covers:
- none
Layers:
- record:
- crates/boxes/src/lib.rs: box id is the key; alias kept
- crates/boxes/src/store.rs: keyed by box id; reads old records
cargo nextest run -p boxes record_json_written_before_the_merge_round_trips
- wire:
- crates/minimald-rpc/src/lib.rs: reply ids convert, bytes unchanged
- crates/minimald-rpc/src/tests.rs: reply id round-trips
cargo nextest run -p minimald-rpc every_reply_id_round_trips_byte_for_byte
- daemon:
- crates/minimald/src/box_manager.rs: holder keeps id time order
- crates/minimald/src/box_manager/tests.rs: tests
cargo nextest run -p minimald creation_order_holder_follows_box_id_time_order
- vm-host:
- crates/minvmd/src/bep_attach.rs: mints the one id type
cargo nextest run -p minvmd minted_box_id_is_the_record_key_type
Waits on:
- T34 — Move the session commands into one file per verb #2375
- T35 — Break session activation into named steps #2380
- T36 — Name the CLI's operations after the box #2383
- T37 — Move the daemon's RPC and server tests out, and build daemon-side create requests through one constructor #2381
- T51 — Move the exec and RPC-crate tests into their own files #2376
- T38 — Split the box actor into files by concern #2377
- T39 — Split the box runtime into files by concern #2378
- T41 — Split the box manager's tests and handle into their own files #2379
- T55 — Build the CLI's and the VM tests' create requests through the same constructor #2384
Plan block
### T45 — Make the box id the one key for every record
slice: S0
kind: enablement
covers: none
size: L
est: 420 code, 300 tests
executor: agent
difficulty: needs care
model: strongest
diagnostics: daemon log names boxes by one id
observability: spans and log lines carry box id
layers:
- record:
- crates/boxes/src/lib.rs: box id is the key; alias kept
- crates/boxes/src/store.rs: keyed by box id; reads old records
test: cargo nextest run -p boxes record_json_written_before_the_merge_round_trips
- wire:
- crates/minimald-rpc/src/lib.rs: reply ids convert, bytes unchanged
- crates/minimald-rpc/src/tests.rs: reply id round-trips
test: cargo nextest run -p minimald-rpc every_reply_id_round_trips_byte_for_byte
- daemon:
- crates/minimald/src/box_manager.rs: holder keeps id time order
- crates/minimald/src/box_manager/tests.rs: tests
test: cargo nextest run -p minimald creation_order_holder_follows_box_id_time_order
- vm-host:
- crates/minvmd/src/bep_attach.rs: mints the one id type
test: cargo nextest run -p minvmd minted_box_id_is_the_record_key_type
produces: none
consumes: none
proof: Old records and replies round-trip; one id everywhere.
depends on:
- blocked by #2375
- blocked by #2380
- blocked by #2383
- blocked by #2381
- blocked by #2376
- blocked by #2377
- blocked by #2378
- blocked by #2379
- blocked by #2384
Reacted by minimal-foundry
Metadata
Metadata
Assignees
Labels
kind:taskA task the plan skill rendered; the body carries ## Taskmodel:strongestThe strongest model available: unknown ground, or large work that needs careplan:enablementUnblocks other tasks: a lane, a gated path, a missing piece of the treesize:L500 to 900 net lines; one PR, and the ceiling
Activity
minimal-foundry commentedon Oct 21, 2026
Done. #2485 merged.
branch
agent/2385-make-the-box-id-the-one-key-for-every-record· epic #2236 · PR #24859c286125cbca2f683eae0c5002760d1e3afc2c8dUpdated 2026-10-24T23:06:56.587Z.