Plan your work on these @docs/roadmap.md Items: - Remove legacy GitHub Copilot…
- User
Plan your work on these @docs/roadmap.md Items:
- Remove legacy GitHub Copilot skill-target assumptions and related docs/tests/manifests where Copilot can execute Claude-style skills directly.
- Retain dedicated GitHub Copilot MCP deployment only for the surfaces that are genuinely Copilot-specific, such as devcontainer or agent-frontmatter mappings.
Assistant
I'll start by reading the roadmap and exploring the codebase to understand the current state before planning.
Assistant
The explore agent went deep — let me get more specific details on the Copilot-related files before forming the plan.
Assistant
Excellent — that's a very thorough picture. Let me now read the specific files directly to confirm key details before presenting the plan.
Assistant
Now let me check the skills adapter and the AgentConfig type to understand the
skillsfield structure:Assistant
Now I have a complete picture. Let me also check the
AgentConfigtype definition to understand whetherskillsis optional:Assistant
Now let me check the
AgentConfigtype to understand theskillsfield definition:Assistant
Assistant
Good. One more question on the scope of Roadmap Item 4:
Assistant
Here is the complete, finalized plan:
Finalized Plan
Item 2 — Remove legacy Copilot skill-target assumptions
src/types.ts- User
Looks ok, Start implementing
Assistant
Let me read the remaining files I need before editing:
Assistant
No skills adapter in
adapters/— let me find whereagent.skillsis used:Assistant
Now let me read the resolve.ts function and the test files I'll be modifying:
Assistant
Now I have everything I need. Let me start implementing all the changes in parallel where possible.
Assistant
Step 1 & 6: Update
src/types.ts— makeskillsoptional onAgentConfig,skillsoptional onAgentProvenance, and add thePlannedAgentSurfacetype:Assistant
Step 2 & 7: Update
src/config/agents.ts— removeskillsfromgithub-copilot, add a comment, and changemcpSupporttoplanned:Assistant
Step 3: Add null-guard in
src/core/resolve.tsfor optionalskills:Assistant
Now I need to check where
github-copilotcan appear as an agent in skill entries — the skills adapter insrc/core/adaptersis missing; let me find how skills are deployed:Assistant
Let me check deploy.ts and revert.ts for the skill handling around
resolveAgentSkillPath:Assistant
I can see that
deploy.ts:201usesagent.provenance.skills(now optional) asconfidence, and bothdeploy.ts:199andrevert.ts:44callresolveAgentSkillPath. Sincegithub-copilotwill no longer appear in skillagentsarrays (we're removing it fromlimbo/inception.jsonand the schema should prevent it), I need to also add a guard at the deploy/revert level to skip agents withoutskills. Let me also add a null-guard indeploy.tsandrevert.tsto be safe, and fix theprovenance.skillsreference:Assistant
Step 4: Update
limbo/inception.json— removegithub-copilotfrom all skill agent arrays:Assistant
Step 5: Remove github-copilot skill-path tests from cross-platform.test.ts:
Assistant
Those are pre-existing LSP errors from the test environment (no
@types/nodein the LSP context for that file) — they are not caused by my edit. Now remove the Windowsgithub-copilottest:Assistant
Good — the LSP errors are pre-existing (env issue, not caused by my edits). Now let me handle the MCP adapter and tests in parallel:
Assistant
Step 8: Update MCP adapter to handle
plannedstatus with a distinct"planned"warning:Assistant
The
support.pathaccess at line 161 (now ~165) is in the revert path after theunsupportedcheck — now thatplannedis handled with acontinuein the deploy path, the revert path also needs updating. Let me check that section:Assistant
Step 9: Update the Copilot MCP tests to assert the new
"planned"warning instead of"unsupported":Assistant
Pre-existing LSP issues unrelated to my changes. Now update the deploy.test.ts Copilot MCP test:
Assistant
Pre-existing LSP errors. Now let's handle the roadmap:
Step 10: Cross out roadmap items 2 and 4:
Assistant
Step 11: Run fmt, typecheck, lint, then tests:
Assistant
I need to check the other adapters that also use
support.status !== "unsupported"as a guard to accesssupport.path. Let me check and fix them:Assistant
The
permissionsSupportandagentRulesSupportforgithub-copilotare both"unsupported"(not"planned"), but TypeScript now sees the union type includesPlannedAgentSurfacewhich has nopath. The existing guardssupport.status === "unsupported"need to also exclude"planned"to narrow toSupportedAgentSurface. Let me fix all four locations:Assistant
That's the revert path. Let me read a bit more context:
Assistant
Hmm, the edit already shows the
"planned"guard was applied to the revert path too. Let me check what lines 40-50 look like now:Assistant
The deploy path also needs the
"planned"guard added. Let me fix both the deploy and the revert check properly:Assistant
Now fix
rules.ts— both the deploy and revert paths:Assistant
That's the revert path in rules.ts. Fix it:
Assistant
I accidentally removed the
targetvariable declaration. Let me fix:Assistant
Now run typecheck again:
Assistant
Clean. Now lint:
Assistant
Now run the full test suite:
Assistant
260/260 tests pass, 2 skipped (platform-specific, as expected). Let me also do a final fmt pass since I modified several files after the last fmt:
Assistant
All done. 260 tests pass, typecheck and lint clean. Here's a summary of every change made:
Roadmap Item 2 — Legacy skill-target assumptions removed
src/types.tsAgentConfig.skillsis nowskills?: AgentPaths(optional)AgentProvenance.skillsis nowskills?: Confidence(optional)
src/config/agents.ts- Removed the block () and from the entry
- User
commit your changes
Assistant
Committed as
29635b3. The message covers both roadmap items — legacy skill-target removal and the"planned"surface stubs — and references the specific design decisions (optionalskills,PlannedAgentSurface, adapter warning differentiation).