Skip to content

Reuse verified GitHub issue identity during managed admission #531

Open

Description

@tannerpolley

From audit #530, row 3 of the synthesis plan.

Problem

Fresh web Start and managed MCP delegation already read the issue through the GraphQL relationship and eligibility query, which returns the issue and repository IDs, number, title and URL. Both paths then resolve the same identity again with a repository REST read and an issue REST read:

  • IssueWorkService.ts:551, :626 and :632;
  • ManagedIssueDelegation.ts:60 and :68;
  • GraphQL identity at IssueGitHubExtension.ts:988; REST at :1136.

Fresh Start also reads the hierarchy twice.

Scope

  • Reuse the verified GraphQL identity on both paths, so there are zero identity-only REST reads there.
  • Keep the identity-only lookup for callers that have no verified read, such as queue-only callers.
  • Skip the second hierarchy read only where a test shows freshness is preserved, meaning no ancestor start happens in between.

Done when

  • Both paths make zero identity-only REST reads, and focused tests count them.
  • Tests still cover accepted-request replay, the GitHub issue/PR distinction, repository scope, blockers, hierarchy and final admission.

If #522 touches the same admission tests, integrate after it lands.

Activity

  1. added this to the Fork backlog milestone on Nov 20, 2026
  2. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code status: Done

    Issue: #531 Reuse verified GitHub issue identity during managed admission

    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6521790127%3Afirst%3Aretry%3A1

    Model: gpt-6.2-sol

    Branch: issue-531-reuse-verified-github-issue-identity

    Updated: 2026-11-21T07:23:02.879Z

  3. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #531 Reuse verified GitHub issue identity during managed admission
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6521790127%3Afirst%3Aretry%3A1
    Model: gpt-6.2-sol
    Branch: issue-531-reuse-verified-github-issue-identity
    Completed: 2026-11-21T00:37:44.286Z

    workspace routing discovery timed out

    Last assistant message before the run failed:

    The branch already includes #522. I found two other repository identity reads on these paths, during first-root adoption and when MCP reports a full worker pool. I’ll cover those too and keep the final admission read that checks current blockers and ownership.

  4. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #531 Reuse verified GitHub issue identity during managed admission
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6521790127%3Afirst%3Aretry%3A1
    Model: gpt-6.2-sol
    Branch: issue-531-reuse-verified-github-issue-identity
    Completed: 2026-11-21T00:49:02.713Z

    Codex request 'thread/resume' (2) timed out after 60000ms; closing the transport.

  5. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: failed

    Issue: #531 Reuse verified GitHub issue identity during managed admission
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6521790127%3Afirst%3Aretry%3A1
    Model: gpt-6.2-sol
    Branch: issue-531-reuse-verified-github-issue-identity
    Completed: 2026-11-21T02:12:48.639Z

    Codex request 'thread/start' (108) timed out after 60000ms; closing the transport.

    Last assistant message before the run failed:

    The scratch run on main reproduced the redundant reads in fresh Start, managed delegation, and first-root adoption. The branch passed its initial focused run. I’m verifying the full-pool queue note separately with a cold repository cache.

  6. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: done

    Issue: #531 Reuse verified GitHub issue identity during managed admission
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6521790127%3Afirst%3Aretry%3A1
    Model: gpt-6.2-sol
    Branch: issue-531-reuse-verified-github-issue-identity
    Completed: 2026-11-21T03:20:10.610Z

    PR #545 is open as a draft, head 1df7a1c40405457acb908316d3161880c2186b49, checks and reviews: 81 affected tests passed serially after correcting the test assertion flagged by check:changed. All other local gates passed. GitHub reports no checks or reviews.

  7. tannerpolley commented on Nov 21, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: done

    Issue: #531 Reuse verified GitHub issue identity during managed admission
    Thread: thread:delegated-task:milestone-issue%3Athread%3Adelegated-task%3Arepository-handoff%253A421f7a75-1bf7-49e2-abb0-448fcf274ea0%3A8%3A6521790127%3Afirst%3Aretry%3A1
    Model: gpt-6.2-sol
    Branch: issue-531-reuse-verified-github-issue-identity
    Completed: 2026-11-21T07:23:02.514Z

    GitHub returned PR #545 successfully. It’s still an open draft and has no merge conflicts. GitHub shows no checks or submitted reviews.

    PR #545, head 1df7a1c40405457acb908316d3161880c2186b49, checks and reviews absent on GitHub.

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions