Title: queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) · Issue #9408 · developing-today/code · GitHub
Open Graph Title: queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) · Issue #9408 · developing-today/code
X Title: queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025) · Issue #9408 · developing-today/code
Description: Finding (from PR review, never addressed) The #8176 claim-model stamp derives from the session's model field — for routed sessions that is the configured route alias (e.g. opencode-route/workhorse), not the provider/model/effort that act...
Open Graph Description: Finding (from PR review, never addressed) The #8176 claim-model stamp derives from the session's model field — for routed sessions that is the configured route alias (e.g. opencode-route/workhorse)...
X Description: Finding (from PR review, never addressed) The #8176 claim-model stamp derives from the session's model field — for routed sessions that is the configured route alias (e.g. opencode-route/workho...
Opengraph URL: https://github.com/developing-today/code/issues/9408
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"queue(fleet-queue): claim stamp reads session model (route alias) instead of serving leaf route_usage.lastServing (from PR #9025)","articleBody":"## Finding (from PR review, never addressed)\n\n**The #8176 claim-model stamp derives from the session's `model` field — for routed sessions that is the configured route alias (e.g. `opencode-route/workhorse`), not the provider/model/effort that actually served the claim — so routed claims permanently record the route alias and lose serving-leaf attribution.**\n\nCodex (P2) on PR #9025, `pkgs/fleet/crates/fleet-queue/src/client.rs:1358` at review:\n\n> \"Derive the stamp from the serving leaf rather than the route. For routed sessions such as `opencode-route/workhorse`, the session's `model` identifies the configured route, not the provider/model/effort that actually served the claim. Reading this field therefore permanently records the route alias and loses the serving-leaf attribution required by `doc/fleet/queue-turso-cutover.md` and `pm-stack/opencode-claimant/prompt.md`, which explicitly distinguishes `route_usage.lastServing` from the declared route. The new Python collection stamps have the same problem because they record the future session's route before it has served anything. Use the actual serving-leaf readout when available and leave the claim unstamped otherwise.\"\n\n## Evidence\n\n- Source PR: #9025 \"fix(queue): make the #8176 claim-model stamp land on the real claim paths\" — https://github.com/developing-today/code/pull/9025 (merged)\n- Comment: https://github.com/developing-today/code/pull/9025#discussion_r4556253567 — reviewer `chatgpt-codex-connector[bot]`, 2026-11-12T20:58:11Z, file `pkgs/fleet/crates/fleet-queue/src/client.rs:1358`\n\n## No-response evidence\n\n- The review thread is **unresolved** (GraphQL `reviewThreads` re-read 2026-11-13) and the Codex comment is the thread's only comment — no reply from the author or any maintainer.\n- PR #9025 was merged with this derivation unchanged; no follow-up commit on main has switched the stamp to the serving-leaf readout (verified by a fresh read of `client.rs` on main, 2026-11-13).\n- No existing issue covers this finding (searched open and closed issues for PR #9025 and claim-stamp/serving-leaf keywords on 2026-11-13; only the parent issue #8176 and unrelated items matched — #8176 does not cover the route-alias defect).\n\n## Still live on current main (verified 2026-11-13 by the pr-comment-review job)\n\n- `pkgs/fleet/crates/fleet-queue/src/client.rs` on main: `session_model_stamp` (around lines 1349-1377) reads only the session record's `model` field (`providerID` + `id`, optional `variant`). There is no code read of `route_usage` / `lastServing` anywhere in the file — those names appear only in comments (around lines 1305-1306 and 2304-2305) asserting the stamp names the serving leaf.\n- `derive_claim_model_stamp` therefore stamps the declared/route model for routed sessions, exactly as the comment describes.\n\n## Acceptance criteria\n\n- The claim stamp is derived from the actual serving-leaf readout (`route_usage.lastServing`) when available, and the claim is left unstamped otherwise — routed sessions no longer record the route alias as their serving model.\n- Or: resolve by a documented decision on this issue explaining why the session `model` field is an acceptable serving-leaf source for routed sessions.\n\n---\nFiled by the pr-comment-review job from an unaddressed PR review comment (source: PR #9025). This issue deliberately does not reply to or resolve the source review thread.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-13T09:59:35Z","url":"https://github.com/developing-today/code/issues/9408"}
| 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:aa4c71c3-fcd4-75ab-6f4f-aa7e8cad658a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B92:E76E0:826CE3:AD1BE7:6B062FBA |
| html-safe-nonce | a04be2dfa66a88de1253dc1a63f6981593efa34c5ca8badebbd94730f4248384 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjkyOkU3NkUwOjgyNkNFMzpBRDFCRTc6NkIwNjJGQkEiLCJ2aXNpdG9yX2lkIjoiNzU0OTQ1MzYwMzc5MzcwODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8fe18d9621fae50ecf3de185de0bce73f6451aed7a65586be7398aa9daee0abd |
| hovercard-subject-tag | issue:6369038921 |
| 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/9408/issue_layout |
| twitter:image | https://opengraph.githubassets.com/18fca5f4e1235b2d085ab002ae82228b0d4fd7c91d226246680152223bf92bdb/developing-today/code/issues/9408 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18fca5f4e1235b2d085ab002ae82228b0d4fd7c91d226246680152223bf92bdb/developing-today/code/issues/9408 |
| og:image:alt | Finding (from PR review, never addressed) The #8176 claim-model stamp derives from the session's model field — for routed sessions that is the configured route alias (e.g. opencode-route/workhorse)... |
| 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 | 7f961de5dd5c5d4aca24d33f8b3ffb3fb8b2ef53d0a4f32f01f0a790e512f6d3 |
| 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 | 494ea0bb1e0feef734a83e2628697647755e8864 |
| 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