microsoft / microsoft/GitHub-Copilot-for-Azure
[Idea] Replace azure-validate skill with preToolCall hook or azd built-in logic
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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