Skip to content

Fleet file transfer: delegated direct-path copy (split from #10355 requirement 5) #14219

Backlog

Description

@dezren39

Split from #10355 (fleet file transfer, get/put/copy verbs). Requirement 5 asks for delegated, direct-path copy between two remotes. It is not in v1 of #10355, so it is tracked here.

Scope

Acceptance

  • A 100 MiB copy between two remotes completes without the bytes passing through the caller, and the sha256 matches the source.
  • A killed transfer leaves no partial destination.

Filed by openchamber lane oc-code-03 (queue task 22783, verify-and-route pass, 2026-11-24).

{
  "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:43:22Z",
    "session_id": "ses_e5df347e6b3ffeIVmln8ZvpPJ4",
    "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-03",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

Activity

  1. added
    stray-work
    on Nov 24, 2026
  2. developing-today commented on Nov 24, 2026

    @developing-today
    Contributor
  3. added
    priority/normal
    effort/m
    status/needs-triage
    app/fleet
    meta/enriched
    on Nov 25, 2026
  4. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    Contributor

    Intake review

    Related: split from issue #10355 (fleet file transfer get/put/copy verbs), requirement 5; depends on the daemon /files/* routes merged in PR #11323 and on the fleet copy verb tracked in issue #10355. Filed by openchamber lane oc-code-03 (queue task 22783, verify-and-route pass, 2026-11-24, per the issue body).

    Notes: the issue arrived with only a stray-work label and an ## Acceptance section; this pass normalized it to the standard ## Acceptance criteria heading (the body's own acceptance bullets restated, original body preserved verbatim above) and applied kind/enhancement, priority/normal, effort/m, status/needs-triage, and app/fleet. No merged PR referencing issue #14219 was found in this pass — the issue is still live and unheld (no work/* or queue/* labels).

    Risks: delegated copy moves bytes between two remotes without the caller in the path — partial-transfer cleanup and destination integrity (sha256 match) are the correctness core; sequencing depends on the fleet copy verb in issue #10355 landing first.

    Suggested approach: implement as a daemon-to-daemon transfer on top of the PR #11323 /files/* routes once fleet copy exists, with the killed-transfer cleanup case tested explicitly (no partial destination).

  5. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    Claimed by felix lane (worker felix), 2026-11-25 evening — premise check. Verdict below: the work is blocked on an untracked dependency; this pass records the blocker properly (dependency edge + status) instead of forcing an implementation against a parked parent.

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

    @developing-today-fleet
    Contributor

    Premise record — felix lane, 2026-11-25 evening

    Verdict: BLOCKED on #10355; the dependency existed in prose only and is now tracked in the graph.

    Evidence, all checked this pass:

    Actions taken: dependency edge #14219 → #10355 added via the REST dependencies API and verified by readback (blocked_by = [(10355, open)]); status label corrected status/needs-triage → status/blocked.

    Unblock path: #10355's get/put/copy verbs land (or an owner ruling unparks #10355 and fixes the addressing contract), after which this issue's delegated-copy slice is a clean draw: daemon routes exist, and the acceptance (100 MiB remote-to-remote copy, sha256 match, no partial destination on kill) is testable against two daemon instances.

    No code change this pass — none was warranted. Claim released with this disposition; the issue stays open, correctly blocked.

  8. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    Triage verdict, lane 3 (queue task 23918), checked 2026-11-26 12:47 UTC: still blocked on #10355, the same finding as the felix lane's premise record above.

    Lane 3 is now taking the copy verb on #10355, which is what unblocks this issue. Resume here when that lands.


    Generated by Claude Code

  9. 9 remaining items

  10. dezren39 commented on Nov 27, 2026

    @dezren39
    MemberAuthor

    Lane 0107-C-G progress: PR #15991 opened (client + /files/copy protocol slice per the decision above, head 48beed6). Verification run 45957226778 still executing at lane end; merge on its success per the wake condition on the PR. #14219 stays open for the separately-owned laptop-agent daemon implementation of /files/copy.

  11. dezren39 commented on Nov 27, 2026

    @dezren39
    MemberAuthor

    Shepherd update — lane 0152-B-B (bravo SUSTAIN): PR #15991 verification still in_progress, parked.

    Run 45957226778 (developing-today/fleet, fleet-command) has no conclusion; updatedAt frozen at 2026-11-27T07:20:10Z across polls ~07:56–08:00Z. PR #15991 remains OPEN at head 48beed6, not merged. Wake: on run success + re-verified MERGEABLE/CLEAN at that head, merge (merge commit); on failure, record metadata-only conclusion, do not merge. This issue stays open for the daemon side regardless.

  12. dezren39 commented on Nov 27, 2026

    @dezren39
    MemberAuthor

    Shepherd update — lane 0207-C-B (xaltha, charlie ADVANCE): PR #15991 verification still in_progress, parked (metadata only, no CI logs read).

    Run 45957226778 (developing-today/fleet, fleet-command) has no conclusion at 2026-11-27T08:12Z; run updatedAt remains frozen at 2026-11-27T07:20:10Z (the Linux job's start; ~52 min elapsed in Execute, not yet >1h, run still live — no re-dispatch made). PR #15991 remains OPEN, non-draft, at head 48beed6, not merged.

    Wake: on run success + re-verified OPEN/non-draft/MERGEABLE/CLEAN at that head, merge PR #15991 (merge commit); on failure, record the metadata-only conclusion and do not merge. This issue stays open for the separately-owned laptop-agent daemon implementation of /files/copy regardless.

  13. added a commit that references this issue on Nov 27, 2026
  14. dezren39 commented on Nov 27, 2026

    @dezren39
    MemberAuthor

    Slice landed — lane 0222-D-B (xaltha, delta PRESS, 2026-11-27 02:22 CST), metadata only, no CI logs read.

    PR #15991 (client + /files/copy protocol layer for delegated direct-path copy) is MERGED: merge commit 1dbc03d, mergedAt 2026-11-27T08:25:00Z. Verification run 45957226778 (cargo test -p fleet-proxy on exact head 48beed6) concluded success at 2026-11-27T08:18:40Z after a ~58-minute Execute step whose frozen run updatedAt (07:20:10Z, the Linux job start) had read as a stall in two prior shepherd checks — it was a long cold build, not a dead run; no re-dispatch was needed.

    This issue stays OPEN: the remaining work is the separately-owned laptop-agent daemon implementation of /files/copy (the /files/* daemon side), per the design decision recorded above (comment 7212268110) and the PR body.

  15. added a commit that references this issue on Nov 28, 2026
  16. dezren39 commented on Nov 28, 2026

    @dezren39
    MemberAuthor

    Daemon side landed — lane 0537-D (queue task 26027), 2026-11-28.

    PR #16551 #16551 is MERGED (merge commit 34a501a): the laptop-agent daemon now implements POST /files/copy to the merged client contract from PR #15991 ({source, path, sha256, size, mode?} → {size, sha256}), with the /files/* transaction semantics — deterministic temp, resume only from a hash-proven temp prefix, whole-file SHA-256 verification before an atomic rename, mode applied when given. A killed copy leaves the destination untouched. Post-merge readback confirms the route in the daemon route table on main.

    Verification (repo CI, fleet-command):

    Note for the record: the earlier checkpoint commit 7ae5ccf (oc-code-06) implemented a {from, to} daemon contract that the merged client does not speak; it was not reused (only its test shape informed the new tests).

    Remaining on this issue: the two-distinct-daemon acceptance (100 MiB between two separate daemon instances, zero controller bytes). It stays gated on a daemon-to-daemon delegation contract — destination endpoint discovery plus a scoped short-lived transfer capability distinct from the controller credential. The only remote in the table today is laptop, so the same-daemon route merged here covers every currently reachable remote-to-remote configuration. Queue task 26027 is parked on that contract existing.

  17. dezren39 commented on Nov 28, 2026

    @dezren39
    MemberAuthor

    Agent note — lane 0637-E (queue task 26027 re-draw), 2026-11-28 06:37 CST alpha DRIVE queue-draw.

    Premise + ownership check: read this issue and ALL 14 comments. No live sibling claim in the comments (latest is lane 0537-D's landed note, comment 7239160293). Queue task 26027 was parked at 2026-11-28T12:21:18Z with a time ready-condition until 12:41:18Z, so the queue re-served it at 12:41:56Z — but its substantive wake condition is NOT met:

    Disposition: re-park queue task 26027 with the same non-person ready condition — resume when an authenticated daemon-to-daemon delegation contract exists in the fleet codebase, then run the two-daemon test (100 MiB copy, destination SHA-256 match, zero controller bytes, kill mid-transfer leaves no partial destination, retry completes) to close this issue.

  18. dezren39 commented on Nov 28, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked — lane 1107-D (charlie ADVANCE queue-draw, 2026-11-28 11:07 CST)

    Queue task 26027 re-drawn and premise-checked firsthand this run (gh CLI only, Git-API reads):

    So the task's ready condition is still unmet and unchanged from lane 0637-E / 0852-B-D: task 26027 parked again with the same code_exists ready condition (an authenticated daemon-to-daemon delegation contract lands in the fleet codebase; then the two-daemon test — 100 MiB copy, destination SHA-256 match, zero controller bytes, kill leaves no partial destination, retry completes — closes #14219). No duplicate code attempted by this lane.

  19. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (lane CEN-C14)

    Verified firsthand (body + all comments). State: the same-daemon half of this issue has LANDED — the delegated direct-path copy client + /files/copy protocol (PR #15991) and the daemon side (PR #16551, merged; files-routes suite 23/23; run 46142435507). Direct transfer within one daemon's workspaces is no longer relayed through the controller.

    Remainder (named): the acceptance's two-distinct-daemon case (100 MiB, zero controller bytes). It is gated on a daemon-to-daemon delegation contract — destination discovery plus a scoped, short-lived transfer capability — which does not exist in the codebase today. That contract is a design/build slice of its own; queue task 26027 is parked on exactly that condition. Nothing else in the acceptance is open.

    Census action: no label change. Verdict: blocked (delegation contract slice).

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

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).

    STRENGTHS: A clean split (requirement 5 of #10355, explicitly not in v1, tracked here rather than bloating the parent), with acceptance that is checkable (100 MiB between two remotes, bytes never through the caller, sha256 match; a killed transfer leaves no partial destination). The daemon /files/* substrate it depends on is merged (PR #11323). kind/enhancement + priority/normal already set.

    GAPS: The dependency on #10355's fleet copy verb is prose-only. (Census note: I am adding the blocked_by edge to #10355 with this pass if it verifies open at apply time; if it has closed, the verb exists and this issue is simply ready.)

    FIXES I APPLIED: None to labels — verified correct. Blocker edge to #10355 conditional on its live state, per the gap note.

    REMAINS: Nothing for Drewry.

  21. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found

    • None in metadata: kind/enhancement, priority/normal, effort/m, app/fleet all present, and the body carries both an Acceptance section and an appended ## Acceptance criteria section.

    Strengths

    Blocker recorded

    • The acceptance's two-distinct-daemon case (100 MiB, zero controller bytes) is gated on a daemon-to-daemon delegation contract — destination discovery plus a scoped, short-lived transfer capability — that does not exist in the codebase yet; queue task 26027 is parked on exactly that condition (per the CEN-C14 note).

    Actions taken by this census

    • Verified complete — no changes needed.
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/fleeteffort/mkind/enhancementmeta/enrichedpriority/normalqueue/queuedstatus/in-reviewstray-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions