Skip to content

[Skill Bug]: azure-prepare cause agent to write files outside workspace #2828

Description

Preflight Checklist

Repro Steps

Integration tests reveal this instruction in the azure-prepare is probably causing problems. The LLM treats the example workspace root (/tmp/my-project/.azure/deployment-plan.md) as is instead of inferring its true meaning which causes the agent write files to an unexpected location.

> ⚠️ **CRITICAL: `.azure/deployment-plan.md` must be WRITTEN TO DISK inside the workspace root** (e.g., `/tmp/my-project/.azure/deployment-plan.md`), not in the session-state folder. Use a file-write tool to create this file. This is the deployment plan artifact read by azure-validate and azure-deploy. **You MUST create this file — do not proceed without it.**

Affected runs:

Prompt

Use azure-prepare to prepare an application for deployment.

Expected Result

Agent writes files to the current workspace.

Actual Result

Agent writes files to /tmp/an-llm-generated-name/.

Attachments

No response

Regression?

No response

Additional Context

No response

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions