Skip to content

theseus note

Record a session note about a decision, attempt, learning or reversal, or list yours.

Usage: theseus note --kind <kind> "<one line with its reason>"
       theseus note list [--json]
OptionValueWhen omitted
--kinddecision|attempt|learning|reversalRequired to record a note
--jsonSwitchfalse
ActionArgumentOptions
addone-line-text--kind (required)
listNone--json

JSON output: list: object with notes, your own notes for this repository and branch, oldest first. Errors: event="error", code, error.

Exit codes: 0 Success; 1 Failure; 2 Invalid arguments.

Full command help and examples
Usage: theseus note --kind <kind> "<one line with its reason>"
       theseus note list [--json]

Record a session note: one line an agent reports about its own work, as it happens. Notes are
stored privately for you, stamped with this checkout's GitHub repository, branch and commit.

Kinds:
  decision   picked between options
  attempt    tried something that did not work, and why
  learning   found something that changes the plan
  reversal   went back on an earlier decision, and why

A stored note prints nothing. A note is one line of at most 500 characters; a bad call exits 2.
A note that could not be delivered never fails the caller: it prints one line to stderr and
exits 0. After a network failure the note waits on this machine and the next theseus note
sends it first under the same login; signed out, or in a repository your workspace does not
have, it is dropped. Put -- before a note that starts with dashes.

list prints your own notes for this repository and branch, oldest first, as "kind  text".
--json prints {"notes":[{noteId,kind,text,branch,headSha,harness,sessionId,notedAt,receivedAt}]}.
list exits 1 on failure and, with --json, prints {"event":"error","code":...,"error":...}.

Examples:
  theseus note --kind decision "Kept the retry in the client: the server cannot tell a timeout from a cancel"
  theseus note list