Files
gstack/bin/gstack-claude-code
T
3b7254a54d v1.91.92.0 feat(outside-voice): enforce codex_reviews consent in the send binaries, codex_effort setting, privacy disclosures (Wave 9 Lane C) (#3144)
Outside-review consent (codex_reviews) is enforced in gstack-codex-probe
run-with-timeout, gstack-claude-code, gstack-outside-voice run and the
autoplan runner (not_run / consent_missing, exit 3; #3102). Codex reasoning
effort resolves GSTACK_CODEX_EFFORT, then codex_effort, then each gate's
default inside run-with-timeout --effort (D1-A; #3098, closes #2934). README
and telemetry privacy disclosures corrected (#1081, #1080, #1150).

Co-authored-by: Lockyer <135391289+Lockyer228@users.noreply.github.com>
Co-authored-by: Lubos Buracinsky <159481718+lubosxyz@users.noreply.github.com>
2026-10-11 19:09:12 +00:00

17 lines
808 B
TypeScript
Executable File

#!/usr/bin/env bun
// Claude-only outside-review runner. Prompts arrive on stdin, never argv.
// codex_reviews gates the send (lib/outside-consent.ts); --user-invoked marks
// a review the user asked for by name (/claude-code) and runs regardless.
import { claudeCodeMain } from '../lib/claude-code';
import { outsideConsent } from '../lib/outside-consent';
const argv = process.argv.slice(2);
const userInvoked = argv.includes('--user-invoked');
const consent = outsideConsent({ userInvoked });
if (!consent.allowed) {
process.stderr.write(consent.lines.join('\n') + '\n');
process.stdout.write(JSON.stringify({ status: 'not_run', reason: 'consent_missing', stderr: consent.lines.join('\n') }) + '\n');
process.exit(3);
}
process.exit(await claudeCodeMain(argv.filter(a => a !== '--user-invoked')));