Repository navigation
Open
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 |
|---|---|---|---|---|---|
| Start, attach and resume | M | routine | standard | an agent | 400 (220 code, 180 tests) |
A box started with
--network,--ingressor--loadoutstores those values, andmin box show --networkshows them.
Covers:
- BCLI-024
- BCLI-073
- BCLI-025
Layers:
- client:
- crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
- crates/minimal/src/cmd/boxes/create.rs: passes
--network,--ingressand--loadoutto the command-line override layer - crates/minimal/src/cmd/boxes/show.rs:
min box show --networkrenders the stored network section - crates/minimal/src/cmd/boxes/policy.rs: shares the effective-network rendering
- crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
cargo nextest run -p minimal network_flags_override_stored_spec_and_projectioncargo nextest run -p minimal start_loadout_flag_selects_loadouts_layercargo nextest run -p minimal box_show_network_renders_effective
- docs:
- docs/reference/cli-min.md: documents
--networkand--ingressas overrides of the entry's network keys
- docs/reference/cli-min.md: documents
Waits on:
Plan block
### T11 — Override network, ingress and loadouts at start
slice: S3
kind: task
covers: BCLI-024, BCLI-073, BCLI-025
size: M
est: 220 code, 180 tests
executor: agent
difficulty: routine
model: standard
diagnostics: `min box show <box> --network` prints the box's effective network section as it was stored, overrides included, pinned by box_show_network_renders_effective
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/create.rs: passes `--network`, `--ingress` and `--loadout` to the command-line override layer
- crates/minimal/src/cmd/boxes/show.rs: `min box show --network` renders the stored network section
- crates/minimal/src/cmd/boxes/policy.rs: shares the effective-network rendering
- crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
test: cargo nextest run -p minimal network_flags_override_stored_spec_and_projection
test: cargo nextest run -p minimal start_loadout_flag_selects_loadouts_layer
test: cargo nextest run -p minimal box_show_network_renders_effective
- docs:
- docs/reference/cli-min.md: documents `--network` and `--ingress` as overrides of the entry's network keys
produces: none
consumes: none
proof: A box started with `--network`, `--ingress` or `--loadout` stores those values, and `min box show --network` shows them.
depends on:
- blocked by #2898
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