delimit_context_branch
Manage mutable working branches of a venture's context to explore alternative directions without affecting the main line.
Instructions
Manage mutable working branches of a venture's context (STR-048).
When to use: when exploring an alternative direction for a venture — a "what if we pivoted?" thread — and you want a write-isolated branch of the venture context rather than mutating the main line. Sub-actions: "list" inventories branches, "create" mints a new branch, "merge" folds a branch back into main. When NOT to use: for immutable point-in-time evidence (use delimit_context_snapshot — that creates a frozen capture; this is for mutable working areas), to read context data (use delimit_context_read), or for git branch operations on a code repo (use git directly).
Sibling contrast: delimit_context_snapshot is read-only history capture; this manages active, writeable branches. Compared to git branches, this operates on the venture context filesystem (ai.context_fs), not the code repo.
Side effects: depends on action. "list" is read-only. "create" writes a new branch namespace under the venture in ai.context_fs. "merge" mutates the venture's main namespace with the branch's contents, then closes the branch. None of these touch the code repository or any git state. No license gate, no notification, no ledger write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venture | Yes | Venture namespace key. Required. | |
| action | No | Branch sub-action, one of "list", "create", "merge". Default "list". | list |
| branch_name | No | Branch name (required for create / merge). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||