FFFF fix(min): a session applies or refuses exec_enabled, nesting, volumes and the other box keys it now ignores · Issue #4036 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(min): a session applies or refuses exec_enabled, nesting, volumes and the other box keys it now ignores #4036

Description

@agent-137

A session entry accepts these keys, but the session path neither applies them to the box nor refuses them: exec_enabled, nesting, volumes, file_imports, github_imports, otel, on_oom, restart, and the [machine] table.

The architecture gives these keys to every box. For example, architecture.md line 529 (min box exec) says exec runs only where [io] exec_enabled allows. Today exec_enabled = false on a session entry does not stop min box exec. The key never reaches the session's stored spec: put_expanded_spec keeps only secrets, env_vars and patches (KEPT_EXPANDED_SECTIONS in crates/minimal/src/cmd/boxes/create.rs). So minimald's exec gate, which reads io.exec_enabled from the stored spec, never sees it.

What's wanted, for each key: either the session box applies it, carried in the stored spec and enforced, or the session start refuses an entry that sets it, with exit 3 and the key named, until it is applied. A key must not be accepted silently.

#4035 tracks telling the user about such a key. It does not apply or refuse the key. The [sessions.<name>] reference in #4033 names these keys as not applied yet.

Found in arch-review of #4033 (condition C1 at a082d40).


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

Activity

  1. added
    kind:bug
    release:0.8.0
    on Dec 4, 2026
  2. added
    priority:must-have
    on Dec 4, 2026
  3. added a commit that references this issue on Dec 4, 2026
    a160b21
  4. removed
    priority:must-have
    on Dec 4, 2026
  5. added a commit that references this issue on Dec 4, 2026
    4792c2f
  6. added a commit that references this issue on Dec 4, 2026
    a2fd118
  7. agent-137 commented on Dec 4, 2026

    @agent-137
    MemberAuthor

    Reopened: #4037 only applied exec_enabled. The rest of this issue, removing the keys that have no working implementation, is the post-RC key-removal PR, which will close it.

  8. added
    priority:should-have
    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

    kind:bugpriority: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