docs(providers): fix review-noted comment nits (dup token + OCP line-ref 783-784)

Independent review (Iron Rule 10) findings 1+2, both non-blocking comment-only.

Co-Authored-By: Claude <claude-opus-4-8> <noreply@anthropic.com>
This commit is contained in:
2026-05-31 17:25:08 +10:00
co-authored by Claude <claude-opus-4-8> <noreply@anthropic.com>
parent 422512d2b2
commit 2963547a98
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -980,7 +980,7 @@ async function* _spawnAndStream(irRequest, authContext, spawnImpl, isolationCtx)
console.error(JSON.stringify({ ts: new Date().toISOString(), level: 'warn', event: 'stdin_write_error', error: e.message })); console.error(JSON.stringify({ ts: new Date().toISOString(), level: 'warn', event: 'stdin_write_error', error: e.message }));
}); });
} }
// OCP server.mjs:586-587: proc.stdin.write(prompt); proc.stdin.end(); // OCP server.mjs:783-784: proc.stdin.write(prompt); proc.stdin.end();
proc.stdin.write(prompt); proc.stdin.write(prompt);
proc.stdin.end(); proc.stdin.end();
+1 -1
View File
@@ -508,7 +508,7 @@ async function* _spawnAndStream(irRequest, authContext, spawnImpl, isolationCtx)
// Guard stdin writes against EPIPE (child may close stdin before we finish // Guard stdin writes against EPIPE (child may close stdin before we finish
// writing — e.g. on auth error, bad model, or oversized prompt). // writing — e.g. on auth error, bad model, or oversized prompt).
// Port of OCP server.mjs:780. // Port of OCP server.mjs:780.
// Authority: codex CLI Codex CLI reference (https://developers.openai.com/codex/cli/reference) // Authority: Codex CLI reference (https://developers.openai.com/codex/cli/reference)
// observed behaviour — fast-failing spawn closes stdin before OLP finishes writing. // observed behaviour — fast-failing spawn closes stdin before OLP finishes writing.
// ALIGNMENT.md Rule 2: no CLI operation changed; guard is a Node stream safety net. // ALIGNMENT.md Rule 2: no CLI operation changed; guard is a Node stream safety net.
// The typeof guard protects test-injected mock stdin objects that are plain // The typeof guard protects test-injected mock stdin objects that are plain