Title: Implement repo-fleet-monitor snapshot/SQL-first fetch (digest-judged runs, ≤3M input/run) · Issue #2154 · developing-today/code · GitHub
Open Graph Title: Implement repo-fleet-monitor snapshot/SQL-first fetch (digest-judged runs, ≤3M input/run) · Issue #2154 · developing-today/code
X Title: Implement repo-fleet-monitor snapshot/SQL-first fetch (digest-judged runs, ≤3M input/run) · Issue #2154 · developing-today/code
Description: Implementation follow-on from the #2134 triage (queue task 3164, 2026-10-29). Parent: #2134 (design recorded there); fleet epic: #2055. The 2h cadence half of #2134 is already live. This issue is the remaining half: rebuild repo-fleet-mo...
Open Graph Description: Implementation follow-on from the #2134 triage (queue task 3164, 2026-10-29). Parent: #2134 (design recorded there); fleet epic: #2055. The 2h cadence half of #2134 is already live. This issue is t...
X Description: Implementation follow-on from the #2134 triage (queue task 3164, 2026-10-29). Parent: #2134 (design recorded there); fleet epic: #2055. The 2h cadence half of #2134 is already live. This issue is t...
Opengraph URL: https://github.com/developing-today/code/issues/2154
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement repo-fleet-monitor snapshot/SQL-first fetch (digest-judged runs, ≤3M input/run)","articleBody":"Implementation follow-on from the #2134 triage (queue task 3164, 2026-10-29). Parent: #2134 (design recorded there); fleet epic: #2055.\n\nThe 2h cadence half of #2134 is already live. This issue is the remaining half: rebuild repo-fleet-monitor's state fetch to be snapshot/SQL-first so a run costs ≤3M input (from 7.2M at check-in #5) with **no duty dropped**.\n\nDesign (full text on #2134):\n1. **Deterministic precompute, run-start fresh.** A script (extend the existing `hidden_files/monitor-fetch.py` / `monitor-query.py` prototypes in the goal workspace) runs at the start of every monitor run and emits ONE compact digest: live queue tasks across all four pilot queues (PostgREST, one query per queue, live statuses only) joined against a bounded GitHub pull (only issues carrying `queue/*` or `work/*` labels and PRs bound to live tasks). The digest pre-flags divergences mechanically: claimed-but-unlabelled, labelled-but-no-live-task, expired leases still claimed, expired parks, PR merged/closed but task open, issue closed but task open, dead-in-queue (max_attempts reached, still queued).\n2. **The agent judges only the digest.** Full task/issue lists never enter the agent's context; a flagged divergence is investigated with a targeted single-item fetch. Intake enrichment stays bounded (newest-first sample, as today) but draws its candidate list from the digest.\n3. **Freshness is binding:** the digest is generated in-run; judging from a snapshot older than the run is forbidden (the stale 2026-10-28 prototype snapshot JSONs in hidden_files are the anti-pattern — delete or overwrite them in-run, never read them as evidence).\n4. **No duty dropped — each protocol duty maps to digest fields:** reconciliation + auto-repair (divergence flags), dead-in-queue alerts (attempts flag), intake enrichment (unenriched-issue list), in-progress tracker (claimed tasks + label join), protocol checks (work/* without a fresh agent note = flag).\n\nAcceptance:\n- [ ] Monitor instruction rewritten to the digest flow; precompute script committed in the goal workspace and invoked by the job body\n- [ ] One full monitor run executed on the new flow with all five duties evidenced in its output\n- [ ] Input per run ≤3M measured over the following three daily token check-ins, with divergence-repair counts not below the pre-rewrite run average\n- [ ] #2134 closed or updated with the measurement; #2055 linked\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-29T06:40:26Z","url":"https://github.com/developing-today/code/issues/2154"}
| 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:358619de-6be9-52c5-9638-0e89536e3b7b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C522:1293AE:91AA65:BD2009:6B063207 |
| html-safe-nonce | d6f9acfa2985deeb486a3b2dde7d720193ebae2220a06f5bf48a7d8e3c5832f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTIyOjEyOTNBRTo5MUFBNjU6QkQyMDA5OjZCMDYzMjA3IiwidmlzaXRvcl9pZCI6IjUzNTE1NDYwMTE1NzM5NTcxMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b80a67997b9193e3e2747a0ddcc3c6ec8cff69a5bcab741737cf7be47ea38f9f |
| hovercard-subject-tag | issue:6094415482 |
| 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/2154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/763c91157f7af216388888ca986cfb2513e70732cd3100fcf94daa96755adb28/developing-today/code/issues/2154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/763c91157f7af216388888ca986cfb2513e70732cd3100fcf94daa96755adb28/developing-today/code/issues/2154 |
| og:image:alt | Implementation follow-on from the #2134 triage (queue task 3164, 2026-10-29). Parent: #2134 (design recorded there); fleet epic: #2055. The 2h cadence half of #2134 is already live. This issue is t... |
| 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 | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| 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 | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| 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