# summary

Archive a setup-agents task.

# description

Marks a task as archived in `.setup-agents/state/tasks.jsonl`. Archived tasks are hidden from `task list` output unless `--status archived` is specified. Unlike delete, archive preserves the task record for audit purposes.

# flags.task.summary

Task id.

# flags.task.description

Id of the task to archive.

# examples

- Archive a task:

  <%= config.bin %> <%= command.id %> --task SA-97

# info.archived

Task %s archived.

# errors.notFound

Task not found: %s
