-
Notifications
You must be signed in to change notification settings - Fork 2
feat: add directory prompt on run and cloud mode gating #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
This was referenced Nov 17, 2025
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
4 tasks
0ddb010 to
d7bb808
Compare
e93427d to
df6b057
Compare
2c538f0 to
35aaf71
Compare
k11kirky
approved these changes
Nov 18, 2025
jonathanlab
approved these changes
Nov 18, 2025
Contributor
jonathanlab
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, 🚢.
We definitely need to clean up this giant runTask action at one point, it's responsible for too much stuff and getting hard to read.
df6b057 to
677f962
Compare
35aaf71 to
086c2de
Compare
Contributor
Author
Merge activity
|
When clicking "Run (Local)" without a directory set: - Tasks WITH repository_config: Prompt "Do you have it locally?" → "I have it locally" opens folder picker → "Clone for me" triggers clone flow with progress UI - Tasks WITHOUT repository_config: Prompt "Select working directory" → Opens folder picker Cloud mode changes: - Disable Cloud mode toggle for tasks without repository_config - Show tooltip: "Cloud mode requires a connected repository" Technical changes: - Updated runTask() in taskExecutionStore to prompt before showing error - Integrated with existing clone flow and progress UI (PR #128) - Persist selected directories via taskDirectoryStore (PR #130, #131) - Removed noisy directory source badges (simplified UX) This creates a frictionless flow where engineers can easily point to existing repos or clone them on-demand, while still supporting directory-only tasks for non-git workflows.
086c2de to
57f1aef
Compare
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
Implements the frictionless directory selection flow: when clicking "Run" without a directory set, Array prompts the user to either select an existing directory or clone the repository.
User Flow
For tasks WITH
repository_config:When user clicks "Run (Local)" without a directory:
org/repolocally?"For tasks WITHOUT
repository_config:When user clicks "Run (Local)" without a directory:
Invalid Directory Handling:
Working Directory Field:
Cloud Mode Gating:
repository_configBenefits
Test Plan
repository_config→ Tooltip showsStack: Built on top of: