mirror of
https://github.com/Comfy-Org/github-workflows.git
synced 2026-11-05 00:17:37 +00:00
[PR #376] [MERGED] fix(cursor-approve): keep Slack out of the business axis #377
Labels
No labels
cursor-review-catalog-drift
groom
groom
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/github-workflows#377
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/github-workflows/pull/376
Author: @mattmillerai
Created: 10/8/2026
Status: ✅ Merged
Merged: 10/8/2026
Merged by: @mattmillerai
Base:
main← Head:matt/axis-business-drop-slack📝 Commits (2)
9d1b0f9fix(cursor-approve): keep Slack out of the business axisb251b77fix(cursor-approve): keep SLACK_TOKEN declared for callers; reject slack in the base📊 Changes
6 files changed (+45 additions, -17 deletions)
View changed files
📝
.github/cursor-approve/README.md(+2 -1)📝
.github/cursor-approve/tests/test_context_axes.py(+14 -3)📝
.github/workflows/axis-business.yml(+9 -5)📝
.github/workflows/cursor-axis-base.yml(+6 -0)📝
README.md(+1 -1)📝
docs/callers/cursor-approve.md(+13 -7)📄 Description
ELI-5
The business reviewer decides whether a change was actually wanted. One place it looked for that was Slack. Slack is where people argue before they decide, and anyone can post there, so it's a poor record of intent and an easy thing to game or inject into. This PR has the business reviewer use Linear and Notion only.
Change
axis-business.yml:context_sources: linear,notion(it waslinear,notion,slack). It no longer forwardsSLACK_TOKEN. The secret stays declared as optional and unused, so an existing caller'sSLACK_TOKEN:line is not rejected at startup. The header says why.cursor-axis-base.yml: rejectsslackincontext_sources, so a direct caller of the public base cannot turn Slack back on either.docs/callers/cursor-approve.md,README.mdand.github/cursor-approve/README.md: drop Slack from the business row, the caller example and the context-axes intro, and add a short "No axis reads Slack" note.test_context_axes.py: separates declared secrets from forwarded ones, and pins that the base rejectsslackand no wrapper enables it.Why
Compatibility
No caller wires
axis-business.ymlyet; a search across the org finds only this repo's own references. Even so,SLACK_TOKENstays declared, so a caller that passes it keeps working. The proxy'sslack_search/slack_historyand the base's optionalSLACK_TOKENdeclaration are left in place; removing them can be a separate cleanup.Provenance
Authored by: agent-work loop
Verified:
python3 -m unittest discover -s .github/cursor-approve/tests -p 'test_*.py': 164 tests OK at head.check_workflow_pins.pyandcheck_agents_md.py --root .: clean.Deviations:
SLACK_TOKENdeclared (unused) instead of removing it, and added the base-levelslackrejection.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.