ensemble_write_part
Write a voice part for an ensemble session, validating notation against the session header. Pass the base_version to prevent overwriting; if outdated, receive the current version to rebase.
Instructions
Write your voice's part. The notation is parsed and checked against the session header before anything reaches disk. Pass the base_version you read; if the voice has moved on the write is refused and you are given the current part to rebase onto.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | Who you are. | |
| voice | Yes | The voice you are writing. | |
| content | Yes | The part: section headers and rows for your voice only, no header block. | |
| session | Yes | Session name. | |
| summary | No | One line saying what you changed, for the log. | |
| base_version | Yes | The version you read this voice at. |