Title: id(world_net): record_pages reads a mistyped next_after as end-of-listing — strict cursor shape like parse_admin_history_cursor (from #6670 disposition (d)) · Issue #6778 · developing-today/code · GitHub
Open Graph Title: id(world_net): record_pages reads a mistyped next_after as end-of-listing — strict cursor shape like parse_admin_history_cursor (from #6670 disposition (d)) · Issue #6778 · developing-today/code
X Title: id(world_net): record_pages reads a mistyped next_after as end-of-listing — strict cursor shape like parse_admin_history_cursor (from #6670 disposition (d)) · Issue #6778 · developing-today/code
Description: Follow-up filed by the #6670 Phase 4 closing inventory (disposition (d) of #6669's validated-reply contract). Not fixed inside the audit, per #6670's acceptance rule. Finding WorldClient::record_pages (pkgs/id/src/world_net.rs:1806 at ma...
Open Graph Description: Follow-up filed by the #6670 Phase 4 closing inventory (disposition (d) of #6669's validated-reply contract). Not fixed inside the audit, per #6670's acceptance rule. Finding WorldClient::record_pa...
X Description: Follow-up filed by the #6670 Phase 4 closing inventory (disposition (d) of #6669's validated-reply contract). Not fixed inside the audit, per #6670's acceptance rule. Finding WorldClient::r...
Opengraph URL: https://github.com/developing-today/code/issues/6778
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"id(world_net): record_pages reads a mistyped next_after as end-of-listing — strict cursor shape like parse_admin_history_cursor (from #6670 disposition (d))","articleBody":"Follow-up filed by the #6670 Phase 4 closing inventory (disposition (d) of #6669's validated-reply contract). Not fixed inside the audit, per #6670's acceptance rule.\n\n## Finding\n\n`WorldClient::record_pages` (`pkgs/id/src/world_net.rs:1806` at main `81bdda48`) reads the pagination cursor as `let next_after = reply[\"next_after\"].as_str();` and treats `None` as \"final page\" (`match next_after { Some(next) => continue, None => return Ok(pages) }` at :1836-1839). A **present-but-mistyped** `next_after` (number, object, bool) therefore reads exactly like a legitimately absent one, and the listing returns as complete when the host may have had more pages — a fabricated-completeness shape under #6669 rules 2 and 4 (optional means absent-or-null, never mistyped; a listing is complete or it errors).\n\nThe sibling code in the same file already implements the strict shape: `parse_admin_history_cursor` (`world_net.rs:1905-1925`) dispositions `next_after` as absent → error (required there), `null` → `None`, string → `Some`, anything else → bail. The records path is the inconsistent one.\n\nScope note: #6622 owns the pagination *cursor contract* (advance/last-key checks, which `record_pages` already performs at :1807-1833). This issue is only the cursor's *field shape* at extraction, which is #6669's contract. If #6622's owners judge the absent-vs-null semantics differently for this reply, record that here and close with the reason.\n\n## Acceptance\n\n- [ ] `record_pages` dispositions `next_after` in the `parse_admin_history_cursor` shape: missing/null → final page only if that is the wire contract for the `records` reply (name which, with the `ServerFrame` evidence), string → cursor, any other type → malformed-reply error naming `next_after`.\n- [ ] A rogue-host test in the existing `rogue_host`/`rogue_records` harness (`world_net.rs:2762`/`2798`): a page whose `next_after` is a number is refused, not silently treated as the last page.\n\nOracle: `parse_admin_history_cursor` in the same file — one cursor-shape rule for both listing paths.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-07T04:44:22Z","url":"https://github.com/developing-today/code/issues/6778"}
| 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:39f0c4c4-a787-974f-7b7b-56782384a706 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5C0:1C3245:1DBF70:2900F4:6B075D20 |
| html-safe-nonce | 2ac56673f8432a4aa773848958a3d0078607a30cb15139a83d956921c6667e00 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUMwOjFDMzI0NToxREJGNzA6MjkwMEY0OjZCMDc1RDIwIiwidmlzaXRvcl9pZCI6IjgwNTE3Mzk0MjMxMTkyMDM2MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8cd1bbf92dab64955fed97aa589c6dd2b008a19a6540b09ad3d022f5f78065f2 |
| hovercard-subject-tag | issue:6255250862 |
| 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/6778/issue_layout |
| twitter:image | https://opengraph.githubassets.com/79a0dfcef269fa0e9ea09f6d697a6b61c29cf8dd8216e0cccf7d9248a5d93d43/developing-today/code/issues/6778 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/79a0dfcef269fa0e9ea09f6d697a6b61c29cf8dd8216e0cccf7d9248a5d93d43/developing-today/code/issues/6778 |
| og:image:alt | Follow-up filed by the #6670 Phase 4 closing inventory (disposition (d) of #6669's validated-reply contract). Not fixed inside the audit, per #6670's acceptance rule. Finding WorldClient::record_pa... |
| 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 | e8a742cfa7d479a227a6a6e03ec8d1b3f77f746d4752d7d11136b478718b9658 |
| 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 | 7bda31a5f68d83542e3adebba328d48747c5f604 |
| 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