Title: feat(fleet): shift executor mode — launch + shepherd OpenCode sessions for opencode-lane tasks (OpenCode-half step 2) · Issue #1655 · developing-today/code · GitHub
Open Graph Title: feat(fleet): shift executor mode — launch + shepherd OpenCode sessions for opencode-lane tasks (OpenCode-half step 2) · Issue #1655 · developing-today/code
X Title: feat(fleet): shift executor mode — launch + shepherd OpenCode sessions for opencode-lane tasks (OpenCode-half step 2) · Issue #1655 · developing-today/code
Description: Part of the OpenCode-half redesign (design: files/opencode-half-redesign-2026-10-28.md in the keep-the-four-repos-healthy goal workspace; tracking: #1425). Drew's order, 2026-10-28: at least half of fleet tasks execute via OpenCode sessi...
Open Graph Description: Part of the OpenCode-half redesign (design: files/opencode-half-redesign-2026-10-28.md in the keep-the-four-repos-healthy goal workspace; tracking: #1425). Drew's order, 2026-10-28: at least half o...
X Description: Part of the OpenCode-half redesign (design: files/opencode-half-redesign-2026-10-28.md in the keep-the-four-repos-healthy goal workspace; tracking: #1425). Drew's order, 2026-10-28: at least ha...
Opengraph URL: https://github.com/developing-today/code/issues/1655
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(fleet): shift executor mode — launch + shepherd OpenCode sessions for opencode-lane tasks (OpenCode-half step 2)","articleBody":"Part of the OpenCode-half redesign (design: `files/opencode-half-redesign-2026-10-28.md` in the keep-the-four-repos-healthy goal workspace; tracking: #1425). Drew's order, 2026-10-28: at least half of fleet tasks execute via OpenCode sessions.\n\n## Scope\n\nExecutor mode for queue shifts: when a claimed task's recorded lane is `opencode`, the shift launches and shepherds an OpenCode session instead of working the task itself.\n\n- Depends on: #1357 (attach-first opencode client helper — the launch/poll surface) and the claim-time lane assignment (companion issue: ledger + `lane` verb in repo-queue.py).\n- The shift keeps every current duty: claim, revalidation, hard-stop labels, label sync, laptop worktree under `~/git/fleet/`, branch convention, heartbeats, checkpoints, verification against fresh GitHub state, and the terminal verb. The session never touches the queue helper.\n- Launch: one session per task on the laptop server via the helper, directory = the task worktree, model per the provider registry POOL MAP ladder under the ≤60-min measurement gate (workhorse default DeepSeek Flash high; Meta only via the `meta` provider; never `muse/*`; `claude-code` pause stays). Prompt = assignment packet (issue, acceptance criteria, branch, repo AGENTS.md rules, PR/CI discipline, completion contract).\n- Shepherding: poll the session; answer its questions from packet/issue context; stall → one \"Continue.\" nudge; error-stop → one retry, one failover per the ladder, then fallback.\n- Fallbacks execute directly and are recorded with a reason (`server_unreachable`, `helper_error`, `session_create_failed`, `quota`, `saturated`, `laptop_load`, `session_failed`). Concurrency cap for queue-spawned sessions: 4 fleet-wide during the pilot.\n- Instruction + job-body text changes land through Drew's review of the quoted drafts (standing hold on job-body edits) — this issue implements them once approved; it does not pre-empt that review.\n\n## Acceptance criteria\n\n- [ ] On the code queue, an opencode-assigned task produces a session whose work the shift verifies and completes with the standard structured result plus the execution block (`lane`, `session_id`, `model`).\n- [ ] CI-pending tasks park with the session id recorded and reattach (or continue in the same worktree) on resume.\n- [ ] Every fallback in a one-week pilot window carries a recorded reason; zero unrecorded fallbacks found by spot audit.\n- [ ] Zero evaporated claims attributable to session death (the shift's heartbeat/terminal discipline is unchanged).\n- [ ] Pilot report after one week on the code queue: executed share, miss breakdown, session failure classes.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-28T11:10:05Z","url":"https://github.com/developing-today/code/issues/1655"}
| 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:ec8e9357-b241-c0b0-af21-92e23c3d5ac4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ADCA:3422CF:3648C9:46EB21:6B06182A |
| html-safe-nonce | 673b643f2d1661395dd027a36df54694fe2ce8ac5bcbe8fce02d8ae6842e8ca1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRENBOjM0MjJDRjozNjQ4Qzk6NDZFQjIxOjZCMDYxODJBIiwidmlzaXRvcl9pZCI6IjM1OTU3MTkxNTk5ODU4NzA4OTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c5eaa26b3b8c62846321b71bb31dff4640676f579964eb74672397cacb80c0b |
| hovercard-subject-tag | issue:6077739555 |
| 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/1655/issue_layout |
| twitter:image | https://opengraph.githubassets.com/047390d517a2010511db428b35ee65ca9cbc7b625fd73dc80b0e66c330ca77cf/developing-today/code/issues/1655 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/047390d517a2010511db428b35ee65ca9cbc7b625fd73dc80b0e66c330ca77cf/developing-today/code/issues/1655 |
| og:image:alt | Part of the OpenCode-half redesign (design: files/opencode-half-redesign-2026-10-28.md in the keep-the-four-repos-healthy goal workspace; tracking: #1425). Drew's order, 2026-10-28: at least half o... |
| 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