agy_project_link
Bind a local discussion to one lasting project via an immutable link; optionally enable on-demand turns without starting loops or bypassing approvals.
Instructions
Explicitly link a local discussion to one lasting project. Binding is immutable and cannot cross another project. Default on_demand=true authorizes individually requested turns without a fixed lifetime round budget; it does not start any turn/loop or bypass client approvals, CLI limits or cancellation. Existing spent attempts remain usage records. on_demand=false retains that task's old budget. Save exact legacy snapshot before paging. Local client memory/plan updates are checkpointed into the project; model views retain actual provenance. Create a new normal discussion and link it to reuse the project across topics/sessions; archived discussions stay archived. No model call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | ||
| on_demand | No | ||
| project_id | Yes | ||
| discussion_id | Yes | ||
| expected_version | Yes |