Repository navigation
Closed
Labels
kind:taskA task the plan skill rendered; the body carries ## TaskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largeA standard model: work that needs care, or routine work that is largesize:M200 to 500 net lines; one PR200 to 500 net lines; one PR
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Manage retained boxes | M | routine | standard | an agent | 380 (200 code, 180 tests) |
min box renamerenames a box, andmin box pruneremoves old boxes after--yes.
Covers:
- BCLI-058
- BCLI-061
- BCLI-005
Layers:
- client:
- crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
- crates/minimal/src/cmd/boxes/lifecycle.rs:
min box renameandmin box prune [--older-than] [--parent] [--yes] - crates/minimal/src/main.rs:
failure_exit_codemaps this verb's refusals to their exit codes - crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
cargo nextest run -p minimal box_rename_renames_as_box_010cargo nextest run -p minimal box_prune_flags_map_to_box_021_selectorscargo nextest run -p minimal prune_off_tty_needs_yes
Waits on:
Plan block
### T22 — Rename and prune boxes
slice: S6
kind: task
covers: BCLI-058, BCLI-061, BCLI-005
size: M
est: 200 code, 180 tests
executor: agent
difficulty: routine
model: standard
diagnostics: off a terminal, `min box prune` prints "Prune removes boxes. Pass --yes to confirm, or --dry-run to see what it would remove." and exits 2, pinned by prune_off_tty_needs_yes
observability: the command's existing tracing span records the verb, the box id it resolved and the outcome
layers:
- client:
- crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
- crates/minimal/src/cmd/boxes/lifecycle.rs: `min box rename` and `min box prune [--older-than] [--parent] [--yes]`
- crates/minimal/src/main.rs: `failure_exit_code` maps this verb's refusals to their exit codes
- crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
test: cargo nextest run -p minimal box_rename_renames_as_box_010
test: cargo nextest run -p minimal box_prune_flags_map_to_box_021_selectors
test: cargo nextest run -p minimal prune_off_tty_needs_yes
produces: none
consumes:
- crates/minimal/src/cmd/boxes/address.rs
proof: `min box rename` renames a box, and `min box prune` removes old boxes after `--yes`.
depends on:
- blocked by #2895
Reacted by minimal-foundry
Metadata
Metadata
Assignees
Labels
kind:taskA task the plan skill rendered; the body carries ## TaskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largeA standard model: work that needs care, or routine work that is largesize:M200 to 500 net lines; one PR200 to 500 net lines; one PR
Activity
minimal-foundry commentedon Nov 4, 2026
Done. #3008 merged.
branch
agent/2907-rename-and-prune-boxes· epic #2879 · PR #3008737630c1431ae4936a84712d1422a752Updated 2026-11-05T01:15:39.529Z.