.nika/ records what the machine did. A production
deployment should choose storage and retention for that distinction before it
runs its first armed beat.
State map
The unified tree below assumes the recommended setup: direct processes use the project root ascwd.
PROJECT STATE Β· TWO JOURNALS, TWO QUESTIONS
Verify a run trace through the SDK
nika arm reads the arming sidecar. They are
related evidence, but they are not interchangeable. A direct SDK run stores
its journal under cwd/.nika/traces; arm and serve enter the project root
before the workflow run starts.
Persist the clock on servers
A resident server or OS unit needs a durable project state path. If a container discards.nika/ on restart, it also discards recent traces and the
watermark used to reason about missed slots.
Source-control boundary
.gitignore
Evidence lifecycle
Continue
Receipts and replay
Verify and replay the workflow journal.
Resident server
Operate the process that writes arming state.
Arm registry
Understand what the ledger is proving.
CWD and monorepos
See exactly which root owns each state lane.
Trace concepts
The durable run journal and its integrity chain.