Title: Research: Economy Mode E2E gaps (#585) · Issue #685 · github/squad · GitHub
Open Graph Title: Research: Economy Mode E2E gaps (#585) · Issue #685 · github/squad
X Title: Research: Economy Mode E2E gaps (#585) · Issue #685 · github/squad
Description: Research for #585. 34 unit tests exist but NO E2E validation. Gaps: No CLI invocation test, no spawn flow test proving economy propagates, no CostTracker integration test, no baseline vs economy comparison API, selectModelForTask is inte...
Open Graph Description: Research for #585. 34 unit tests exist but NO E2E validation. Gaps: No CLI invocation test, no spawn flow test proving economy propagates, no CostTracker integration test, no baseline vs economy co...
X Description: Research for #585. 34 unit tests exist but NO E2E validation. Gaps: No CLI invocation test, no spawn flow test proving economy propagates, no CostTracker integration test, no baseline vs economy co...
Opengraph URL: https://github.com/github/squad/issues/685
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Research: Economy Mode E2E gaps (#585)","articleBody":"Research for #585. 34 unit tests exist but NO E2E validation.\n\n**Gaps:** No CLI invocation test, no spawn flow test proving economy propagates, no CostTracker integration test, no baseline vs economy comparison API, selectModelForTask is internal-only.\n\n**Key files:** models.ts (ECONOMY_MODEL_MAP + estimateCost), model-selector.ts (selectModelForTask), cost-tracker.ts (per-agent metrics), economy.ts (CLI toggle), economy-mode.test.ts (34 unit tests), economy-mode/SKILL.md (policy).\n\n**Key insight:** Per-token pricing IS cheaper but total cost depends on total tokens consumed. If economy model generates 15x more tokens, savings zeroed out. E2E must measure total tokens.\n\n**Proposed tests:** CLI toggle round-trip, model resolution under economy, CostTracker comparison, full pipeline with real session.\n\nRefs #585","author":{"url":"https://github.com/tamirdresher","@type":"Person","name":"tamirdresher"},"datePublished":"2026-03-29T15:12:43Z","url":"https://github.com/github/squad/issues/685"}
| 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:23c3e4af-5ac0-46a5-5a20-2e19bb4b1792 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A242:24ACB9:1CFDB2D:260E8A3:6B01507D |
| html-safe-nonce | 0fee0cf2a1c7990a68e415dc997d5474e04c3f59c640255817647d88dd96c374 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjQyOjI0QUNCOToxQ0ZEQjJEOjI2MEU4QTM6NkIwMTUwN0QiLCJ2aXNpdG9yX2lkIjoiNjgwMjY0ODg2NjY3NzkyNTA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5f9cc70f08e0d09fa9d6814f127eb3cc62b2b486a80263c1424485149fca4084 |
| hovercard-subject-tag | issue:4164705974 |
| 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/github/squad/685/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9238ff579ae7ffd5ffab87fb0b6bc30c065f83dbd79f861637940818cc929557/github/squad/issues/685 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9238ff579ae7ffd5ffab87fb0b6bc30c065f83dbd79f861637940818cc929557/github/squad/issues/685 |
| og:image:alt | Research for #585. 34 unit tests exist but NO E2E validation. Gaps: No CLI invocation test, no spawn flow test proving economy propagates, no CostTracker integration test, no baseline vs economy co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tamirdresher |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/squad git https://github.com/github/squad.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1151205052 |
| octolytics-dimension-repository_nwo | github/squad |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1151205052 |
| octolytics-dimension-repository_network_root_nwo | github/squad |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width