Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuration

Note

Reference: draft. This describes what a source build reads today, and marks what is planned.

Files

FilePurposeStatus
.shiin/policy.tomlThe policy for this workspaceworks today
.shiin/audit.jsonlThe append-only audit logworks today
.shiin/tests/Policy cases run by shiin policy testworks today
.shiin/config.tomlSettings that are not policy, such as the audit log’s locationplanned, v0.3
.shiin/tasks/The active task declaration and its countersworks today

Paths are relative to the workspace, which is the directory the host reports as its working directory. Under ADR-0016 everything under .shiin/ is a built-in protected resource, so no policy can let an agent change it.

The Unix daemon uses a private per-user runtime directory. Its default socket and approval state, plus workspace evidence paths, are listed in State and storage.

Environment variables

VariableDescriptionStatus
SHIIN_WORKSPACEOverrides the workspace root. Useful when a host reports no working directoryworks today
SHIIN_UNATTENDEDIf set to any value, a pending decision becomes a denial, because no approver can be reachedworks today
CITreated the same as SHIIN_UNATTENDED, since continuous integration has no approverworks today
SHIIN_DAEMONSet to 1 to require local daemon evaluation; an unavailable configured service denies the actionsource implementation on Unix
SHIIN_SOCKETAbsolute Unix socket override; setting it requires the daemon even without SHIIN_DAEMON=1source implementation on Unix
SHIIN_EVIDENCESet to 1 when starting the daemon to enable signed receipts/checkpoints and encrypted replay records; unavailable keys prevent startupsource implementation; OS key-store validation remains open
SHIIN_LOGLog level filterplanned, v0.2

Options

Global options such as --config and --state are planned for v0.2, once there is configuration beyond policy to point at. Today the workspace and the environment variables above are the only inputs.