Repository navigation
Fix Cosmos DB Shell guidance evaluations - #284
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The focused changes consistently support explanation-only requests while retaining target verification, deletion safeguards, and existing grading requirements.
No open issues 🎉
What changed in this PR
Aligns Cosmos DB Shell evaluations with explanation-only requests, avoiding execution requirements when MCP tools are unavailable while preserving existing safety guidance.
Changes:
- Clarifies prompts and rubrics to accept equivalent account terminology and proposed procedures without tool calls or JSON.
- Adds read and deletion preflight checklists to the existing Shell rules.
- Adds regression assertions for explanation-only scope and retained deletion safeguards.
| File | Description |
|---|---|
skills/cosmosdb-best-practices/rules/tooling-cosmosdb-shell-writes.md |
Adds deletion preflight checks and explanation-only fallback guidance. |
skills/cosmosdb-best-practices/rules/tooling-cosmosdb-shell-target.md |
Adds read preflight checks and unavailable-MCP guidance. |
evals/cosmosdb-best-practices/tooling/eval.yaml |
Aligns Shell prompts and rubrics with non-executing explanations. |
evals/cosmosdb-best-practices/graders.test.mjs |
Adds assertions preserving evaluation scope and safety requirements. |
CHANGELOG.md |
Records the Shell guidance and evaluation updates. |
Review effort: Balanced
|
These changes look good: explanation-only requests are now evaluated on the proposed procedure rather than MCP availability or actual execution. Accepting semantically equivalent wording reduces false failures while preserving the existing targeting, ETag, and confirmation safeguards. Offline validation and the live CI evaluations passed. |
Mike Krüger (mkrueger)
left a comment
There was a problem hiding this comment.
I think it's a good approach - installing cosmosdbshell would be an overkill.
Description
Align Cosmos DB Shell guidance evaluations with explanation-only requests so unavailable MCP tools and equivalent account-identity wording are not treated as execution failures.
Skill activation, strict correctness thresholds, and deletion safeguards remain unchanged. No new rules or live Shell integration are added.
Type of Change
Related Issues
Related to #281 and the Shell guidance failures in Vally run 40371778679.