[Archived PR] feat: add profile-level native autopilot mode (opt-in)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript, vscode
- 領域
- ai, cli, documentation, full-stack
調査の方向性
This work is already represented by an archived PR, so first verify whether it is still wanted before starting. If it is reopened, read the profile/request schema flow, multi-turn-loop, queue-processor, buildCopilotBaseArgs, and writeVSCodeSettings; run pnpm -r build and pnpm test. Done means the opt-in setting remains off by default and the documented CLI, portal, API, and worker behavior is covered.
索引モデルが issue の本文から書いたものです。
説明
Original author: @sinedied
Summary
Adds an optional, versioned autopilot flag to code agent profiles that runs the configured coding agent in its native autopilot mode — fully autonomous, never pausing to ask the user clarifying/decision questions. Placement is profile-only (a reproducible sibling of reasoningEffort), not a per-request override.
Uses each agent's native mechanism — never prompt injection.
Opt-in / backward-compatible
Autopilot defaults to OFF. An unset autopilot reproduces exact pre-PR behavior; only an explicit true enables it (autopilot === true idiom throughout the stack). This keeps existing workflows unchanged.
Per-worker native mapping
| Worker | Mechanism |
|---|---|
| Copilot / Copilot-Windows | native --autopilot startup flag (when enabled) |
| VS Code Web | chat.autopilot.enabled in per-run settings |
| Claude Code | no native toggle (capability gap) — autonomous in headless ACP regardless; logged only when explicitly requested |
Important: permissions vs. HITL
The Copilot ACP selectPermissionMode(#autopilot) call remains unconditional. It is a headless-execution/permissions concern (an ACP session starts in agent mode where bash/build calls are denied non-interactively), not a HITL toggle. Gating it would break command execution — so it stays independent of the profile setting; only the native --autopilot startup flag is gated.
Changes
- shared:
autopilot?: booleanonProfileVersionDocument,RequestDocument,WorkerProcessorOptions; Zod schemas (profile create/response, request response — profile-only, not in create input); threaded throughmulti-turn-loopandqueue-processor. - API:
effectiveAutopilotresolution (default false), stored on request docs; rerun fallback. - workers: shared
buildCopilotBaseArgshelper (Copilot + Windows); VS Code WebwriteVSCodeSettings(autopilot = false); Claude Code capability-gap logging. - CLI: profile create/version
--autopilot/--no-autopilot; display + help ("Default: off"). - Portal: profile create/version forms (Switch, default off), profile detail/preview display,
Run+ profile-input types (closes an API type-consistency gap). - docs:
app-design.md,worker-requirements.md,vscode-web-worker.md,worker-compliance.md.
Testing
pnpm -r build— clean.pnpm test— 2445 passed (addedbuildCopilotBaseArgstests; VS Code default-settings test now expectsfalse).- OpenAPI + CLI snapshots unchanged (schema/flag names identical; only resolution semantics and help text changed).
Co-authored-by: Copilot App [email protected]
- 主要言語
- TypeScript
- スター
- 5
- フォーク
- 5
- 平均マージ
- 3日 22時間
- マージ済み PR(30日)
- 22
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/scope のほかの issue
-
type: worker-update
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
type: worker-update
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
type: worker-update
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
author: JaGord documentation good first issue UI
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
author: cedricvidal bug portal
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
microsoft/scope の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lichess-org/api#678 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
PostHog/posthog.com#20628 ·
メンテナーはふだん 1 日以内に返信
-
bug status:Needs Triage
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
jupyterlab/jupyterlab#19964 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
agentscope-ai/QwenPaw#8064 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: notebooks-jupyter bug theme: new notebook frontend
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
posit-dev/positron#16347 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信