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
D3313 — A create that the daemon refuses at BOX-160 admission makes min exit 3, not 1 #3688
### 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
agent-137 commentedon Nov 20, 2026
/implement
minimal-foundry commentedon Nov 20, 2026
Pull request #3694 is open for D3313.
branch
agent/3688-a-create-that-the-daemon-refuses-at-box-160-admi· epic #2236cargo test -p minimald admission_refusal_reply_carries_exit_codecargo test -p minimal daemon_only_admission_refusal_exits_3Verify
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 v2Updated 2026-11-20T21:53:23.382Z.