task_set
Edition: community ragraf_task_set
P3-3. Naming the current task (`RAGRAF_TASK` without a client)
Parameters
| Name | Type | Default |
|---|---|---|
| name | str | None | None |
| clear | bool | False |
Call example
ragraf -p config/ragraf.yaml query task_set
Angle brackets mark a required parameter; defaults may be omitted.
What it returns
changed, cleared, env_var, previous, root, state_file, task, ttl_seconds
When it refuses
An empty result is exit code 0 with found=false, not an error. Code 3 is returned only when the operation cannot run right now: for example slice when capability is not full. The reason is always named in the note field.