Follow CLONE_THREAD edges across strace -ff files when excluding the ownership process's stat/status reads. Keep provider child processes outside the allowance and document the same-process attribution limit. Validate setup result array shapes and preserve the original failed-plan JSON instead of masking it with a diagnostic TypeError.
9 lines
358 B
TypeScript
9 lines
358 B
TypeScript
/** Preserve an unexpected JSON result while describing the failed plan check. */
|
|
export function setupPlanFailureMessage(options: {
|
|
readonly planned: unknown;
|
|
readonly plannedExecution: { readonly status: number | null };
|
|
readonly plannedClaudeConfig: string;
|
|
readonly plannedCodexConfig: string;
|
|
readonly plannedCursorConfig: string;
|
|
}): string;
|