Skip to content

feat(tasks): select review mode during Task creation - #299

Merged
shingonoide merged 4 commits into
mainfrom
task-a01167e7-ba11-44b3-877b-c7088abd1e18
Nov 3, 2026
Merged

shingonoide merged 4 commits into
mainfrom
task-a01167e7-ba11-44b3-877b-c7088abd1e18

Conversation

@shingonoide

@shingonoide shingonoide commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Lets the user choose Manual or Automatic review mode when creating a Task, in the GUI and the CLI. The chosen mode is stored with the Task and copied into the Worker handoff when a run starts. Omitting the mode keeps the existing default (Automatic), so existing clients are unchanged.

Changes

  • Create form: review-mode selector with a short explanation of each mode. The AI Reviewer model stays a separate setting.
  • Create path: the create command accepts an optional reviewMode and stores it in the same write as the new Task.
  • CLI: slashit create --review-mode manual|automatic.
  • Invalid mode values are rejected by the CLI and the IPC create path.

Known limitation

The CLI and IPC create path does not set the coding provider; a Task created there uses the default provider.

Tests

  • commands::task::task_dependency_contract creates Tasks in each mode and without a mode, then checks the stored Worker handoff after a run start, in memory and after reload.

…er handoff

Create Tasks through create_task in each mode, start them through the
executor's real run-start write, and assert the stored WorkerHandoff in
memory and on disk. Correct the neighbouring test comment to match what
it asserts.
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 40 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: BarraDev/slashit
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 3f462a5
  • Layers: Repository YAML (base), Repository UI (inherited)
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 89cb85b9-8de9-434b-a28c-8c078afcc911
Commits

Reviewing files that changed from the base of the PR and between 3f462a5 and 4a1323f.

Files selected for processing: 8
  • crates/slashit-cli/src/main.rs
  • crates/slashit-ipc/src/protocol.rs
  • src-tauri/src/commands/task.rs
  • src-tauri/src/ipc/handlers.rs
  • src-tauri/src/queue/executor.rs
  • src-tauri/tests/ipc_integration.rs
  • src/components/task_edit_modal.rs
  • src/services/task_service.rs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@shingonoide shingonoide changed the title Choose review mode when creating a Task feat(tasks): select review mode during Task creation Nov 2, 2026
@shingonoide
shingonoide marked this pull request as draft November 2, 2026 23:36
@shingonoide
shingonoide marked this pull request as ready for review November 2, 2026 23:53
@shingonoide
shingonoide merged commit e6cda00 into main Nov 3, 2026
16 checks passed
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