8000 T11 — Override network, ingress and loadouts at start · Issue #2903 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T11 — Override network, ingress and loadouts at start #2903

Open

Description

@mitodrummer

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, --ingress or --loadout stores those values, and min box show --network shows 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, --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
    • cargo nextest run -p minimal network_flags_override_stored_spec_and_projection
    • cargo nextest run -p minimal start_loadout_flag_selects_loadouts_layer
    • 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

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

No one assigned

    Labels

    kind:taskA task the plan skill rendered; the body carries ## Taskmodel:standardA standard model: work that needs care, or routine work that is largesize:M200 to 500 net lines; one PR

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0