fix: enforce Codex 1024-char description limit + auto-heal stale installs (v0.11.9.0)#391
Merged
fix: enforce Codex 1024-char description limit + auto-heal stale installs (v0.11.9.0)#391
Conversation
…alls Build-time guard in gen-skill-docs.ts throws if any Codex description exceeds 1024 chars. Setup always regenerates .agents/ to prevent stale files. One-time migration in gstack-update-check deletes oversized SKILL.md files so they get regenerated on next setup/upgrade.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gen-skill-docs.tsnow throws if any Codex description exceeds 1024 chars — prevents shipping broken skills.agents/(<2s, eliminates all stale-file scenarios)gstack-update-checkdeletes oversized Codex SKILL.md files on existing installs so next setup/upgrade regenerates them.agents/skills/gstack-claude/)Prerequisites
agents/openai.yamlmetadata by @malikrohail) — mergedTest Coverage
All 557 free tests pass (0 failures). New tests:
Pre-Landing Review
No issues found. No SQL, no LLM trust boundaries, no frontend files.
Adversarial Review
Codex (medium tier, 82 lines) found 3 P1s:
bun run gen:skill-docsfrom runtime root (no bun/scripts) → Fixed: now deletes oversized files instead of regeneratingTODOS
Test plan
bun run gen:skill-docs --host codexproduces no errors.agents/descriptions under 1024 chars🤖 Generated with Claude Code