import type { PromptProvider } from "@sema-agent/core"; /** * Build a scenario's prompt provider from just its ROLE base, on core 1.243's 提示词主权 contract: * `stableSystem` returns ONLY the role layer (base + the task's own systemPrompt) and **core appends * the constitution structurally** — harness/safety blocks (Truth/CYBER_RISK/URL_SAFETY), mode blocks, * AND the memory safety/hygiene guidance (`constitutionBlocks`), plus the volatile `` * tail LAST ([ref] prefix-cache discipline; guarded in CI by `assertPromptCacheFriendly`). * * History: the pre-1.243 seam made this helper's whole-prompt replacement silently DROP * core's constitution — oa/code-review/team ran with zero safety blocks. Same batch also moved * MEMORY_SAFETY/MEMORY_HYGIENE into the constitution layer, so the hand-composition this helper used * to do (core 1.62, [ref]) would now DOUBLE-inject them — both removed; core owns the discipline * (consolidation mutual-exclusion included). This stays a thin role-layer join so scenarios don't * re-implement the same two-line body five times. */ export declare function stablePrompt(base: string): PromptProvider; //# sourceMappingURL=prompt.d.ts.map