ecosystem_apply_architecture_md
Submit architecture markdown to advance a deep review stage, or provide an error message to mark it as failed.
Instructions
Stage 1 writeback — submit architecture_md OR report failure.
Success path (default): pass non-empty architecture_md (800-1500 字
Chinese markdown). The OS persists it, advances stage_status -> architecture_done, and marks the deep_review row completed.
Failure path: leave architecture_md empty and pass error_message;
the OS advances stage_status -> architecture_failed so manual
retry surfaces in the UI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Optional agent identifier recorded on the review row. | |
| error_message | No | Short message stored on review.risks_md (failure path). | |
| deep_review_id | Yes | Target deep_review row id. | |
| architecture_md | No | 800-1500 字 Chinese markdown (success path). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||