Skip to content

id(web): send selected files to another server #5346

Closed

Description

@dezren39

Parent: #1794. Design: #4975. Depends on #5345 (server-side transfer module and CLI/REPL slice).

Scope — web adapter

Add a user-initiated send action for files on the source server. Reuse the transfer module from #5345; do not reimplement transport or stream file bytes through browser JavaScript.

  • Add a “Send to server…” action to the existing file-list selection controls, using peer/server node IDs already exposed by the server. Allow an optional destination name and make the no-overwrite default / explicit replace choice visible before sending.
  • Add a server-side web route (proposed: POST /api/files/send) that accepts selected source names, destination node ID, and destination names/policy, then calls the shared server-side transfer module. The source server performs the transfer using its own Iroh identity.
  • Enforce the same caller authorization and destination allowlist as the CLI/REPL path. World membership alone is not file-send authorization.
  • Return success only after the destination confirms blob completion and name registration. Show destination, name, and failure/progress state; a failed transfer must not appear as a successful send.
  • Preserve the id: show file origin node + upload time in listings with sort/filter #4973/id: show file origin node + upload time in listings (#4973) #5191 listing contract: the destination stamps the authenticated sending server as origin and its first-write time as uploaded/created time.

Out of scope

Transport/protocol implementation, CLI/REPL surface (tracked in #5345), browser-to-browser or browser-mediated byte transfer, directories/batches, and move/delete-source semantics.

Parent acceptance criteria (verbatim from #1794)

  • A file can be sent from one running server to another by a user action in CLI/REPL and in web (or the unsupported surfaces are explicitly scoped out with reasons).
  • The transfer is covered by an integration test or a documented two-server probe.

Done check

A web integration test or documented two-server probe sends a selected stored file through the shared server-side transfer module, verifies the destination file and origin metadata, and covers unallowlisted destination, conflict, interruption, and retry behavior. Browser requests carry file references only; bytes stay on the servers.

Ordering

Blocked by #5345. The parent feature #1794 remains open until this adapter and the CLI/REPL slice both satisfy the parent acceptance criteria.

Activity

  1. added
    kind/featureNew feature or capability request
    task/triageQueue packet kind: verify, reproduce, and route this item
    source/queue-workerFiled or worked by the queue/worker pilot
    priority/normalOrdinary priority (the default)
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    status/triagedTriaged and routed (see agent note)
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 4, 2026
  2. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  3. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    Agent note — task 9495 handed off to opencode execution lane

    • Lane: code-v (repo-worker-code), claimed 2026-11-04
    • Execution-lane assignment (repo-queue lane task 9495): opencode
    • Per worker instruction §1b, this lane does not work the task directly and creates no worktree. The laptop opencode-claimant launches a session bound to task 9495 to drive it to a terminal state.
    • Checkpointed as handed_off. If the claimant has not launched by lease expiry, task 9495 returns to the queue.
  4. 363 remaining items

  5. added
    epic/id-programReprioritization program epic (2026-11-12)
    and removed
    queue/blockedQueue or user escalation state
    on Nov 12, 2026
  6. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    Blocked-until condition fired (2026-11-15 daily checker, item br-blocked-review-gate-01-9, test custom).

    Evidence: #7905 state=MERGED merged_at=2026-11-14T23:38:03Z (need pr-merged); #5345 state=CLOSED merged_at=None (need issue-closed)
    Gate link(s): #7905, #5345

    Queue task 9495 released to queued (fleet-queue events row kind=condition_fired, worker=blocked-until). Labels synced to queue/queued.

  7. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    on Nov 15, 2026
  8. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up — gate cleared, implementing

  9. added a commit that references this issue on Nov 15, 2026
  10. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done — fixed and merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/queue-workerFiled or worked by the queue/worker pilottask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions