buildBootstrapPrompt is a backwards-compat shim for old callers that pass only a slug. Now points at the regular-task variant. Tests still call this to verify the regular variant.
(slug string)
| 817 | // Adds an explicit `flow show playbook <slug>` context-load step and |
| 818 | // frames the run's brief as an authoritative snapshot — the session |
| 819 | // must execute against that snapshot, not re-read the live playbook |
| 820 | // brief (which may drift between runs). |
| 821 | func buildPlaybookRunBootstrapPrompt(runSlug, playbookSlug string, isFirstRun bool) string { |
| 822 | base := fmt.Sprintf( |
| 823 | "You are running playbook `%s` as run `%s`. Do ALL of the following in order before executing anything:\n"+ |
| 824 | "1. Invoke the flow skill via the Skill tool. This loads the operating manual that governs how this session works.\n"+ |