Title: Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any) · Issue #10355 · developing-today/code · GitHub
Open Graph Title: Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any) · Issue #10355 · developing-today/code
X Title: Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any) · Issue #10355 · developing-today/code
Description: Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any) Origin: Drew, 2026-11-14 — "we should add it as its own build item." This is the implementation issue for the design in #5759 (fleet proxy get/put over the agent...
Open Graph Description: Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any) Origin: Drew, 2026-11-14 — "we should add it as its own build item." This is the implementation issue for the design in #...
X Description: Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any) Origin: Drew, 2026-11-14 — "we should add it as its own build item." This is the implementation issue for the d...
Opengraph URL: https://github.com/developing-today/code/issues/10355
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any)","articleBody":"## Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any)\n\nOrigin: Drew, 2026-11-14 — \"we should add it as its own build item.\" This is the\nimplementation issue for the design in #5759 (`fleet proxy get`/`put` over the\nagent channel), with the read-path alternative in #5757 §3 and Drew's\n2026-11-14 requirements folded in. Epic: #5412. Daemon: #5343.\n\n### Verified current state (2026-11-14)\n\n- No file-transfer verb exists anywhere in the fleet binary. Domains:\n queue, serve, proxy, dispatch, dispatch-test, secrets, gh, search,\n laptop-agent. Everything carried today is commands and small JSON.\n- The laptop-agent daemon's routes are exec + jobs only; every body is JSON.\n Files cross today only as (a) base64 inside exec calls (manual, ~33% size\n tax, ~1 MiB/stream practical cap, no resume), (b) stdin pushes over the\n real-SSH fallback (`fetch-charge-inputs.py`, `atlas-backup.py` — the two\n scripts #5759 names as waiting on this channel), or (c) out-of-band staging\n (the rclone-crypt → R2 path built for the sandbox-home backup move,\n hatch-personal#50 — proven both directions 2026-11-14, but it is a backup\n pipeline, not a general verb).\n- The \"more performant HTTP version\" in Drew's memory is the agent's *exec*\n transport (commands over HTTP through pooled CONNECT tunnels) — it has\n never carried files. Recorded already on #5759 (2026-11-04).\n\n### Requirements (Drew, 2026-11-14)\n\n1. **At least SCP-capable.** `fleet get`, `fleet put`, and a `fleet copy`\n that takes SCP-style addressing on BOTH sides:\n `fleet copy sandbox:/home/hatch/test.txt laptop:/home/user/test2.txt`.\n Either side may be a remote; a bare path means the local host.\n2. **The target is a parameter, never a hardcoded \"the laptop.\"** Every\n connect-family verb takes an explicit remote/endpoint name\n (`--remote NAME` or the `host:` prefix). Today everything silently\n defaults to the one laptop; the addressing must generalize to\n laptop1/laptop2/pool members without a redesign. (Coordinator/pool\n routing — a lookup that picks the endpoint by command, load, or\n stickiness — is future work; the addressing must not preclude it.)\n3. **Integrity end-to-end.** Hash-verified transfer (the #5759\n begin/write/commit protocol already specifies sha256 + deterministic\n temp names + atomic commit — implement that; the #5757 §3 raw\n byte-range GET is the candidate read path if profiling wants it).\n4. **Resumable + clean.** An interrupted transfer resumes the same temp\n file instead of restarting; partial transfers are never visible at the\n destination path; abandoned temps are swept.\n5. **Delegated (direct-path) copy is designed in from the start.** When\n source and destination can reach each other directly, the controller\n should be able to authorize and instruct the copy instead of relaying\n every byte through itself: the source validates the instruction and\n pushes/pulls directly. The naive relay path is the fallback and may\n ship first — but if the delegated path is not in v1, it MUST be split\n out as its own follow-on issue before this one closes (Drew: \"it is\n not a question of whether it's a thing — that should be a thing\").\n6. **Performance close-out.** Report measured throughput for a 100 MiB\n file sandbox↔laptop against: base64-over-exec (today), scp over the\n proxy SSH path, and the new verb. The bar: decisively beat base64-exec,\n at least match scp.\n\n### Acceptance\n\n- [ ] 100 MiB file sandbox→laptop and laptop→sandbox, sha256-identical.\n- [ ] Transfer killed mid-flight resumes and completes; destination path\n never shows partial content.\n- [ ] `fleet copy laptop:/path sandbox:/path` and the reverse both work\n with explicit host addressing.\n- [ ] The two waiting scripts (`fetch-charge-inputs.py`,\n `atlas-backup.py`) migrated off SSH-stdin pushes, or a recorded\n reason they stay.\n- [ ] Delegated copy: working, OR follow-on issue filed and linked here.\n- [ ] Throughput numbers posted in the close-out comment.\n\nRelated: #5759 (design), #5757 (perf census), #5697 (`fleet proxy ssh`),\n#5972 (fallback connection mode), #5345 / #1794 (the ID project's own\nserver-to-server transfer designs — coordinate so the fleet verb and the\nID protocol do not grow into two incompatible answers).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-14T19:04:37Z","url":"https://github.com/developing-today/code/issues/10355"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b98bbf1a-d1de-d44d-f5b4-fffe8c86a625 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E354:36611F:37112E:47D8C9:6B0617D1 |
| html-safe-nonce | 49397f3a22e721ebbdcc5b775cee95f472b7a740603edc6522ababce7f334519 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzU0OjM2NjExRjozNzExMkU6NDdEOEM5OjZCMDYxN0QxIiwidmlzaXRvcl9pZCI6IjQ0NTIzNzIxOTI3MjIwMzI1OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dd86a9659f7a24c5f414eab0b33fd8436ad8150350eb5c63088aa9a1c8c1a773 |
| hovercard-subject-tag | issue:6394693088 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/10355/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c111ff0839424f0c83b6359dbe479bce5881efca5f88f0360255b96a7645713b/developing-today/code/issues/10355 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c111ff0839424f0c83b6359dbe479bce5881efca5f88f0360255b96a7645713b/developing-today/code/issues/10355 |
| og:image:alt | Build: fleet file transfer — get / put / copy verbs (SCP-class, any-to-any) Origin: Drew, 2026-11-14 — "we should add it as its own build item." This is the implementation issue for the design in #... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width