Title: feat: Two-pass issue scanning for Ralph (lightweight scan + selective hydration) · Issue #596 · github/squad · GitHub
Open Graph Title: feat: Two-pass issue scanning for Ralph (lightweight scan + selective hydration) · Issue #596 · github/squad
X Title: feat: Two-pass issue scanning for Ralph (lightweight scan + selective hydration) · Issue #596 · github/squad
Description: Feature Proposal: Two-Pass Issue Scanning Problem Ralph scans GitHub issues by pulling full JSON (body, comments, labels) for every issue. Most issues don't need action — but we pay the full context cost for all of them. Proposed Solutio...
Open Graph Description: Feature Proposal: Two-Pass Issue Scanning Problem Ralph scans GitHub issues by pulling full JSON (body, comments, labels) for every issue. Most issues don't need action — but we pay the full contex...
X Description: Feature Proposal: Two-Pass Issue Scanning Problem Ralph scans GitHub issues by pulling full JSON (body, comments, labels) for every issue. Most issues don't need action — but we pay the full co...
Opengraph URL: https://github.com/github/squad/issues/596
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat: Two-pass issue scanning for Ralph (lightweight scan + selective hydration)","articleBody":"## Feature Proposal: Two-Pass Issue Scanning\n\n### Problem\nRalph scans GitHub issues by pulling full JSON (body, comments, labels) for every issue. Most issues don't need action — but we pay the full context cost for all of them.\n\n### Proposed Solution\nTwo-pass pattern inspired by ClawMongo's ID-only projection:\n\n**Pass 1 — Lightweight scan:** `gh issue list --json number,title,labels,assignees` (no body)\n**Pass 2 — Selective hydration:** Only for actionable issues, fetch full details: `gh issue view \u003cN> --json body,comments`\n\n### Implementation\n1. Ralph's work-check cycle Step 1 uses lightweight scan (already partially does this)\n2. Before spawning an agent for an issue, hydrate that specific issue's body\n3. Skip hydration for issues that are already assigned, blocked, or not matching capability labels\n\n### Benefits\n- ~70% reduction in API calls during Ralph rounds\n- Faster scan cycles\n- Less context pollution from irrelevant issue bodies\n- No breaking changes — purely additive optimization\n\n### Prior Art\nInspired by ClawMongo's tiered retrieval (https://clawmongo.site) — query IDs first, hydrate on demand.","author":{"url":"https://github.com/tamirdresher","@type":"Person","name":"tamirdresher"},"datePublished":"2026-03-24T13:08:41Z","url":"https://github.com/github/squad/issues/596"}
| 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:a1224ce2-e93c-daae-b026-e56b02e5809d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 81CA:269AD9:17E4559:1FE97FE:6B0146CB |
| html-safe-nonce | 3a5a68fd579a6def07bdd5a8d1c88226f5e0cfb9134352edc6a568bcbf77b642 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MUNBOjI2OUFEOToxN0U0NTU5OjFGRTk3RkU6NkIwMTQ2Q0IiLCJ2aXNpdG9yX2lkIjoiODI0NzEwNzU1MTE1NDQ4OTAzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0df8f57a1b2f2e2d8180b6c71663598c0f77daf8b9eacee4c212ba62c50767b9 |
| hovercard-subject-tag | issue:4127791574 |
| 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/596/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7302b9581cc5cbe8507d6bdc2e90e8b82de4b4d7af5daf05c95c062d4ac47f6a/github/squad/issues/596 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7302b9581cc5cbe8507d6bdc2e90e8b82de4b4d7af5daf05c95c062d4ac47f6a/github/squad/issues/596 |
| og:image:alt | Feature Proposal: Two-Pass Issue Scanning Problem Ralph scans GitHub issues by pulling full JSON (body, comments, labels) for every issue. Most issues don't need action — but we pay the full contex... |
| 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