include/entropic/prompts/manager.h¶
include/entropic/prompts/manager.h
entropic::prompts
using entropic::prompts::PhaseConfig = typedef entropic::PhaseConfig
Alias for PhaseConfig from types/ (canonical location).
PromptType
Prompt file type (frontmatter "type" field).
CONSTITUTIONAPP_CONTEXTIDENTITY
AppContextState
Which app_context spelling a config is using (gh#163).
Four spellings, and until v2.13.0 three of them produced the SAME log line — App context disabled (not configured) — so a consumer whose path was rejected was told it had never been configured. The state is named here so the message can differ per state and a test can pin that it does.
NOT_CONFIGUREDDISABLEDINLINEFROM_PATH
entropic::prompts::BenchmarkPrompt
A single benchmark prompt with quality checks.
std::string entropic::prompts::BenchmarkPrompt::prompt
Prompt text.
std::vector<std::string> entropic::prompts::BenchmarkPrompt::checks_yaml
Check defs as YAML strings.
entropic::prompts::BenchmarkSpec
Benchmark definition for an identity.
std::vector<BenchmarkPrompt> entropic::prompts::BenchmarkSpec::prompts
Benchmark prompts.
entropic::prompts::IdentityFrontmatter
Identity frontmatter — full tier identity metadata.
PromptType entropic::prompts::IdentityFrontmatter::type
Always IDENTITY.
int entropic::prompts::IdentityFrontmatter::version
Schema version.
std::string entropic::prompts::IdentityFrontmatter::name
Tier name (e.g., "lead")
std::vector<std::string> entropic::prompts::IdentityFrontmatter::focus
Focus areas (min 1)
std::vector<std::string> entropic::prompts::IdentityFrontmatter::examples
Few-shot examples.
std::optional<std::string> entropic::prompts::IdentityFrontmatter::grammar
Grammar file reference.
std::optional<std::string> entropic::prompts::IdentityFrontmatter::auto_chain
Auto-chain target tier.
std::optional<std::vector<std::string> > entropic::prompts::IdentityFrontmatter::allowed_tools
Tool filter.
std::optional<std::vector<std::string> > entropic::prompts::IdentityFrontmatter::bash_commands
Allowed bash commands.
std::optional<int> entropic::prompts::IdentityFrontmatter::max_output_tokens
Per-tier max output tokens (gh#82); nullopt = use param default.
std::optional<float> entropic::prompts::IdentityFrontmatter::temperature
Per-tier sampling temperature (gh#82); nullopt = use param default.
std::optional<float> entropic::prompts::IdentityFrontmatter::top_p
Per-tier top_p (gh#85); nullopt = use param default.
std::optional<int> entropic::prompts::IdentityFrontmatter::top_k
Per-tier top_k (gh#85); nullopt = use param default.
std::optional<float> entropic::prompts::IdentityFrontmatter::min_p
Per-tier min_p (gh#85); nullopt = use param default.
std::optional<float> entropic::prompts::IdentityFrontmatter::presence_penalty
Per-tier presence_penalty (gh#85); nullopt = use param default.
std::optional<float> entropic::prompts::IdentityFrontmatter::frequency_penalty
Per-tier frequency_penalty (gh#85); nullopt = use param default.
std::optional<float> entropic::prompts::IdentityFrontmatter::repeat_penalty
Per-tier repeat_penalty (gh#86); nullopt = use param default.
std::optional<bool> entropic::prompts::IdentityFrontmatter::enable_thinking
Per-tier thinking mode (gh#86); nullopt = use param default.
bool entropic::prompts::IdentityFrontmatter::interstitial
Interstitial role.
bool entropic::prompts::IdentityFrontmatter::routable
Visible to router.
std::optional<bool> entropic::prompts::IdentityFrontmatter::explicit_completion
Requires explicit completion; nullopt = derive from auto_chain (gh#117)
std::vector<std::string> entropic::prompts::IdentityFrontmatter::validation_rules
Per-identity constitutional rules (v2.0.6)
bool entropic::prompts::IdentityFrontmatter::relay_single_delegate
Skip re-synthesis when single delegate returns (v2.0.11)
int entropic::prompts::IdentityFrontmatter::max_iterations
Per-identity loop iteration cap; -1 = use global (E6)
int entropic::prompts::IdentityFrontmatter::max_tool_calls_per_turn
Per-identity tool call cap; -1 = use global (E6)
int entropic::prompts::IdentityFrontmatter::max_consecutive_empty_turns
Per-identity empty-turn allowance; -1 = use global default (gh#123)
std::optional<std::unordered_map<std::string, PhaseConfig> > entropic::prompts::IdentityFrontmatter::phases
Named phases.
std::optional<BenchmarkSpec> entropic::prompts::IdentityFrontmatter::benchmark
Benchmark definition.
entropic::prompts::ParsedIdentity
Parsed identity file: frontmatter + body.
IdentityFrontmatter entropic::prompts::ParsedIdentity::frontmatter
Full identity metadata.
std::string entropic::prompts::ParsedIdentity::body
Markdown system prompt body.
entropic::prompts::ParsedPrompt
Parsed prompt file result: type + version + body.
PromptType entropic::prompts::ParsedPrompt::type
Prompt type.
int entropic::prompts::ParsedPrompt::version
Schema version.
std::string entropic::prompts::ParsedPrompt::body
Markdown body after frontmatter.