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.
- Context
Config - The
[context]block (PSP-10 Definition 6): reserves and working-set bounds for the paged resident context. - Exploration
Config - The
[exploration]search block (PSP-10 system 20). Sequential eager branches only; the hard branch cap is 3 for this release. - External
Oracle Config - Protected files and command for
TestPolicy::ExternalOracle. - External
Tool Config - One
[[external_tools]]server. Secret values are never stored here: environment maps contain destination/header names and source variable names. - External
Tool Policy - Locally trusted governance declaration for one discovered remote tool.
- McpRoot
Config - One filesystem root that an MCP server may learn through
roots/list. Roots are never inferred: each URI is an explicit disclosure boundary. - Models
Config - The
[models]table: fully qualifiedprovider::modelroute values per tier (PSP-9 system 1). Values stay fully qualified so identity, calibration, and replay never depend on an ambient default provider. - Prompts
Config - 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. - Provider
Entry - One entry of the
[providers.<id>]table (PSP-9 system 1). - Verification
Config - The
[verification]acceptance-stage options.
Enums§
- External
Tool Mode - Product surface allowed to create a lifecycle for an external server.
- External
Tool Transport - MCP transports supported by Perspt 0.6.6.
- Test
Policy - Test-evidence policy at a coding gate.