Persist a new commitment
create_commitmentRecord a promise the agent just made (e.g. via a say call agreeing to build something). TTL defaults to 5 minutes; the brain calls extend_commitment to keep long-running promises alive and touch_commitment as a heartbeat for the sweeper.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ttl_ms | No | ||
| raw_text | Yes | ||
| target_id | Yes | ||
| target_kind | Yes | What the commitment is about: 'player' (a promise to another player; target_id = their in-world name) or 'task' (a self-directed goal; target_id = a short label). There is no 'space' kind - to commit to work in a space, use 'task' and name the space in target_id. |