Repository navigation
docs(spec-networking): minimald networking -- PTask network modes, DNS, egress/ingress, WireGuard mesh - #482
Conversation
Specifies the full networking stack for minimald and PTasks across
five deployment models: PTask network modes (UC1/UC6), egress/ingress
policy (UC3/UC4/UC5), DNS hostname management (UC2a/UC2c), and
WireGuard mesh with HTTPS reverse proxy (UC7/UC2b).
Building blocks: one gvproxy per host as a shared switch, libkrun VMs
on macOS, wireguard-go/boringtun for the authenticated remote mesh,
and an mTLS/OIDC HTTPS reverse proxy on minimald.
Four demoable units with R{unit}.{seq} requirements, each with
1-2 proof artifacts that fail on an empty PR.
Refs #478
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughAdds a new planned specification document ( Changesminimald Networking Specification
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
This comment has been minimized.
This comment has been minimized.
|
/revise add DNS hostnames for host-net PTask services (UC2) and an SSH port-forward fallback for WireGuard-blocked networks; fix the RFC-6598 reference in R1.6 |
Add R3.6 for DNS hostname registration for HostNet PTasks (UC2); hostnames resolve to 127.0.0.1 for local configs or the host's network interface address for DM5. Add R4.9 and a Design Considerations section for SSH port-forwarding as a fallback remote-access transport for networks where WireGuard's UDP is blocked; reuses the russh server already embedded for re-attach. Fix R1.6: 100.64.0.0/16 is an RFC-6598 range, not RFC-5737. Update Goals, User Stories, Unit 3 and Unit 4 Purpose, and proof artifacts t 8000 o cover the two new requirements. Refs #478
|
Summary
Adds a structured SDD spec for the minimald networking epic (tracking issue #478).
The spec covers seven use cases (UC1-UC7) across five deployment models:
Building blocks: one gvproxy (gvisor-tap-vsock) per host, libkrun VMs, wireguard-go or boringtun, mTLS/OIDC HTTPS proxy -- all rootless per-invocation.
Five open design questions are documented (DNS mechanism, egress default policy, dynamic port-mapping API, WireGuard key exchange v1 UX, HTTPS proxy cert management).
Next steps for a reviewer
Please review and merge this spec PR to advance the tracking issue #478 from the spec phase into triage. Merging triggers the architecture phase automatically (sdd-triage-arch starts on the sdd:triage label).
Refs #478
Closes #481
Summary by CodeRabbit