You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(#212): add nova copilot command for Agentic Copilot scaffold
- Introduced `Invoke-NovaAgenticCopilotScaffold` for applying or refreshing the Agentic Copilot workflow in existing projects.
- Added `% nova copilot` command for CLI usage.
- Updated help documentation and examples for the new command.
Copy file name to clipboardExpand all lines: .github/agents/docs-site.agent.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Keep the GitHub Pages documentation under `docs/*.html` accurate, user-focused,
14
14
- Update `docs/*.html` when end-user workflows, examples, or website wording change.
15
15
- Preserve the separation between CLI-oriented website docs and PowerShell cmdlet help.
16
16
- Check whether source, tests, help docs, and website docs still agree after a change.
17
+
- Keep command-surface-toggle pages honest by splitting CLI-only and PowerShell-only wording into the matching `data-command-visibility` blocks instead of mixing both spellings in shared prose.
17
18
18
19
## Inputs to inspect
19
20
@@ -37,15 +38,18 @@ Keep the GitHub Pages documentation under `docs/*.html` accurate, user-focused,
37
38
- Treat `docs/*.html` as end-user website docs, not cmdlet help.
38
39
- Keep CLI and cmdlet surfaces clearly separated.
39
40
- Mention PowerShell-only commands in CLI-oriented docs only when there is no CLI equivalent for that scenario, such as installing NovaModuleTools with `Install-Module`.
41
+
- On pages with the surface toggle, only show `--option` spellings in command-line-visible blocks and only show `-Parameter` spellings in PowerShell-visible blocks unless the wording is fully surface-neutral.
40
42
41
43
## Definition of done
42
44
43
45
- The changed website docs reflect the current behavior.
44
46
- CLI-oriented docs do not drift into cmdlet-help wording.
47
+
- Surface-specific labels, flags, and parameter names match the active website command surface.
45
48
- Relevant contributor docs and changelog were reviewed for follow-up impact.
46
49
47
50
## Must not do
48
51
49
52
- Must not mix cmdlet syntax into CLI docs when a CLI variant exists.
53
+
- Must not leave shared always-visible HTML copy with both CLI flags and PowerShell parameters when the page already has the command-surface toggle.
50
54
- Must not use `docs/*.html` as a duplicate of `docs/NovaModuleTools/en-US/*.md`.
51
55
- Must not leave installation/documentation exceptions implicit; state them clearly.
Copy file name to clipboardExpand all lines: .github/skills/docs-site/SKILL.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,17 +24,20 @@ Use this skill when changing `docs/*.html`, end-user examples, installation guid
24
24
- Use CLI-oriented examples when the workflow has a `nova` variant.
25
25
- Mention PowerShell cmdlets only when no CLI equivalent exists for that scenario.
26
26
- Keep installation guidance explicit about PowerShell-only steps such as `Install-Module`.
27
+
- On pages with the command-surface toggle, keep option/parameter wording aligned with the active surface by using `data-command-visibility="command-line"` and `data-command-visibility="powershell"` blocks instead of one shared paragraph that mixes CLI flags with PowerShell parameters.
27
28
- Recheck the matching command-help markdown when public behavior changes.
28
29
29
30
## Common pitfalls
30
31
31
32
- Mixing `Get-/Set-/Invoke-/Install-` cmdlets into CLI docs where `nova` exists
33
+
- Leaving `--option` text visible in PowerShell mode, or `-Parameter` text visible in command-line mode, because the surrounding prose was not split by `data-command-visibility`
32
34
- Duplicating cmdlet help text in website docs instead of adapting it for end users
33
35
- Forgetting that `docs/NovaModuleTools/en-US/*.md` and `docs/*.html` serve different audiences
34
36
- Updating website docs without reviewing changelog or contributor-doc impact
35
37
36
38
## Verification
37
39
38
40
- Read the touched HTML page as an end-user flow
41
+
- Toggle the page mentally between PowerShell and command-line surfaces and confirm the visible option/parameter names still match that surface
39
42
- Check whether the same behavior is documented consistently in help markdown or contributor docs
40
43
- Use docs-only validation when no executable behavior changed
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
8
8
### Added
9
9
10
+
- Added `Invoke-NovaAgenticCopilotScaffold` and `% nova copilot` for applying or refreshing Nova's managed Agentic Copilot scaffold in an existing project root.
11
+
- The workflow reads `ProjectName` and `Description` from `project.json`, requires a `ShortName` on every run for token replacement, and fails clearly when the project metadata or short name is invalid.
12
+
- Nova refreshes only the approved managed Agentic Copilot paths under `.github/` plus `AGENTS.md` and `CONTRIBUTING.md`, while `README.md`, `CHANGELOG.md`, and `RELEASE_NOTE.md` are created only when they are missing.
13
+
- The new cmdlet and CLI route prompt before overwriting managed scaffold content by default, and support non-interactive execution only through `-OverrideWarning` / `--override-warning` / `-o`.
14
+
10
15
### Changed
11
16
12
17
### Deprecated
@@ -433,4 +438,3 @@ This release was yanked because it removed the implicit `Pester` dependency, bef
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,6 +176,19 @@ Direct PowerShell cmdlets such as `Publish-NovaModule`, `Deploy-NovaPackage`, an
176
176
177
177
The module does not export a PowerShell alias named `nova`. Install the bundled launcher with `Install-NovaCli` when you want `% nova ...` available directly from your shell.
178
178
179
+
### Apply or refresh the Agentic Copilot scaffold
180
+
181
+
Use the dedicated scaffold command when you want to add Nova's maintained Agentic Copilot workflow to an existing project, or refresh an older scaffold to Nova's latest managed version:
The target directory must contain a valid `project.json`. Nova reads `ProjectName` and `Description` from that file, requires `ShortName` on every run for token replacement, and refreshes only the Nova-managed Agentic Copilot paths under `.github/` plus `AGENTS.md` and `CONTRIBUTING.md`. Existing `README.md`, `CHANGELOG.md`, and `RELEASE_NOTE.md` are preserved and are created only when they are missing.
189
+
190
+
By default the scaffold flow prompts before it overwrites the managed paths. Use `-OverrideWarning` or `--override-warning` only when you intentionally want a non-interactive apply. The CLI also supports the short form `% nova copilot -n NMT -o`. Use `-WhatIf` or `--what-if` when you want to preview the operation without changing files.
191
+
179
192
### Reload the built module while iterating
180
193
181
194
Use the built output during development so you validate the same shape CI uses:
Copy file name to clipboardExpand all lines: RELEASE_NOTE.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,11 @@ This file summarizes the release notes for NovaModuleTools. **UNRELEASED** chang
6
6
7
7
### Added
8
8
9
+
- Added `Invoke-NovaAgenticCopilotScaffold` and `% nova copilot` for adding or refreshing Nova's managed Agentic Copilot workflow in an existing project.
10
+
- The workflow reads `ProjectName` and `Description` from `project.json`, requires an explicit `ShortName` on every run, and stops with a clear validation error when the target project metadata is missing or invalid.
11
+
- Nova refreshes only its managed Agentic Copilot files and folders, while `README.md`, `CHANGELOG.md`, and `RELEASE_NOTE.md` are created only when they are missing.
12
+
- The command prompts before overwrite by default and supports non-interactive execution only through `-OverrideWarning` / `--override-warning` / `-o`.
13
+
9
14
### Changed
10
15
11
16
### Deprecated
@@ -195,4 +200,3 @@ This release was yanked because it removed the implicit `Pester` dependency befo
195
200
## [0.0.4] - 2024-06-25
196
201
### Added
197
202
- First PowerShell Gallery release of NovaModuleTools with the initial module workflow support.
0 commit comments