GeezerVison is showing github.com — fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments) · Issue #1500 · developing-today/code
fix(aggregator): item detail pages — empty sections must say why (unresolved ≠ none, fixture comments ≠ no comments) #1500DescriptionProblem (observed live, 2026-10-27)
Item detail pages render empty sections that read as facts about the work when they are really facts about the dashboard's resolution path.
Field evidence (aggregator live on the laptop, ~13:56 CDT):
/item/kaneo%3Aopencode%2Fys1ofxfyjl6q5y31kw91an87 — a card with 2 linked refs (developing-today/opencode#538, #544) — renders "Linked issues / PRs — none resolved" and "Activity stream — no comments".
/api/health facets at the same moment: items: live (project pool · fleet feed · 4m old) + fixtures for 412 ref(s) outside the pool; comments: fixtures.
- The 65 KB detail page mentions "fixtures" exactly twice — both inside the collapsed footer "source detail"
<details>. The sections themselves carry no cause.
A reader cannot distinguish "this work has no linked issues and no discussion" from "the dashboard cannot resolve them right now". "No comments" is the misleading case: GitHub comment streams are fixture-sourced for every ref while the projector is off (#1199), so the stream can show nothing — or fixture content — while the words on the page claim neither.
Design
In-place honesty on the detail surfaces, keyed off the facet states the page already receives as provenance:
- Linked issues / PRs — when resolution is partial, the section header carries the tally and the cause:
2 linked · 0 resolved — resolution fell back to fixtures (projector off, #1199). When every ref resolves, no banner (no false alarms).
- Activity stream — when the comment facet is fixture-sourced, an in-place banner above the stream says so, and the empty wording becomes
no comments loaded — the comment stream is fixture-sourced while the projector is off (#1199), never a bare "no comments".
- Same treatment for
/discuss/<ref> when its thread includes fixture-sourced GitHub comments.
Implementation path
renderItem in src/render.ts already receives provenance; thread the items/comments facet states (live / partial-fixtures / fixtures) through the /item route in src/server.ts (they are computed in src/sources/live.ts today and surface via /api/health). Wording keyed off facet state only — no new data plumbing, no dependency on the #1199 decision: whichever way #1199 lands (deploy or retire), the page must say what its sections are made of.
Acceptance
- With the projector off, the example card above states the resolution tally + cause inside the Linked issues section, and the Activity stream names its fixture sourcing in place.
- A fully pool-resolved card shows no banner and no tally caveat.
- Tests in the style of
test/dashboard-overhaul.test.ts cover both facet states for both sections.
Related, not duplicates: #1199 (deploy-or-retire decision for the projector itself), #1141 (raise pool resolution coverage + publish the ratio — this issue is the rendering side that stays necessary at any coverage < 100%). Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 27, 2026 Intake review
Related, not duplicates: #1199 (projector deploy-or-retire decision), #1141 (resolution coverage). Liveness: no merged PR threads facet states into renderItem — checked merged aggregator PRs through 2026-10-27; issue is live. Its ## Acceptance section is complete in substance, so no duplicate was appended.
Notes / risks / suggested approach: Risk: wording must key off facet state only — no banner on a fully pool-resolved card (no false alarms). Suggested approach: thread items/comments facet states from src/sources/live.ts through the /item route; add tests in the style of test/dashboard-overhaul.test.ts for both facet states.
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-10-27 14:19 CDT — intake enrichment (protocol §5)
- Found via: monitor reconciliation
- Task: Item detail pages must say why a section is empty: linked-refs tally + fixture-fallback cause in-section, and fixture-sourcing banner on the activity stream (same for
/discuss/<ref>).
- Expectation: intake only this run — labels normalized, liveness checked, acceptance criteria in place; the fix itself routes through the normal queue/sweep path
- Links: n/a
dezren39 commented on Nov 1, 2026 agent-note:v1 — queue task 2600 (lane E) — triage verdict: CONFIRMED on current main
Verified 2026-11-01 against origin/main 0ea0a0f:
pm-stack/aggregator/src/render.ts:1685 still renders the Linked issues/PRs empty state as a bare none resolved, and :1687 the Activity stream empty state as a bare no comments — unconditionally, with no reference to facet state.
- The honest wording does not exist yet:
fixture-sourced and no comments loaded appear nowhere in render.ts, and the facet states (live / partial-fixtures / fixtures, computed in sources/live.ts and already surfaced via /api/health) are not threaded into the section wording.
- The gap is state-independent: facets are live at this moment (projector on), but any degraded-facet day reproduces the filed evidence verbatim, because the wording never keys off facet state.
Route: scoped implementation packet enqueued as queue task 5017 (small_fix), following the implementation path the issue itself specifies: thread facet states through the /item route into renderItem, tally+cause in the Linked header, fixture banner + honest empty wording in the Activity stream, same treatment on /discuss/, wording keyed off facet state only (no dependency on the #1199 decision). dezren39 commented on Nov 16, 2026 agent-note:v1
state: picked up
lane: code-d
task: 16718
issue: #1500
Lane code-d claimed task 16718 (small_fix). Fresh revalidation 2026-11-16: issue #1500 OPEN, no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit), no open competing PR for this work. Working the corrected packet: add the partial-fixtures facet state, thread provenance into the Linked issues / Activity stream wording in renderItem and the fixture banner in renderDiscuss, with tests for both facet states. dezren39 commented on Nov 16, 2026 agent-note:v1
state: done
lane: code-d
task: 16718
issue: #1500
pr: #10687
Implemented and merged in PR #10687 (merge commit 7136c09). ProvenanceFacet.state gains partial-fixtures; the live.ts classifier marks mixed pool + fixture-fallback items facets partial-fixtures; renderItem's Linked header carries tally + cause when resolution is partial and the Activity stream names its fixture sourcing (banner + honest empty wording); renderDiscuss carries the same banner + empty wording. Tests: new test/item-detail-honesty-1500.test.ts — targeted suites 15/15 pass, typecheck passes, full aggregator suite failure count identical to the clean-tree baseline (17 pre-existing). Codex review could not run (connector usage limits, verified twice, zero findings posted — disposition recorded on PR #10687).
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|