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

config.yml keys

Every key .ank/config.yml may carry, with the type of its value and what an absent key means. A key not listed here is refused, and so is a file whose schema is newer than this build reads.

The file declares schema: 1, the only version this build reads. A duration is <n><unit>, the unit one of s, m, h or d. <name> stands for a key the file chooses; ank config <key> reads and writes the scalar keys, and roles and identities are edited by hand.

KeyTypeDefaultNotes
schemaintegerrequiredthe version of this file’s format
context_budgetinteger8000what context hands a reader, in characters
claim_ttl_maxduration2hthe longest lease a claim is granted, whatever --ttl asks
claim_ttl_defaultduration30mthe lease claim grants without --ttl, capped by claim_ttl_max
default_branchstringnonethe branch carrying the reference state; absent, refs/remotes/origin/HEAD names it
peers.<name>pathnonea peer corpus a scope entry reaches by name, relative to this root or absolute
verifiers.<name>.runcommandrequiredwhat done runs through sh; required in a declared verifier
verifiers.<name>.timeoutduration10mhow long done lets the command run
verifiers.<name>.defaultbooleanfalsetrue writes the verifier into every task ank new task creates
roles.<name>.canlist of strings[]what the role may do, declared
roles.<name>.cannotlist of strings[]what the role may not do, declared
identities.<identity>stringnonethe role of an identity; one absent from the table is an agent
weight.hot_filesinteger3000check signals a hot corpus holding more entity files
weight.plane_bytesinteger4000000check signals claim and proof records weighing more bytes