Skip to main content

Module config

Module config 

Source
Expand description

Configuration types for Perspt.

The on-disk configuration is TOML. Every field is optional so that a missing or partial config file never errors; effective values are computed by merging the file with environment-based detection and built-in defaults.

Structs§

Config
Main configuration struct.
ContextConfig
The [context] block (PSP-10 Definition 6): reserves and working-set bounds for the paged resident context.
ExplorationConfig
The [exploration] search block (PSP-10 system 20). Sequential eager branches only; the hard branch cap is 3 for this release.
ExternalOracleConfig
Protected files and command for TestPolicy::ExternalOracle.
ExternalToolConfig
One [[external_tools]] server. Secret values are never stored here: environment maps contain destination/header names and source variable names.
ExternalToolPolicy
Locally trusted governance declaration for one discovered remote tool.
McpRootConfig
One filesystem root that an MCP server may learn through roots/list. Roots are never inferred: each URI is an explicit disclosure boundary.
ModelsConfig
The [models] table: fully qualified provider::model route values per tier (PSP-9 system 1). Values stay fully qualified so identity, calibration, and replay never depend on an ambient default provider.
PromptsConfig
The [prompts] block (PSP-10 system 25, Gate AE). The activation floor may only be raised and the margin narrowed; invalid values fail at startup.
ProviderEntry
One entry of the [providers.<id>] table (PSP-9 system 1).
VerificationConfig
The [verification] acceptance-stage options.

Enums§

ExternalToolMode
Product surface allowed to create a lifecycle for an external server.
ExternalToolTransport
MCP transports supported by Perspt 0.6.6.
TestPolicy
Test-evidence policy at a coding gate.