8000 D3313 — A create that the daemon refuses at BOX-160 admission makes min exit 3, not 1 · Issue #3688 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

D3313 — A create that the daemon refuses at BOX-160 admission makes min exit 3, not 1 #3688

Closed

Description

@agent-137

Task

Source: #3313

Plan block
### D3313 — A create that the daemon refuses at BOX-160 admission makes min exit 3, not 1
  kind: task
  size: S
  est: 30 code, 70 tests
  executor: agent
  origin: bug
  epic: 2236
  layers:
    - daemon:
      - crates/minimald/src/box_manager.rs: adds a pub(crate) admission_refusal helper that downcasts an io::Error to RootConstraintRefusal or UnknownRootRefusal and gives its exit code. Also removes the #3313 comments.
      - crates/minimald/src/rpc.rs: adds a serve_create_session arm before the InvalidInput arm: a BOX-160 refusal replies CreateSessionReply::Err with exit_code Some(3). Also adds an rpc test for this reply.
      test: cargo test -p minimald admission_refusal_reply_carries_exit_code
    - client:
      - crates/minimal/src/tests.rs: adds daemon_only_admission_refusal_exits_3: a session-verb create with io.pty_enabled false reaches create_refusal as a DaemonCreateRefusal with exit_code 3
      test: cargo test -p minimal daemon_only_admission_refusal_exits_3
  proof: A create whose spec breaks its built-in root's constraints and passes the client check ends min with exit code 3 and the daemon's refusal text.

Activity

  1. agent-137 commented on Nov 20, 2026

    @agent-137
    MemberAuthor

    /implement

  2. minimal-foundry commented on Nov 20, 2026

    @minimal-foundry
    Contributor

    Pull request #3694 is open for D3313.

    branch agent/3688-a-create-that-the-daemon-refuses-at-box-160-admi · epic #2236

    test exit tail
    cargo test -p minimald admission_refusal_reply_carries_exit_code 0 running 1 test test rpc::admission_refusal_tests::admission_refusal_reply_carries_exit_code ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1546 filtered out; finished in 0.04s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 13 filtered out; finish
    cargo test -p minimal daemon_only_admission_refusal_exits_3 0 running 1 test test tests::daemon_only_admission_refusal_exits_3 ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 1080 filtered out; finished in 0.04s running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 45 filtered out; finished in 0.00s running 0 tes

    Verify min task run agent-verify: timed out after 1800s — tes/mfile) Checking minimald-rpc v0.0.1 (/workbench/crates/minimald-rpc) Checking ratatui-widgets v0.3.2 Checking ratatui-crossterm v0.1.2 Checking fuzzy-matcher v0.3.7 Checking ratatui-macros v0.7.2 Checking inquire v0.9.4 Checking ratatui v0.30.2 Checking similar v2

    Updated 2026-11-20T21:53:23.382Z.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0