Skip to content

Recorded shell

Your usual terminal, with every command recorded as a run. Nothing to type in front.

kveritas shell
(kv) $ python train.py
(kv) $ ./bench --size 1024
(kv) $ exit

Bash 4.4 or newer, or zsh. Linux and macOS only.

On a new session it asks what the report shows (results only, file names, or your code too) and how to get your results. An unsealed session in this folder is continued. If another session is open on this machine, it stops and says so (seal it, or kveritas clean <id>). Inside the shell, seal and clean wait until you exit.

What gets recorded

For each command:

  • time, CPU, memory, GPU and energy use,
  • results, from KV lines or autolog,
  • what it printed,
  • whether it worked. Failed commands are kept too.

Not recorded: simple commands like cd, export, clear, and editors such as vim.

When you exit

  1. You see the latest value of each result.
  2. Type the names you want to claim.
  3. Choose whether to seal now.

Not sealed? Run kveritas shell again later to continue.

Can it be fooled?

  • Your programs can't fake a command's start or end. Only the shell can.
  • Recording starts before each command does.
  • Each command is anchored at the server when it ends, so it can't be removed later.
  • One recorded shell per project at a time. kveritas run and seal don't work inside it.