Skip to content

bug(github-pat): stale per-agent PAT copy not refreshed on global rotation (deferred from #1979) + github-sync.md flow drift #1995

Open

Description

@vybe

Two follow-ups from #1979 (fix for #1967):

  1. Deferred case: an agent whose per-agent PAT row holds a stale copy of the old global PAT is deliberately skipped by propagation (skipped_per_agent_pat) — correct for genuinely distinct per-agent tokens, but a stale copy of the rotated global PAT stays broken until manually cleared. The PR calls this 'worth its own issue'.
  2. Doc drift: docs/memory/feature-flows/github-sync.md §Global PAT Auto-Propagation (feat: Auto-propagate GitHub PAT to all agents on update #211) still documents the old eligibility rule ('.env must already contain a GITHUB_PAT key') and the old response shape (no remote_updated/remotes_updated).

Refs #1979, #1967.

Activity

  1. added
    priority-p3
    type-bug
    theme-reliability
    on Aug 4, 2026
  2. added
    status-ready
    complexity-low
    on Aug 18, 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

    complexity-lowpriority-p3status-readytheme-reliabilitytype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions