Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Archived PR] feat: add profile-level native autopilot mode (opt-in)

オープン
#1,233 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript, vscode

調査の方向性

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 の本文から書いたものです。

説明

author: sinedied

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?: boolean on ProfileVersionDocument, RequestDocument, WorkerProcessorOptions; Zod schemas (profile create/response, request response — profile-only, not in create input); threaded through multi-turn-loop and queue-processor.
  • API: effectiveAutopilot resolution (default false), stored on request docs; rerun fallback.
  • workers: shared buildCopilotBaseArgs helper (Copilot + Windows); VS Code Web writeVSCodeSettings(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 (added buildCopilotBaseArgs tests; VS Code default-settings test now expects false).
  • 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/scope のほかの issue

microsoft/scope の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。