GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(web): aggregator UI — WIP board, roadmap, quota + throughput, needs-you views by dezren39 · Pull Request #856 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 25, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Aggregator UI — the dashboard Drew lives in

Session K, pm/aggregator-ui (stacked on pm/projector). Builds the
aggregator UI scoped in the design record
(doc/2026-10-24T11-05-38Z_design_project-management-stack/) — a
read-mostly, disposable projection over GitHub, Kaneo, Pad, and Grist
via the projector/link registry.

The views

Route View
/ Cross-repo WIP board — curated in-flight set across the four repos, each card carrying an execution strip (implementing → review → merged → queued) derived from its linked issues/PRs.
/roadmap Roadmap — Grist's Program roadmap table as a timeline (theme × quarter lane); each row drills down to its linked GitHub issues with live state.
/quota Quota + throughput (#851) — pooled quotas, resets, burn rates, model-choice guidance.
/attention Needs you (#852) — every live session classified and attention-ordered, evidence inline.
/item/<subject> Drill-down: linked refs + a unified comment stream (PR-interior comments included).

Every view is machine-first: /api/board.json, /api/roadmap.json,
/api/quota.json, /api/attention.json return the same data the GUI
renders, so Muse can poll one endpoint and answer a full question.

First-class requirements

  1. Cross-repo links — any board card or roadmap row links any issue/PR
    from any of the four repos (developing-today/{code,opencode,openchamber},
    dezren39/nix) and shows it live. Registry keys are repo-qualified
    (owner/repo#N); subjects match Session J's contract
    (kaneo:<projectSlug>/<taskId>, grist:<docId>/<tableId>/<rowId>,
    gh:<ref>).
  2. Unified comment stream — one activity stream per item across all
    repos, including reviews and line comments, from the projector's
    comment projection (deleted tombstones are dropped).

Both render in the board's execution strips and the item drill-down.

Live vs fixture-backed

Facet Live reader Fallback
Board Kaneo REST (all four projects; in-flight columns) fixtures
Roadmap Grist REST (Roadmap table records) fixtures (the real Grist seed rows)
Items (refs) Projector GET /items?refs=… fixtures
Comments Projector GET /comments?refs=… fixtures
Quota (#851) (projector concern — not yet projected) fixtures
Attention (#852) (projector/watch-cron concern — not yet projected) fixtures

Verified live on this host: board renders 127 Kaneo tasks and
roadmap renders 16 Grist rows when PM_AGG_SOURCE=live and the
env vars are set. Everything is behind one Source interface
(src/source.ts), so fixtures↔live is a config change. The page footer
states, facet by facet, what is live vs fixture-backed. Fixtures are
the default
and fully stand-alone: bun run dev with no config.

The two new design issues (#851, #852)

Both are implemented as machine-first surfaces (data model + API + GUI
over the same data), per the "data surface for Muse first, nice GUI
second" priority:

  • design(aggregator): quota + throughput view — pooled quotas, resets, burn rates, model-choice support #851 quota + throughput — QuotaPool/QuotaWindow/BurnSegment/
    QuotaView in model.ts; wall detection + near-limit threshold
    (NEAR_PCT=85) in derive.ts. The per-source readers named in the
    issue (Codex, OpenCode Go, CommandCode, Cline, DeepSeek, Cloudflare,
    Turso, Meta, Antigravity, Open Design, GitHub billing) are a projector
    concern; the aggregator renders whatever it emits. No estimator
    duplicates the OpenChamber quota picker (standing rule).
  • design(aggregator): 'needs you' attention view — session state taxonomy, machine-first #852 needs-you — the six-state taxonomy and classification rules
    (AttentionState, classifyAttention/attentionSorted) in
    derive.ts, ordered stopped-for-question/errored first, evidence
    inline. The raw feed is the projector's generalization of the id-train
    watch crons.

Nothing from the CCC reference design (FSL-1.1-MIT) is vendored — only
the machine-first idea.

Run / test

cd pm-stack/aggregator && bun install && bun run dev   # http://127.0.0.1:4870
bun test                                               # 21 pass: derivations, render smoke, boot smoke
bunx tsc --noEmit                                      # clean

Notes for the reviewer (Muse)

  • Target is pm/projector (this branch starts at its tip).
  • Kaneo has only the code project today; the board is genuinely
    cross-repo once Session H (pm/connect-repos) connects the other
    three and/or the projector feeds GitHub-only work. Until then, the
    fixtures show the target cross-repo shape and the live board covers
    what Kaneo has.
  • Read-only: no route writes to GitHub, Kaneo, Pad, or Grist. The only
    non-GET is a Kaneo sign-in to obtain a read session (secret by
    name only; cached in-process).
  • Design issues referenced: design(aggregator): quota + throughput view — pooled quotas, resets, burn rates, model-choice support #851, design(aggregator): 'needs you' attention view — session state taxonomy, machine-first #852.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 added 2 commits October 25, 2026 02:30
@dezren39
feat(web): aggregator read model, execution-strip derivations, fixtures
9819605
The aggregator UI (session K, pm/aggregator-ui) consumes a swappable
Source behind one interface. Lands the read model (repo-qualified
issue/PR refs, the comment projection with PR-interior entries), the
pure derivations (execution strip, roadmap timeline lanes, unified
comment stream), and a fixture source shaped like the live readers,
with the real Grist seed rows and the design record's known refs
(#752/#754/#762/#763, nix #501-508, opencode #365).
@dezren39
feat(web): aggregator app with server, renderer, live readers, two ne…
956a5d5
…w views

The aggregator is now runnable: a Bun server (read-only routes) that
renders the four views and serves machine-first /api/*.json endpoints.

- Cross-repo WIP board with per-card execution strip, and the roadmap
  timeline, both drilling down to an item page with the unified comment
  stream (PR-interior comments included).
- Live readers for Kaneo (board) and Grist (roadmap) behind the same
  Source interface as fixtures, with per-facet fallback and a provenance
  footer that says what is live vs fixture-backed.
- Two new design views: quota + throughput (#851) and needs-you (#852),
  machine-first data models with classification/wall rules in derive.ts
  and a GUI rendering the same data.
- Tests: unit derivations + render smoke, plus a boot test that serves
  every view from fixtures. 21 pass.
@dezren39
dezren39 requested a review from a team as a code owner October 25, 2026 08:05
@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6fe8062d-f4e2-4b2c-b29b-fc6bd8d652eb
Commits

Reviewing files that changed from the base of the PR and between 6647876 and 956a5d5.

Files ignored due to path filters: 1
  • pm-stack/aggregator/bun.lock is excluded by !**/*.lock
Files selected for processing: 13
  • pm-stack/aggregator/README.md
  • pm-stack/aggregator/package.json
  • pm-stack/aggregator/src/config.ts
  • pm-stack/aggregator/src/derive.ts
  • pm-stack/aggregator/src/model.ts
  • pm-stack/aggregator/src/render.ts
  • pm-stack/aggregator/src/server.ts
  • pm-stack/aggregator/src/source.ts
  • pm-stack/aggregator/src/sources/fixtures.ts
  • pm-stack/aggregator/src/sources/live.ts
  • pm-stack/aggregator/test/boot.test.ts
  • pm-stack/aggregator/test/render.test.ts
  • pm-stack/aggregator/tsconfig.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot assigned dezren39 Oct 25, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T08:10:19.506043Z 956a5d5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Oct 25, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 956a5d5fe3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/sources/live.ts
// --- Projector (J's service) --------------------------------------------

async function projectorItems(baseUrl: string, refs: RefKey[]): Promise<Map<RefKey, GhItem> | null> {
const r = await getJson(`${baseUrl}/items?refs=${refs.join(",")}`);

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 25, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Encode ref keys before inserting them into projector URLs

When PM_PROJECTOR_URL is configured, every canonical ref contains #, which starts a URL fragment rather than remaining part of the query. For example, requesting comments for developing-today/code#752,dezren39/nix#501 sends only /comments?refs=developing-today/code to the projector; neither issue number nor subsequent refs reaches it. The /items request has the same defect. Encode the query value with URLSearchParams or equivalent so live execution strips and comment streams receive their requested refs.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/server.ts
const [items, comments] = await Promise.all([source.items(refs), source.comments(refs)]);
return html(renderItem(row.title, row.subject, row.links, undefined, items, comments, prov()));
}
return html(`<h1>Not found</h1><p class="muted">no board item or roadmap row with subject <code>${id}</code></p>`);

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 25, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Escape the decoded subject in the not-found response

For an unknown /item/<subject> URL, the decoded path is interpolated directly into an HTML response. A link to /item/%3Cimg%20src%3Dx%20onerror%3Dalert(document.domain)%3E therefore returns an executable image element rather than displaying the subject as text, allowing reflected JavaScript execution in the aggregator's origin when someone follows the link. Escape id with the renderer's HTML-escaping helper before including it in this response.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/server.ts
return json(await source.quota());
}
if (path === "/api/attention.json") {
return json(await source.attention());

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 25, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Return classified attention entries from the JSON endpoint

The attention API returns raw SessionFeedEntry values, whereas renderAttention applies attentionSorted to produce the displayed classification, urgency ordering, and evidence. Consequently, even with the default fixtures, /api/attention.json starts with the in-motion session and provides no state, order, or evidence fields. Machine consumers polling the documented machine-first endpoint cannot obtain the needs-you decisions shown in the GUI. Apply the shared classification and sorting derivation before serializing the feed.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/derive.ts
Comment on lines +134 to +135
if (w.limit == null || w.limit <= 0) return 100;
return (w.used / w.limit) * 100;

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 25, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Honor supplied quota percentages when limits are unknown

The shipped OpenCode Go and DeepSeek windows both have limit: null but supply measured percent values of 85 and 40 respectively. This function ignores those values and returns 100, so /quota displays both meters as exhausted despite their near/healthy badges; poolState also incorrectly derives walled for both. Use the supplied percentage when available rather than treating an unknown absolute limit as evidence that the quota is exhausted.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/sources/live.ts
Comment on lines +225 to +228
if (rows.length > 0) {
provenance.roadmap = "live (Grist)";
return rows;
}

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 25, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve successful empty results from live readers

When Grist successfully returns an empty Roadmap table, this length check discards that authoritative result and replaces it with all 16 seed rows. The board and projector-items readers use the same nonempty-only acceptance pattern, so clearing the board or receiving no resolved refs likewise resurrects illustrative fixture work or GitHub states. Treat successful empty collections as live data and reserve fixture fallback for failed reads.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pm-stack/aggregator/src/sources/live.ts
return live;
}
}
return fix.comments(refs);

@chatgpt-codex-connector chatgpt-codex-connector Bot Oct 25, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Reset projector provenance when falling back to fixtures

After a successful projector comments read sets provenance.comments to live (projector), a subsequent projector outage takes this fallback without updating that label. The returned illustrative comments are consequently presented in the item page's footer as live projector data. The items fallback has the same stale-provenance behavior, potentially labeling fabricated issue/PR states as live. Update each facet's provenance on its fallback path so it describes the data actually returned by that read.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Base automatically changed from pm/projector to main October 25, 2026 08:53
@dezren39
dezren39 merged commit 88fbc45 into main Oct 25, 2026
4 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the pm/aggregator-ui branch October 25, 2026 08:54
This was referenced Oct 25, 2026
feat(web): align aggregator projector reader with landed schema (#859) #862
Merged
Full-quota utilization: burn-rate projections, cascade plan, and 4–6h audibles for every plan #2173
Closed
security(pm-aggregator): reflected XSS — decoded /item/<subject> interpolated unescaped into the not-found HTML response (Codex P1 on #856, still on main) #2267
Closed
@dezren39 dezren39 mentioned this pull request Nov 13, 2026
Retroactive home for PR #856: feat(web): aggregator UI — WIP board, roadmap, quota + throughput, needs-you views #9334
Closed
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.