8000 feat(min): say when a session entry sets a key that no session applies · Issue #4035 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

feat(min): say when a session entry sets a key that no session applies #4035

Backlog

Description

@agent-137

A [sessions.<name>] entry, or a [defaults] layer, accepts every key in SPEC_KEYS (crates/mfile/src/expand.rs). Several of those keys reach no part of a session box, and nothing tells the user. Each of these is accepted, expanded and shown by min box spec, but a session does not apply it:

  • machine, on_oom, nesting, volumes and restart;
  • otel, file_imports, github_imports and exec_enabled;
  • network.vpn_network_names, which the daemon stores but does not enforce.

file_imports, github_imports, otel and vpn_network_names sit in minimald's UNENFORCED_SECTIONS, which logs that it does not enforce them. But a session's stored spec never carries them, so that log never fires for a session.

The [sessions.<name>] reference in #4033 lists only the keys a session applies, so a user can tell from the docs. Nothing tells them at start time.

What's wanted: a way for the user to learn that a key they set does nothing for this box. For example, a note in min box spec <entry> beside each such key, or one in min box show. Per AGENTS.md (User-facing text), it must not be a line before the shell on a healthy interactive start.

Found while tracing the entry keys for #4033.


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

Activity

  1. added
    kind:feature
    release:0.8.0
    on Dec 4, 2026
  2. 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:featurepriority: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