Skip to content

feat(aggregator): source-conflict inbox — one resolvable queue for Project-vs-derived and Kaneo-vs-GitHub disagreements, with per-class trust rulings #1282

Todo

Description

@dezren39

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

The stack's sources disagree regularly — Project Status vs the aggregator's derived state, Kaneo card state vs GitHub issue state — and today each disagreement lives where it happens to render: a ⚠ badge on /projects, invisible everywhere else, with no way to resolve the class of problem, only the instance. A source-conflict inbox collects every live disagreement into one queue: each entry names the item, the two sources, both values, and how long they have disagreed. Drew (or the orchestrator, for classes Drew has ruled on) records a per-class ruling — "for Kaneo-vs-GitHub state, trust GitHub" — and the ruling applies to that class going forward, recorded as data (not code), until changed. Resolved classes stop generating inbox entries; a source that starts disagreeing in a new way creates a new class rather than re-opening an old ruling silently.

Acceptance:

  • One page lists all current source disagreements across facets (not only /projects), each with item, sources, both values, and disagreement age.
  • A per-class "trust source X" ruling can be recorded, is stored as data, and measurably suppresses that class's entries while applying the trusted value in renders.
  • Rulings are listed and revocable in the same place; revoking re-surfaces the class's current disagreements.
  • The inbox count appears in the stack health surface so a growing conflict backlog is itself visible; covered by tests with seeded disagreement fixtures.

Acceptance criteria

  • A source-conflict inbox exists: one resolvable queue collecting Project-vs-derived and Kaneo-vs-GitHub disagreements, grouped per conflict class.
  • Each class can receive a trust ruling; renders then apply the trusted value consistently, and rulings are listed and revocable in the same place (revoking re-surfaces the class's current disagreements).
  • The inbox count appears in the stack health surface; behaviour is covered by tests with seeded disagreement fixtures.

Activity

  1. added
    kind/feature
    status/needs-triage
    app/pm-stack
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  3. added
    source/human
    priority/normal
    effort/l
    meta/enriched
    on Oct 27, 2026
  4. dezren39 commented on Oct 27, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: epic #1184 (wave 2 parent).

    Notes: the largest of this wave-2 batch (a new surface + ruling store + render integration) — effort/l. Verified live: disagreements still surface only as per-page badges (e.g. on /projects); no inbox exists on main.

    Risks: auto-applying a trust ruling to renders before the ruling model is proven could hide real divergence — ship detection + inbox first, rulings second.

    Suggested approach: slice 1 = conflict detection feeding a read-only inbox page from the canonical projection; slice 2 = rulings + render application.

  5. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — queue task 2534 (lane E) — triage verdict: CONFIRMED on current main

    Verified 2026-11-01 against origin/main 0ea0a0f:

    • The only disagreement surfacing is per-item and unresolved, exactly as filed: pm-stack/aggregator/src/render.ts:4897 renders the Project-vs-derived clash as a badge on the /projects item card ("both are shown, neither is preferred"), and model.ts:1207 documents the model as "Dated disagreements between sources, shown not resolved".
    • No inbox exists: no conflict route in the aggregator server, no /conflicts page or /api/conflicts.json.
    • No trust rulings: ruling appears nowhere in aggregator src; nothing stores per-class rulings as data, and renders never apply a trusted value.
    • No Kaneo-vs-GitHub disagreement surfacing in the aggregator, and no conflict count on the health surface.

    Route: scoped implementation packet enqueued as queue task 4992 (small_fix): /conflicts inbox + /api/conflicts.json across facets, per-class trust rulings as data (suppress + apply trusted value, listed/revocable), inbox count on the health surface, seeded-fixture tests.

  6. added
    queue/queued
    and removed
    status/needs-triage
    queue/queued
    on Nov 1, 2026
  7. 167 remaining items

  8. added
    queue/claimed
    status/in-progress
    and removed
    queue/blocked
    on Nov 26, 2026
  9. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    Xaltha lane verification record (queue task 22884, 2026-11-26 hourly run):

  10. dezren39 commented on Nov 26, 2026

    @dezren39
    MemberAuthor

    Verification record for the Project-vs-derived trust-ruling slice: PR #14248 is based on current main 4e289a4 and head cc720b315858d13d6560e2a95770673ae1eb6d2c. The focused Fleet run 45855579448 ran the seeded trust-ruling, conflicts, brief, brief-surfaces, queue-view, overview, program, projects, and render suites on that exact ref; the Execute target command step completed successfully. Fleet post-command cleanup is still running, so the overall workflow has not reached a terminal status yet. The PR remains scoped to this slice; Kaneo-vs-GitHub disagreements remain open follow-up work. The PR body says Part of #1282.

  11. added a commit that references this issue on Nov 26, 2026
  12. removed
    status/blocked
    queue/claimed
    work/assigned
    on Nov 26, 2026
  13. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    agent-note:v1
    state: verified -> triaged
    task: 24953
    issue: #1282
    lane: code-i
    worker: repo-worker-code
    origin: openchamber-scheduled-lane

    Fresh revalidation (2026-11-26): #1282 OPEN, status/in-progress. Movement since the 2026-11-24 pass: slice 2 (per-class trust rulings, project-vs-derived) PR #14248 is now MERGED. Remaining work is the Kaneo-vs-GitHub slice per the issue acceptance. No new packet from this pass — the family is actively worked and tracked; the next step is a slice packet for the Kaneo-vs-GitHub remainder when a lane picks it up. No code changed in this pass.

  14. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    Triage refresh — queue task 25437 (2026-11-26)

    Verdict: partially satisfied; keep #1282 open. Fresh state confirms PR #14248 merged on 2026-11-26, delivering the Project-vs-derived per-class trust-ruling lifecycle. The remaining issue scope is the separately scoped Kaneo-vs-GitHub disagreement comparison. This is already explicitly part of the open feature issue; I did not create a duplicate task packet because the remaining slice needs its own sizing/design rather than being mislabeled as a small fix. No code changed in this triage.

    Evidence: PR #14248 is merged and titled “Slice 2 of #1282: per-class trust rulings for Project-vs-derived”; prior triage #24953 records Kaneo-vs-GitHub as the remaining slice and routes it separately from the rulings work. #1282 remains open for that acceptance.

  15. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    Census 2026-11-29 (lane CEN-C02) — rechecked firsthand.

    State: OPEN, partially delivered. What has landed:

    Remaining — one slice, and it is the only part of the acceptance not yet covered: the Kaneo-vs-GitHub disagreement comparison. pm-stack/aggregator/src/conflicts.ts defines only project-vs-derived and quota-records classes; server.ts assembles the projection with no Kaneo-vs-GitHub comparison, because no such adapter existed when slice 1 was built.

    What a picker-upper needs (the gap this census flags): the Kaneo slice has no scoped design yet. Before implementation, pin down: (a) which Kaneo card fields vs which GitHub issue fields constitute a disagreement (state at minimum; the body's acceptance names "Kaneo card state vs GitHub issue state"); (b) where the aggregator reads Kaneo state from in the canonical projection; (c) the conflict-class name and whether rulings for it reuse the slice-2 store unchanged. The prior triages deliberately did not package this as a small_fix — it needs its own sizing/design pass first, then it slots into the existing inbox + rulings machinery.

    Blockers: none on a person or decision; the remainder is design-then-build work on this issue. Labels/priority: kind/feature + priority/normal + effort/l confirmed correct by this census.

  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass, concurring with the parallel census note (lane CEN) already on this thread, whose claims I verified against live state in this pass. STRENGTHS: partial delivery is precisely accounted — slice 1 (PR #5032) and the Project-vs-derived trust-ruling lifecycle (PR #14248) are merged. PRIORITY VALIDATION: priority/normal, single, correct. FIXES I APPLIED: none needed. REMAINS: the Kaneo-vs-GitHub disagreement comparison slice, which needs its own sizing/design rather than a blind packet; no Drewry decision needed.

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: None material. Labels complete and an ## Acceptance criteria section is present; status/in-progress matches.

    Strengths: The inbox is specified by its disagreement classes (Project-vs-derived, Kaneo-vs-GitHub) with per-class trust rulings — the design decision that makes a conflict queue resolvable rather than a dumping ground.

    Actions taken by this census: Verified complete — no changes needed.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackeffort/lepic/pm-stackkind/featuremeta/enrichedpriority/normalsource/humanstatus/in-progresstask/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions