write_file
Writes or overwrites a project file after an approved plan. Saves content with an automatic traceability comment (feature, plan, date/time) at the top, ensuring approved changes are tracked and applied correctly.
Instructions
Escreve/sobrescreve um arquivo do projeto. Requer um plan_id já aprovado (via propose_change + approve_change) cujo escopo inclua rel_path. O conteúdo salvo recebe automaticamente um comentário de rastreabilidade no topo (feature, plano, data/hora).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| feature | Yes | ||
| plan_id | Yes | ||
| rel_path | Yes | ||
| description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |