Skip to content

slack-bot: relabel "Allow always" button to "Allow for session" - #1724

Merged
kantord merged 1 commit into
mainfrom
slack-bot-allow-for-session-label
Sep 21, 2026
Merged

kantord merged 1 commit into
mainfrom
slack-bot-allow-for-session-label

Conversation

@kantord

@kantord kantord commented Sep 21, 2026

Copy link
Copy Markdown
Member

Summary

  • The Slack permission-approval card's "Allow always" button reads as permanent, but the underlying allow_always verdict only lasts the rest of the current mecatl session — which is exactly one Slack thread (bridge.ts: one cached Session per channel:thread_ts, reused across replies until eviction).
  • Relabels the button "Allow for session" to match the scope already documented in README.md ("Allow always (this session)").

Fully or partially written by an AI agent.

Test plan

  • No test pins the button's literal text; existing approvals.test.ts coverage for the allow_always action id/verdict is unaffected.

"Allow always" reads as permanent, but the verdict only lasts the
rest of the current agent session, matching README.md's existing
"Allow always (this session)" wording.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@kantord
kantord merged commit 9ac4798 into main Sep 21, 2026
34 of 36 checks passed
@kantord
kantord deleted the slack-bot-allow-for-session-label branch September 21, 2026 13:34
This was referenced Sep 21, 2026
JAORMX added a commit that referenced this pull request Sep 21, 2026
Merge origin/main at 686b5e5.

Incoming commits after the approved cleanup base:
- 79fae4d chore(catalog): refresh models.dev curated subset (#1721)
- 73309df chore(deps): bump anthropic-sdk-go (#1713)
- e14c88d slack-bot: DM manual permission approvals (#1707)
- 5b0db5a feat(sdk): add MCP authorization lifecycle (#1692)
- 39715ed chore(deps): bump SDK npm dependencies (#1715)
- 498971e plan(sdk): harden malformed-success decode errors (#1698)
- 9ac4798 slack-bot: relabel session approval (#1724)
- 8de41cd docs(process): route approved cleanup directly (#1720)
- a711451 release v0.0.39 (#1727)
- 44786d1 fix(sdk): sanitize malformed-success decode errors (#1700)
- 85f97fa release TypeScript SDK v0.3.0 (#1729)
- 6501b59 fix(ci): repair live compaction slot and metadata (#1728)
- 8047188 chore(deps): bump toolhive-core (#1712)
- 686b5e5 docs: add README diagrams (#1731)

Conflict resolutions preserve the MCP authorization lifecycle from main while
applying the approved alpha cleanup: Run and MCP continuation results consume
canonical payload usage only; removed EventCommon usage and deprecated aliases
stay removed. Keep the landed authorization acceptance record and both the
Unreleased cleanup note and released v0.3.0 changelog. Regenerate API reports
and user reference from the merged canonical TypeScript sources.

Co-Authored-By: mecatl <[email protected]>
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.

2 participants