From 0817eda44977a86ababf681227b773f6dbc0d219 Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Wed, 11 Nov 2026 08:33:15 -0600 Subject: [PATCH] docs(pm-dispatch): correct the GitHub App installation list to APP_INSTALLED_REPOS (#6940) CodeRabbit Minor on PR #8697 (merged before the comment was read; fixed forward here): the README env-table passage and the github.ts header listed opencode/openchamber as App-installed, but APP_INSTALLED_REPOS in config.ts contains only developing-today/code and dezren39/darwin-nix, and dispatch skips issue creation for the forks org repos. Both passages now match the code and name APP_INSTALLED_REPOS as the list of record. --- pm-stack/dispatch/README.md | 9 ++++++--- pm-stack/dispatch/src/github.ts | 9 +++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pm-stack/dispatch/README.md b/pm-stack/dispatch/README.md index edb56f16f9..5b26581a5a 100644 --- a/pm-stack/dispatch/README.md +++ b/pm-stack/dispatch/README.md @@ -517,9 +517,12 @@ touching any caller. | `OPENCODE_AUTH_FILE` | `~/.local/state/opencode/service-prod.json` | password read at runtime, never logged | | `GITHUB_APP_ID` / `GITHUB_APP_PRIVATE_KEY_BASE64` | — | rendered by install.sh from `~/secrets/pm-stack.sops.yaml` | -GitHub issue creation uses the pm-stack GitHub App (installed on code, -opencode, openchamber and dezren39/darwin-nix — **not** developing-today/zettel -or dezren39/dezren39, where issue creation is skipped with a warning). +GitHub issue creation uses the pm-stack GitHub App (installed on +developing-today/code and dezren39/darwin-nix — **not** on +developing-today-forks/opencode, developing-today-forks/openchamber, +developing-today/zettel or dezren39/dezren39, where issue creation is +skipped with a warning; APP_INSTALLED_REPOS in src/config.ts is the +list of record). If the app route is unusable, the laptop's authenticated `gh` CLI is the fallback; if both fail, the request proceeds without an issue and says so in `warnings` (for `/v1/tasks` diff --git a/pm-stack/dispatch/src/github.ts b/pm-stack/dispatch/src/github.ts index ea1ce62169..7976fbd3d6 100644 --- a/pm-stack/dispatch/src/github.ts +++ b/pm-stack/dispatch/src/github.ts @@ -3,10 +3,11 @@ // Primary route: the pm-stack GitHub App (installation token minted from // the app id + private key rendered into the service env from // ~/secrets/pm-stack.sops.yaml — the same material connect-repo.sh uses). -// The installations cover developing-today/code, developing-today-forks/opencode -// and dezren39/darwin-nix; callers skip repos with no -// installation (developing-today/zettel, dezren39/dezren39) before reaching -// here. +// The installations cover developing-today/code and +// dezren39/darwin-nix (APP_INSTALLED_REPOS in config.ts is the list +// of record); callers skip repos with no installation +// (developing-today-forks/opencode, developing-today-forks/openchamber, +// developing-today/zettel, dezren39/dezren39) before reaching here. // // Fallback: if the app route is unusable (no app credentials in env, or // the installation/token call fails), use the laptop's authenticated