Skip to content

Closing ref inventory — disposition every ref consumer and producer against the ref contract (Phase 4 of #6242) #6243

Open

Description

@dezren39

Closing ref inventory — disposition every ref consumer and producer against the ref contract

Phase 4 of the aggregator ref-contract design (design issue #6242; design doc files/designs/code-aggregator-ref-contract.md in the keep-the-four-repos-healthy goal workspace). Gated on Phases 1–3 of #6242 (#6174 + #6195, #6210 + #6211, #6224).

The contract this phase closes out (from #6242): a ref is an annotation, not identity; validity is isValidRef only; an invalid ref is dropped at the consumption step beside its gate (the item survives, the drop is traced), producers mint only valid refs, and rendering/deriving reaches refUrl for stored/feed-derived refs only through the safe-link helper — never a throw.

Scope

Acceptance criteria

Activity

  1. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    status/blockedQueue or user escalation state
    priority/normalOrdinary priority (the default)
    app/aggregatorPackage/app: aggregator (pm-stack in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · design phase filed

  4. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · state: handed off

  5. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    status/blockedQueue or user escalation state
    on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    Agent note - handed off

  7. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation 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 5, 2026
  8. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    Triage — scope confirmed; Phase 4 remains gated (2026-11-05)

    I confirmed the scope against design #6242 and the current main ref at 00a294a. The design's audit HEAD 955ed23 and its 25 refUrl count are historical; the implementation follow-up must recount at its current HEAD. This triage does not start the inventory.

    Phases 1–3 have not all landed:

    So Phase 4 is still gated. I left this issue open and changed its labels to status/blocked + queue/blocked. The phase is independently implementable once unblocked; no rescope or split is justified now. The implementation follow-up packet is deferred until Phases 1–3 land, per the design gate; do not begin the inventory before then.

    When the gate clears, enqueue/split the implementation with this issue's acceptance intact: inventory every aggregator refUrl and parseRef consumer and every ref-carrying gate/scrape/derivation/store path in aggregator + projector; land the contract beside #4952 in model.ts; explicitly disposition (1) queue-view.ts:113,139, (2) sources/live.ts:368, (3) comments.ts:494, (4) render.ts:3574 and :6756, (5) sessionRecordLine, (6) invalid stored pmp_links recount, and (7) raw matchAll ref scrapes; post the inventory here and closing state on #6242. Any owed follow-up must be linked. For changed surfaces, pin unsafe-integer and non-GitHub bad-ref cases with valid-ref controls; run bun test in pm-stack/aggregator via CI (and bun test in pm-stack/projector if changed), per the CI policy. No builds/tests are run for this triage.

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/aggregatorPackage/app: aggregator (pm-stack in this repo)kind/enhancementpriority/normalOrdinary priority (the default)queue/blockedQueue or user escalation statesource/design-architectFiled by the repo design architect jobstatus/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