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

Open

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/featureNew feature or capability request
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  3. added
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    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 and removed on Nov 1, 2026
  7. 148 remaining items

  8. developing-today commented on Nov 9, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

  9. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  10. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged
    task 18106 (repo-health-code-pilot, lane code-e)

    Bulk-intake re-triage verification, 2026-11-17.

    Fresh state checked this run: issue #1282 is OPEN, labels kind/feature, task/triage, status/parked, queue/parked, priority/normal, effort/l, app/pm-stack, epic/pm-stack. No status/needs-triage and no held, user/owned, do-not-merge, or do-not-auto-edit label.

    Verdict: the triage of record stands - task 13218 verdict (2026-11-08): PARTIALLY SATISFIED, keep issue #1282 open. PR #5032 delivered the read-only conflicts inbox (/api/conflicts.json, health count, seeded fixtures); the source itself records there is no ruling store and renders do not resolve. Remainder, as scoped there: persist per-class trust rulings, apply the trusted value to Project-vs-derived conflicts, list/revoke rulings with revocation re-surfacing disagreements - that lifecycle is the bounded follow-on - and the Kaneo-vs-GitHub comparison remains a separately scoped slice of this issue, explicitly excluded from that follow-on.

    This re-triage adds no new packet and does not claim issue #1282 is complete; the remainder stands exactly as the task 13218 verdict scoped it.

    Completing task 18106 as triaged, naming the existing triage record.

  11. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 17, 2026
  12. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  13. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 17, 2026
  14. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · blocked — packet defect

  15. removed their assignment
    on Nov 20, 2026
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-stackpm-stack (Pad/Grist) in developing-today/codeeffort/lLarge: multi-day or open-ended; expect staged check-insepic/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)queue/blockedQueue or user escalation statesource/humanFiled directly by a humanstatus/blockedQueue or user escalation statetask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions