codesweep_add
Add items to a sweep, automatically bumping recurrence counts for existing entries and reactivating archived ones.
Instructions
Add items to a sweep. Atomic upsert: existing items have their
recurrence_count bumped instead of being silently skipped, their
last_seen updated, and their archive flag cleared (R5: re-detected
archived items un-archive automatically).
Args:
sweep_ref: Sweep ID (SW-N) or name
items: Item identifiers to add
tags: Optional tags applied to this batch (overwrite on bump)
Returns: {sweep_id, added, recurrence_bumped, duplicates_skipped (alias)}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| items | Yes | ||
| sweep_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||