write_file
Write or overwrite project files after an approved plan, automatically adding a traceability comment with feature, plan, and timestamp.
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 |