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:L500 to 900 net lines; one PR, and the ceiling500 to 900 net lines; one PR, and the ceiling
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Inspect specs and types | L | routine | standard | an agent | 500 (200 code, 300 tests) |
min initwrites an entry-shapedminimal.toml, andmin init <entry> --type <type>appends one entry.
Covers:
- BCLI-017
- BCLI-018
Layers:
- client:
- crates/minimal/src/cli.rs: the verb's arguments and help in the one command model
- crates/minimal/src/cmd/project.rs:
min initscaffolds the entry shape and appends one entry by--typeor a noun flag - 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 init_scaffolds_entry_shapecargo nextest run -p minimal init_entry_type_appends_onecargo nextest run -p minimal init_refused_type_exit3_appends_nothingcargo nextest run -p minimal init_noun_flag_is_type_aliascargo nextest run -p minimal init_noun_flags_exclusive_exit2_appends_nothing
Held by the maintainer (2026-11-04), released 2026-11-06: min init keeps the legacy [session] scaffold until box creation expands a spec over [defaults.<type>]. #2410 (BOX T16) added mfile::expand, and BOX T21 (#2418) wires it into box creation. The PR lists the flip to the entry shape as a residual that links #2418.
Waits on:
Plan block
### T20 — Scaffold and append entries with min init
slice: S5
kind: task
covers: BCLI-017, BCLI-018
size: L
est: 200 code, 300 tests
executor: agent
difficulty: routine
model: standard
diagnostics: when two of `--session`, `--task`, `--agent`, `--service` and `--type` are given, `min init` prints "Pass one of --session, --task, --agent, --service or --type." and changes nothing, pinned by init_noun_flags_exclusive_exit2_appends_nothing
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/project.rs: `min init` scaffolds the entry shape and appends one entry by `--type` or a noun flag
- 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 init_scaffolds_entry_shape
test: cargo nextest run -p minimal init_entry_type_appends_one
test: cargo nextest run -p minimal init_refused_type_exit3_appends_nothing
test: cargo nextest run -p minimal init_noun_flag_is_type_alias
test: cargo nextest run -p minimal init_noun_flags_exclusive_exit2_appends_nothing
produces: none
consumes: none
proof: `min init` writes an entry-shaped `minimal.toml`, and `min init <entry> --type <type>` appends one entry.
depends on:
- blocked by #2410
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:L500
3D35
to 900 net lines; one PR, and the ceiling500 to 900 net lines; one PR, and the ceiling
Activity
minimal-foundry commentedon Nov 3, 2026
Pull request #2962 is open as a draft for T20.
branch
agent/2893-scaffold-and-append-entries-with-min-init· epic #287970eb5136d7bc477280f675f1e66c0655a9c48dda80035446cargo nextest run -p minimal init_scaffolds_entry_shapecargo nextest run -p minimal init_entry_type_appends_onecargo nextest run -p minimal init_refused_type_exit3_appends_nothingcargo nextest run -p minimal init_noun_flag_is_type_aliascargo nextest run -p minimal init_noun_flags_exclusive_exit2_appends_nothingVerify
min task run agent-verify: exit 100 — the sandbox ran rustc (1.99.0), the repository pins 1.99.1 in rust-toolchain.toml; a failure here may be the newer toolchain's, not this change's d_file PASS [ 0.315s] (546/957) minimal resolver::tests::privileged_bundle_copy_refuses_a_bundle_file_swapped_after_render PASS [ 0.31Outside the task's
layers:, so the PR is a draft:crates/minimal/src/cmd/mod.rsUpdated 2026-11-06T21:36:06.811Z.