mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-16 09:55:29 +02:00
* feat: add a restricted and supervised Claude Code runner Preserve configured authentication and models while enforcing tool access, strict completion JSON, bounded output and process cleanup. Cover argv, failure handling, session metadata and Windows process containment. * feat: route outside reviews by harness and migrate wrapper installs Use Claude Code from Codex and Codex from other supported hosts, with shared invocation rendering, positive gate validation and per-phase provenance. Rename /claude to /claude-code, repair managed shared and copied installations safely, and generate native Kiro skills. Add installed-workflow, failure-injection and live cross-harness regression coverage. * test: recognize CEO mode labels without terminal spacing The paid workflow rendered SCOPEEXPANSION at option 4, but its driver required a literal space. Match the leading mode title without cursor-spacing artifacts and ignore adjacent preview text. Preserve missing-target failures and downstream posture assertions. * test: isolate plan-count fixtures before starting review workflows Seed the complete test plan in a private git repository before launching Claude, so a bare slash command cannot review the live workspace while a delayed fixture message remains queued. Preserve count thresholds, parsers and budgets. Add initial-context and installed-discovery tests, and retain startup/terminal diagnostics on failed evaluations. * test: stabilize review fixtures and Claude eval startup Preserve source boundaries in workflow judge inputs, isolate CEO mode plans, and wait for interactive trust input readiness. Keep startup failure evidence and retain existing models, budgets, and assertions. Co-Authored-By: OpenAI Codex <noreply@openai.com> * test: classify collapsed review modes and isolate seeded findings Keep review questions out of the setup count when terminal cursor positioning removes spaces. State existing webhook safeguards so the five-finding control measures its seeded defects without accidental extra security and concurrency gaps. Preserve question bands and the paired control. Co-Authored-By: OpenAI Codex <noreply@openai.com> * test: isolate browser daemon state across free shards Co-Authored-By: OpenAI Codex <noreply@openai.com> * test: stabilize native review counting and interactive navigation Co-Authored-By: OpenAI Codex <noreply@openai.com> * chore: prepare v1.82.0.0 release Co-Authored-By: OpenAI Codex <noreply@openai.com> * fix: eliminate browser and process-cleanup test flakes Pin every CI surface to Bun 1.4.0 to avoid extra-stdio finalizers closing reused live sockets. Add an isolated GC/listener regression that fails on Bun 1.3.13, and prevent coordinated rollback to an affected CI runtime. Check renderer cleanup against the render's own staging directory so concurrent renders cannot invalidate the assertion. Make the no-pgrep process-tree walk tolerate disappearing /proc entries, and synchronize its test fixture through child readiness and pipe EOF instead of sleeps. Validation: 9,157 passed, 31 skipped, zero failures across 556 files with retries disabled. Build, all-host generation freshness, and skill checks passed. All three races have failing-before/passing-after regressions. * fix: count completed native review questions in evals * fix: drive review navigation from confirmed native choices * fix: require complete section-loading eval reports * test: isolate telemetry HTTP transport from local assertions * fix: keep review input on the active native question * test: let tunnel revocation daemon choose an available port * test: allocate available ports for pairing and watchdog fixtures * fix: stabilize planning eval navigation and phase reporting * test: isolate installed runtime paths in planning evals * test: stabilize review evidence and concurrent refresh fixtures * fix: resolve design findings before editing the plan * fix: honor and persist disabled outside plan reviews * fix: preserve planning decisions and terminal evidence Load installed host reviews at autoplan phase entry and wait for completed reviewers and saved artifacts. Reuse approved remedies while preserving individual finding decisions. Drive interactive evals from the current terminal viewport, bind native questions across scrolling, and require complete native report evidence. Cover captured stale menus, permission lifecycles, setup classification, and disabled-review tool availability with deterministic regressions. Advance release metadata and the upgrade migration to the unclaimed 1.83.0.0 slot. * fix: drive native review questions and preserve current plans Use the native single-choice keyboard protocol and current terminal viewport, with per-question navigation inside packets and completed-call coverage. Keep permissions, multi-select menus, and Submit controls distinct. Send Autoplan reviewers the amended implementation plan, keep its review record separate, and supply retained application contracts in the chain fixture. Clarify individual DevEx decisions and complete CEO fix options; use one active plan destination for the section-loading report. * fix: preserve complete plan-review decisions * fix: recognize native plan dialogs and reviewer controls * fix: preserve review decisions and phase completion * fix: recognize completed reviews without losing findings * fix: preserve review continuity and native eval completion * test: fix native review completion and eval retry isolation * test: handle native review menus and complete eval fixtures * test: fix native review setup, completion, and isolation failures * test: limit native skill discovery to runtime assets * fix: bind Autoplan reviews to full ordered phase inputs * test: fix planning eval routing, counting, and timeout handling * chore: advance queued release to v1.84.0.0 * fix: preserve complete review inputs and planning decisions * fix: reconcile review approvals and preserve phase obligations * fix: preserve review obligations and unblock eval permissions Carry recorded Autoplan requirements into blind phase inputs, require Eng review approvals before exit, and exercise combined asynchronous flows in CEO reviews. Correct native finding and handoff classification and unblock repeated report edits using scoped request identities. * fix: retain plan requirements and complete native review dialogs * fix: complete native review prompts and retain plan references * fix: preserve review inputs and classify native eval evidence * fix: check competing completion orders in CEO reviews * fix: recognize review decisions and require phase methodology Require the current phase methodology before Autoplan snapshots. Correct substantive decision, closed handoff, and cache-finding classification, and honor the recommended implementation approach in native review dialogs. Add captured-transcript regressions without changing review thresholds, provider models, retries, or deadlines. * test: bind native review decisions and close completed handoffs * fix: complete review dialogs and verify methodology delivery * fix: preserve review evidence and unblock native eval prompts * fix: handle native review question completions * fix: recognize native review narration and controls * fix: count native review decisions and isolate eval fixtures * test: verify seeded review coverage and current artifact permissions * test: isolate model and brain-aware skill renders * fix: repair native workflow evaluation and clarify review steps * fix: stabilize workflow eval evidence and review guidance * test: repair native workflow observation and fixture isolation * fix: recognize completed workflow evidence and owned skill reads * test: repair seeded workflow delivery and completion evidence * test: recognize current review evidence across native forms * test: handle native review variants and permission redraws * fix: honor review preferences and recognize native eval evidence * test: recognize completed review decisions and queued permissions * test: match current review contracts and partial-line edits * test: recognize completed workflow evidence and bounded human waits * fix: preserve review entry gates and native eval interactions * fix: recognize native workflow evidence and preserve review gates * test: recognize current review evidence and preconfigure workflow fixtures * test: recognize completed review findings and scoped artifact permissions * fix: stabilize native workflow review and permission evidence * fix: recognize current review evidence and scoped edit confirmations Clarify Design and engineering review entry instructions and Design scoring. Recognize required legacy coverage and public Autoplan completion recaps. Bind the pending Edit confirmation to its exact file, ordered digest, and one-request approval when a preceding command display remains visible. Keep reviews within their existing size limits and preserve scope gates when extracting workflow fixtures from either supported preamble header. Keep failure outcomes, review thresholds, provider choices, and eval budgets. * fix: recover review workflow progress and eval evidence * fix: recognize valid review evidence and scope selection * test: fix review evidence parsing and repeated artifact prompts * test: recognize valid review decisions and pending native cards * fix(plan-eng-review): keep final navigation consistent with approved tasks * test: recognize valid review evidence and bind legacy diff requests * fix: stabilize review eval evidence and harness repair guidance * docs: update project documentation for v1.85.0.0 Co-Authored-By: OpenAI Codex <noreply@openai.com> * test: fix Windows CI fixtures and credential scan Rebase captured JSON values and filesystem evidence using the appropriate path convention. Compile native fake CLIs on Windows and synchronize pipe holder readiness, with cleanup retained when assertions fail. Assemble synthetic credential fixtures at runtime so the added-line scan keeps enforcing the same gate without flagging its own rejection controls. Discover generated skills directly for the empty-find regression check, avoiding a recursive scan through saved evaluation artifacts and dependencies. * fix: preserve source renders on Windows Compare canonical generator paths using native separators so an output sidecar pointing at the source cannot overwrite its skill or metadata. Keep the regression fixture isolated from the real checkout and expose freshness diagnostics before asserting subprocess status. Detach Windows drain-test pipe holders from the fake provider's automatic child cleanup while preserving the enclosing runner job and its assertions. * fix: clarify outside review fallback and CEO decisions Render one applicable own-harness fallback path and retain native review, disabled policy, and missing-coverage semantics. Align report field names and mode labels, and make the existing per-cut scope approval explicit. Regenerate skill outputs and keep the workflow judge's model, thresholds, and retry policy unchanged. * chore: move release to free version slot (v1.86.0.0) PR #2852 now claims v1.85.0.0. Align the release metadata and rename migration so upgrades from that version still receive it. Co-Authored-By: OpenAI Codex <noreply@openai.com> * fix: include engineering review prerequisites and restore branch context * fix: recognize coverage diagrams and clarify design review instructions * fix: preserve file identities and join Windows test processes --------- Co-authored-by: OpenAI Codex <noreply@openai.com>
176 lines
13 KiB
TypeScript
176 lines
13 KiB
TypeScript
/** Isolated real-parent fixture and execution oracle for the plan-review off switch. */
|
|
import { mkdirSync, readFileSync, symlinkSync, unlinkSync, writeFileSync } from 'node:fs';
|
|
import { delimiter, join } from 'node:path';
|
|
import { spawnSync } from 'node:child_process';
|
|
import { extractSkillSections } from './skill-fixture';
|
|
import { claudeOutsideExecutions } from './outside-voice-evidence';
|
|
|
|
export const OUTSIDE_PLAN_SECTION = 'Outside Voice — Independent Plan Challenge (default-on)';
|
|
|
|
/** Extract generated instructions; runtime paths are the only content substitution. */
|
|
export function installDisabledPlanReviewFixture(rendered: string, repo: string, runtimeRoot: string) {
|
|
const source = join(rendered, 'plan-eng-review');
|
|
const main = readFileSync(join(source, 'SKILL.md'), 'utf8');
|
|
const frontmatter = main.match(/^---\r?\n[\s\S]*?\r?\n---\r?\n/)?.[0];
|
|
if (!frontmatter) throw new Error('Generated plan-eng-review has no frontmatter');
|
|
// The shared plan challenge is lazily loaded. Give the established,
|
|
// fence-aware extractor its frontmatter without copying any workflow prose.
|
|
const input = join(repo, 'outside-plan-source.md');
|
|
writeFileSync(input, frontmatter + readFileSync(join(source, 'sections/review-sections.md'), 'utf8'));
|
|
let generated: string;
|
|
try { generated = extractSkillSections(input, [OUTSIDE_PLAN_SECTION]); }
|
|
finally { unlinkSync(input); }
|
|
symlinkSync(runtimeRoot, join(repo, 'runtime'), 'dir');
|
|
const instructions = generated
|
|
.replaceAll('$HOME/.claude/skills/gstack', '$PWD/runtime')
|
|
.replaceAll('~/.claude/skills/gstack', './runtime');
|
|
const workflowPath = join(repo, 'OUTSIDE-PLAN.md');
|
|
writeFileSync(workflowPath, instructions);
|
|
|
|
const stateDir = join(repo, 'gstack-state');
|
|
const configDir = join(repo, 'claude-config');
|
|
const spyDir = join(repo, 'cli-bin');
|
|
const cliDispatchLog = join(repo, 'outside-cli-dispatch.log');
|
|
for (const dir of [stateDir, configDir, spyDir]) mkdirSync(dir, { recursive: true });
|
|
// A forbidden invocation is observable without buying another model call.
|
|
// No prompt/credentials are recorded; even --version/auth probes count.
|
|
writeFileSync(join(spyDir, 'codex'), '#!/bin/sh\nprintf "codex invoked\\n" >> "$GSTACK_DISABLED_CLI_LOG"\nexit 73\n', { mode: 0o755 });
|
|
const env = {
|
|
PATH: `${spyDir}${delimiter}${process.env.PATH ?? ''}`,
|
|
CLAUDE_CONFIG_DIR: configDir,
|
|
GSTACK_HOME: stateDir,
|
|
GSTACK_STATE_ROOT: stateDir,
|
|
GSTACK_DISABLED_CLI_LOG: cliDispatchLog,
|
|
GSTACK_ACTIVE_HOST: 'claude',
|
|
GSTACK_PROJECT_SLUG: 'disabled-plan-fixture',
|
|
};
|
|
const config = spawnSync(join(runtimeRoot, 'bin/gstack-config'), ['set', 'codex_reviews', 'disabled'], {
|
|
cwd: repo, env: { ...process.env, ...env }, encoding: 'utf8', timeout: 5_000,
|
|
});
|
|
if (config.status !== 0) throw new Error(`Cannot seed isolated review control: ${config.stderr}`);
|
|
// Seed real historical coverage so the new disabled record must replace it
|
|
// in the dashboard's latest-record view, not merely appear in final prose.
|
|
const prior = {
|
|
skill: 'codex-plan-review', timestamp: new Date(Date.now() - 60_000).toISOString(),
|
|
status: 'clean', source: 'codex', host: 'claude', outside_provider: 'codex',
|
|
outside_status: 'completed', phase: 'plan-review',
|
|
};
|
|
const logged = spawnSync(join(runtimeRoot, 'bin/gstack-review-log'), [JSON.stringify(prior)], {
|
|
cwd: repo, env: { ...process.env, ...env }, encoding: 'utf8', timeout: 5_000,
|
|
});
|
|
if (logged.status !== 0) throw new Error(`Cannot seed historical review: ${logged.stderr}`);
|
|
const slug = spawnSync(join(runtimeRoot, 'bin/gstack-slug'), [], {
|
|
cwd: repo, env: { ...process.env, ...env }, encoding: 'utf8', timeout: 5_000,
|
|
});
|
|
const branch = /^BRANCH=([a-zA-Z0-9._-]+)$/m.exec(slug.stdout)?.[1];
|
|
if (slug.status !== 0 || !branch) throw new Error('Cannot resolve isolated review-log branch');
|
|
const reviewLogPath = join(stateDir, 'projects', env.GSTACK_PROJECT_SLUG, `${branch}-reviews.jsonl`);
|
|
const priorRecord = JSON.parse(readFileSync(reviewLogPath, 'utf8').trim());
|
|
return { workflowPath, instructions, generated, stateDir, cliDispatchLog, reviewLogPath, priorRecord, env };
|
|
}
|
|
|
|
/** A dated log value belongs to its record, not to the workflow quoting it. */
|
|
function preRunLogRecordValue(before: string, nextClause: string): boolean {
|
|
const owner = /^(?:the\s+)?review\s+log\s+(?:already\s+)?(?:held|contained)\s+an?\s+(?:record|entry|line)\b/i.exec(before.trim());
|
|
if (!owner) return false;
|
|
const value = before.trim().slice(owner[0].length);
|
|
// This route requires both an explicit pre-run date and a reported review
|
|
// value. Arbitrary intervening prose cannot switch the reporting subject.
|
|
const datedValue = /^\s*,?\s*(?:timestamped|recorded|written)\s+(?:about\s+)?(?:a|an|one|two|\d+)\s+(?:minute|hour|day|week)s?\s+before\s+(?:this|my)\s+(?:run|session|workflow)\s*,?\s+(?:marking|recording)\s+an?\s+(?:clean|successful|completed)\s+(?:[a-z][a-z-]*\s+)?(?:plan\s+)?review\s+with\s*$/i;
|
|
if (!datedValue.test(value)) return false;
|
|
// The immediately following assertion must keep the same record as its
|
|
// subject and explicitly exclude this workflow as its origin. A later
|
|
// current completion occurrence is still checked independently below.
|
|
return /^(?:that|the|this)\s+(?:record|entry|line)\s+(?:was|is)\s+not\s+(?:produced|created|written|recorded)\s+(?:by|during|in)\s+(?:this|my)\s+(?:run|session|workflow)\b/i.test(nextClause.trim()) ||
|
|
/^(?:that|the|this)\s+(?:record|entry|line)\s+predates\s+(?:this|my)\s+(?:run|session|workflow)\s+and\s+was\s+not\s+(?:produced|created|written|recorded)\s+by\s+it\b/i.test(nextClause.trim()) ||
|
|
/^(?:that|the|this)\s+(?:record|entry|line)\s+(?:does not|doesn't|cannot)\s+(?:reflect|establish|provide|supply)\s+(?:current\s+)?outside\s+(?:review\s+)?coverage\s+(?:from|for)\s+(?:this|my)\s+(?:run|session|workflow)\b/i.test(nextClause.trim());
|
|
}
|
|
|
|
/** Check each completion mention; a historical record cannot excuse a later current claim. */
|
|
function hasUnattributedOutsideCompletion(output: string): boolean {
|
|
const marker = /\bboth reviewers agree\b|["']?\boutside_status["']*\s*[:=]\s*["']*completed\b/gi;
|
|
const clauses = output.replace(/[*`]/g, '').split(/\r?\n|(?<=[.!?;])\s+|\b(?:but|however|nevertheless|yet)\b[:,]?\s*/i);
|
|
return clauses.some((clause, clauseIndex) => [...clause.matchAll(marker)].some(match => {
|
|
const before = clause.slice(0, match.index).trimEnd();
|
|
// A quoted phrase is not automatically a denial. Require the local no-claim
|
|
// statement, so a second positive assertion in the same paragraph still fails.
|
|
const denied = /\bno\s*["'“”‘’]*\s*$/i.test(before)
|
|
|| /\b(?:(?:do|did|will|would|can|could)\s+not|cannot|can't|won't)\s+(?:claim|say|state|report)\s*["'“”‘’]*\s*$/i.test(before)
|
|
|| /\b(?:am|is|are)\s+not\s+(?:claiming|saying|stating|reporting)\s*["'“”‘’]*\s*$/i.test(before);
|
|
if (denied) return false;
|
|
// Agreement is a current prose claim unless explicitly denied; an old
|
|
// log entry only establishes the provenance of its recorded status value.
|
|
if (/^both reviewers agree$/i.test(match[0])) return true;
|
|
// A record explicitly dated before this run is historical even when its
|
|
// subject is "that record" rather than "the earlier record".
|
|
const datedBeforeRun = String.raw`\s+is\s+timestamped\s+(?:about\s+)?(?:a|an|one|two|\d+)\s+(?:minute|hour|day|week)s?\s+before\s+(?:this|my)\s+(?:run|session|workflow)`;
|
|
const recordPattern = new RegExp(String.raw`\b(?:(?:earlier|prior|historical|old(?:er)?)\s+(?:entry|record|line)|(?:that|the)\s+(?:entry|record|line)(?=${datedBeforeRun}))\b`, 'gi');
|
|
const record = [...before.matchAll(recordPattern)].at(-1);
|
|
if (!record) return !preRunLogRecordValue(before, clauses[clauseIndex + 1] ?? '');
|
|
// Bind this occurrence to an old record's reported value. A mere mention
|
|
// of a record, a second status, or a new reporting subject cannot inherit
|
|
// its historical attribution, even without a sentence boundary.
|
|
const prefix = before.slice(record.index + record[0].length);
|
|
// Date metadata still describes this record's own value. Admit explicit
|
|
// clock or pre-run timestamps, not arbitrary prose that can change subjects.
|
|
const clock = String.raw`\s+from\s+(?:[01]\d|2[0-3]):[0-5]\d,?`;
|
|
const beforeRun = String.raw`\s*,?\s*(?:written|recorded)\s+(?:about\s+)?(?:a|an|one|\d+)\s+(?:minute|hour|day|week)s?\s+before\s+this\s+(?:run|session|workflow)(?:\s+(?:started|began))?,?`;
|
|
const timestamp = String.raw`(?:${datedBeforeRun}\s+and|\s*,?\s*timestamped\b[^,;.!?]{1,160},?|${clock}|${beforeRun})`;
|
|
const report = new RegExp(String.raw`^(?:${timestamp})?\s*(?:(?:that\s+)?(?:claims?|claiming|shows?|showed|says?|said|records?|recorded|reported)\b|:)\s*`, 'i').exec(prefix);
|
|
// Only intervening review-log metadata belongs to this reported value.
|
|
// Arbitrary prose could switch to a new subject without an earlier status.
|
|
const field = String.raw`["']?(?:status|source|host|outside_provider|phase|timestamp)["']?\s*[:=]\s*["']?[a-z0-9_.:+-]+["']?`;
|
|
const metadata = new RegExp(String.raw`^(?:${field}\s*(?:,\s*|(?:with|and)\s*))*$`, 'i');
|
|
const reportsOldValue = report !== null && metadata.test(prefix.slice(report[0].length).trim());
|
|
const attribution = clause.slice(record.index).replace(/\bbefore\s+(?:this|my)\s+(?:run|session|workflow)\b/gi, 'beforehand');
|
|
const current = /\b(?:now|currently|current|today|new|updat\w*|append\w*|chang\w*|mark\w*|set|write|wrote)\b|\bthis\s+(?:run|session|workflow)\b/i.test(attribution);
|
|
return !reportsOldValue || current;
|
|
}));
|
|
}
|
|
|
|
export function disabledPlanReviewEvidence(result: {
|
|
exitReason: string; output: string; transcript: any[];
|
|
}, cliDispatchLog: string, reviewLog = '', priorRecord?: Record<string, unknown>) {
|
|
const init = result.transcript.find(event => event?.type === 'system' && event.subtype === 'init');
|
|
const terminal = result.transcript.filter(event => event?.type === 'result').at(-1);
|
|
const toolCalls = result.transcript.flatMap(event => event?.type === 'assistant' && Array.isArray(event.message?.content)
|
|
? event.message.content.filter((block: any) => block.type === 'tool_use') : []);
|
|
const fallbackCalls = toolCalls.filter((call: any) => call.name === 'Agent' || call.name === 'Task');
|
|
// Command text may contain an unexecuted guarded branch. Keep it for
|
|
// diagnostics; only the executable sentinel establishes CLI dispatch.
|
|
const outsideCommandMentions = toolCalls.filter((call: any) => call.name === 'Bash'
|
|
&& /\bcodex\s+(?:exec|review)\b|\bgstack-claude-code(?:['"])?\s+--/.test(String(call.input?.command ?? '')));
|
|
const disabledPreflight = claudeOutsideExecutions(result.transcript).filter(call => call.succeeded
|
|
&& /gstack-config\b/.test(call.command) && /codex_reviews\b/.test(call.command)
|
|
&& /^CODEX_MODE: disabled\s*$/m.test(call.output));
|
|
const completed = result.exitReason === 'success' && terminal?.subtype === 'success'
|
|
&& terminal.is_error !== true && typeof terminal.result === 'string' && terminal.result.trim().length > 0;
|
|
const disabledAttribution = /outside_status["'`*]*\s*[:=]\s*["'`*]*disabled\b/i.test(result.output)
|
|
|| result.output.split('\n').some(line => /\b(?:outside(?:\s+(?:voice|review))?|codex(?:\s+review)?)\b/i.test(line)
|
|
&& /\bdisabled\b/i.test(line) && !/\bnot\s+disabled\b/i.test(line));
|
|
const falseCompletion = hasUnattributedOutsideCompletion(result.output);
|
|
// Native CLI releases expose the requested subagent as Agent or Task.
|
|
// Availability never permits dispatch: fallbackCalls rejects both names.
|
|
const agentAvailable = Array.isArray(init?.tools) && init.tools.some((tool: unknown) => tool === 'Agent' || tool === 'Task');
|
|
let records: any[] = [];
|
|
let malformedLog = false;
|
|
try { records = reviewLog.trim() ? reviewLog.trim().split('\n').map(line => JSON.parse(line)) : []; }
|
|
catch { malformedLog = true; }
|
|
const planRecords = records.filter(record => record && typeof record === 'object' && record.skill === 'codex-plan-review');
|
|
const priorIndex = priorRecord ? planRecords.findIndex(record => JSON.stringify(record) === JSON.stringify(priorRecord)) : -1;
|
|
const latestRecord = planRecords.at(-1);
|
|
const persistedDisabled = !malformedLog && priorIndex >= 0 && priorIndex < planRecords.length - 1
|
|
&& priorRecord?.outside_status === 'completed' && latestRecord.status === 'skipped'
|
|
&& latestRecord.source === 'none' && latestRecord.host === 'claude'
|
|
&& latestRecord.outside_provider === 'codex' && latestRecord.outside_status === 'disabled'
|
|
&& latestRecord.phase === 'plan-review' && typeof latestRecord.timestamp === 'string'
|
|
&& typeof priorRecord.timestamp === 'string' && Number.isFinite(Date.parse(latestRecord.timestamp))
|
|
&& Date.parse(latestRecord.timestamp) > Date.parse(priorRecord.timestamp);
|
|
return {
|
|
passed: completed && agentAvailable && disabledPreflight.length > 0 && fallbackCalls.length === 0
|
|
&& cliDispatchLog.trim() === '' && disabledAttribution && !falseCompletion && persistedDisabled,
|
|
completed, agentAvailable, disabledAttribution, falseCompletion, persistedDisabled, latestRecord, malformedLog,
|
|
disabledPreflight, fallbackCalls, outsideCommandMentions, cliDispatchLog,
|
|
};
|
|
}
|