Repository navigation
Closed
Labels
needs-humanAn agent handed off; a human must act, then clear this label. Set by defer and handoffs.An agent handed off; a human must act, then clear this label. Set by defer and handoffs.
Description
Task
| slice | size | difficulty | model | who | estimated lines |
|---|---|---|---|---|---|
| Expose a port from inside the box | M | needs care | strongest | an agent | 280 (60 code, 220 tests) |
On a VM-backed host,
min net expose 3000inside a box publishes it under allow through the host-side admission, asks the human attached on the host and applies their answer, refuses on deny or with no attached client, and every decision is in the host audit; with two named VMs, an expose inside a box on the non-default VM finds that VM from the box name and publishes there.
Covers:
- none
Layers:
- e2e:
- scripts/session-e2e.sh: on both VM lanes, the case expose_from_inside_box's positive legs replace T55's VM-lane refusal:
min net expose 3000inside an allow box publishes through the host admission (T94) and the host reaches it; inside an ask box, answered yes in the host client's dialog through a real PTY attach (scripts/e2e-attach-pty.py, T96) it publishes, answered no it records nothing, and with no attached interactive client it is refused; a deny box is refused; every decision has its line in the VM host daemon's owner-only host audit (T84). With two named VMs on one machine,min net exposerun inside a box on the non-default VM finds that VM from the box name and publishes there (the expose half of T61's "attach and expose find the VM from the box name") ./scripts/session-e2e.sh expose_from_inside_boxjust e2e
- scripts/session-e2e.sh: on both VM lanes, the case expose_from_inside_box's positive legs replace T55's VM-lane refusal:
Waits on:
- T55 — Expose a port from inside the box, end to end, on the native lane #1671
- T94 — Bridge the in-VM daemon's port reports to the VM host daemon so an allow or a listen publishes on a VM-backed host #1967
- T96 — Ask the attached host client, not the guest, before a VM-backed box's ask publish is admitted #1969
Plan block
### T97 — Expose a port from inside a box on a VM-backed host, end to end, including the box's own named VM
slice: S13
kind: integration
covers: none
size: M
est: 60 code, 220 tests
executor: agent
difficulty: needs care
model: strongest
diagnostics: the bundle from the run carries the VM host daemon's log and its host audit tail, and the in-VM daemon log
observability: the case prints each expose request, the decision, the host-side admission and the host audit line it produced
layers:
- e2e:
- scripts/session-e2e.sh: on both VM lanes, the case expose_from_inside_box's positive legs replace T55's VM-lane refusal: `min net expose 3000` inside an allow box publishes through the host admission (T94) and the host reaches it; inside an ask box, answered yes in the host client's dialog through a real PTY attach (scripts/e2e-attach-pty.py, T96) it publishes, answered no it records nothing, and with no attached interactive client it is refused; a deny box is refused; every decision has its line in the VM host daemon's owner-only host audit (T84). With two named VMs on one machine, `min net expose` run inside a box on the non-default VM finds that VM from the box name and publishes there (the expose half of T61's "attach and expose find the VM from the box name")
test: ./scripts/session-e2e.sh expose_from_inside_box
test: just e2e
produces: none
consumes: none
8000
proof: On a VM-backed host, `min net expose 3000` inside a box publishes it under allow through the host-side admission, asks the human attached on the host and applies their answer, refuses on deny or with no attached client, and every decision is in the host audit; with two named VMs, an expose inside a box on the non-default VM finds that VM from the box name and publishes there.
depends on:
- blocked by #1671
- blocked by #1967
- blocked by #1969
Reacted by minimal-foundry
Metadata
Metadata
Assignees
Labels
needs-humanAn agent handed off; a human must act, then clear this label. Set by defer and handoffs.An agent handed off; a human must act, then clear this label. Set by defer and handoffs.
Activity
minimal-foundry commentedon Oct 5, 2026
Done. #2006 merged.
branch
agent/1970-expose-a-port-from-inside-a-box-on-a-vm-backed-h· epic #1437 · PR #2006Updated 2026-10-28T06:17:32.453Z.