Skip to content

[projector] transferred issues: delete the source-repo row (Phase 4 disposition D-1, #4303) #10673

Open

Description

@dezren39

What

Implement audit disposition D-1 from #4303 (Phase 4 of #4302): when an issues webhook arrives with action transferred naming this repo as the source, delete the source-repo row via store.deleteItem instead of upserting it as a live item.

Why

The Phase 4 audit (#4303) decided: delete the source-repo row. A transferred event proves the issue left the source repo; the projection contract ("a projection writes only what the event proves", #4302) means a live source-repo row renders an issue that no longer exists there. Today applyEvent's issues branch falls through to applyIssue for transferred, upserting the row under the source repo.

Blocker / first step

There is no captured transferred payload anywhere in this repo, and the payload's number semantics are unverified: whether payload.issue.number in the source repo's delivery is the source number or the new number decides which row key the delete targets. Deleting on an unverified key risks removing the wrong row.

The repository's GitHub App integration can list webhook delivery history but cannot read delivery payloads (GET .../deliveries/{delivery_id} returns 403, Resource not accessible by integration). Capture is therefore a hands step:

After the payload is attached, pin whether payload.issue.number is the source or destination number, save it as a test fixture, and then wire the branch:

  • in applyEvent's issues case, route payload.action === "transferred" to store.deleteItem(ref, iso(issue.updated_at) ?? iso(issue.created_at)) with the fixture-verified ref;
  • the target repo's own events create the row under its new ref — no re-keying needed;
  • test: the fixture event removes the source row, its links, and its live comments, and plants the absorbing deletion marker (decision 6 semantics).

Pointers

Activity

  1. developing-today commented on Nov 16, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Picked up for fresh-state triage under the code-h scheduled lane. I am checking the current issue and required evidence before deciding whether this can proceed or needs an access handoff.

  3. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    user/escalatedRequires a Drew decision or access
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 17, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Triage verdict: still open and actionable, but safe implementation is blocked on evidence. The issue states there is no captured transferred webhook payload in this repo, and the semantics of payload.issue.number are unverified. Guessing the deletion key could delete the wrong source row.

    Drew: please authorize a throwaway transfer between projected repos with delivery logging, or provide access to a real delivery from history. We need a fixture that establishes whether payload.issue.number is the source or destination number before implementing the delete. No code or fixture was changed.

  5. removed their assignment
    on Nov 20, 2026
  6. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Triage update: the issue remains actionable, but the delete key cannot be implemented safely without a real payload. I rechecked the projector hook history; both configured hooks are visible, but the GitHub App integration returns 403 (Resource not accessible by integration) for delivery-detail payloads. No issues/transferred payload is available in the repo.

    This is now a concrete interactive-login hands item: create and transfer one throwaway issue from developing-today/code to developing-today-forks/openchamber in GitHub and attach the raw issues/transferred delivery JSON here. I will not infer payload.issue.number semantics or implement deletion against an unverified key.

  7. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Decided: The throwaway-transfer experiment is authorized and is agent work, not a person action: a lane creates one throwaway issue in a projected repo, transfers it to another projected repo via the GitHub API with delivery logging on, captures the real issues/transferred payload, and settles the payload.issue.number semantics from that capture. Then implement disposition D-1 (delete the source-repo row via store.deleteItem) against the verified key.
    Why: Creating and transferring a throwaway issue between Drew's own repos is a routine, reversible fleet operation; the only thing missing was a real payload, and the GitHub App's 403 on delivery history does not block producing one ourselves. Waiting for a person to do what the API lets an agent do is the park FDR-0013 removes.
    Undo: If the captured payload shows the delete key cannot be determined safely, re-block with that evidence and the new exact question.
    By: felix (Muse seat, #12234 owner-parks batch, 2026-11-22)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions