Skip to content

chore(skills): Correct stale statements in agent skills and docs - #344901

Merged
Ross Wollman (rwoll) merged 2 commits into
mainfrom
agents/cleanup-stale-skills-documentation
Oct 29, 2026
Merged

Ross Wollman (rwoll) merged 2 commits into
mainfrom
agents/cleanup-stale-skills-documentation

Conversation

@rwoll

Copy link
Copy Markdown
Member

Corrects or removes stale and misleading statements in agent skills, instructions and architecture docs. I compared the 1000 most recent microsoft/vscode Copilot Memories with the docs and checked every conflict against the current code. Each change replaces or removes a single statement; no new guidance was added.

The last column tags the author of the commit that introduced each changed statement (bulk prose-unwrap commits are skipped). Please update or revert after merge if anything here is wrong.

Changes

File Correction Evidence Last modified by
src/vs/sessions/skills/troubleshoot/SKILL.md AHP wire logging is on by default in Insiders, not off by default ahpJsonlLogger.ts isAhpJsonlLoggingEnabled; default changed in #341868 Vijay Upadya (@vijayupadya)
.github/skills/otel/SKILL.md, src/vs/platform/agentHost/OTEL.md The runtime version is copilotRuntimeVersion in package.json; package-lock.json has no @github/copilot entry package.json, build/gulpfile.vscode.ts Zhichao Li (@zhichli)
.github/skills/agent-host-e2e-tests/SKILL.md hostOnlyTest(...) is now conformanceTest(...) / providerHostOnlyTest(...) e2eTestContext.ts roblourens
smoke-tests, flaky-smoke-tests, agent-host-e2e-tests skills The runtime is the native copilot-runtime from @github/copilot-sdk-<platform>, not the @github/copilot CLI copilotRuntimePaths.ts Paul (@pwang347)
src/vs/platform/agentHost/AGENTS.md Managed filesystem sandbox lists are resolved by SandboxSettingsResolutionHelper: a managed grant list replaces the local one, and denied paths are combined sandboxSettingsResolutionHelper.ts, sessionSandbox.ts Dileep Yavanmandha (@dileepyavan)
.github/skills/code-oss-logs/SKILL.md scripts/code.sh defaults to code-oss-dev in the platform app-data dir; ~/.vscode-oss-dev is only the launch.json profile userDataPath.ts, .vscode/launch.json roblourens
MISSION_CONTROL.md Each relay gets its own ProtocolServerHandler instance rather than sharing the local handler missionControlHost.ts _attachRelay roblourens
.github/skills/agent-host-logs/SKILL.md _ahpLog.ts is when the logging process handled the message, not the time it was sent ahpJsonlLogger.ts roblourens
.github/skills/chat-customizations-editor/SKILL.md Remove the stale "currently gated fixtures" list; none of those fixtures is gated anymore aiCustomizationManagementEditor.fixture.ts (blocksCi: false) joshspicer
.github/skills/customizations-in-the-agent-host/SKILL.md Generated protocol files are changed upstream and synced with scripts/sync-agent-host-protocol.ts, not "backported" common/state/AGENTS.md Connor Peet (@connor4312)
ux-css-layout skill Point to dom.DisposableResizeObserver instead of a raw ResizeObserver dom.ts Lee Murray (@mrleemurray)
.github/copilot-instructions.md Use DisposableResizeObserver's resizeObserverCtor test seam as the example dom.ts Bryan Chen (@bryanchen-d)
design-tokens.instructions.md, ux-css-layout skill vscode-known-variables.json lists are regenerated by ./scripts/test-documentation.sh and are not alphabetically maintained by hand; CSS-only properties go in "others" colorRegistry.releaseTest.ts, validateVariableNames.ts Lee Murray (@mrleemurray)
.agents/skills/launch/SKILL.md Replace the stale transpile-client unit-test prep with build-fast -- --client-only .github/copilot-instructions.md, unit-tests skill roblourens

Testing

Documentation only. No tests were run.

🤖 Authored with GitHub Copilot on behalf of Ross Wollman (@rwoll).

Compare recent repository Copilot Memories with skills, instructions and
architecture docs, verify each conflict against current code, and correct
or remove the stale statements. No new guidance is added.

*🤖 Authored with GitHub Copilot on behalf of @rwoll.*

Co-authored-by: Copilot <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 29, 2026 05:56
@rwoll
Ross Wollman (rwoll) marked this pull request as ready for review October 29, 2026 05:56
@rwoll
Ross Wollman (rwoll) enabled auto-merge (squash) October 29, 2026 05:56
Reviewed-head: 915e5c0
Pull-request: #344901
Approved-by: rwoll via PR Sign-Off
Requested-by: copilot
@rwoll Ross Wollman (rwoll) changed the title Correct stale statements in agent skills and docs chore(skills): Correct stale statements in agent skills and docs Oct 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The expanded var() guidance omits the validator’s product-icon variable exemptions in both instruction files, which could prompt contributors to add unnecessary entries to "others".

1 open issue
What changed in this PR

This documentation-only PR updates agent skills and architecture guidance to match current VS Code behavior. It changes no runtime code.

Changes:

  • Corrects logging defaults, log locations, timestamps, and Copilot runtime references.
  • Updates sandbox policy, Mission Control handler ownership, and protocol synchronization guidance.
  • Refreshes testing, fixture, resize-observer, and CSS-variable instructions.
File Description
src/​vs/​sessions/​skills/​troubleshoot/​SKILL.md Corrects the Insiders wire-logging default.
src/​vs/​platform/​agentHost/​OTEL.md Identifies the bundled runtime version source.
src/​vs/​platform/​agentHost/​node/​missionControl/​MISSION_CONTROL.md Clarifies per-relay handler ownership.
src/​vs/​platform/​agentHost/​AGENTS.md Corrects managed filesystem-rule resolution.
.github/​skills/​ux-css-layout/​SKILL.md Updates resize-observer and CSS-variable guidance.
.github/​skills/​smoke-tests/​SKILL.md Corrects runtime package identification.
.github/​skills/​otel/​SKILL.md Corrects runtime version lookup instructions.
.github/​skills/​flaky-smoke-tests/​SKILL.md Corrects runtime log source identification.
.github/​skills/​customizations-in-the-agent-host/​SKILL.md Clarifies upstream protocol synchronization.
.github/​skills/​code-oss-logs/​SKILL.md Distinguishes launch-specific log directories.
.github/​skills/​chat-customizations-editor/​SKILL.md Removes the stale gated-fixture list.
.github/​skills/​agent-host-logs/​SKILL.md Clarifies transport-log timestamp semantics.
.github/​skills/​agent-host-e2e-tests/​SKILL.md Updates test helpers and runtime references.
.github/​instructions/​design-tokens.instructions.md Updates CSS-variable registry instructions.
.github/​copilot-instructions.md Refreshes the injectable resize-observer example.
.agents/​skills/​launch/​SKILL.md Updates the client-only build example.

Review effort: Balanced

VS Code ships a design-system **size** ramp. These tokens are registered in [baseSizes.ts](../../src/vs/platform/theme/common/sizes/baseSizes.ts) and emitted as `--vscode-*` CSS variables. **When generating or editing CSS, use the token variable instead of a raw `px` value** wherever a token exists for that value. This keeps new UI visually consistent with the design system.

> Every `--vscode-*` size var you reference must already exist in [vscode-known-variables.json](../../build/lib/stylelint/vscode-known-variables.json) (`"sizes"` array, alphabetically sorted) or stylelint/hygiene fails. Adding a *new* token means adding it both in `baseSizes.ts` and that JSON file.
> Every `var()` you reference must exist in [vscode-known-variables.json](../../build/lib/stylelint/vscode-known-variables.json) or stylelint/hygiene fails. After registering a *new* token in `baseSizes.ts`, run `./scripts/test-documentation.sh` to regenerate the `"sizes"` array; CSS-only custom properties belong in `"others"`.
@rwoll
Ross Wollman (rwoll) merged commit d765802 into main Oct 29, 2026
55 checks passed
@rwoll
Ross Wollman (rwoll) deleted the agents/cleanup-stale-skills-documentation branch October 29, 2026 06:10
@vs-code-engineering vs-code-engineering Bot added this to the 1.145.0 milestone Oct 29, 2026
@rwoll Ross Wollman (rwoll) added debt Code quality issues engineering VS Code - Build / issue tracking / etc. labels Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues engineering VS Code - Build / issue tracking / etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants