Repository navigation
[docs] docs: unbloat reference/engines.md - #76704
Conversation
Condense the durable runs, cooldown, model alias, routing, fallback, and harness prose; fold one-line engine env/args/command sections into the configuration table; merge redirect-only engine-specific stubs into a single list. Headings and anchors linked from other pages are preserved.
There was a problem hiding this comment.
🟡 Changes recommended
An active moderate issue remains because the documentation change removes compatibility anchors required by an existing test, while also omitting durable-session fields and important retention and release-age policy details.
4 open issues
What changed in this PR
Condenses and reorganizes the shared AI engines reference while consolidating configuration guidance and engine-specific documentation links.
Changes:
- Tightens prose covering durable runs, cooldowns, model aliases, fallback routing, watchdogs, and conformance.
- Moves
env,args, andcommandguidance into the configuration table. - Replaces redirect-only engine sections with a compact linked list.
| File | Description |
|---|---|
| docs/src/content/docs/reference/engines.md | Condenses and reorganizes the shared AI engines reference, including durable-session behavior, routing, configuration guidance, conformance details, and engine-specific documentation links. |
Review effort: Lite (auto)
| - Copilot custom agents, release integrity, BYOK, and SDK: see the [Copilot reference](/gh-aw/reference/engines/copilot/#copilot-custom-configuration), including [checksum pins](/gh-aw/reference/engines/copilot/#copilot-release-checksum-pins), [BYOK](/gh-aw/reference/engines/copilot/#copilot-bring-your-own-key-byok-mode), and [SDK support](/gh-aw/reference/engines/copilot/#copilot-sdk-support). | ||
| - Pi `extensions`: [Pi packages](/gh-aw/reference/engines/pi/#pi-extensions-extensions). | ||
| - Claude tool enforcement: [Claude permissions and gateway enforcement](/gh-aw/reference/engines/claude/#claude-tool-enforcement-security-model). | ||
| - Shared imported engines and samples: [Custom AI engines](/gh-aw/reference/third-party-agent/#shared-imported-engines) and [third-party samples](/gh-aw/reference/third-party-agent/#unsupported-engine-samples), including the experimental Atomic and mini-SWE-agent declarative engines. |
| Only session files are restored, not workspace edits, credentials, pending task phases, or exactly-once tool execution. Restored Copilot events are excluded from current-run capture and model verification. With no prior run or checkpoint, the first run starts a new session. Missing explicit-parent artifacts, corrupt sessions, and authorization failures remain errors; they never silently start an unrelated conversation. | ||
|
|
||
| This restores session files, not workspace edits, credentials, pending task phases, or exactly-once tool execution. Existing unified session capture and trace propagation remain enabled; restored Copilot events are excluded from current-run capture and model verification. | ||
| The unified session records `durable.restore` (`restored`, `fresh`, or `failed`) and, for Copilot, Claude, Codex, and Pi, `durable.session` (`resumed` or `fresh`). These records hold metadata only, and restoration alone does not prove native continuation for Gemini, Agy, or imported engines. Recording is best effort; missing records mean evidence is unavailable, not a fresh start or a failed restore. `gh aw audit RUN --artifacts info,usage --json` and `gh aw health WORKFLOW --json --logs-dir DIRECTORY` report this evidence; see the [audit reference](/gh-aw/reference/audit/). Spans and durable session logs carry the checkpoint parent as `gh-aw.durable.parent_run_id`; fresh runs omit it. |
| Checkpoint artifacts are published after secret redaction and integrity validation. Cancellation or hard runner loss can prevent publication; only the last published checkpoint can be restored. | ||
|
|
||
| Artifacts contain restorable session content, not just integrity metadata, and may expose sensitive history to anyone with artifact access. Secret scanning and redaction are heuristic: they do not guarantee removal of PII, unknown token formats, or secrets in unsupported encodings. Enable durable mode only when the workflow's session content is suitable for the repository's artifact access and retention policies. | ||
| Checkpoints are published after secret redaction and integrity validation. Cancellation or hard runner loss can prevent publication. Artifacts contain restorable session content that may expose sensitive history to anyone with artifact access, and redaction is heuristic. Enable durable mode only where that suits the repository's artifact access and retention policies. |
| The value must be a nonnegative integer number of days; booleans, strings, durations, and expressions are rejected. `cooldown: 0` disables the check only with `strict: false`. Omitting the field keeps the default. | ||
|
|
||
| The policy covers compiler-managed npm and Copilot release installs, not arbitrary shell installers, custom `engine.command` executables, pre-agent steps, extensions, or other externally managed installation methods. Runtime dependency cooldowns remain separately configured by `runtimes.<id>.cooldown` (a boolean). | ||
| Claude, Codex, Pi, Gemini, and behavior-defined npm installs pass the age to npm via `NPM_CONFIG_MIN_RELEASE_AGE`, including microVM staging. npm enforces it with its built-in `min-release-age` setting, so runtime overrides need npm **11.10.0 or later**. Copilot's installer checks GitHub release publication metadata before activating a cached CLI or downloading an archive; missing or invalid metadata fails the install. The cooldown does not replace checksum verification or pins. |
|
@copilot run pr-finisher skill |
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
🎉 This pull request is included in a new release. Release: |
github#76704 removed 14 section ids that the page still promises to keep. Put them back on the matching visible text and check them all. Co-authored-by: Copilot <[email protected]> Copilot-Session: 22602a3b-f005-4248-a5ee-66822f93ed43
github#76704 removed 14 section ids that the page still promises to keep. Put them back on the matching visible text and check them all. Co-authored-by: Copilot <[email protected]> Copilot-Session: 22602a3b-f005-4248-a5ee-66822f93ed43
github#76704 removed 14 section ids that the page still promises to keep. Put them back on the matching visible text and check them all. Co-authored-by: Copilot <[email protected]> Copilot-Session: 22602a3b-f005-4248-a5ee-66822f93ed43


Summary
Unbloats
docs/src/content/docs/reference/engines.md, the AI engines reference. Prose is condensed, one-line sections are folded into existing tables, and the redirect-only stubs are merged into one list. No technical contract, default, or warning is removed, and every heading and anchor linked from other pages is preserved.The run target was at least 20%. This change falls short of that on both measures. The remaining text is mostly normative contract language (fallback eligibility, cooldown scope, durable-mode trust boundaries), and I judged further cuts would drop qualifiers that matter.
Changes by section
durable.restore/durable.sessionevidence are kept. Restored Copilot event exclusion is kept.min-release-agedetail is merged into the install paragraph.env,args, andcommandrows absorb the content of three one-line sections.Preserved
##and###headings and all<span id>anchors.built-in-ai-engines,engine-feature-comparison,model-aliases,durable-runs,harness-retry-and-post-result-watchdog-policy,custom-api-endpoints-via-environment-variables,enterprise-api-endpoint-api-target,bare-mode-bare,pinning-a-specific-engine-version.References: none