MCPcopy Index your code
hub / github.com/garrytan/gstack / captureInstruction

Function captureInstruction

test/codex-e2e-plan-format.test.ts:152–154  ·  view source on GitHub ↗
(outFile: string)

Source from the content-addressed store, hash-verified

150// Capture instruction — same shape as the Claude version. Codex may ignore tool calls,
151// so we tell it to write prose to the file directly.
152function captureInstruction(outFile: string): string {
153 return `Write the verbatim text of every AskUserQuestion you would have presented to the user to the file ${outFile} (one question per session, full text including the re-ground, ELI10 paragraph, RECOMMENDATION line, and options). Do NOT ask the user interactively. Do NOT paraphrase. This is a format-capture test, not an interactive session.`;
154}
155
156// --- Regex predicates ---
157// Match RECOMMENDATION lenient to markdown bolding around it.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected