Skip to content

refactoring Jason/Mikey RFC#1576

Draft
gaelcolas wants to merge 1 commit into
PowerShell:mainfrom
SynEdgy:f/rfc_0001
Draft

refactoring Jason/Mikey RFC#1576
gaelcolas wants to merge 1 commit into
PowerShell:mainfrom
SynEdgy:f/rfc_0001

Conversation

@gaelcolas

Copy link
Copy Markdown
Collaborator

For @theJasonHelmick and @michaeltlombardi, I've tried to refactor the RFC into something lighter, easier to chew, by moving (maybe aggressively) all related explanations to docs/ in order to keep the RFC concise on the proposal.

All parts link back to those docs.
Let me know how that look.

Copilot AI review requested due to automatic review settings June 15, 2026 08:11
@gaelcolas gaelcolas marked this pull request as draft June 15, 2026 08:11

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.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds RFC 0001 and supporting documentation describing a contract for PowerShell class-based PSDSC resources to participate in DSC v3 semantics via the PowerShell adapter.

Changes:

  • Introduces RFC0001 specifying class shape, method signatures, and adapter expectations for class-based PSDSC resources in DSC v3.
  • Adds a conceptual guide with examples for authoring class-based PSDSC resources compatible with PSDSC v1/v2 and DSC v3.
  • Updates the resources overview to link to the new authoring guide.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
rfc/draft/rfc0001.md Adds the formal RFC draft defining the proposed contract and adapter behavior.
docs/concepts/resources/overview.md Adds a navigation link to the new class-based PSDSC v3 authoring guide.
docs/concepts/resources/class-based-psdsc-v3.md Adds a conceptual article and example showing how to implement the RFC contract.

Comment thread rfc/draft/rfc0001.md
Comment on lines +2 to +6
RFC: RFC0001 # WG will set the number after submission
Author: jahelmic # <@GitHubUserName>
Sponsor: michaeltlombardi # <@GitHubUserName>
Status: Draft # <Draft | Experimental | Accepted | Final>
SupercededBy: null # <Superceding RFC Number>
Comment on lines +107 to +120
static [string] InstanceJsonSchema() {
return (
@{
'$schema' = 'https://json-schema.org/draft/2020-12/schema'
type = 'object'
required = @('name')
properties = @{
name = @{ type = 'string' }
version = @{ type = 'string' }
_exist = @{
'$ref' = 'https://aka.ms/dsc/schemas/v3/resource/properties/exist.json'
}
}
} | ConvertTo-Json -Depth 10 -Compress
Comment on lines +155 to +157
if ($null -eq $filteringInstance) {
throw 'Invalid operation'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants