arcsentry notes
Write and read the case's own notes: markdown documents stored with the case.
Subcommands
- createCreate a case note and print its id.
- updateReplace parts of an existing note. Only what you pass is changed.
- appendAdd text to the end of an existing note, leaving what is there alone.
- readPrint one note in full.
- listList the notes in a case page by page, with their ids, titles, and tags.
- deleteDelete one note from a case.
Write and read the case's own notes: markdown documents stored with the case.
A note is a markdown document held with the case and addressed by the UUID notes create prints; notes list returns them pinned first, then most recently updated. Every create, update, append and delete is recorded in the case log against that note id, so the case history shows a note existed even after it is removed. The writing subcommands take the case's write lock and are refused with a typed error while another Arcsentry instance holds the case; reading a note takes no lock. Notes are case bookkeeping and carry no link to evidence, so nothing here touches a verdict.
arcsentry notes <subcommand> Examples
Write a note from a markdown file
arcsentry notes create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Initial access" --body-file /tmp/initial-access.md List the notes in a case with their ids
arcsentry notes list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 Read one note back
arcsentry notes read --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 Add a line to a note without rewriting it
arcsentry notes append --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 --body "Confirmed on the second host as well." Subcommand reference
arcsentry notes create
Create a case note and print its id.
Supply the text with --body, or with --body-file to read it from a markdown file. When both are given the file wins, and when neither is given the note is created with an empty body. --tag may be repeated to attach several tags in one call, and --title is required.
arcsentry notes create --case <case> --title <title> [options] | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -t, --title <title>required | Note title. |
| -b, --body <body> | Note text, given on the command line. |
| -B, --body-file <body-file> | Read the note text from this file. |
| -T, --tag <tag> | Tag to attach to the note. Can be repeated. |
| -P, --pinned | Pin the note to the top of the case's note list. |
Examples
Write a short note inline
arcsentry notes create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Initial access" --body "Inbound RDP from 203.0.113.24 at 02:14Z." Write a long note from a markdown file, tagged and pinned
arcsentry notes create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "Timeline of the intrusion" --body-file /tmp/timeline.md --tag timeline --tag summary --pinned Write a note tagged with the name of one system
arcsentry notes create --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --title "WS203 findings" --body-file /tmp/ws203.md --tag ws203 Write a note using the short forms of every flag
arcsentry notes create -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -t "Containment" -B /tmp/containment.md -T response -P arcsentry notes update
Replace parts of an existing note. Only what you pass is changed.
At least one of --title, --body, --body-file, --tag, --clear-tags, --pinned or --unpin must be given; with none of them the update is refused rather than quietly doing nothing. --body and --body-file replace the stored text outright, and notes append is what adds to it; when both are given, the file's contents are what is stored. --tag replaces the note's whole tag set and accepts repeated flags or one comma-separated list, and --clear-tags removes every tag. --pinned pins the note to the top of the case's note list and --unpin takes it off; each change is recorded in the case log with you as the actor.
arcsentry notes update --case <case> --id <id> [options] | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -i, --id <id>required | Note id, as printed by notes list. |
| -t, --title <title> | New title. |
| -b, --body <body> | New note text, replacing what was there. |
| -B, --body-file <body-file> | Read the replacement text from this file. |
| -T, --tag <tag> | Tag to set on the note; the tags given replace the note's tags. Can be repeated. |
| -x, --clear-tags | Remove every tag from the note. |
| -P, --pinned | Pin the note to the top of the case's note list. |
| -U, --unpin | Take the note off the top of the case's note list. |
Examples
Rewrite a note's text from a file
arcsentry notes update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 --body-file /tmp/timeline-v2.md Change only the title
arcsentry notes update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 --title "Timeline (final)" Retag a note and pin it
arcsentry notes update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 --tag timeline --tag final --pinned Unpin a note and remove its tags
arcsentry notes update --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 --unpin --clear-tags arcsentry notes append
Add text to the end of an existing note, leaving what is there alone.
The text is added after what the note already holds, separated from it by a blank line, and nothing already written is rewritten. Give the text with --body or with --body-file; with neither, the command is refused. The whole note as stored is printed back, and its updated time moves, which is the order notes list uses after pinning.
arcsentry notes append --case <case> --id <id> [options] | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -i, --id <id>required | Note id, as printed by notes list. |
| -b, --body <body> | Text to add, given on the command line. |
| -B, --body-file <body-file> | Read the text to add from this file. |
Examples
Add a line to a running note
arcsentry notes append --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 --body "Confirmed on the second host as well." Add a section held in a file
arcsentry notes append --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 --body-file /tmp/second-host.md Add today's progress using the short forms of every flag
arcsentry notes append -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 -b "2026-08-06: containment confirmed." Read the note back after adding to it
arcsentry notes read --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 arcsentry notes read
Print one note in full.
The note is printed as one JSON document carrying its title, body, tags, author and its created and updated times; the body is markdown source inside that document, not a rendered file, so redirecting stdout gives you JSON. An id that is not in the named case is a typed error with a non-zero exit, never an empty note. The lookup is scoped by --case, so an id on its own does not resolve one.
arcsentry notes read --case <case> --id <id> | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -i, --id <id>required | Note id, as printed by notes list. |
Examples
Print one note
arcsentry notes read --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 Print it using the short forms of both flags
arcsentry notes read -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 Save a note to a file for a report
arcsentry notes read --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 > /tmp/timeline.md Find the note id first
arcsentry notes list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 arcsentry notes list
List the notes in a case page by page, with their ids, titles, and tags.
Notes come back pinned first, then most recently updated, one page at a time. A first page carries total, the number of notes in the case, and a page with has_more true carries a next_cursor that, passed back with --cursor, continues after its last note. If a note is added, edited, pinned or removed between two pages the continuation is refused as changed, and the listing starts again from the first page. --format jsonl and --format csv walk every page and print each as it arrives; json and table print one page and, when more remain, name --cursor on stderr. Each entry is the stored note, and the id it carries is what notes read, notes update, notes append and notes delete take.
arcsentry notes list --case <case> [options] | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -l, --limit <limit> | Notes per page. The page says whether more remain and how to continue. |
| -C, --cursor <cursor> | Continue after the last note of a page: pass the next_cursor that page printed. |
| -f, --format <format> | Output format: json (default), jsonl, csv, or table. Default: "json". |
Examples
List the first page of notes in a case
arcsentry notes list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 Print every note, page after page
arcsentry notes list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --format jsonl List them using the short form of the flag
arcsentry notes list -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 Read one of the listed notes
arcsentry notes read --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 arcsentry notes delete
Delete one note from a case.
The note is removed from the case and there is no restore command, so read it back first if the text still matters. The deletion is recorded in the case log against the note id, with the actor that made it, so the case history still shows that a note existed. Nothing else is touched: notes carry no link to evidence, so annotations, verdicts and indicators are unaffected. Deleting an id that is not in the case is refused: nothing is removed and nothing is recorded.
arcsentry notes delete --case <case> --id <id> | Option | Description |
|---|---|
| -c, --case <case>required | Case UUID. |
| -i, --id <id>required | Note id, as printed by notes list. |
Examples
Delete one note
arcsentry notes delete --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 Delete it using the short forms of both flags
arcsentry notes delete -c 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 -i 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 Read the note before deleting it
arcsentry notes read --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2 --id 9a15c3d2-5e84-4b16-8f70-c2d9e63a4b15 Confirm the note is gone
arcsentry notes list --case 4f9a2c18-3b7e-4d51-9a20-6c1f8e35b7d2