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(aggregator): read-only source-conflict inbox + API + health count (#1282) by dezren39 · Pull Request #5032 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Slice 1 of #1282 (read-only half of the split from triage 6840). One queue over every disagreement the facets already report, instead of a ⚠ badge that only exists on the surface where it happens to render.

What this adds

src/conflicts.ts — the projection. Two classes, both collected from data that exists today (no new facet adapters):

Class Source of truth Entry
project-vs-derived projectDisagreement() over the org Project pool item, GitHub Project Status vs dashboard-derived state, both values
quota-records SaasService.conflicts (quota-view lines + gatherer flags) service, the recorded conflict line vs the freshest dated read

Age is a floor, not a birthday: it is measured from the newest timestamp the source itself carries (ProjectPoolItem.updatedAt, SaasService.measuredAt), and every entry carries ageBasis so the page says "at least N days". An item edited yesterday for an unrelated reason can carry a much older clash, so the UI never claims an exact age.

/conflicts (renderConflicts) renders the inbox grouped by class — item, sources, both values, age floor, link to the underlying records — with a real empty state ("an empty inbox here is a real empty, not an unread one").

/api/conflicts.json serves the same ConflictInbox object, assembled once per request, so the page and the API cannot disagree about what disagrees.

Health surface: ConflictsHealth on HealthView, rendered as a Source conflicts card on /health and carried in /api/health (body.conflicts), so a growing conflict backlog is visible where the stack's state lives.

Manifest: conflicts page entry at dropdown tier in the work group, with DECISIONS in curation-1497 updated to match.

What this deliberately does NOT do

  • No trust-ruling store, no ruling application in renders, no ruling list/revoke UI — that is slice 2.
  • No new facet adapters: Kaneo-vs-GitHub is not included because no facet compares Kaneo state to GitHub state today (rg -i "kaneo.*(disagree|mismatch|conflict)" → 0 hits). Inventing that comparison would be a new adapter, which the packet excludes.
  • Roadmap Grist-vs-Project drift is aggregate-only (RoadmapReconciliation.drift) rather than per-item, so it is not in the inbox yet — noted on feat(aggregator): source-conflict inbox — one resolvable queue for Project-vs-derived and Kaneo-vs-GitHub disagreements, with per-class trust rulings #1282 as the natural third class.

Tests

test/conflicts-1282.test.ts — 11 tests, seeded disagreement fixtures (not agreeing ones):

bun test test/conflicts-1282.test.ts                                  11 pass
bun test test/nav.test.ts test/curation-1497.test.ts \
         test/a11y-1215.test.ts test/keyboard-1275.test.ts            40 pass
bun test test/projects.test.ts test/health.test.ts test/overview.test.ts \
         test/render.test.ts test/brief.test.ts test/usage.test.ts \
         test/boot.test.ts                                           144 pass

Covers: both values with neither preferred, per-class counts, oldestAgeDays, JSON round-trip, empty inbox, the render, the health card, and the "not assembled" state instead of an invented zero.

Not run locally: bunx tsc --noEmit (worktree has no installed deps, so the bun type library is missing) — CI's typecheck is the check for that.

Closes nothing: #1282 stays open until slice 2 (rulings) lands.


Autofix with [code]smith
Open in [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
repo-worker-code
feat(aggregator): read-only source-conflict inbox + API + health count (
2f2404a
#1282)

Slice 1 of #1282: one queue over every disagreement the facets already
report, instead of a warning badge that only exists where it renders.

- src/conflicts.ts: project the canonical model into conflict entries —
  Project Status vs derived state (projectDisagreement) and recorded
  quota conflict lines (SaasService.conflicts). Each entry names the
  item, both sources, both values, and an age floor measured from the
  source's own timestamp (item.updatedAt / service.measuredAt), with
  ageBasis stated so "at least N days" is never read as exact.
- /conflicts renders the inbox grouped per class; /api/conflicts.json is
  the same projection, machine-first.
- /health gains a Source conflicts card and /api/health the same count,
  so a growing backlog is visible where stack state lives.
- No ruling store and no render value changes: this slice projects only.

Tests: seeded disagreement fixtures assert both values, the age basis,
per-class counts, the empty-inbox state, and the page/health render.
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 16:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026

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 ⚠️ Failed 2026-11-03T16:48:18.424711Z
We couldn’t complete this review. Comment @codex review to try again.
2f2404a 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.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

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 15 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: 19586b9d-d9c5-4f4c-a060-52e4b43d1b94
Commits

Reviewing files that changed from the base of the PR and between ff52c86 and 2f2404a.

Files selected for processing: 7
  • pm-stack/aggregator/src/conflicts.ts
  • pm-stack/aggregator/src/health.ts
  • pm-stack/aggregator/src/pages.ts
  • pm-stack/aggregator/src/render.ts
  • pm-stack/aggregator/src/server.ts
  • pm-stack/aggregator/test/conflicts-1282.test.ts
  • pm-stack/aggregator/test/curation-1497.test.ts
  • 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

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
All reactions

Sorry, something went wrong.

Uh oh!

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39
dezren39 merged commit 22892c3 into main Nov 3, 2026
1 check passed

Uh oh!

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

@dezren39
dezren39 deleted the queue/4992-1282-source-conflict-inbox branch November 3, 2026 16:53
This was referenced Nov 3, 2026
pm-stack(aggregator): typecheck red on main — test/overview.test.ts HealthView fixture missing the new required conflicts field (from #1282 / PR #5032) #5043
Closed
aggregator: tsc --noEmit red on main — 12-error baseline (11 in tests, web-push types missing) #4023
Closed
aggregator: 'hub renders > service detail' test fails in CI on main #4091
Closed
test(aggregator): add conflicts field to overview HealthView fixture (#5043) #5248
Merged
feat(aggregator): source-conflict inbox — one resolvable queue for Project-vs-derived and Kaneo-vs-GitHub disagreements, with per-class trust rulings #1282
Open
@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

No reviews

Uh oh!

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

Assignees

No one assigned

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.