Expand description
The platform prompt section library (PSP-10 systems 23 and 25).
The five formerly inline actor prompts live here as base sections,
compiled at build time from prompts/ by perspt-prompt-macros. There
is exactly one composer: the SDK’s StageComposition compiler, which
fits the dialect budget deterministically and digests the program.
Under a single-slot dialect the compiled system text of each migrated
stage is byte-identical to the pre-move literal
(tests/prompt_matrix.rs proves it). Construction is lazy: nothing
composes until an actor asks, so simple-chat links this crate without
ever building a program.
Modules§
- adjudicate
- Generated by perspt-prompt-macros; do not edit.
- evidence_
summarize - Generated by perspt-prompt-macros; do not edit.
- graph_
plan - Generated by perspt-prompt-macros; do not edit.
- repository_
explore - Generated by perspt-prompt-macros; do not edit.
- session_
bootstrap - Generated by perspt-prompt-macros; do not edit.
Structs§
- Platform
Prompt Library - The compiled platform envelope, one stage builder per actor.
- Platform
Stage - One platform stage’s rendered sections, ready to compile for any route.
- Section
Overrides - Experimental live section overrides loaded from validated
[prompts].bundles(system 25). A replacement body substitutes only for a known compiled platform section, only under exactly that section’s schema, and only when the operator opted in with--allow-experimental-prompts; the composition root ledgers every active override at session start. Gate AE keeps divergent templates experimental until aPromptChangeRecordpasses the paired evaluation.
Functions§
- compile_
invocation - Compile one call’s two programs — the platform stage and the domain’s same-stage sections (possibly none) — into the invocation the ledger records (spec: “Each model call compiles two programs”).
- compiled_
platform_ templates - Every compiled platform base template with its stage, in manifest order.