Commit a6f4d4b
committed
docs(copilot): correct CLI syntax and project paths in openspec
Cleanup pass over the openspec change docs that Copilot flagged in
review (items 6, 7, 8, 9):
- proposal.md, design.md, tasks.md: replace the non-existent
'--type github-copilot' flag with the actual positional CLI syntax,
'netclaw provider add <name> github-copilot --auth oauth-device'.
ProviderCommand only parses positional <name> <type> args.
- tasks.md: redirect every 'src/Netclaw.Providers.Tests/...' reference
to 'src/Netclaw.Daemon.Tests/Providers/GitHubCopilot/...' (the
Providers.Tests project doesn't exist; the GitHubCopilot tests live
under Daemon.Tests).
- tasks.md §8: drop the imagined 'netclaw provider probe' subcommand
(not implemented in ProviderCommand) and replace
'run-tapes.sh init-wizard ...' with the actual harness entry point
'./scripts/smoke/run-smoke.sh light'. Reword §8.7 to describe what
the add flow actually does (it exercises the probe path internally).
Also corrects 'Netclaw.sln' to 'Netclaw.slnx'.
- spec.md: ProviderEntry does not carry a name field — it's the
dictionary key in the Providers config. Reword the auth-expired
scenario to clarify that the name surfacing happens at the caller
layer (probe / chat-completion path), not inside
CopilotAuthExpiredException.
- design.md: rewrite the 'probe' mitigation paragraph to point at the
real seam (ProviderDescriptorRegistry.ProbeAsync invoked by the
TUI/CLI add flow), since there's no standalone probe subcommand.1 parent 26afe7e commit a6f4d4b
4 files changed
Lines changed: 26 additions & 18 deletions
File tree
- openspec/changes/add-github-copilot-provider
- specs/netclaw-model-providers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
174 | | - | |
175 | | - | |
176 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
| 103 | + | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
0 commit comments