feat(operator): add Slack personal response-mode overrides - #1277
Merged
Conversation
…l-response-modes # Conflicts: # crates/cli/src/app/operator_dialog.rs # crates/daemon/assets/index.html
…l-response-modes # Conflicts: # crates/cli/src/app.rs # crates/cli/src/app/operator_dialog.rs # crates/cli/src/ui.rs # crates/daemon/assets/index.html # crates/daemon/src/operator.rs # crates/daemon/src/operator/slack_personal.rs # crates/protocol/src/lib.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- keep response_mode as the slack-personal global/default policy and add exact Slack channel-ID overrides\n- resolve an override at final delivery, with exact case-sensitive matching and global fallback; overrides do not widen triggers or allowlists\n- expose CHANNEL=MODE editing and validation in both the terminal TUI and web operator editors\n- update the accepted autonomy spec and preserve adaptive polling and auto-after semantics from #1275 and #1276\n\n## Validation\n- cargo test -p construct-daemon operator --lib (140 passed)\n- cargo test -p construct-cli --bin construct slack_personal (3 passed)\n- cargo test -p construct-e2e --test web_smoke web_operator_editor_round_trips_slack_personal_response_mode_overrides (passed)\n- embedded web JavaScript: node --check (passed)\n- cargo build --workspace (passed)\n- GitHub Actions CI (passed)\n\n## Integration\nIntegrated current origin/main at d1d12bc, including #1275 and #1276. Conflict resolution keeps poll_interval_secs as the adaptive idle ceiling and preserves auto-after delivery while response-mode overrides remain an independent per-channel delivery policy.\n\n## Recording\nNot included. The behavioral change is backend/operator-channel configuration with one small form field in each existing editor; focused TUI and browser round-trip tests cover the surfaces.