team_create
Initialize a new encrypted team scope by minting a per-team data-encryption key, assigning this device as genesis owner, and enabling envelope-mode storage; fails if a team already exists.
Instructions
Create the team scope (genesis): mints a fresh per-team data-encryption key, admits this device's principal as the genesis owner, and switches the team scope to encrypted envelope mode. Fails if a team already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote | No | Optional git remote URL to pin for the team scope (e.g. git@github.com:org/team-brain.git). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Always "created" on success. | |
| dekEpoch | Yes | Epoch of the freshly-minted data-encryption key (always 0 at genesis). | |
| genesisPrincipalUid | Yes | Principal UID admitted as the team's genesis owner (this device's bound principal). |