microsoft / microsoft/GitHub-Copilot-for-Azure

[Idea] Replace azure-validate skill with preToolCall hook or azd built-in logic

Open
#2,268 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

untriaged
Dominant language
Python
Stars
250
Forks
204
Avg merge
1d 12h
Merged PRs (30d)
67

Description

Given that azure-validate runs a fixed sequence of steps, we should consider replacing it with hooks or azd built-in logic to more determinisitcally perform validation. This would allow us to better address the following problems:

  • Agent skip validation. The hook or azd built-in logic can ensure no deployment will be attempted without passing the validation steps.
  • Validation using too much tokens, causing the agent to lose attention on its previously given instructions. The script can limit the number of tokens added to the context window, making it more likely for the agent to remain focused on the prepared plan.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing azure-validate skill and comparing the proposed preToolCall hook with azd built-in logic. A solution should prevent deployment until validation passes while limiting validation output added to the agent context, but the issue does not identify files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.