8000 fix(mfile): a session entry accepts task action keys such as exec, which do nothing · Issue #4069 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

fix(mfile): a session entry accepts task action keys such as exec, which do nothing #4069

Backlog

Description

@agent-137

What happens

A session entry accepts the flat task action key exec (and the other task action keys, such as bash, cmdcmd, echo and args), and it has no effect: a session runs its login shell, not the action. Nothing tells the user.

[sessions.dev]
exec = ["make", "serve"]

min session start dev starts a shell and ignores exec.

Why it matters

Owner rule: "Ideally, we don't provide keys or specify keys that have incomplete implementations." #4067 refuses the box keys that no box applies, but leaves the task action keys on a session entry alone, because they work on a task entry.

Expected

Either refuse a task action key on a session-rooted entry with exit 3, naming the key and the table (a session runs its shell; use a [tasks.<name>] entry, or min box exec), or make it do something documented.

Found while scoping #4067 (arch C2 on #4067).


This is a residual of epic #2236 (BOX).

Activity

  1. added
    priority:should-have
    release:0.8.0
    on Dec 4, 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

    priority:should-haverelease:0.8.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0