init_project
Initialize an FCoP project with a bundled team preset, creating lifecycle buckets, workspace, team documentation, and protocol rules for agent coordination.
Instructions
Initialize an FCoP project with a bundled preset team.
Since 3.0.2 a fresh init produces the v3 topology (per spec
§1.1): fcop/_lifecycle/{inbox,active,review,done,archive}/ plus
the retained v2 buckets reports/ / issues/ / shared/.
The superseded v2 buckets tasks/ and log/ are no longer
created on fresh init (use python -m fcop migrate --to-v3 to
upgrade an existing v2 project).
Writes fcop/fcop.json, deposits LETTER-TO-ADMIN.md
under fcop/, creates the workspace/ cage with a
starter README (per Rule 7.5), deploys the team's three-layer
docs to fcop/shared/ (TEAM-README / TEAM-ROLES /
TEAM-OPERATING-RULES + roles/{ROLE}.md, both zh and en),
and (per ADR-0006) deploys the bundled protocol rules to four
locations so any agent host sees them:
.cursor/rules/fcop-rules.mdc,
.cursor/rules/fcop-protocol.mdc, AGENTS.md, and
CLAUDE.md. Existing copies are archived to
.fcop/migrations/<timestamp>/ before being overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team template ID. One of ``dev-team`` / ``media-team`` / ``mvp-team`` / ``qa-team``. Default: ``dev-team``. (Solo mode is a separate entry point — call ``init_solo`` instead so the config carries ``mode="solo"``.) | dev-team |
| lang | No | Output language. ``zh`` or ``en``. Default: ``zh``. | zh |
| force | No | When ``True``, overwrite an already-initialized project. The previous ``fcop.json``, letter, workspace README, and ``shared/`` documents are archived under ``.fcop/migrations/<timestamp>/`` before the new content lands — nothing is lost silently. Use this when ADMIN wants to switch teams (e.g. solo → dev-team) without manually wiping the project. Default: ``False``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |