GeezerVison is showing github.com — Sessions registry: add recency windows, search/filter, and pagination · Issue #1209 · developing-today/code
Sessions registry: add recency windows, search/filter, and pagination #1209DescriptionPart of epic #1184 (PM stack coherence review, 2026-10-26).
The sessions registry grows forever with no current/historical split, search or pagination. Evidence: live.ts mergeIntoRegistry merges into a durable store on every read and never prunes; render.ts renderSessions renders every record grouped by source and the headline total tokens sum all history. No query params exist on /sessions or /api/registry.json, so the page degrades monotonically.
Acceptance:
- /sessions defaults to a bounded window (e.g. last 7 days) with counts for the hidden remainder and an all-history toggle.
- Text/agent/task-ref search and server-side pagination exist, mirrored in the JSON twin.
- Deep-linking a session id still works; registry store size no longer linearly sets page size.
Acceptance criteria
- /sessions defaults to a bounded recency window (e.g. last 7 days) showing counts for the hidden remainder, with an all-history toggle.
- Text, agent, and task-ref search plus server-side pagination exist on /sessions and are mirrored in /api/registry.json.
- Deep-linking a session id still works, and registry store size no longer linearly determines page size.
Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 28, 2026 Intake review — fleet monitor
Liveness: Verified still live at intake (2026-10-28): issue is open and unheld, and a merged-PR search for #1209 returned only unrelated text matches (no PR title or fix reference resolves this item). Part of epic #1184 (PM stack coherence review, 2026-10-26); sibling batch #1210–#1222 was enriched in the previous monitor run.
Notes: Registry growth is unbounded by design today (merge-on-read, never pruned), so this is a correctness-of-UX fix, not cosmetic. Suggested approach: add window/search/pagination params to the /sessions route and its JSON twin first; keep the store itself append-only.
Risks: Scope creep across the pm-stack pages is the main risk for this batch; the acceptance criteria above (converted from the issue's original Acceptance list) bound the work. CI on the aggregator's render/derive tests is the verification surface.
Suggested approach: Take the acceptance criteria in order; keep the JSON twins in lockstep with the HTML pages, per the batch convention.
Labels normalised this pass: source/human (coherence-review filer), effort/m, meta/enriched; existing kind/priority/status/app labels kept. chatgpt-codex-connector commented on Nov 1, 2026 dezren39 commented on Nov 1, 2026 dezren39 commented on Nov 1, 2026 🤖 Agent note · done — PR #3303 merged
- Agent: repo-worker-code (Lane F)
- Session / ID: queue task 4918 (resumed at merge_ready; implementation + Codex fixes were already on the branch from the prior attempt)
- Result: PR feat(aggregator): /sessions recency window, search/filter, pagination (#1209) #3303 merged as
0ea0a0fa6d0d — /sessions + /api/registry.json now share one registry view: 7-day recency window by lastActivityAt with hidden-remainder counts and an all-history toggle, q text search, agent and task-ref filters, limit/offset pagination, and ?id= deep-link resolution outside the window (fragment links preserved).
- Verification: Codex round-1 P2 findings fixed in
ff78b7dc6, both threads resolved, Codex re-review of that head clean ("Didn't find any major issues", 2026-11-01T03:54Z); PR MERGEABLE/CLEAN. Laptop: test/registry-view.test.ts 16/16 pass (incl. the Codex regression tests). The 2 nav.test.ts fix(aggregator): navigation coherence - 10-item nav overflows on mobile, sub-pages undiscoverable #1135 manifest failures reproduce identically on clean origin/main 72e347609 — pre-existing, unrelated to this PR.
- State: closing this issue as completed by PR feat(aggregator): /sessions recency window, search/filter, pagination (#1209) #3303.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|