deploy_role_templates
Deploys three-layer team documentation (README, roles, operating rules, and per-role bios) into the shared directory. Archives existing files for safe overwriting or skips them on request.
Instructions
Deploy the three-layer team documentation into shared/.
Writes TEAM-README.md (bilingual), TEAM-ROLES.md,
TEAM-OPERATING-RULES.md, and per-role bios under
docs/agents/shared/ (both zh and en variants).
When force=True (default) existing files are archived under
.fcop/migrations/<timestamp>/shared/ before being overwritten,
so the action is safely reversible. When force=False existing
files are left untouched and reported as skipped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team ID to deploy. Empty = use the current project's ``fcop.json`` team. | |
| lang | No | Language variant to emphasize. Empty = use project language from ``fcop.json``. | |
| force | No | Overwrite existing files (after archiving) vs skip. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |