From ba7225d0571224aff74c2e918f6cf9eac530bc40 Mon Sep 17 00:00:00 2001 From: ezl-keygraph Date: Mon, 5 Oct 2026 04:00:25 +0530 Subject: [PATCH] chore(preflight): suggest a fallback model in cyber-access remediation hints --- apps/worker/src/temporal/workflow-errors.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/worker/src/temporal/workflow-errors.ts b/apps/worker/src/temporal/workflow-errors.ts index a3ef6e16..e308a4f0 100644 --- a/apps/worker/src/temporal/workflow-errors.ts +++ b/apps/worker/src/temporal/workflow-errors.ts @@ -67,9 +67,9 @@ const REMEDIATION_HINTS: Record = { WorkspaceNotFoundError: 'check the -w name against: shannon scans', PipelineFailedError: 're-run the same -w to retry from the last checkpoint.', OpenAiCyberAccessError: - 'Your OpenAI organization must be approved for cyber use. Apply for Daybreak access at https://openai.com/daybreak, then retry.', + 'Your OpenAI organization must be approved for cyber use. Apply for Daybreak access at https://openai.com/daybreak, then retry. Or set SHANNON_AI_MODEL=openai:gpt-5.4 instead.', AnthropicCyberAccessError: - 'Your Anthropic organization must complete cyber verification. See https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude-opus-and-sonnet, then retry.', + 'Your Anthropic organization must complete cyber verification. See https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude-opus-and-sonnet, then retry. Or set SHANNON_AI_MODEL=anthropic:claude-sonnet-4-6 instead.', }; /**