Skip to content

release: void sibling refs with the pyautolabs-bot App, no extraheader plumbing (token phase 2b) - #31

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/github-token-p2b-writers-app
Oct 23, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/github-token-p2b-writers-app

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Token consolidation phase 2b (PyAutoLabs/PyAutoBrain#534): void.yml deletes refs held on sibling repos with a one-hour, owner-wide pyautolabs-bot App token (contents write) instead of PAT_PYAUTOLABS. git gets it through gh auth setup-git from an empty scratch repo. Removed: the GIT_CONFIG_KEY_0 extraheader/base64 plumbing, the masks, the global-extraheader guard, and the "skipped: no PAT" silent path. A token that cannot be minted now fails the run. Own-repo deletes still use github.token.

New workflow_dispatch dry_run input runs a separate probe job only. It builds the same plan, mints the same token and runs ls-remote + push --dry-run --delete for every due sibling ref. It deletes, comments and closes nothing. Board text (scripts/board.py), tests, README and AGENTS no longer describe the PAT or "a repo born after the PAT was minted".

API Changes

None (workflow auth change).

  • Requires: org variable APP_CLIENT_ID, org secret APP_PRIVATE_KEY.
  • No longer reads: secrets.PAT_PYAUTOLABS.

Test Plan

  • YAML parse + actionlint 1.7.7: clean
  • pytest tests: 26 passed
  • Dry-run dispatch on the branch: https://github.com/PyAutoLabs/PyAutoGut/actions/runs/39975947470. Green, 9 due sibling refs (PyAutoReduce, PyAutoBrain, PyAutoGalaxy, PyAutoHeart, PyAutoLens, PyAutoMind) passed ls-remote and push --dry-run --delete. I re-checked afterwards and the refs are still present.

Heart YELLOW acknowledged by the human before PR-open (manifest drift on one workspace checkout; PyAutoLens release validation stale — both unrelated to this change).

Generated by the PyAutoLabs agent workflow.

🤖 Generated with Claude Code

…r plumbing (token phase 2b)

void.yml mints an owner-wide App token (contents write) for sibling-repo
deletes; git reaches it through `gh auth setup-git` from an empty scratch
repo. The GIT_CONFIG_KEY_0 extraheader plumbing, its base64/mask handling,
the global-extraheader guard and the "skipped: no PAT" fallback are removed:
a mint failure fails the run. Own-repo deletes stay on github.token.

New workflow_dispatch `dry_run` input runs only a `probe` job: same plan,
same token, ls-remote + push --dry-run --delete per due sibling ref; deletes,
comments and closes nothing. Board text, tests, README and AGENTS updated.

Refs PyAutoLabs/PyAutoBrain#534

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 45cee82 into main Oct 23, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/github-token-p2b-writers-app branch October 23, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant