From 4c413c6f10dabf78de8245b6c04cb85559f0397e Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 23 Mar 2026 23:51:15 -0700 Subject: [PATCH] fix: add missing OPENAI_SHORT_DESCRIPTION_LIMIT constant The merge from main dropped this constant (defined in resolvers/codex-helpers.ts on main's modular version, but needed inline in our monolithic version). Caused CI check-freshness to fail on `--host codex` generation. Co-Authored-By: Claude Opus 4.6 --- scripts/gen-skill-docs.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gen-skill-docs.ts b/scripts/gen-skill-docs.ts index 4dbc4ad1..a3831701 100644 --- a/scripts/gen-skill-docs.ts +++ b/scripts/gen-skill-docs.ts @@ -2877,6 +2877,8 @@ function extractNameAndDescription(content: string): { name: string; description return { name, description }; } +const OPENAI_SHORT_DESCRIPTION_LIMIT = 120; + function condenseOpenAIShortDescription(description: string): string { const firstParagraph = description.split(/\n\s*\n/)[0] || description; const collapsed = firstParagraph.replace(/\s+/g, ' ').trim();