Skip to content

/projects: make the Project pool browsable — filters, counts, grouping by Kind/Status, honest truncation #1208

Closed

Description

@dezren39

Part of epic #1184 (PM stack coherence review, 2026-10-26).

The Projects page is a flat, unfiltered dump beyond Area and silently drops draft items. Evidence: render.ts renderProjects offers only ?area= filtering — no status/kind/horizon filter, sort, search or summary counts (counts exist on /program, not here). projects.ts parseProjectItems skips DraftIssue content silently and fetchProjectPool caps at 10 pages x 100 items with no truncation flag.

Acceptance:

  • Every pool field is filterable; header counts reconcile with /api/projects.json.
  • Epics can be grouped or at least badge-filtered by Kind/Status.
  • A >1000-item or draft-containing fixture renders its draft and truncation caveats instead of dropping them.

Acceptance criteria

  • Every pool field is filterable on /projects, and header counts reconcile with /api/projects.json.
  • Epics can be grouped, or at least badge-filtered, by Kind/Status.
  • A fixture with >1000 items and draft items renders its draft and truncation caveats instead of silently dropping them.

Activity

  1. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  2. added
    priority/normalOrdinary priority (the default)
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Oct 27, 2026
  3. added
    source/humanFiled directly by a human
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 28, 2026
  4. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    Intake review — fleet monitor

    Liveness: Verified still live at intake (2026-10-28): issue is open and unheld, and a merged-PR search for #1208 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: Counts already exist on /program, so the header-count work can reuse that derivation. Risk: filter semantics must match /api/projects.json exactly or the pages will diverge — test against the twin.

    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.

  5. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  6. 20 remaining items

  7. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  8. developing-today commented on Nov 3, 2026

    @developing-today
    Contributor

    agent-note:v1
    state: reviewed (coverage loop-back)
    Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 4912 (small_fix, blocked, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
    Found via: coverage loop-back 2026-11-03

  9. added
    epic/pm-stackReprioritization program epic (2026-11-12)
    and removed
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    on Nov 12, 2026
  10. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    Released to the queue under Drew's 2026-11-13 unblock-all order (main chat, 23:53 CT). Task(s) 15166 moved from blocked/parked to queued in the fleet unblock-all pass (worker main-unblock-all-2026-11-13). Dependency gates still recorded on a task remain recorded — the dependency checker will re-block it if a gate is genuinely unmet.

  11. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged / in-progress

    Triage verdict (fresh at origin/main d997fb4, 2026-11-14):

    • Issue /projects: make the Project pool browsable — filters, counts, grouping by Kind/Status, honest truncation #1208 OPEN, no hard-stop labels. Prior task 4912's packet_defect is superseded by this re-packet; triaging fresh per the 2026-11-13 steer.
    • Already landed since the issue was filed: pagination is no longer capped (fetchProjectPool/fetchProjectSnapshot paginate to exhaustion, Drew 2026-11-12; test covers 13 pages), and a saved-views filter system (feat(aggregator): saved views — Drew-defined filters saved per person and shareable as URLs; default view persists #1276) covers repo/area/horizon/owner/state/epic on /program and /api/projects.json. /projects itself redirects to /program#projects-pool (dashboard: clean up the page list (12 registered pages, overlaps to resolve) #1497).
    • Remainder (fixable by the fleet, no Drew gate): (1) Project Status and Kind are pool fields that are NOT filterable anywhere - not in saved views, not in the pool UI (only Area chips); acceptance 2 names exactly Kind/Status badge-filtering. (2) Draft/unlinked board items are still dropped silently by parseProjectItems and the /projects pool section carries no caveat - the audit snapshot (totalItems, in /api/projects.json) counts them, but the HTML pool never reconciles its count against it.
    • Fix in this session: add status+kind to the view-filter dimensions and to the pool's facet chips (with counts), and render an audit-based banner on the pool section reconciling board total vs linked pool items (draft/unlinked caveat). Worktree /home/user/git/fleet/queue-15166-1208-projects-facets, branch queue/15166-1208-projects-facets.
  12. added a commit that references this issue on Nov 14, 2026
  13. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: done

    Done: PR #9937 merged as e19c1a2 (branch queue/15166-1208-projects-facets, commit e24c487); this issue auto-closed on merge.

    Acceptance, verified:

    • Every pool field filterable: Status and Kind joined the saved-view filter dimensions (views.ts) and the pool facet chips; repo/area/horizon/owner/state/epic were already filterable via views (feat(aggregator): saved views — Drew-defined filters saved per person and shareable as URLs; default view persists #1276). Facet chip counts reconcile with /api/projects.json (same pool + audit objects).
    • Epics badge-filterable by Kind/Status: chip rows on the pool section (standalone render and /program) compose with the Area filter; "(no status)"/"(no kind)" unset buckets included.
    • Draft/truncation honesty: the audit snapshot is plumbed into the pool render — when the board total exceeds the linked pool, a banner names the draft/unlinked gap ("never silently dropped"). The >1000-item leg was already covered: pagination is uncapped since 2026-11-12 (13-page fetch test).
    • Tests: bun test test/projects.test.ts test/views.test.ts 46/46 pass (3 new /projects: make the Project pool browsable — filters, counts, grouping by Kind/Status, honest truncation #1208 tests, oracle-named). Full aggregator suite: failure set identical to a clean-main baseline worktree at the same commit — pre-existing failures outside the touched area. Codex review could not run (usage limits, no findings filed); no inline findings from any reviewer.
  14. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · duplicate packet — work already done by task 15166

    • Agent: repo queue worker, lane any-c (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-any-c run 2026-11-14; task 16721

    Task 16721 duplicates task 15166 (lane code-c), which completed this issue today: PR #9937 "feat(pm-stack): Project pool Status/Kind facets + honest draft/truncation" merged 2026-11-14T11:25:46Z (merge e19c1a2), and this issue is CLOSED with status:done. Task 16721 completes as already_done with PR #9937 as the evidence reference; no changes made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/pm-stackpm-stack (Pad/Grist) in developing-today/codeeffort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus:donetask/triageQueue packet kind: verify, reproduce, and route this item

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions