Skip to content

id phase-7: P7.5 deployments and real-network tests are owner-blocked with no tracking issue #794

Open

Description

@dezren39

Finding

P7.5 (deployments and real-network tests) is owner-blocked on external networks/accounts and is tracked only in plan/brief prose, not as a standalone issue.

Evidence

  • doc/2026-10-11T11-08-42Z_design_remaining_work/plan-phases.md §12 Phase 7, step P7.5: "Deployments and real-network tests (owner-blocked)" with "owner accounts and networks" in the Blocked-by column, tests "the C2 matrix; N29 on real networks".
  • doc/2026-10-12T21-22-53Z_phase_7_connectivity/2026-10-12T21-22-53Z_phase_7_connectivity.md P7.5 row: "owner-blocked ... accounts and networks"; the 2026-10-12T21:40:00Z note spells out what was not done: "Owner-blocked (P7.5): running either mode on a real host, with a Cloudflare Tunnel or a VPS, and checking /ping, /generate_204, and the systemd KillSignal behaviour. Not deployed here."
  • doc/2026-10-14T_platform_completion/acceptance-brief.md line 75 (unchecked): "P7.5/P3.7: real two-network and account-backed deployment matrix cannot be truthfully verified without the required networks/accounts. Keep the code-side test harness ready and leave the live matrix explicitly blocked, not falsely passed."

Why it matters

The relay kit (connectivity/relay/relay.kit.toml with tunnel and vps modes) has unit-level tests but has never been exercised on a real host. The live matrix stays explicitly blocked, which is correct, but there is no issue to re-open when the owner supplies networks/accounts.

What's needed

Owner-provided: two separate networks and the accounts (Cloudflare Tunnel and/or a VPS). Then run the C2 matrix and N29 real-network checks and record results, or close as superseded by later connectivity work.

Acceptance criteria

  • Owner-provided inputs exist and are identified: two separate networks, plus Cloudflare Tunnel and/or VPS account access (this is the blocker — see the intake review comment).
  • The relay kit is run on a real host in tunnel and/or vps mode, and /ping, /generate_204, and the systemd KillSignal behaviour are checked, with results recorded on this issue.
  • The C2 matrix and N29 real-network checks are run and recorded — OR this issue is closed as superseded by later connectivity work, with the superseding work linked.

Activity

  1. added
    kind/testTest coverage, test infrastructure, or test-only fixes
    status/blockedQueue or user escalation state
    priority/lowNice to have; do when convenient
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    user/reviewNeeds a user-look: Muse reviews first and handles what it can
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 26, 2026
  2. dezren39 commented on Oct 26, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: #795 (P3.7 — same owner-provided networks/accounts blocker; the acceptance brief groups P7.5/P3.7 at line 75). Plan §12 Phase 7 step P7.5 and the Phase 7 record's P7.5 row are cited in the body. Relay kit: connectivity/relay/relay.kit.toml (tunnel and vps modes).

    Still live (verified 2026-10-26): no merged PR references or resolves this issue; the relay kit has unit-level tests but has never been exercised on a real host. Not solved; do not close.

    Notes / risks: Genuinely owner-blocked (networks + accounts), so this is labelled status/blocked + user/review instead of status/needs-triage. The brief's instruction stands: keep the code-side harness ready and leave the live matrix explicitly blocked, not falsely passed. Nothing here is agent-actionable until the owner inputs exist.

    Suggested approach: When the inputs exist: deploy the relay kit on a real host (tunnel and/or vps), check /ping, /generate_204, and KillSignal behaviour, run the C2/N29 matrix, record results here and in the Phase 7 record, then close.

    🤖 Agent note · intake enrichment

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run, 2026-10-26 00:19 CDT (05:19 UTC)
    • Found via: monitor reconciliation
    • Task: Intake enrichment (§5 pass): acceptance criteria appended, labels normalized (blocked on owner-provided networks/accounts), still-live verified.
    • Expectation: effort/l once unblocked — real-host deployment + real-network matrix; until then, blocked on the owner inputs named above.
  3. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    on Oct 28, 2026
  4. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2224 · repo-queue-worker-shift 2026-10-28 14:00 CDT
    • Found via: queue claim (issue carries user/review — reviewed by the worker first, per protocol)
    • Task: Triage issue id phase-7: P7.5 deployments and real-network tests are owner-blocked with no tracking issue #794 — verify the P7.5 owner-blocked state at current HEAD and route it.
    • Expectation: s — done = facts verified, the exact owner inputs named, escalation recorded with the read attached
  5. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · escalated

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2224 · repo-queue-worker-shift 2026-10-28 14:00 CDT
    • Found via: queue claim; issue carried user/review, reviewed here first
    • Task: Triage of id phase-7: P7.5 deployments and real-network tests are owner-blocked with no tracking issue #794 complete; the blocker is owner-provided infrastructure, escalated with specifics below
    • Expectation: Drew provides (or declines) the inputs listed; on provision, the live matrix run is a straightforward worker task

    Triage read — facts verified at HEAD (2026-10-28)

    • The relay kit is present and current: relay.kit.toml exists at HEAD both in the design tree (doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/, alongside tunnel.toml, vps.toml, and iroh-relay.service) and as a test fixture (pkgs/id/tests/fixtures/relay/relay.kit.toml). Nothing about the kit is stale — it has simply never run on a real host, exactly as the issue says.
    • The blocker is genuinely external: every cited record (plan §12 P7.5, the Phase 7 connectivity note of 2026-10-12, acceptance brief line 75) says the same thing — the live matrix "cannot be truthfully verified without the required networks/accounts". No worker-side action substitutes for that; running it on one network or a sandbox would be the false pass the brief warns against.
    • Not superseded: no later connectivity work has run this matrix. (Phase 13's F13.3, id: Phase 13 F13.3 SSH-over-iroh reachability (and iroh-over-SSH fallback) #785 SSH-over-iroh, is a different item and still open.) The close-as-superseded exit in the criteria is not available on current evidence.
    • Shared blocker: sibling id phase-3: P3.7 real-network holepunch and n0 QAD results — phone leg via #1831 + labelled VM emulation #795 (P3.7, real-network holepunch/QAD tests) is blocked on the same owner inputs and is still open with the same status — one provision unblocks both issues.

    What Drew needs to provide (the whole ask)

    1. Two separate networks the test hosts can sit on (e.g. home LAN + a VPS's network, or two VPS in different providers/regions).
    2. Account access for at least one relay mode: a Cloudflare account/zone for Tunnel mode, and/or a VPS for vps mode.

    With those, the run is mechanical: deploy the kit in tunnel and/or vps mode on a real host, check /ping, /generate_204, and the systemd KillSignal behaviour, run the C2 matrix + N29 checks, record results here and on #795. If Drew would rather not spend the accounts/time, the honest alternative is an explicit descope decision recorded here — the kit and fixtures stay in-tree either way.

  6. 16 remaining items

  7. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    Re-verification at HEAD (2026-11-14)

    • Code HEAD checked: 4a459e1e4666eb282052b8942c20e0b300864c48 (origin/main, laptop clone).
    • Relay kit still present and current: relay.kit.toml, tunnel.toml, vps.toml, iroh-relay.service in doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/, mirrored as fixtures in pkgs/id/tests/fixtures/relay/. Nothing stale, nothing superseded.
    • doc/2026-10-14T_platform_completion/acceptance-brief.md still lists P7.5/P3.7 unchecked: the live matrix "cannot be truthfully verified without the required networks/accounts" — the blocked-not-falsely-passed state stands.
    • The 2026-10-28 triage read on this issue (task 2224, lane A) still holds in full; this note does not repeat it.

    What changed since the escalation

    Routing

    • Enqueued follow-on task 16621 (kind small_fix, repo-health-code-pilot): inventory the fleet's access to the existing Cloudflare account; if in hand, run the relay kit in tunnel mode on a real host and check /ping, /generate_204, and the systemd KillSignal behaviour, recording results here and in the Phase 7 record. If Cloudflare access is not in hand, that single gap — not the declined networks/paid infra — is the only owner input left to escalate, via the pending-decisions ledger.
    • Task 2224 completes as triaged naming this note and task 16621. Issue id phase-7: P7.5 deployments and real-network tests are owner-blocked with no tracking issue #794 stays open; user/escalated is left as-is (fleet-applied state from the 2026-10-28 escalation, partially answered by Drew's ruling above).
  8. added and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  9. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · blocked — Cloudflare inventory complete; the one missing input is a tunnel identity for the relay

    • Agent: queue worker (repo-worker-code), lane code-b
    • Session / ID: task 16621 (small_fix follow-on from triage task 2224)
    • Inventory (2026-11-14, laptop):
      • cloudflared and wrangler are installed; the laptop is a suitable real host; the kit (relay.kit.toml, tunnel.toml, iroh-relay.service) is present and current.
      • No origin certificate: ~/.cloudflared/cert.pem does not exist, so no locally-managed tunnel can be created without an interactive cloudflared tunnel login under Drew's Cloudflare credentials.
      • Vault tunnel tokens exist only for other services: cloudflare.tunnel.amd-6-pm-stack-token and cloudflare.tunnel.lab-cluster-token — borrowing either would hijack that service's tunnel identity.
      • Account API tokens exist by name (cloudflare.api-token-account-wide, cloudflare.api-token-day-to-day), but tunnel-creation capability could not be verified from this lane (the user-level token-verify endpoint rejects them; they may be account-scoped).
      • The kit's public hostname is still the placeholder relay.example.org — choosing the real hostname is also the owner's call.
    • Sole remaining owner input (per this task's acceptance OR-branch): a tunnel identity for the relay — either Drew runs cloudflared tunnel login + creates the tunnel and hostname, or creates a remotely-managed tunnel and vaults its token as cloudflare.tunnel.iroh-relay-token (the existing pattern). Filed as pending-decisions ledger item relay-tunnel-identity-794. This is not a re-ask of the two-networks / paid-infra request declined 2026-10-28; that portion follows the P3.7 test access: #1831 Android phone peer + laptop VM NAT emulation #1826 plan with id phase-3: P3.7 real-network holepunch and n0 QAD results — phone leg via #1831 + labelled VM emulation #795.
    • Once provided: any lane can finish in one sitting — install the kit's tunnel-mode config + unit on the laptop, start iroh-relay and cloudflared, and record /ping, /generate_204, and systemd KillSignal results here and in the Phase 7 record.
    • Links: queue task 16621; triage task 2224; ledger item relay-tunnel-identity-794; declined-networks item live-matrix-networks-794 (dropped)
  10. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed on Nov 14, 2026
  11. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done (P7.5 relay-kit tunnel-mode run)
    task: 16621
    lane: code-c (Muse, repo-worker-code)
    stage: claimed -> results recorded

    Relay kit on a real host in tunnel mode — RUN, 2026-11-16 (laptop amd-6)

    Access inventory first (per the packet): the existing Cloudflare account IS in hand — fleet-secrets account token verified live this shift (tunnel list + zone list + tunnel create all succeeded). No owner input is missing; the two-network/paid-networking questions Drew declined were not re-asked. Zone used: security.cab; hostname relay-poc.security.cab.

    Kit: doc/2026-10-11T03-44-33Z_design_groups_events_delegation/connectivity/relay/ (relay.kit.toml tunnel mode + tunnel.toml + iroh-relay.service), binary iroh-relay 1.4.0 (nixpkgs), cloudflared from the laptop profile, Cloudflare Tunnel poc-794-relay created via API with ingress relay-poc.security.cab -> the relay's loopback HTTP origin, DNS CNAME via API.

    Port adaptation, recorded honestly: the kit's tunnel ports (3340/9090) are already bound on this host by a pre-existing, long-running iroh-relay (wildcard binds *:3340 / *:9090 — not touched; it is not mine to stop). The kit instance therefore ran with the same config semantics on loopback 127.0.0.1:3341 / metrics 127.0.0.1:9091 and the tunnel ingress pointed at 3341. First attempt on the kit ports crash-looped on the metrics bind ("Error starting metrics server: Address already in use") — that failure is what exposed the conflict; the checks below are all against the kit-configured instance (verified MainPID + unit state), not the pre-existing relay. Side observation for the kit owners: the pre-existing relay's metrics listener is on [::]:9090, i.e. public — exactly the exposure tunnel.toml's comment warns about.

    Checks (all against the kit instance):

    • Local origin: GET http://127.0.0.1:3341/ping -> 200; /generate_204 -> 204; metrics http://127.0.0.1:9091/metrics -> 200 (loopback only, per kit).
    • Public via tunnel: GET https://relay-poc.security.cab/ping -> 200; /generate_204 -> 204 (Cloudflare edge -> tunnel -> loopback origin; cloudflared connected over HTTP/2 after its QUIC precheck failed on this network — tunnel mode works without UDP, as the kit expects).
    • systemd KillSignal behaviour: unit carries the kit's KillSignal=SIGINT (verified KillSignal=2 in the loaded unit). systemctl --user stop on the healthy instance: clean stop in ~0.01s, Result=success, no timeout escalation, no SIGKILL. Companion probe: SIGTERM terminated the relay process (systemd restarted it under the kit's Restart=always) — i.e. SIGTERM is not a clean shutdown path for iroh-relay 1.4.0, which is exactly why the kit's unit specifies SIGINT.

    Cleanup follows in the same pass (tunnel + DNS record + units + scratch dir removed; a confirmation comment will close this out). The two-network portion of P7.5 remains with the #1826 plan / sibling #795, untouched by this run.

  12. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Cleanup confirmation (task 16621, lane code-c): Cloudflare Tunnel poc-794-relay — connections deleted, tunnel deleted, DNS record relay-poc.security.cab deleted (all API deletes returned success; the tunnel no longer appears in the account list and the hostname now returns 530, origin gone). Laptop: iroh-relay-poc and cloudflared-poc user units stopped and removed, ~/poc-relay scratch dir (config, token files) deleted. The pre-existing unrelated iroh-relay on this host (ports 3340/9090) was never touched. P7.5's relay-kit tunnel-mode item is complete; the two-network portion remains with the #1826 plan / sibling #795.

  13. removed their assignment
    on Nov 20, 2026
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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmode/hybridOnline work plus a physical step (power, cabling, KVM access to a real device)priority/lowNice to have; do when convenient

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions