Skip to content

Build #10392 §6.6: seam conformance with pass 2 (envelope round-trip) #14229

Done

Description

@dezren39

Parent design: #10392. Design record: doc/2026-11-24T08-40-00Z_design_id-rest-session-presentation-10392/ (merged via #14213 as 1fd1204648fd). Slice §6.6 (last).

Scope

The §4.2 envelope round-trips through the fleet socket and this REST side byte-identical: events crossing to a fleet socket are wrapped in the pass-2 §4.5 envelope {v, seq, kind, alpn, payload, digest?} unchanged — no added/renamed/forked fields. Pass-2 record: doc/2026-11-24T05-55-51Z_design_fleet-iroh-id-transport-10391/ §4.5 (fleet-side serving shape).

Done check (§7 envelope round-trip, golden)

Oracle: the pass-2 §4.5 framing bytes.

Blocked by: #14227 (§6.3) and pass-2 slice 5 (serving socket, tracked under #10391 — no dedicated build issue filed for it yet; this issue waits on that socket existing).

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T08:52:53Z",
    "session_id": "ses_e5df349b3abffeun4OHhV1Ibwc",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "oc-code-06/design-10391-iroh-transport",
      "sha": "9c2b4ad096e30beb45358cbde674ed4c8a52434e"
    },
    "auth_subject": "oc-code-05",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • Seam conformance pass 2 covers the envelope round-trip: the named conformance checks run and pass, or each failure is filed as its own issue.
  • The change is verified against current main (CI, a fleet Actions exec session, or a recorded manual check) — the verification, not just the change, is named on this issue.
  • No unrelated issues are folded in; follow-ups discovered during the work are filed as their own issues and linked here.

Activity

  1. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 25, 2026

    @dezren39
    MemberAuthor

    xaltha lane note (2026-11-24 hourly loop): picked up via fleet agent next, claim-checked (no assignees, no open PR, no lane claim in comments). The issue's own scope section states it is blocked by #14227 (§6.3) and by pass-2 slice 5 — the serving socket tracked under #10391, for which no dedicated build issue has been filed yet — and that 'this issue waits on that socket existing'. Verified #14227 is still OPEN, so the §6.6 golden envelope round-trip has neither its §6.3 predecessor nor the fleet serving socket to round-trip through; no slice can land this run. Blockers: #14227 and the unfiled pass-2 slice-5 serving-socket build item under #10391. Not claiming; leaving unassigned until the socket exists.

  3. dezren39 commented on Nov 25, 2026

    @dezren39
    MemberAuthor

    Correction to my note directly above (xaltha lane, 2026-11-24 hourly loop): #14227 (§6.3: sessions, input frames, replay) is in fact CLOSED — it has landed; my 'still OPEN' line was wrong, sorry. The remaining blocker for §6.6 is therefore only the second one named in the issue body: pass-2 slice 5, the serving socket tracked under #10391, which has no dedicated build issue filed yet and which this issue 'waits on … existing'. Until that socket lands there is still no fleet-side endpoint for the golden envelope round-trip, so the no-slice conclusion stands, with the single blocker corrected to the pass-2 slice-5 serving socket.

  4. added
    kind/test
    priority/normal
    effort/m
    status/needs-triage
    meta/enriched
    on Nov 25, 2026
  5. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    Contributor

    Intake review

    Fleet monitor intake pass (protocol §5), 2026-11-25.

    • Still live: no merged PR or commit found in this pass that explicitly resolves this issue; it remains open and unheld unless labels say otherwise.
    • Notes: Acceptance criteria were appended to the body (original text preserved verbatim above the new section).
    • Risks: scope creep is the main risk — the acceptance criteria bound this to the named slice; anything larger should be split and linked, not folded in.
    • Suggested approach: pick this up through the queue/triage path, verify the premise against current main first, then implement the smallest slice that satisfies the criteria.

    🤖 Agent note · handed off

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-25 02:14 CST
    • Found via: monitor reconciliation
    • Task: intake enrichment (protocol §5)
    • Expectation: effort class per labels; done = meta/enriched applied with the criteria above
    • Links: n/a
  6. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    Claimed by felix lane (worker felix, agent felix) 2026-11-25 ~23:00 CST for a premise check and blocker split.

    Premise so far: §6.3 (#14227) is closed — PR #14734 landed §6.1–§6.5 in pkgs/id/crates/id-web/src/sessions.rs. The second stated blocker, pass-2 slice 5 (the §4.5 serving socket), has no build issue and no code on main (no fleet id serve-ws, no §4.5 envelope type, no iroh/postcard in pkgs/fleet as of main 16a4284). Working the split now: the untracked blocker becomes a filed child issue with a dependency edge; the joint round-trip stays here, waiting on it.

  7. added
    status/blocked
    and removed
    status/needs-triage
    on Nov 26, 2026
  8. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    Premise verdict — BLOCKED, blocker now tracked (felix lane, 2026-11-25)

    Checked against current main (16a4284):

    Split (per the intake rule: the blocked part becomes a child stating why)

    What remains here

    Nothing is buildable on this issue until #15399 (and its slice 3–4 chain) lands: the done check is a golden round-trip whose oracle is the fleet socket's §4.5 framing bytes, and there are no such bytes yet. When the socket lands, the conformance test is written against them and this issue closes on that run. No code change in this pass, so no verification run — the verification here is the repository state cited above, re-checkable with grep -rn "serve-ws" pkgs/fleet and the blocked_by list.

  9. 1 remaining item

  10. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    §4.5 session-event kind — decided in slice 5 (lane 1352-I)

    Slice 5 of #10391 (issue #15399, PR #16314) was charged with this decision: pass-3 §4.2 wraps session events in the §4.5 envelope, but neither design names which kind an event takes.

    Decision: session events ride as kind: resp (fixed in code as SESSION_EVENT_KIND in pkgs/fleet/crates/fleet/src/id_serve.rs, with a test pinning it).

    Rationale: resp is the only server→client value kind in the envelope. chunk is reserved for digest-bearing fragments of a chunked transfer and error for failures, so an event — a complete value delivered server→client — is a response-class message; its seq orders it in the server→client sequence space. No new kind value was added and no envelope fields were forked, per #15399s constraint.

    Golden round-trip now buildable: PR #16314 lands the §4.5 framing bytes (CBOR + MessagePack envelope codecs, chunking, BLAKE3 digests) with round-trip tests on both formats, so this issues golden envelope round-trip (oracle: slice 5s §4.5 framing bytes) can now be built against id_serve::Envelope::encode/decode.

  11. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Triage re-validation (lane code-h, queue task 23917, 2026-11-27): blockers cleared, ready for build.

    Fresh checks against origin/main (a0bd9df):

    Disposition: removing stale status/blocked via label edit; triage completes here. Next is the §6.6 golden envelope round-trip build against slice-5 oracle — file as feature_slice on #14229.

  12. removed
    status/blocked
    on Nov 27, 2026
  13. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Triage follow-on (lane code-i, queue task 26283, 2026-11-27): blockers verified cleared on origin/main — #14227 CLOSED (§6.3 side in pkgs/id/crates/id-web/src/sessions.rs); #15399 CLOSED 2026-11-27T20:49:58Z via PR #16314 (§4.5 oracle in pkgs/fleet/crates/fleet/src/id_serve.rs, SESSION_EVENT_KIND=resp). Filed the §6.6 golden envelope round-trip build as #16326 (oracle: slice-5 §4.5 framing bytes). No code change in this pass.

  14. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Picked up by repo-worker-code — working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live while repo-worker-code posts progress markers; after 30 minutes of silence any other worker may pick this up.)

    lane code-i triage follow-on (task 26283): blockers verified cleared, build slice filed as #16326

  15. added
    queue/claimed
    work/assigned
    on Nov 27, 2026
  16. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Progress from repo-worker-code: still working

  17. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Completed by repo-worker-code (outcome: done). Triage follow-on done (lane code-i): blockers verified cleared, build slice #16326 filed and in implementation as PR #16327

    Disposition: verdict open_draft_with_followup, checked_at 2026-11-27T21:20:56Z -- the record below passed the broker's offline disposition gate at completion time.

    {
      "checked_at": "2026-11-27T21:20:56Z",
      "source": "fleet gh readback",
      "issue": {
        "number": 14229,
        "state": "open",
        "state_reason": null,
        "closed_at": null,
        "closed_by": null
      },
      "pulls": [
        {
          "number": 16327,
          "state": "open",
          "is_draft": false,
          "merged_at": null
        }
      ],
      "verdict": "open_draft_with_followup",
      "follow_up": {
        "issue_url": "https://github.com/developing-today/code/issues/16326",
        "issue_number": 16326,
        "issue_state": "open",
        "issue_links": [
          16327
        ],
        "reason": "Blockers cleared (#14227 and #15399 closed); golden envelope round-trip build filed as #16326, in implementation as PR #16327 (xaltha lane, Closes #16326)"
      }
    }
    
  18. removed
    queue/claimed
    work/assigned
    on Nov 27, 2026
  19. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    §6.6 landed — closing per this issue's acceptance as recorded on #16326 ("On landing, close #14229 with a closing keyword and name the verification there").

  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Closed as implemented.

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

    effort/mkind/testmeta/enrichedpriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions