✨ CLI: infer current-project ask target from harness/--new#200
Merged
Conversation
When `scout ask` gets only execution preferences (--harness, --session new, or --new) and no --to/--ref/--project, route to the current directory and request a one-time fresh project agent. Adds --session new / --new flags and rejects mixed/unsupported session preferences before routing.
Cover `scout ask --harness codex` current-project routing and session: "new" semantics in the CLI README and runtime-sessions notes.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Lets
scout askroute to the current project when the caller only cares about the harness, no--to/--projectneeded. Split out of thefeat/web-design-systemworking tree (independent of the other split PRs).scout ask --harness codex "take a fresh pass on this repo"apps/desktop/src/cli) — adds--session new/--new; when an ask has only execution preferences (--harness,--session new,--new) and no--to/--ref/--project, infers the current directory as the project target and requests a one-time fresh project agent. Rejects mixed/unsupported session preferences before routing.core/broker/ask.ts,service.ts) — carries the session preference through routing.runtime-sessions.md.Relates to #170 (extract current-project ask routing).
Verification
bun test(apps/desktop) — 92 pass across options / ask / help / broker-servicenode --test(packages/cli scout-wrapper) — 3 passbunx tsc -p tsconfig.json— clean in changed files