Skip to content

✨ CLI: infer current-project ask target from harness/--new#200

Merged
arach merged 2 commits into
mainfrom
feat/cli-ask-current-project
Jun 5, 2026
Merged

✨ CLI: infer current-project ask target from harness/--new#200
arach merged 2 commits into
mainfrom
feat/cli-ask-current-project

Conversation

@arach
Copy link
Copy Markdown
Owner

@arach arach commented Jun 5, 2026

Lets scout ask route to the current project when the caller only cares about the harness, no --to/--project needed. Split out of the feat/web-design-system working tree (independent of the other split PRs).

scout ask --harness codex "take a fresh pass on this repo"
  • CLI (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.
  • Broker (core/broker/ask.ts, service.ts) — carries the session preference through routing.
  • Docs — CLI README + runtime-sessions.md.

Relates to #170 (extract current-project ask routing).

Verification

  • bun test (apps/desktop) — 92 pass across options / ask / help / broker-service
  • node --test (packages/cli scout-wrapper) — 3 pass
  • bunx tsc -p tsconfig.json — clean in changed files

arach added 2 commits June 5, 2026 14:01
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.
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openscout Ready Ready Preview, Comment Jun 5, 2026 6:02pm

@arach arach merged commit d1b8f81 into main Jun 5, 2026
3 checks passed
@arach arach deleted the feat/cli-ask-current-project branch June 5, 2026 18:03
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