Skip to content

Add reusable debug-live trigger evaluation - #130

Merged
Oz Zafar (ozzafar) merged 1 commit into
microsoft:mainfrom
ozzafar:ozzafar/issue-5-trigger-debug-skill
Aug 19, 2026
Merged

Add reusable debug-live trigger evaluation#130
Oz Zafar (ozzafar) merged 1 commit into
microsoft:mainfrom
ozzafar:ozzafar/issue-5-trigger-debug-skill

Conversation

@ozzafar

Copy link
Copy Markdown
Collaborator

Summary

  • refine the debug-live description to explain its root-cause debugging workflow and emphasize using it instead of temporary source-code logs
  • keep MCP initialization and start_debugging guidance inline at their usage sites
  • add contract tests for skill trigger metadata and MCP guidance
  • add an opt-in
    pm run test:skill-trigger-agent evaluation that launches a real Copilot session and asserts debug-live is its first tool call
  • bump the extension version to 2.3.1

Validation

pm run compilen- pm run lintn-
pm test (140 passing)

pm run test:skill-trigger-agent (Copilot invoked debug-live first; next tool was
g)

The live-agent evaluation is intentionally separate from
pm test because it requires Copilot authentication, consumes AI credits, and is nondeterministic.

Add contract coverage and an opt-in live Copilot evaluation for debug-live discovery, and bump the extension version to 2.3.1.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>\nCopilot-Session: 32ca52f0-95b2-4ab4-8de8-cc870a9df789
@ozzafar
Oz Zafar (ozzafar) merged commit a4aa551 into microsoft:main Aug 19, 2026
2 of 3 checks passed
Matthias Hertel (MatthiasHertelArm) pushed a commit to MatthiasHertelArm/CMSIS-Developer-Assistant that referenced this pull request Aug 20, 2026
Port of microsoft/DebugMCP#130. debugSkillGuidance.test.ts pins the skill
trigger words, the debugger-first wording, and that the skill, the MCP
instructions and the get_debug_instructions guide agree. The opt-in
npm run test:skill-trigger-agent launches a real Copilot CLI session in a
scratch worktree carrying only cmsis-debug-live, with an embedded prompt,
and asserts the skill is its first tool call - separate from npm test
because it needs Copilot auth, spends credits and is nondeterministic.
scripts/** is now excluded from the VSIX. Upstream's version bump is not
taken.
Sourabh Mehta (soumeh01) pushed a commit to Open-CMSIS-Pack/CMSIS-Developer-Assistant that referenced this pull request Aug 21, 2026
Port of microsoft/DebugMCP#130. debugSkillGuidance.test.ts pins the skill
trigger words, the debugger-first wording, and that the skill, the MCP
instructions and the get_debug_instructions guide agree. The opt-in
npm run test:skill-trigger-agent launches a real Copilot CLI session in a
scratch worktree carrying only cmsis-debug-live, with an embedded prompt,
and asserts the skill is its first tool call - separate from npm test
because it needs Copilot auth, spends credits and is nondeterministic.
scripts/** is now excluded from the VSIX. Upstream's version bump is not
taken.
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.

1 participant