You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
min 0.8: min session activate refuses pkgs — minimal.toml has three session entries and none named default #1616
With min 0.8 (seen on 0.8.0-dev.549.ga42a9d6d), min session activate on any pkgs checkout fails before it creates a session. The error says the project has no session entry named default. This breaks the local build workflow the agents use (min session activate . → min package build).
pkgs' minimal.toml declares three session entries:
[sessions.shell] # bash
[sessions.claude] # claude --dangerously-skip-permissions
[sessions.opencode] # opencode
Why
min 0.8 picks the entry to activate in pick_session_entry (gominimal/minimal crates/minimal/src/cmd/boxes/create.rs, NET-060), in this order:
a session entry named default;
else the only session entry, if there is exactly one;
else, with no session entries at all, the implicit [sessions.default] (BOX-165);
else, with two or more and none named default, it refuses (SessionEntryUndecided::NoDefault).
min session activate has no option to name an entry, so pkgs always lands in case 4.
Impact
Four agents packaging the fv-lab tools on 2026-11-20 hit this (pkgs#1608–#1615). Each one temporarily renamed [sessions.shell] to [sessions.default] to activate, then reverted the rename without committing it. That works, but every local pkgs build needs the same uncommitted edit, and an edit made after activation is easy to commit by accident.
Proposal
Rename [sessions.shell] to [sessions.default] and keep its contents. Activation then picks the plain bash session, as it did before 0.8.
Nothing in pkgs refers to the shell entry by name: the only match for shell as an entry is minimal.toml itself.
claude and opencode are unchanged.
The four agents' activations above ran with exactly this change.
Alternative: add [sessions.default] as a copy of shell and keep shell. That leaves two identical entries to keep in sync, so I'd only do it if someone uses the shell name.
Activity
minimal.toml: name the bash session entry default (gominimal#1616) (g…