René's URL Explorer Experiment


Title: opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch · Issue #5016 · developing-today/code · GitHub

Open Graph Title: opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch · Issue #5016 · developing-today/code

X Title: opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch · Issue #5016 · developing-today/code

Description: Summary The opencode-claimant's 12-session cap is consumed almost entirely by sessions that are not the work it is trying to launch, so the claimant starves: 44 eligible unbound opencode-lane candidates existed at the 2026-11-03 10:10 CT...

Open Graph Description: Summary The opencode-claimant's 12-session cap is consumed almost entirely by sessions that are not the work it is trying to launch, so the claimant starves: 44 eligible unbound opencode-lane candi...

X Description: Summary The opencode-claimant's 12-session cap is consumed almost entirely by sessions that are not the work it is trying to launch, so the claimant starves: 44 eligible unbound opencode-lane c...

Opengraph URL: https://github.com/developing-today/code/issues/5016

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch","articleBody":"## Summary\n\nThe opencode-claimant's 12-session cap is consumed almost entirely by sessions that\nare **not** the work it is trying to launch, so the claimant starves: 44 eligible\nunbound opencode-lane candidates existed at the 2026-11-03 10:10 CT fire and the\ngate closed with `cap_room: 0` for the third fire running (also 15:45Z and 16:03Z).\n\nMeasured at 2026-11-03T16:12-16:13Z, via `GET /api/session/active` + a per-id\n`GET /api/session/\u003cid>` (per-id reads because the list truncates, #4757):\n\n| component | count | note |\n|---|---|---|\n| active root sessions | 14 | 0 children |\n| scheduled lane runners from the 10:00 CT fire | 11 | titles `Queue lane (scheduled) - code/opencode 2026-11-03 10:00` |\n| bound task worker sessions | 1 | task 8067, genuinely running (50 msgs, last message 0.4 min before the check) |\n| **the claimant session itself** | 1 | `ses_e5e5dd34a9fffehVF6gEz57StG`, this fire |\n| unbound orphan session, idle ~18h | 1 | see below |\n\nCap is 12, so the fire was over by 2 and launched nothing.\n\n## Two concrete problems\n\n1. **The claimant counts itself against its own cap.** Each fire is a root session,\n   so a fire with plenty of capacity still spends one slot on the gatekeeper. At\n   the margin that is the difference between launching and not.\n\n2. **A live-looking zombie holds a slot indefinitely.** Session\n   `ses_e5e61b938bfffeywl78cVRVoec`, title `Queue lane (scheduled) - opencode\n   2026-11-02 16:00`, is in `/api/session/active` (`{\"type\": \"running\"}`) with\n   **no** `outcome` and no `time.idle`, but its last message is\n   `2026-11-02T22:18:51Z` (~17.9 h idle). No task row carries its id in\n   `progress.session_id` (ledger query returns `[]`), i.e. it is not a bound\n   task session, so supervision correctly will not touch it and no worker owns\n   it. It simply occupies one of the 12 slots.\n\n## Secondary\n\n`poll.py` reported `live_root_sessions: 50` — exactly the `GET /api/session`\npage size — so the fleet total is still truncated (#4757). `cap_room` itself is\ncomputed from `/api/session/active`, which is unaffected, so the gate is not\nwrong here; only the reported total is.\n\n## Asks\n\n- Decide whether the claimant's own session (and scheduled lane-runner\n  sessions) should count against the 12-session cap, or whether the cap should\n  count *launchable work* instead. Same question applies to the opencode lane's\n  admission control (#1187).\n- Give the fleet watchdog a disposition rule for sessions the server reports\n  `running` with no terminal marker and no activity for hours, that are bound to\n  no task row: cancel/close them so the slot returns.\n- Note for the parallel-run gate (#3026 slice 2): while 11 lane runners can be\n  in flight at once, the claimant's cap room is structurally near zero, so\n  slice 2 cannot be evaluated on launch counts alone.\n\n## Evidence\n\nFire log lines: `~/.local/state/opencode-claimant/fires.jsonl` at\n`2026-11-03T16:12:52Z` (fire) and its `16:13Z` supplement (cap composition +\nstall report). Read-only fire; nothing was claimed, bound, launched or mutated.\n\n## Acceptance criteria\n- The claimant's session-cap accounting no longer counts the claimant's own fire session against the cap it enforces (or the cap is explicitly defined to include it and the starvation math is re-derived and documented).\n- Sessions present in `/api/session/active` with no queue binding, no outcome, and no activity beyond a stated staleness threshold are reaped or explicitly owned, so a zombie cannot hold a cap slot indefinitely.\n- A claimant fire with eligible unbound candidates and real capacity launches work; the `cap_room: 0` starvation measurement from 2026-11-03T16:12Z no longer reproduces under the same session mix.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-03T16:14:13Z","url":"https://github.com/developing-today/code/issues/5016"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7a1b0959-640f-f265-cb67-69bb9ee372d2
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id80CC:3373A3:8F7F85:B8BD0C:6B062EE1
html-safe-nonce1c70320846c69f613f43565b87251a91dbcab3ac272d6360c28fa59c8ef910f4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MENDOjMzNzNBMzo4RjdGODU6QjhCRDBDOjZCMDYyRUUxIiwidmlzaXRvcl9pZCI6IjIyMjgxODE0Mjk1NDI4NTg0NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6746a9f8c12eb4fc4efbe658eafed9cecb8843f3f0c489be56aaa1cc6604b2a9
hovercard-subject-tagissue:6186545329
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/5016/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2add902fcb3c37670cd31d3bcb117eaaffde9817060efb23685368be4b101316/developing-today/code/issues/5016
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2add902fcb3c37670cd31d3bcb117eaaffde9817060efb23685368be4b101316/developing-today/code/issues/5016
og:image:altSummary The opencode-claimant's 12-session cap is consumed almost entirely by sessions that are not the work it is trying to launch, so the claimant starves: 44 eligible unbound opencode-lane candi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
None7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release494ea0bb1e0feef734a83e2628697647755e8864
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/5016#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F5016
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F5016
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/5016
Reloadhttps://github.com/developing-today/code/issues/5016
Reloadhttps://github.com/developing-today/code/issues/5016
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests152 (152)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5016
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5016
#10733https://github.com/developing-today/code/pull/10733
opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launchhttps://github.com/developing-today/code/issues/5016#top
#10733https://github.com/developing-today/code/pull/10733
https://github.com/dezren39
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
effort/mhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fm%22
epic/opencode-platformhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22epic%2Fopencode-platform%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
meta/enrichedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fenriched%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
source/queue-workerhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fqueue-worker%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/5016#issue-6186545329
#4757https://github.com/developing-today/code/issues/4757
#4757https://github.com/developing-today/code/issues/4757
OpenChamber dispatch v1.1: admission control, hand-backs, stall nudges, harvesting, Workhorse-first routing #1187https://github.com/developing-today/code/issues/1187
Move opencode executions to laptop-side scheduled tasks — retire the Muse boot handoff #3026https://github.com/developing-today/code/issues/3026
Nexthttps://github.com/developing-today/code/issues/5016?timeline_page=1
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/queue-workerhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fqueue-worker%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
effort/mhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fm%22
meta/enrichedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fenriched%22
on Nov 3, 2026https://github.com/developing-today/code/issues/5016#event-35039825658
developing-todayhttps://github.com/apps/developing-today
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
on Nov 3, 2026https://github.com/developing-today/code/issues/5016#event-35045525811
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Nov 3, 2026https://github.com/developing-today/code/issues/5016#issuecomment-6610581304
developing.todayhttps://kaneo.security.cab
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/5016#issuecomment-6611139996
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 3, 2026https://github.com/developing-today/code/issues/5016#event-35061268243
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 14, 2026https://github.com/developing-today/code/issues/5016#issuecomment-6873001774
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 14, 2026https://github.com/developing-today/code/issues/5016#issuecomment-6876252951
opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch #5016https://github.com/developing-today/code/issues/5016
opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch #5016https://github.com/developing-today/code/issues/5016
claimant: count only active root sessions toward the 12 cap (#3026 gate) #3262https://github.com/developing-today/code/pull/3262
opencode-claimant: cap and supervision read GET /api/session, which truncates at 50 — active roots undercounted, live bound sessions reported gone #4757https://github.com/developing-today/code/issues/4757
opencode-claimant: requeue/lease expiry never clears a bound session_id — a live session can sit on a claimable task (7787), and a relaunch can never re-bind #5001https://github.com/developing-today/code/issues/5001
dezren39https://github.com/dezren39
queue/blockedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fblocked%22
status/blockedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fblocked%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 14, 2026https://github.com/developing-today/code/issues/5016#event-36118748683
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 16, 2026https://github.com/developing-today/code/issues/5016#issuecomment-6911818474
opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch #5016https://github.com/developing-today/code/issues/5016
opencode-claimant: the 12-session cap is consumed by lane runners, the claimant itself and an 18h zombie session — so 44 eligible candidates never launch #5016https://github.com/developing-today/code/issues/5016
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
status/blockedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fblocked%22
user/escalatedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22user%2Fescalated%22
queue/blockedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fblocked%22
on Nov 16, 2026https://github.com/developing-today/code/issues/5016#event-36256162606
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 16, 2026https://github.com/developing-today/code/issues/5016#issuecomment-6915980213
#3418https://github.com/developing-today/code/issues/3418
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 16, 2026https://github.com/developing-today/code/issues/5016#issuecomment-6916358321
#5016https://github.com/developing-today/code/issues/5016
design(queue): budget-aware claiming — parks carry a minimum required time budget, claim matches the claimer's remaining shift budget #3418https://github.com/developing-today/code/issues/3418
#5016https://github.com/developing-today/code/issues/5016
PR #10733https://github.com/developing-today/code/pull/10733
dezren39https://github.com/dezren39
on Nov 17, 2026https://github.com/developing-today/code/issues/5016#event-36349252480
Merge pull request #10733 from developing-today/queue/17428-5016-clai…https://github.com/developing-today/code/commit/16e0c26ea5701cdc230ed9ce1f62c7f37039cceb
#10733https://github.com/developing-today/code/pull/10733
16e0c26https://github.com/developing-today/code/commit/16e0c26ea5701cdc230ed9ce1f62c7f37039cceb
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#10733https://github.com/developing-today/code/pull/10733
on Nov 17, 2026https://github.com/developing-today/code/issues/5016#event-36349253739
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/5016
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/5016
dezren39https://github.com/dezren39
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
effort/mhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fm%22
epic/opencode-platformhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22epic%2Fopencode-platform%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
meta/enrichedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22meta%2Fenriched%22
priority/normalhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Fnormal%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
source/queue-workerhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fqueue-worker%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.