codesweep_mark
Mark items in a sweep as processed or transition them to an explicit state from the sweep's lifecycle.
Instructions
Mark items by state transition.
Args:
sweep_ref: Sweep ID (SW-N) or name
items: Item identifiers to mark
processed: Legacy mode — True maps to first terminal state, False to first non-terminal state. Omit it entirely (the default) to get the same effect as True. MUTUALLY EXCLUSIVE with
state: sending both is an error, including when the two happen to agree, becausestatenames one state andprocessednames a class of them.state: Explicit target state. Validated against the sweep's
lifecycleandtransitionsDAG (if declared). Mutually exclusive withprocessed— send one or the other, never both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| state | No | ||
| processed | No | ||
| sweep_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||