Skip to main content

Module personas

Module personas 

Source

Structs§

PersonaBudget
PersonaManifestDocument
PersonaManifestEntry
PersonaModelPolicy
PersonaOutputStyle
A persona’s declared output style — how it should shape its prose (tone, verbosity, formatting). Accepts either a bare string (a named style) or a table with name and/or instructions. This is the persona-manifest field behind Burin’s output-style surface; Harn owns the declaration + accessor, Burin owns any editor/workbench UI over it.
PersonaPackageSource
PersonaRolloutPolicy
PersonaStageDecl
Stage declaration carried on a PersonaManifestEntry.
PersonaStageExit
PersonaStepBudget
Per-step token / cost ceiling. Either field is optional; whichever is set governs that dimension. Surfaced statically by harn persona inspect --json and consumed at runtime by crates/harn-vm/src/step_runtime.rs to short-circuit llm_call invocations before they exceed the limit.
PersonaStepMetadata
PersonaStepRetry
PersonaValidationContext
PersonaValidationError
ResolvedPersonaManifest

Enums§

PersonaAutonomyTier
PersonaReceiptPolicy

Functions§

default_persona_capabilities
default_persona_capability_map
extract_personas_from_program
extract_step_metadata_from_program
parse_persona_manifest_file
parse_persona_manifest_str
parse_persona_source_file
parse_persona_source_str
persona_error
validate_persona
validate_persona_budget
validate_persona_manifests
validate_persona_nested_extra
validate_persona_stages
validate_required_string
validate_string_list
validate_tokenish