Skip to main content

Module run_config

Module run_config 

Source
Expand description

[budget] and [commands] in speccoder.toml (policy).

Structs§

AttestConfig
[attest]: signed evidence per ticked task.
RunConfig
Limits and command allowances for an attempt.
StrengthConfig
How the acceptance set’s strength is measured: [acceptance] strength, min_strength, near_miss, permitted, strength_timeout_secs.

Enums§

Cap
What a run may spend: tokens, or dollars at the configured prices.
Signer
Who signs a task’s attestation ([attest] signer).

Constants§

DEFAULT_BUDGET
[approvals] budget unless configured: prompts a run shows a person.

Functions§

parse
Reads [budget] and [commands]; absent sections give defaults.
short_tokens
Tokens for people: 2.1M, 412k, 950.