rehearsal-7 Task 1: Design tier — ADR 0223, the guest joins the mesh itself (option A mechanics) #1157

Closed
opened 2026-09-02 19:04:37 +00:00 by ben · 2 comments
Owner

Task 1 of 9 — phase-7 VM-mode device rehearsal. Plan (READ ITS Global Constraints + Plan-time inventory first): docs/superpowers/plans/2026-09-02-183-phase-7-vm-device-rehearsal.md. Spec: docs/superpowers/specs/2026-08-29-183-phase-7-vm-device-rehearsal-design.md (RULED). Drive issue: #1153. Say "task 1 of #1153" in commits — NEVER "closes".

Task 1: Design tier — ADR 0223, the guest joins the mesh itself (option A mechanics)

Files: Create docs/adr/0223-vm-guest-joins-the-mesh.md (re-check the
number on origin/main at mint); Modify docs/architecture/02-containers.md
(guest is a mesh peer; host is a supervisor), STATUS.md.

Interfaces — produces the ruled vocabulary:
GuestMeshJoin (land-time: host agent hands the admission's single-use setup
key into the RUNNING guest over loopback SSH, guest runs netbird up, host reads
the guest's wt0 back and ConfirmEnrolled.Address = guest wt0);
the host does not join the mesh in VM mode (its meshup step is skipped — the
guest is the node); heartbeat VM.Health contract for the "VM — DEDICATED"
chip; removal mirror (RemoveDevice → guest torn down, unit + qcow2 gone).

  • Step 1: Write ADR 0223, status accepted # 2026-09-02 — option A ruled by Ben 2026-08-29 (phase-7 spec); mechanics per this ADR. Decisions: land-time SSH hand-off (fw_cfg rejected for the mesh key — key exists only at admission, guest exists from consent; #274's one-shot rule); guest owns wt0 (ADR 0210's files node works unchanged); host meshup skipped in VM mode; options B (host fronts) and C (bridged) recorded rejected with the spec's reasoning.
  • Step 2: Update the architecture diagram same commit (ADR 0042).
  • Step 3: Verify grep -c 'status: accepted' docs/adr/0223*.md → 1; STATUS lead updated.
> Task 1 of 9 — phase-7 VM-mode device rehearsal. Plan (READ ITS **Global Constraints** + **Plan-time inventory** first): `docs/superpowers/plans/2026-09-02-183-phase-7-vm-device-rehearsal.md`. Spec: `docs/superpowers/specs/2026-08-29-183-phase-7-vm-device-rehearsal-design.md` (RULED). Drive issue: #1153. Say "task 1 of #1153" in commits — NEVER "closes". ### Task 1: Design tier — ADR 0223, the guest joins the mesh itself (option A mechanics) **Files:** Create `docs/adr/0223-vm-guest-joins-the-mesh.md` (re-check the number on origin/main at mint); Modify `docs/architecture/02-containers.md` (guest is a mesh peer; host is a supervisor), `STATUS.md`. **Interfaces — produces the ruled vocabulary:** `GuestMeshJoin` (land-time: host agent hands the admission's single-use setup key into the RUNNING guest over loopback SSH, guest runs netbird up, host reads the guest's wt0 back and `ConfirmEnrolled.Address` = guest wt0); `the host does not join the mesh in VM mode` (its meshup step is skipped — the guest is the node); heartbeat `VM.Health` contract for the "VM — DEDICATED" chip; removal mirror (`RemoveDevice` → guest torn down, unit + qcow2 gone). - [ ] Step 1: Write ADR 0223, status `accepted # 2026-09-02 — option A ruled by Ben 2026-08-29 (phase-7 spec); mechanics per this ADR`. Decisions: land-time SSH hand-off (fw_cfg rejected for the mesh key — key exists only at admission, guest exists from consent; #274's one-shot rule); guest owns wt0 (ADR 0210's files node works unchanged); host meshup skipped in VM mode; options B (host fronts) and C (bridged) recorded rejected with the spec's reasoning. - [ ] Step 2: Update the architecture diagram same commit (ADR 0042). - [ ] Step 3: Verify `grep -c 'status: accepted' docs/adr/0223*.md` → 1; STATUS lead updated.

swarm-claim host=matou-dev-server-01 run=16658
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=16658 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1157 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1157,
  "status": "success",
  "commits": [
    "103188c6"
  ],
  "changed_files": [
    "docs/adr/0223-vm-guest-joins-the-mesh.md",
    "docs/architecture/02-containers.md",
    "STATUS.md"
  ],
  "tests": [
    {
      "command": "grep -c 'status: accepted' docs/adr/0223*.md",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Step 1: Write ADR 0223 status accepted with option A mechanics, fw_cfg rejected for mesh key, guest owns wt0, host meshup skipped, options B and C rejected": "docs/adr/0223-vm-guest-joins-the-mesh.md — status: accepted line dated 2026-09-02 (option A ruled by Ben 2026-08-29); Decided sections 1-5 = GuestMeshJoin land-time SSH hand-off, fw_cfg rejected (#274/#998 timing), guest owns wt0, host does not join mesh in VM mode, VM.Health, removal mirror; Options weighed records B and C rejected with the spec's reasoning",
    "Step 2: Update the architecture diagram same commit (ADR 0042)": "docs/architecture/02-containers.md — new VM-mode subgraph (guest = mesh peer, host = supervisor), GuestMeshJoin/mesh/route edges, reading note, ADR 0223 decisions entry — all in commit 103188c6",
    "Step 3: grep -c 'status: accepted' docs/adr/0223*.md -> 1; STATUS lead updated": "grep returns 1 (verified, exit 0); STATUS.md lead line rewritten to PHASE 7 TASK 1 LANDED (#1157) in the same commit"
  },
  "summary": "ADR 0223 rules the phase-7 VM guest-joins-the-mesh mechanics (option A) and the architecture diagram + STATUS lead are updated in the same commit.",
  "blockers": []
}
**close-report** for #1157 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1157, "status": "success", "commits": [ "103188c6" ], "changed_files": [ "docs/adr/0223-vm-guest-joins-the-mesh.md", "docs/architecture/02-containers.md", "STATUS.md" ], "tests": [ { "command": "grep -c 'status: accepted' docs/adr/0223*.md", "exit_code": 0 } ], "criteria": { "Step 1: Write ADR 0223 status accepted with option A mechanics, fw_cfg rejected for mesh key, guest owns wt0, host meshup skipped, options B and C rejected": "docs/adr/0223-vm-guest-joins-the-mesh.md — status: accepted line dated 2026-09-02 (option A ruled by Ben 2026-08-29); Decided sections 1-5 = GuestMeshJoin land-time SSH hand-off, fw_cfg rejected (#274/#998 timing), guest owns wt0, host does not join mesh in VM mode, VM.Health, removal mirror; Options weighed records B and C rejected with the spec's reasoning", "Step 2: Update the architecture diagram same commit (ADR 0042)": "docs/architecture/02-containers.md — new VM-mode subgraph (guest = mesh peer, host = supervisor), GuestMeshJoin/mesh/route edges, reading note, ADR 0223 decisions entry — all in commit 103188c6", "Step 3: grep -c 'status: accepted' docs/adr/0223*.md -> 1; STATUS lead updated": "grep returns 1 (verified, exit 0); STATUS.md lead line rewritten to PHASE 7 TASK 1 LANDED (#1157) in the same commit" }, "summary": "ADR 0223 rules the phase-7 VM guest-joins-the-mesh mechanics (option A) and the architecture diagram + STATUS lead are updated in the same commit.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1157
No description provided.