Command-line reference

arcsentry todo

Track the case's outstanding work as tasks.

Subcommands

Track the case's outstanding work as tasks.

Statuses are open, in_progress, done, and archived; priorities are low, normal, high, and critical. A value outside those sets is refused rather than stored. Tasks are scoped to one case, are addressed by the id todo add prints, and each todo set-* command writes only the field it names.

arcsentry todo <subcommand>

Examples

List the case's open tasks

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --status open

Add a task

arcsentry todo add --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Review the reception laptop's autoruns" --priority high

Move a task along

arcsentry todo set-status 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 in_progress --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Read one task in full

arcsentry todo show 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Subcommand reference

arcsentry todo list

List a case's tasks, optionally narrowed by state, priority, or author.

Tasks come back most recently updated first rather than by priority, so narrow with --status and --priority to work through what matters. Archived tasks are left out unless you pass --include-archived, and when you do they follow the rest rather than being mixed in; --status archived on its own returns only them. --author is who raised the task, user or agent, and any other value is refused. There is no paging here: --limit bounds one read, and an upper limit applies even when you ask for more.

arcsentry todo list --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-s, --status <status> Keep only tasks in this state: open, in_progress, done, or archived.
-P, --priority <priority> Keep only tasks at this priority: low, normal, high, or critical.
-u, --author <author> Keep only tasks created by this author.
-A, --include-archived Include archived tasks, which are left out by default.
-l, --limit <limit> Maximum tasks returned. Defaults to 200. Default: 200.
-f, --format <format> Output format: table (default), json, jsonl, or csv. Default: "table".
-C, --cursor <cursor> Continue after the previous page, using the cursor it printed.

Examples

List a case's tasks as a table

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

List only what is still open, highest priority first to work through

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --status open --priority critical

List every task including the archived ones, as JSON

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --include-archived --format json

List the ten most recent tasks raised by one examiner

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --author user --limit 10

arcsentry todo show

Print one task in full.

The task is selected out of the case's own task list, so an archived task shows here even though todo list leaves it out by default. An id that is not in the case is an error naming that id, never an empty record. --format only changes how the CLI renders the task; the same stored record is read either way.

arcsentry todo show --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-f, --format <format> Output format: table (default), json, jsonl, or csv. Default: "table".

Examples

Print one task as a table

arcsentry todo show 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Print it as JSON

arcsentry todo show 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format json

Print it using the short forms of both flags

arcsentry todo show 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -f json

Find the task id first

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry todo add

Add a task to a case and print its id.

A task is always created open, and this command sets its priority rather than its state. The task's UUID is printed with it, and that id is what every other todo subcommand takes. --priority accepts a fixed set of values, and anything outside it is refused rather than stored. A task raised here is recorded as the user's, which is what todo list --author user selects, and the creation is written to the case log.

arcsentry todo add --case <case> --title <title> [options]
OptionDescription
-c, --case <case>required Case UUID.
-t, --title <title>required What the task is.
-d, --description <description> Longer description of the task.
-P, --priority <priority> Priority: low, normal (default), high, or critical. Default: "normal".

Examples

Add a task at the default priority

arcsentry todo add --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Review the reception laptop's autoruns"

Add a high-priority task with a description

arcsentry todo add --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Chase the missing laptop image" --description "Third machine was never collected; ask the client." --priority high

Add a critical task

arcsentry todo add --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Confirm the service account was disabled" --priority critical

Add one using the short forms of every flag

arcsentry todo add -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -t "Write the summary" -d "For the client report" -P low

arcsentry todo set-title

Change a task's title.

The title is replaced outright, and a task id that is not in the named case is refused with an error instead of being ignored. A title longer than the store accepts is refused and nothing is written. The rename is recorded in the case log with the value it was set to, and it moves the task's updated time, which is what todo list orders by.

arcsentry todo set-title --case <case>
OptionDescription
-c, --case <case>required Case UUID.

Examples

Give a task a clearer title

arcsentry todo set-title 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 "Review autoruns on WS203" --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Narrow a task's title to what is actually left

arcsentry todo set-title 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 "Review autoruns on WS203 (services only)" --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Rename it using the short form of the flag

arcsentry todo set-title 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 "Review autoruns" -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Read the task back to confirm the change

arcsentry todo show 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry todo set-description

Change a task's description.

The description is replaced outright, with no way to append to it, so pass the whole text you want stored. A task id that is not in the named case is refused, and nothing is changed. The change is recorded in the case log naming the field that changed, and it moves the task's updated time, which is what todo list orders by.

arcsentry todo set-description --case <case>
OptionDescription
-c, --case <case>required Case UUID.

Examples

Record what the task actually involves

arcsentry todo set-description 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 "Check Run keys, services, and scheduled tasks against the baseline." --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Record what is blocking the task

arcsentry todo set-description 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 "Blocked: waiting on the client for the third laptop." --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Set it using the short form of the flag

arcsentry todo set-description 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 "Done on WS203, WS204 outstanding." -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Read the task back to confirm the change

arcsentry todo show 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry todo set-status

Move a task to a new state.

Any state can move to any other, so a done task can be reopened and an archived one brought back. No order of states is enforced. archived is the state that takes a task out of todo list while keeping it in the case; todo delete is what removes it. A state outside the accepted set is refused rather than stored, and every move is recorded in the case log.

arcsentry todo set-status --case <case>
OptionDescription
-c, --case <case>required Case UUID.

Examples

Start work on a task

arcsentry todo set-status 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 in_progress --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Finish a task

arcsentry todo set-status 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 done --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Put a task out of the way without deleting it

arcsentry todo set-status 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 archived --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Reopen a task that was closed too early

arcsentry todo set-status 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 open -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

arcsentry todo set-priority

Change a task's priority.

The accepted priorities are a fixed set; a value outside them is refused rather than stored. Priority is independent of state: raising a finished task to critical does not reopen it, and todo set-status is what moves a task along. The change is recorded in the case log. todo list still orders by when a task last changed, so narrow it with --priority rather than expecting priority order.

arcsentry todo set-priority --case <case>
OptionDescription
-c, --case <case>required Case UUID.

Examples

Raise a task to critical

arcsentry todo set-priority 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 critical --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Drop a task to low once it stops mattering

arcsentry todo set-priority 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 low --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Put a task back at the default priority

arcsentry todo set-priority 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 normal -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

List what is critical and still open

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --status open --priority critical

arcsentry todo delete

Delete one task from a case.

The task row is removed. todo set-status <id> archived is the alternative that keeps it: an archived task stays readable through todo show and through todo list --include-archived. The deletion is recorded in the case log against the task id, so the case history still shows the task existed. --yes deletes without asking; otherwise the command asks on the terminal to confirm and refuses when no affirmative answer is available. Tasks are case bookkeeping and carry no link to evidence, so nothing else in the case changes.

arcsentry todo delete --case <case> [options]
OptionDescription
-c, --case <case>required Case UUID.
-y, --yes Skip the interactive confirmation prompt. Intended for scripts.

Examples

Delete a task, answering the confirmation prompt by hand

arcsentry todo delete 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Delete a task from a script, with no prompt

arcsentry todo delete 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --yes

Archive the task instead, keeping its history

arcsentry todo set-status 3c7e91d5-6a02-4f88-9b41-d5e8c07a2f96 archived --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2

Confirm the task is gone

arcsentry todo list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --include-archived