8000 T43 — Box show takes -o json|yaml, with its execs · Issue #3320 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

T43 — Box show takes -o json|yaml, with its execs #3320

Closed

Description

@agent-137

Task

min box show <box> -o json|yaml emits the box as a min/v1/box object, with its live execs as min/v1/exec objects.

Added by the owner on 2026-11-12, from his test run (test plan check N13). On unstable 0.8.0-dev.501.g049c4fbd and on main, min box show takes no -o: "error: unexpected argument '-o' found". Spec 28's BCLI-033 names min/v1/exec as "the exec listing in box show". min box list -o json works, but its box objects carry no execs.

Covers:

  • BCLI-033 (the min/v1/exec listing in box show)
  • BCLI-053 (live execs in box show)

Layers:

  • client:
    • crates/minimal/src/cli.rs: min box show takes -o json|yaml
    • crates/minimal/src/cmd/boxes/show.rs: renders one min/v1/box object with the fields the text form shows, and its live execs as min/v1/exec objects in an execs field
    • crates/minimal/src/main.rs: machine_output_mode lists box show, so a refusal under -o json is a min/v1/error object
    • crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
    • cargo nextest run -p minimal box_show_output_json_writes_box_with_execs
    • cargo nextest run -p minimal box_show_output_yaml_matches_json
Plan block
### T43 — Box show takes -o json|yaml, with its execs
  slice: S4
  kind: task
  covers: BCLI-033, BCLI-053
  size: M
  est: 110 code, 140 tests
  executor: agent
  difficulty: routine
  model: standard
  diagnostics: a refusal under -o json is a min/v1/error object, pinned by box_show_output_json_writes_box_with_execs
  observability: none new
  layers:
    - client:
      - crates/minimal/src/cli.rs: `min box show` takes `-o json|yaml`
      - crates/minimal/src/cmd/boxes/show.rs: renders one `min/v1/box` object with the fields the text form shows, and its live execs as `min/v1/exec` objects in an `execs` field
      - crates/minimal/src/main.rs: `machine_output_mode` lists `box show`, so a refusal under `-o json` is a `min/v1/error` object
      - crates/minimal/src/tests.rs: the in-process minimald test harness gains this layer's tests
      test: cargo nextest run -p minimal box_show_output_json_writes_box_with_execs
      test: cargo nextest run -p minimal box_show_output_yaml_matches_json
  produces: none
  consumes: none
  proof: `min box show <box> -o json` prints one `min/v1/box` object whose `execs` field lists each live exec as a `min/v1/exec` object; yaml carries the same document.

Activity

  1. minimal-foundry commented on Nov 12, 2026

    @minimal-foundry
    Contributor

    Done. #3334 merged.

    branch agent/3320-box-show-takes-o-json-yaml-toml-with-its-execs · epic #2879 · PR #3334

slice size difficulty model who estimated lines
Inspect a box M routine standard an agent 250 (110 code, 140 tests)
round outcome job
1 pushed f15d5722
2 pushed ff542d3d
3 changed nothing: No change this round. The branch head already holds everything the note asks for. Commit 61ff3be (fix(minimal): drop -o toml from min box show) removed the Toml variant of BoxShowOutputFormat and the cb605929
4 changed nothing: Revise round 4: no code change. The one open thread asks for '-o toml'. The task fixes the flag as '-o json|yaml', and earlier accepted findings (C1) removed 'Toml' on purpose. The PR title, body and 90d06654

Updated 2026-11-13T00:32:45.437Z.

  • changed the title [-]T43 — Box show takes -o json|yaml|toml, with its execs[/-] [+]T43 — Box show takes -o json|yaml, with its execs[/+] on Nov 12, 2026
  • Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No labels
      No labels

      Type

      No type

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions

        0