Skip to content

Fix inconsistencies between PowerShell snippets and JSON export examples in plan-export docs#275

Merged
blindzero merged 2 commits intochore/docsfrom
copilot/sub-pr-272-another-one
Mar 22, 2026
Merged

Fix inconsistencies between PowerShell snippets and JSON export examples in plan-export docs#275
blindzero merged 2 commits intochore/docsfrom
copilot/sub-pr-272-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 22, 2026

Two mismatches between the code snippets and their corresponding JSON output examples in the plan export documentation.

Changes

  • docs/use/plan-export.md — Added -Actor 'HR-System' to the New-IdleRequest call so the snippet produces output that matches the JSON example showing "actor": "HR-System"
  • docs/reference/specs/plan-export.md — Changed the plan.mode example from "PlanOnly" to null and clarified in the field table that mode is null when not explicitly set; aligns the spec with actual Export-IdlePlanObject behavior
# Before — actor not passed, but JSON example showed "actor": "HR-System"
$request = New-IdleRequest -LifecycleEvent 'Joiner' -CorrelationId (New-Guid) -IdentityKeys @{ ... }

# After — consistent with export output
$request = New-IdleRequest -LifecycleEvent 'Joiner' -CorrelationId (New-Guid) -Actor 'HR-System' -IdentityKeys @{ ... }

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Copilot AI changed the title [WIP] [WIP] Addressing feedback on example calls for website content review Fix inconsistencies between PowerShell snippets and JSON export examples in plan-export docs Mar 22, 2026
Copilot AI requested a review from blindzero March 22, 2026 19:10
@blindzero blindzero marked this pull request as ready for review March 22, 2026 19:18
@github-actions
Copy link
Copy Markdown

Code Coverage Report

Overall Project 74.68% 🍏

There is no coverage information present for the Files changed

@blindzero blindzero merged commit b95dbc0 into chore/docs Mar 22, 2026
8 checks passed
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