Title: feat(dispatch): cross-repo grants + reusable Actions (starter/queuer) + workflow call-site migration · Issue #2672 · developing-today/code · GitHub
Open Graph Title: feat(dispatch): cross-repo grants + reusable Actions (starter/queuer) + workflow call-site migration · Issue #2672 · developing-today/code
X Title: feat(dispatch): cross-repo grants + reusable Actions (starter/queuer) + workflow call-site migration · Issue #2672 · developing-today/code
Description: Drew's directive (2026-10-30): keep the pm-dispatch permission system, but establish grants so any allowlisted repo may target any other allowlisted repo; paper over the dispatch plumbing with centrally-updated reusable GitHub Actions re...
Open Graph Description: Drew's directive (2026-10-30): keep the pm-dispatch permission system, but establish grants so any allowlisted repo may target any other allowlisted repo; paper over the dispatch plumbing with cent...
X Description: Drew's directive (2026-10-30): keep the pm-dispatch permission system, but establish grants so any allowlisted repo may target any other allowlisted repo; paper over the dispatch plumbing with ...
Opengraph URL: https://github.com/developing-today/code/issues/2672
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(dispatch): cross-repo grants + reusable Actions (starter/queuer) + workflow call-site migration","articleBody":"Drew's directive (2026-10-30): keep the pm-dispatch permission system, but establish grants so any allowlisted repo may target any other allowlisted repo; paper over the dispatch plumbing with centrally-updated reusable GitHub Actions referenced @main; migrate the fleet's workflow call sites onto them.\n\n## Part 1 — Cross-repo grants (pm-stack/dispatch)\n- OIDC rule changes from same-repo-only to a grant mesh: caller ∈ allowlist AND target ∈ allowlist (allowlist = the four fleet repos). Bearer unchanged.\n- Grants model explicit in code + tests: cross-repo allowed, non-allowlisted caller rejected, non-allowlisted target rejected, same-repo still allowed, bearer unaffected.\n- Small API extension: POST /v1/tasks accepts optional `issue_number` — attach to an existing issue in the target repo (task-id comment + queue/queued + source/dispatch labels) instead of creating a new one. Preserves tracker no-spam semantics for Part 3.\n- Deploy to the laptop via install.sh; health version must move to the new main HEAD.\n\n## Part 2 — Reusable actions (@main, this repo)\n- `.github/actions/pm-dispatch-start` (\"the starter\"): OIDC fetch (aud pm-dispatch), POST /v1/sessions, outputs task_id/session_id/issue_number/issue_url.\n- `.github/actions/pm-dispatch-queue` (\"the queuer\"): same plumbing over POST /v1/tasks, incl. issue / issue_number inputs.\n- examples/dispatch-workflow.yml + dispatch README updated to the actions and the grants mesh.\n\n## Part 3 — Call-site migration (all four repos)\nEvery Jules session-creation call in workflows → the starter; every direct issue creation → the queuer. Incidents that did both (tracker issue + Jules session) collapse to the starter alone — one issue per incident. Tracker-maintenance workflows keep no-spam: look up the open tracker, attach via the queuer's issue_number. Affected (enumerated 2026-10-30): code flake-inputs-update.yml, main-broken.yml, jules.yml, jules-daily-codebase-ideation.yml, jules-daily-flake-sync.yml; opencode jules-daily-upstream-sync.yml, main-broken.yml; openchamber opencode-update.yml, jules-daily-upstream-sync.yml, main-broken.yml; nix main-broken-watcher.yml (hybrid: dispatch's GitHub App is not installed on dezren39/nix, so its issue creation cannot move — the queue enqueue does).\nLive proof: a workflow_dispatch-only pm-dispatch-smoke.yml in openchamber runs the queuer targeting developing-today/opencode (cross-repo), verified end-to-end, then cleaned up.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-30T09:51:16Z","url":"https://github.com/developing-today/code/issues/2672"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:af3fa7e9-4612-d445-4aa7-093caf8fed1c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8CE:3CF71B:2B2042:3A0929:6B061680 |
| html-safe-nonce | d759dcde90458704dfe303dcb9fdedd5714dccfa65bdd2f6a1d91844be868e83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOENFOjNDRjcxQjoyQjIwNDI6M0EwOTI5OjZCMDYxNjgwIiwidmlzaXRvcl9pZCI6IjU2ODg1MjM4NzEzOTgyNzA1OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 03c978000f1a58cd783bc37681e4347b0041721d502cfea057e613dfcdb1d564 |
| hovercard-subject-tag | issue:6116868551 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2672/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b7c11a5c6b27869e191880dadf6176d3772c12ee7e2ac63691fa09b6a5881c8/developing-today/code/issues/2672 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b7c11a5c6b27869e191880dadf6176d3772c12ee7e2ac63691fa09b6a5881c8/developing-today/code/issues/2672 |
| og:image:alt | Drew's directive (2026-10-30): keep the pm-dispatch permission system, but establish grants so any allowlisted repo may target any other allowlisted repo; paper over the dispatch plumbing with cent... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width