Skip to content

docs(full-platform): split the slack approver into two github apps - #50

Merged
Juanmadiaz45 merged 2 commits into
mainfrom
docs/split-slack-approver-into-two-apps
Sep 21, 2026
Merged

Juanmadiaz45 merged 2 commits into
mainfrom
docs/split-slack-approver-into-two-apps

Conversation

@Juanmadiaz45

Copy link
Copy Markdown
Contributor

What changes

Corrects full-platform/slack-approval-gateway.md: what was documented as one GitHub App (microtodosuite-slack-approver) covering both gates is now two -- microtodosuite-gitops-slack-approver (write access, installed only on microservice-app-gitops) and microtodosuite-prod-gate-notifier (read-only, installed on the five service repos, no private key stored anywhere).

Why

GitHub Apps declare one permission set that applies uniformly to every repository they are installed on -- there is no way to grant write access on one installed repo and read-only on another within the same App. The original single-App design would have left unused write permission (Pull requests, Contents) sitting on all five service repos just because the App also needed it on microservice-app-gitops. Splitting into two Apps removes that: the notifier App genuinely cannot write anywhere, because it is never granted the permission to.

Tasks

No task register covers this work (same as the original PR #49).

How it is verified

Re-derived directly from GitHub's own documented constraint (one permission set per App installation, confirmed during the original design's research pass) -- not a new claim, a correction of scope assignment within the same known facts.

Risk and rollback

None: documentation only, and no GitHub App has been created yet under either name. Rollback is git revert this commit.

What this PR does not do

Does not change the Terraform module (aws/shared/slack-approval-gateway/, already merged in #106) -- it needs no change, since it already only ever consumes one App's id/key (the one that can write) and a shared webhook secret both Apps use. Does not create either GitHub App.

@Juanmadiaz45
Juanmadiaz45 merged commit f8363f2 into main Sep 21, 2026
1 check passed
@Juanmadiaz45
Juanmadiaz45 deleted the docs/split-slack-approver-into-two-apps branch September 21, 2026 04:11
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