Skip to content

Commit 692354f

Browse files
committed
feat: enhance GitHub release handling and version update notifications
- Added updated_at field to GitHub release data in tests. - Implemented edge release lookup prioritization and fallback mechanisms. - Extended VersionUpdateView to include latestStablePublishedAt and latestEdgePublishedAt. - Updated incoming webview message validation to handle new message types. - Introduced tests for approval mode synchronization and incoming webview settings. - Created versionUpdates.ts to manage version comparison and update notifications. - Added logic to build version update views and notification keys based on release data.
1 parent 7aaeb6d commit 692354f

47 files changed

Lines changed: 2604 additions & 544 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/agents/ceo.agent.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ description: Strategic orchestrator that keeps session to-dos, Todo Cockpit, and
33
name: CEO
44
argument-hint: Ask me to coordinate work, review a direction, route to specialists, or evolve the repo's agent system.
55
model: GPT-5.4 (copilot)
6-
tools: [vscode/memory, execute/runNotebookCell, execute/executionSubagent, execute/getTerminalOutput, execute/killTerminal, execute/sendToTerminal, execute/runTask, execute/createAndRunTask, read/readFile, agent/runSubagent, search/codebase, search/listDirectory, search/textSearch, scheduler/cockpit_get_board, tavily/tavily_crawl, tavily/tavily_extract, tavily/tavily_map, tavily/tavily_research, tavily/tavily_search, prefab/render_ui, todo]
6+
tools: [vscode/memory, read/readFile, agent/runSubagent, search/codebase, search/listDirectory, search/textSearch, scheduler/cockpit_get_board, tavily/tavily_crawl, tavily/tavily_extract, tavily/tavily_map, tavily/tavily_research, tavily/tavily_search, prefab/render_ui, todo]
77
handoffs:
88
- label: Plan Work
99
agent: Planner
1010
prompt: "Create an implementation plan for this request and hand back the smallest safe execution path."
1111
send: false
12+
- label: Deep Research
13+
agent: Planner
14+
prompt: "Conduct evidence-heavy external research (web, Perplexity, browser, Tavily) to establish facts before planning. Anchor findings in repo evidence first, then widen to external sources. Separate repo facts from external assumptions and return a compact evidence map before proposing a plan."
15+
send: false
1216
- label: Handle Prefab UI
1317
agent: Prefab UI Specialist
1418
prompt: "Handle this Prefab UI, rendering, or wire-format request through the prefab-ui skill and the live Prefab surface. Prefer live rendering with prefab/render_ui when available, then report back with validation or blockers."
@@ -57,7 +61,7 @@ You are the top-level orchestrator for this repository.
5761
- **Never use the terminal, run tasks, or execute code directly.** If your own tools or scope are insufficient for a task — including terminal access, script execution, file edits, or running tests — delegate it to a suitable specialist instead of attempting it yourself. Treat any missing tool or execution surface as a routing signal, never a reason to stop.
5862
- Prefer repo-local specialists that already exist in `.github/agents`.
5963
- Use `Prefab UI Specialist` for live Prefab rendering, Prefab UI JSON, dashboards, forms, charts, settings panels, and API-backed Prefab view requests.
60-
- Use `Planner` when architecture, sequencing, or validation is unclear.
64+
- Use `Planner` for architecture, sequencing, or validation questions — and always route research-first or evidence-heavy requests (deep dives, competitive analysis, market research) through `Planner` or `Deep Research` so the stronger evidence standard is applied.
6165
- Use `Remediation Implementer` for approved bounded code changes that do not need broader architecture work.
6266
- Use `Remediation Implementer` for validation-only passes when a returned run must be checked before closeout.
6367
- Use `Documentation Specialist` for docs, guides, and knowledge-base alignment.
@@ -85,9 +89,9 @@ You are the top-level orchestrator for this repository.
8589
- delegate directly to an existing specialist when the path is clear
8690
- **never use the terminal, run tasks, or execute code directly — treat any missing tool or execution surface as a routing signal to a specialist, not a reason to attempt it yourself**
8791
- use `Prefab UI Specialist` when the request is mainly about live Prefab rendering, Prefab UI JSON, dashboards, forms, charts, settings panels, or API-backed Prefab views
88-
- use `Planner` first when tradeoffs, architecture, or sequencing are unclear
89-
- use `Remediation Implementer` for approved bounded implementation work
90-
- use `Validate Run` through `Remediation Implementer` when returned work needs an explicit validation pass before closeout
92+
- use `Planner` first when tradeoffs, architecture, sequencing, or validation is unclear — or when the request is research-first or evidence-heavy (deep dive, competitive analysis, market research)
93+
- use `Planner` for approved bounded implementation work
94+
- use `Validate Run` through `Remediation Implementer` when returned work needs an explicit closeout check against acceptance criteria — not when Planner or the implementing specialist already ran validation
9195
- use `Documentation Specialist` when documentation or knowledge alignment is the main task
9296
- use `Cockpit Todo Expert` first when Todo Cockpit cards, approvals, task drafts, or Task List entries need durable attention
9397
- use `Custom Agent Foundry` first when capability is missing

.github/agents/system/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Source-of-truth rules:
3939
Recommended pattern:
4040

4141
1. Let `CEO` coordinate the request.
42-
2. Use `Planner` for architecture and sequencing.
42+
2. Use `Planner` for architecture, sequencing, and evidence-heavy external research (deep dives, competitive analysis, market research).
4343
3. Use `Remediation Implementer` for approved bounded code changes.
4444
4. Use `Documentation Specialist` when docs or knowledge need alignment.
4545
5. Use `Cockpit Todo Expert` for persistent board updates, Task List todo coordination, and approval routing.

.github/agents/system/TEAM-RULES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ These starter agents follow the same operating rules across repositories.
2121

2222
## Orchestration Boundary
2323

24-
- `CEO` is the orchestrator and decision layer.
24+
- `CEO` is the orchestrator and decision layer. It delegates execution rather than performing it directly.
2525
- Orchestrators must treat personal tool or scope limits as a routing signal and delegate when a suitable specialist exists.
26+
- `Planner` owns evidence-heavy external research and is the correct route for research-first requests (deep dives, competitive analysis, market research) so that its stronger evidence standard is applied.
2627
- `Documentation Specialist` owns doc accuracy and shared knowledge hygiene.
2728
- `Cockpit Todo Expert` owns Todo Cockpit persistence, approval-state mutations, and linked Task List todo coordination.
2829
- Implementation specialists other than `Cockpit Todo Expert` should not mutate Cockpit board state directly unless that is their explicit role.

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ That structure keeps the LLM as the native execution chat surface while Copilot
3838

3939
## 🎬 Demo
4040

41-
[![Watch the Copilot Cockpit intro video](https://raw.githubusercontent.com/goodguy1963/Copilot-Cockpit/main/images/DEMO%20v2.gif)](https://www.youtube.com/watch?v=yiJCmwmxEFc)
41+
[![Watch the Copilot Cockpit intro video](https://raw.githubusercontent.com/goodguy1963/Copilot-Cockpit/main/images/DEMO%20v2.gif)](https://youtu.be/yiJCmwmxEFc?si=TFf5vLOhTtcSASg3&t=197)
42+
43+
Direct video link: [Watch the intro video](https://youtu.be/yiJCmwmxEFc?si=TFf5vLOhTtcSASg3&t=197).
4244

4345
Use the feature tour below for the slower tab-by-tab explanation.
4446

@@ -215,12 +217,12 @@ If you want the optional integration layers, the practical order is:
215217
1. Get the core `Todo` -> `Research` -> `Task` or `Job` loop working first.
216218
2. Use `Set Up MCP` to create or repair `.vscode/mcp.json` and activate the repo-local scheduler MCP server for this workspace.
217219
3. Add any separate third-party MCP servers you want, such as Tavily, Perplexity, or [Prefab by Max Health Inc.](https://github.com/Max-Health-Inc/prefab), to that same workspace MCP config. Those servers are separate from Copilot Cockpit's scheduler server and may need their own API keys or provider-specific setup.
218-
4. Use `Sync Bundled Skills` to write the bundled Copilot skills into `.github/skills` once you want stronger repo-local guidance for how Copilot should approach work. If the Prefab by Max Health Inc. MCP server is configured, that bundled path also adds the `prefab-ui` skill so installed users can route Prefab by Max Health Inc. UI and wire-format work through the shipped contract instead of keeping it as a repo-only extra.
219-
5. Add the optional agent layer only if you want a specialist or orchestrator setup on top of the core workflow.
220+
4. Optionally, but recommended if you want the full repo-local Copilot guidance layer, use `Sync Bundled Skills` to write the bundled Copilot skills into `.github/skills`. If the Prefab by Max Health Inc. MCP server is configured, that bundled path also adds the `prefab-ui` skill so installed users can route Prefab by Max Health Inc. UI and wire-format work through the shipped contract instead of keeping it as a repo-only extra.
221+
5. Add the optional bundled-agent layer only if you want a specialist or orchestrator setup on top of the core workflow: use `Stage Bundled Agents` for a compare-first mirror under `.vscode/copilot-cockpit-support/bundled-agents`, or `Sync Bundled Agents` for the live install path into `.github/agents`.
220222

221-
`Sync Bundled Skills` is optional, but it is a good next step once the core loop is working because those repo-local skills shape how Copilot approaches planning, routing, and execution in this repo without changing the underlying task model. If you also use Codex, the separate `Add MCP To Codex` and `Add Skills To Codex` actions configure the Codex-side files, but the main setup path in this repo is still Copilot-first.
223+
`Sync Bundled Skills` remains optional, but it is the recommended next step once the core loop is working if you want the full shipped guidance layer, because those repo-local skills shape how Copilot approaches planning, routing, and execution in this repo without changing the underlying task model. If you also use Codex, the separate `Add MCP To Codex` and `Add Skills To Codex` actions configure the Codex-side files, but the main setup path in this repo is still Copilot-first.
222224

223-
For agents, start by deciding whether you want a compare-first preview or a live install. `Stage Bundled Agents` creates a staged mirror under `.vscode/copilot-cockpit-support/bundled-agents` and leaves the live repo-local system untouched, which makes it the safer starting point. `Sync Bundled Agents` installs the bundled starter pack into live `.github/agents` files when you want the optional specialist layer active in the repo. When the Prefab by Max Health Inc. MCP server is part of your workspace setup, that shipped agent path also includes `Prefab UI Specialist` as the focused router for Prefab by Max Health Inc. UI, renderer, and API-backed view work. Treat any existing repo-local agent setup as user-owned first. Use stage-first when the repo already has a richer local system, and only approve sync when you want the live install path. Back up `.github` first when it already exists, and keep in mind that customized workspace copies are skipped so your repo-specific agent edits are not overwritten.
225+
For agents, start by deciding whether you want a compare-first preview or a live install. `Stage Bundled Agents` creates a staged mirror under `.vscode/copilot-cockpit-support/bundled-agents` and leaves the live repo-local system untouched, which makes it the safer starting point. `Sync Bundled Agents` installs the bundled starter pack into live `.github/agents` files when you want the optional specialist layer active in the repo. When the Prefab by Max Health Inc. MCP server is part of your workspace setup, that shipped agent path also includes `Prefab UI Specialist` as the focused router for Prefab by Max Health Inc. UI, renderer, and API-backed view work. Treat any existing repo-local agent setup as user-owned first. Use stage-first when the repo already has a richer local system, and only approve sync when you want the live install path. Back up `.github` first when it already exists, and keep in mind that customized workspace copies are skipped so your repo-specific agent edits are not overwritten rather than being force-synced.
224226

225227
If you want the live bundled-agent workflow, enable custom subagents in GitHub Copilot settings with `chat.customAgentInSubagent.enabled` before relying on that layer.
226228

@@ -289,7 +291,13 @@ npm run install:vsix:insiders
289291
npm run install:vsix:both
290292
```
291293

292-
After installation, the extension creates or repairs repo-local support files for the current workspace.
294+
After you install and open the extension in a workspace, start with the core workflow in the cockpit UI. If you want the full repo-local MCP, skills, and bundled-agent system, the recommended setup order is:
295+
296+
1. Run `Set Up MCP` to create or repair `.vscode/mcp.json` for the workspace scheduler server.
297+
2. Optionally, but recommended when you want the full repo-local guidance layer, run `Sync Bundled Skills` to write the bundled Copilot skills into `.github/skills`.
298+
3. Choose the bundled-agent path that fits your repo: `Stage Bundled Agents` writes a compare-first mirror under `.vscode/copilot-cockpit-support/bundled-agents`, while `Sync Bundled Agents` installs the live starter-pack files into `.github/agents`.
299+
300+
Those setup steps are manual by design. Copilot Cockpit does not auto-sync or blindly overwrite an existing repo-local skills or agent system.
293301

294302
## 🗂️ Key Files
295303

docs/feature-tour.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ This page mixes one live demo reference with illustrative SVG mockups for the ta
2424

2525
Current overview reference for `S1`:
2626

27-
[![Watch the Copilot Cockpit intro video](../images/DEMO%20v2.gif)](https://www.youtube.com/watch?v=yiJCmwmxEFc)
27+
[![Watch the Copilot Cockpit intro video](../images/DEMO%20v2.gif)](https://youtu.be/yiJCmwmxEFc?si=TFf5vLOhTtcSASg3&t=197)
28+
29+
Direct video link: [Watch the intro video](https://youtu.be/yiJCmwmxEFc?si=TFf5vLOhTtcSASg3&t=197).
2830

2931
This intro video remains the current broad product overview for the docs. The tab-specific visuals below are illustrative SVG mockups for documentation, not live screenshots.
3032

docs/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ npm run install:vsix:both
8080

8181
## Demo
8282

83-
[![Watch the Copilot Cockpit intro video](../images/DEMO%20v2.gif)](https://www.youtube.com/watch?v=yiJCmwmxEFc)
83+
[![Watch the Copilot Cockpit intro video](../images/DEMO%20v2.gif)](https://youtu.be/yiJCmwmxEFc?si=TFf5vLOhTtcSASg3&t=197)
84+
85+
Direct video link: [Watch the intro video](https://youtu.be/yiJCmwmxEFc?si=TFf5vLOhTtcSASg3&t=197).
8486

8587
Use [Feature Tour](./feature-tour.md) for the slower tab-by-tab explanation.
8688

docs/github-integration.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,14 @@ When a GitHub-sourced Todo enters `needs-bot-review`, the launched review prompt
121121
- The saved GitHub automation prompt as an explicit GitHub-specific instruction block.
122122
- Pull-request branch and security preflight when the source item is a pull request.
123123

124+
The Settings tab `Search provider` and `Research provider` fields apply here. They do not change the extension's general runtime or switch a global fetch backend by themselves. Instead, they change the default generated guidance inside the `needs-bot-review` planning prompt:
125+
126+
- `Search provider` tells the prompt which lightweight external search option to mention for quick lookups.
127+
- `Research provider` tells the prompt which deeper follow-up research option to mention only after built-in and local URL checks have already run first.
128+
- `None` for `Research provider` keeps that deeper-research guidance on built-in and local tooling only.
129+
130+
In other words, the workflow still starts with built-in/local URL inspection, and these settings only change what the default review prompt recommends if more external search or grounding is needed after that.
131+
124132
### Pull Request Security-First Preflight
125133

126134
For pull-request sourced handoffs, Copilot Cockpit adds a dedicated preflight block before implementation work:

docs/workflows.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The default path is: start with a `Todo`, use `Research` when context is missing
1313
- GitHub-sourced cards persist source metadata so repeat imports reuse and refresh the same Todo instead of creating duplicates.
1414
- Built-in workflow flags include `new`, `needs-bot-review`, `needs-user-review`, `ready`, `ON-SCHEDULE-LIST`, and `FINAL-USER-CHECK`.
1515
- Saving a todo into `ready` can create or reopen its linked task draft so execution prep stays adjacent to the approval step.
16+
- The Settings tab `Search provider` and `Research provider` options only change the default guidance generated for the `needs-bot-review` prompt; built-in/local URL checks still happen first. See [GitHub Integration](./github-integration.md).
1617

1718
## GitHub Triage Loop
1819

0 commit comments

Comments
 (0)