mirror of https://github.com/garrytan/gstack.git
12 lines
538 B
TypeScript
12 lines
538 B
TypeScript
|
|
|
|
export function generateSpawnedSessionCheck(): string {
|
|
return `If \`SPAWNED_SESSION\` is \`"true"\`, you are running inside a session spawned by an
|
|
AI orchestrator (e.g., OpenClaw). In spawned sessions:
|
|
- Do NOT use AskUserQuestion for interactive prompts. Auto-choose the recommended option.
|
|
- Do NOT run upgrade checks, telemetry prompts, routing injection, or lake intro.
|
|
- Focus on completing the task and reporting results via prose output.
|
|
- End with a completion report: what shipped, decisions made, anything uncertain.`;
|
|
}
|
|
|