Skip to content

fix(message): prevent unattended CI posts in safe mode - #127

Open
dwaxe wants to merge 1 commit into
stablyai:mainfrom
dwaxe:dwaxe/fix-safe-mode-compose-bypass
Open

fix(message): prevent unattended CI posts in safe mode#127
dwaxe wants to merge 1 commit into
stablyai:mainfrom
dwaxe:dwaxe/fix-safe-mode-compose-bypass

Conversation

@dwaxe

@dwaxe dwaxe commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Problem

In CI, message compose skips the editor and sends immediately. This bypasses safe mode and can post without human review.

Fix

Reject message compose when safe mode and CI are both active. The check runs before workspace resolution or any Slack API call. Other compose behavior is unchanged.

Related to #80

@dwaxe
dwaxe force-pushed the dwaxe/fix-safe-mode-compose-bypass branch from f091299 to 7ab4179 Compare August 5, 2026 08:50
@dwaxe dwaxe changed the title fix(message): block CI compose in safe mode fix(message): enforce safe mode for CI compose Aug 5, 2026
In CI, message compose skips the editor and sends immediately. That bypasses
safe mode, which is supposed to require human review.

When safe mode and CI are both active, reject compose before resolving a
workspace or calling Slack. Interactive compose and CI without safe mode
are unchanged.
@dwaxe
dwaxe force-pushed the dwaxe/fix-safe-mode-compose-bypass branch from 7ab4179 to 03b1b35 Compare August 5, 2026 12:00
@dwaxe dwaxe changed the title fix(message): enforce safe mode for CI compose fix(message): prevent unattended CI posts in safe mode Aug 5, 2026
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