CopilotAtelier

6.2.0-preview0010

Portable GitHub Copilot customization library. Ships custom agents, auto-applied instructions, on-demand skills, prompt templates, and lifecycle hooks, and installs them into the well-known ~/.copilot discovery folders that VS Code, the GitHub Copilot CLI, and Claude Code read.

Minimum PowerShell version

5.1

This is a prerelease version of CopilotAtelier.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name CopilotAtelier -AllowPrerelease

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name CopilotAtelier -Prerelease

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) raandree. All rights reserved.

Package Details

Author(s)

  • raandree

Tags

Copilot GitHubCopilot VSCode Agents Skills Prompts Instructions Hooks AI Windows Linux MacOS

Functions

Export-CopilotAtelierContributorProfile Get-CopilotAtelierClientAdapter Get-CopilotAtelierContributorProfile Get-CopilotAtelierFootprint Get-CopilotAtelierProfile Get-CopilotAtelierSkillHealth Get-CopilotAtelierVersion Import-CopilotAtelierContributorProfile Install-CopilotAtelier Remove-CopilotAtelierContributorProfile Set-CopilotAtelierContributorProfile Test-CopilotAtelier Uninstall-CopilotAtelier Update-CopilotAtelier

Dependencies

This module has no dependencies.

Release Notes

## [6.2.0-preview0010] - 2026-11-16

### Added

- Bind the client adapter's runtime claim to the file it was proven on. The model-free cases C1 to C3 of [docs/client-adapter-evals.md](docs/client-adapter-evals.md) ran offline on Windows: the composed `software-engineer` variant in Copilot CLI 1.0.96, and the source profile in the runtime that VS Code 1.146.0 bundles for agent-host chats (1.0.108-0). The client contract commits each run as a receipt that names the cases, the SHA-256 of the file they ran on, the runtime and its version, the date, and each outcome; a new run replaces the whole receipt. `Get-CopilotAtelierClientAdapter` now also returns `ArtifactSha256`, `VerifiedRuntime`, `VerifiedCase`, `RuntimeReceipt`, and `RuntimeReceiptStatus`, and reports `RuntimeVerified` only for passed cases that ran on a runtime, at the receipt's version, and only while the file a client loads still has that SHA-256; after an edit to the file a client loads it falls back to `StructurallyChecked`: any edit of the profile for VS Code, and for the Copilot CLI an edit that changes the composed variant, which a model bump does not. The Copilot CLI variant passed C1 to C3. The source profile failed C1 and C2 on the agent-host runtime, which ignores `argument-hint`, `agents`, and `handoffs` and so offers delegation without the profile's `agents:` allow-list; the VS Code client therefore stays `StructurallyChecked`. [tests/ClientAdapterRuntime.Tests.ps1](tests/ClientAdapterRuntime.Tests.ps1) runs the cases again and re-checks the receipts on a machine with VS Code and the CLI.

### Changed

- Stop emitting `target: github-copilot` in the Copilot CLI variant of a Custom agent. Copilot CLI 1.0.96 ignores the field and warns that it does when it loads the file, which failed case C1, and VS Code's local chat does not filter agents on it.
- Say what a hook receives for a Skill load and a file edit, verified offline on Windows in the Copilot SDK runtime that VS Code bundles (1.0.108-0) and in Copilot CLI 1.0.96: a `PreToolUse` or `PostToolUse` hook sees a `skill` call with the Skill's name in `tool_input.skill` but neither its file nor its body, sees the file tools as `Read`, `Edit`, and `Write` with the path exactly as the model wrote it, and a failed call runs `PostToolUseFailure` instead. The help of `Get-CopilotAtelierSkillHealth`, the `changed-file-validation` Skill, and the [hooks README](com.github.copilot/hooks/README.md#tool-call-input-for-skill-and-file-tools) now carry this contract and what stays unverified, such as VS Code Local chats. No collector is added: Skill use still enters the report only through `-ObservationPath`, because every record needs the SHA-256 of the Skill body, and changed files are still collected by hand.

### Fixed

- Make case C2 of the client adapter fail closed on delegation. C2 counted the delegation the agent-host runtime offers the VS Code client as unbounded only while that runtime warned that it ignores `agents:`, so a run without that warning would have passed C2 while `task`, `list_agents`, `read_agent`, and `write_agent` could reach any agent, and a runtime that withholds delegation, the safe behaviour, failed the suite on a missing `task`. Now C2 fails while any delegation tool is offered to that client, whatever the runtime warns, until a case can show the bound; a runtime that withholds delegation passes it; the agent-host runtime has an allow-list of offered tools, as the Copilot CLI has; and the smoke suite accepts no load warning but the one it expects of a client, matched in full, where before, on the VS Code client, a warning of any other kind passed as long as the expected notice came too, as a warning of its own or before it in the same string. `Get-CopilotAtelierClientAdapter` now reports `RuntimeVerified` only while every case of the bound receipt passed, so a failed C2 withholds the claim that another passed case would raise: before, any passed runtime case raised it, and the VS Code client stayed `StructurallyChecked` only because C1 failed too. `VerifiedCase` still lists the cases that passed, and `RuntimeReceipt` each outcome. One function, `Get-ClientAdapterCaseVerdict` in `tests/Helpers/ClientAdapterCase.ps1`, decides C1 and C2: the suite applies it to each run on a runtime and, in process, to the observation that each committed receipt now records, so a receipt that records an outcome its own observation refutes fails on every system, CI included. The receipt in `RuntimeReceipt` gains `Observation`; both receipts keep their outcomes, so the Copilot CLI client stays `RuntimeVerified` and the VS Code client `StructurallyChecked`. [docs/client-adapter-evals.md](docs/client-adapter-evals.md) now also says that a model bump retires only the VS Code receipt, because the Copilot CLI variant emits no model.
- Retry the dependency resolution of the CI build, so that a refusal of the PowerShell Gallery that is over within about a minute no longer fails the `Package Module` job before any build task runs, as one did in [CI run 38637411323](https://github.com/raandree/CopilotAtelier/actions/runs/38637411323). A new `Resolve Dependencies` step runs `./build.ps1 -ResolveDependency -Tasks noop` up to three times, with pauses of 15 and then 45 seconds, about a minute in all; each attempt runs in a new PowerShell process, and each retry starts without the modules a failed attempt saved. The step warns about each attempt that fails and is retried, with its number; when the third attempt fails too, it fails the job with an error, and a resolution that runs longer than 15 minutes fails the job too, so a Gallery that hangs no longer holds it for up to six hours. `Build & Package Module` then runs `pack` once, without resolving. The tests and the release take their modules from the build artifact and are never retried.

### Security

- Relay exception texts as printable ASCII in two more places that a model reads: the two lines the ledger appender service writes to standard error about a connection it dropped, and the four exception texts, the two closure details of the interpreter (the reasons of the access check), and the path of the interpreter that the `HookContract` check of the containment verifier puts into its evidence. Both scripts already held their refusals and the texts about a wrapper to that rule, but these texts passed as they came: an exception's text is localized .NET text that often holds a path, a reason of the access check can carry one, and a quoted program path may hold a tab and be of any length, so a carriage return could forge a second line and a tag character could carry a word that nobody sees. They now keep printable ASCII only, write one question mark for any other character, and stop at 200 characters, or at 1,000 for the closure details together and for the path, marking the cut (S-20, V-05, and W-03 in [`docs/SECURITY-REVIEW.md`](docs/SECURITY-REVIEW.md)). The review of 2026-10-14 traced no client text to the appender's two lines, so for them this is hardening, not the fix of a reproduced attack, and at least 26 other exception texts of the verifier still pass as they come, most of them into its evidence. New in-process tests of `Test-OrdinalEqual`, `Test-UtcInstant`, and `Test-Acknowledgement`, the three functions of the S-04 and S-05 fixes, and the existing case of a stored line with a field name that only a culture folds into another, which runs `-Validate` without a pipe, are no longer skipped off Windows; the pull request's CI is their first run on Ubuntu and macOS. Both scripts change, so re-pin the `verifier` and `ledgerAppender` digests in every containment profile that pins them, and refresh the deployed copy with `./Setup-CopilotSettings.ps1`.
- Make the ledger client refuse an acknowledgement that replays a record identical to one already stored. The client now counts the records in the ledger sink before it sends and believes only a sequence after them. Before, a server of the appender's own account could answer a second, identical record with the sequence and digest of the first, and the client reported it stored, so the client could not prove how many times a record was stored (S-19 in [`docs/SECURITY-REVIEW.md`](docs/SECURITY-REVIEW.md)). A client that cannot count the records, for example because the last line is half written or the sink cannot be opened, refuses before it sends anything; only a sink that does not exist counts as holding none. The client already read the sink after every send, so a contained run reads nothing it did not read before. Two limits remain: a record identical to the client's that another writer appends after the count and before the client reads the ledger back is still believed, and the client waits for the answer without a deadline; and the client still cannot prove that a record was not stored more often than it was sent. The appender changes, so re-pin the `ledgerAppender` digest in every containment profile that pins it, and refresh the deployed copy with `./Setup-CopilotSettings.ps1`.
- Measure the places PowerShell loads modules from in the `WritableRoots` check of the containment verifier. pwsh puts the account's own module folder ahead of every folder a launcher names, and the verifier's later commands auto-load modules from it, but the check measured only its escape set (S-18 in [`docs/SECURITY-REVIEW.md`](docs/SECURITY-REVIEW.md)). It now also measures every folder of the verifier's own `PSModulePath`, the `Modules` folder of `$PSHOME`, and the folders of the user's and of `$PSHOME`'s `powershell.config.json`, with each file that exists, because a `PSModulePath` key in either file chooses a module folder of the next start, and on Windows the two module folders that Windows PowerShell 5.1 adds to its own path, `WindowsPowerShell\Modules` in the account's documents folder and in the program files folder, or, when the documents folder does not exist, the relative `WindowsPowerShell\Modules` that 5.1 then se

FileList

Version History

Version Downloads Last updated
6.2.0-previe... (current version) 7 11/16/2026
6.2.0-previe... 8 11/16/2026
6.2.0-previe... 8 11/16/2026
6.2.0-previe... 7 11/16/2026
6.2.0-previe... 7 11/16/2026
6.2.0-previe... 6 11/14/2026
6.2.0-previe... 7 11/14/2026
6.2.0-previe... 6 11/14/2026
6.2.0-previe... 5 11/13/2026
6.2.0-previe... 5 11/13/2026
6.1.1-previe... 5 11/12/2026
6.1.0 21 11/11/2026
6.1.0-previe... 6 11/11/2026
6.1.0-previe... 6 11/11/2026
6.1.0-previe... 7 11/10/2026
6.1.0-previe... 6 11/10/2026
6.1.0-previe... 7 11/9/2026
6.1.0-previe... 6 11/9/2026
6.1.0-previe... 10 10/21/2026
6.1.0-previe... 6 10/20/2026
6.1.0-previe... 5 10/18/2026
6.1.0-previe... 5 10/18/2026
6.1.0-previe... 6 10/17/2026
6.1.0-previe... 5 10/17/2026
6.1.0-previe... 4 10/16/2026
6.1.0-previe... 4 10/15/2026
6.1.0-previe... 4 10/15/2026
6.1.0-previe... 10 10/14/2026
6.1.0-previe... 5 10/12/2026
6.1.0-previe... 4 10/12/2026
6.1.0-previe... 8 10/12/2026
6.1.0-previe... 4 10/12/2026
6.1.0-previe... 3 10/12/2026
6.1.0-previe... 4 10/12/2026
6.1.0-previe... 4 10/11/2026
6.1.0-previe... 10 10/5/2026
6.1.0-previe... 6 10/4/2026
6.1.0-previe... 7 10/2/2026
6.0.1-previe... 5 10/2/2026
6.0.0 45 9/30/2026
6.0.0-previe... 5 9/29/2026
6.0.0-previe... 6 9/29/2026
6.0.0-previe... 5 9/29/2026
6.0.0-previe... 5 9/29/2026
5.0.0 25 9/10/2026
5.0.0-previe... 4 9/10/2026
5.0.0-previe... 8 9/8/2026
5.0.0-previe... 6 9/7/2026
5.0.0-previe... 9 9/4/2026
5.0.0-previe... 6 9/4/2026
5.0.0-previe... 3 9/4/2026
5.0.0-previe... 8 9/4/2026
5.0.0-previe... 5 9/4/2026
5.0.0-previe... 9 9/2/2026
5.0.0-previe... 8 9/2/2026
5.0.0-previe... 8 9/1/2026
5.0.0-previe... 2 9/1/2026
5.0.0-previe... 12 9/1/2026
5.0.0-previe... 8 8/27/2026
5.0.0-previe... 10 8/27/2026
5.0.0-previe... 9 8/26/2026
4.0.0 43 8/26/2026
4.0.0-previe... 3 8/26/2026
4.0.0-previe... 8 8/26/2026
4.0.0-previe... 5 8/25/2026
4.0.0-previe... 8 8/25/2026
4.0.0-previe... 7 8/25/2026
4.0.0-previe... 8 8/25/2026
4.0.0-previe... 4 8/25/2026
4.0.0-previe... 7 8/24/2026
4.0.0-previe... 7 8/24/2026
4.0.0-previe... 23 8/19/2026
4.0.0-previe... 3 8/19/2026
4.0.0-previe... 7 8/15/2026
4.0.0-previe... 10 8/12/2026
4.0.0-previe... 11 8/12/2026
3.2.0-previe... 8 8/11/2026
3.1.1-previe... 7 8/11/2026
3.1.0 31 8/7/2026
3.1.0-previe... 4 8/7/2026
3.1.0-previe... 8 8/5/2026
3.1.0-previe... 4 8/5/2026
3.1.0-previe... 8 8/4/2026
3.0.0 17 8/1/2026
3.0.0-previe... 5 8/1/2026
3.0.0-previe... 8 8/1/2026
3.0.0-previe... 7 8/1/2026
2.0.0 9 7/29/2026
2.0.0-previe... 4 7/29/2026
Show more