Repository navigation
fix(skills): main is red because ci-and-supply-chain's body outgrew its limit - #495
Merged
Merged
Conversation
…ts limit `skills-check` fails on `main`: the `ci-and-supply-chain` body is 521 lines against a 500-line authoring limit, so every PR inherits a red gate. #449 is where it crossed — the "Merge queue and content-addressed skips" section took the body from 498 to 521. Nothing is wrong with that section; the body was simply one addition away from the limit and nobody was holding the budget. It is the same shape as the `entities-index` count going stale twice: a per-PR check that passes on each branch and not on the merge. Fixed by moving the 110 lines about **agentic workflows** out to `references/agentic-workflows.md`, which is what the limit is for rather than a way around it. That subsystem is the right thing to move: all four `gh-aw` workflows and `agent-task.yml` are merged and DISABLED — `engine: copilot` needs a real `COPILOT_GITHUB_TOKEN`, the repo has no secrets, so every trigger died at `activation`. This skill loads at the start of any session touching CI, and 110 lines about a subsystem that cannot currently run is exactly the detail that belongs one hop away. The body keeps a seven-line statement of the disabled state and that the workflows fail *closed*, which is the part a reader needs without following the link, and points at the reference for re-enabling them, the safe-output boundary, the `sccache` env that must match `rust.yml` byte-for-byte, and the disk-reclaim step that must not be copied. Verified the moved text is byte-identical to what was removed, modulo one heading level. Body now 424 lines; `skills-check: ok` over 19 skills. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
Main is red
skills-checkfails onmain:(521 in the tree; the check counts the body.) Every PR inherits it, so this
blocks merges.
Where it crossed
ac16741b#481f3b7f9f3#449 merge queue + content-addressed gate skips2d2a0fcd#489#449's "Merge queue and content-addressed skips" section is what took it over.
Nothing is wrong with that section — the body was one addition away from the
limit and nobody was holding the budget. Same shape as the
entities-indexcount going stale twice this week: a per-PR check that passes on each branch
and not on the merge.
The fix
Moved the 110 lines on agentic workflows (and the
agent-task.ymldispatcher) to
references/agentic-workflows.md— which is what the limit isfor, rather than a way around it.
That subsystem is the right one to move: all four
gh-awworkflows andagent-task.ymlare merged and disabled.engine: copilotneeds a realCOPILOT_GITHUB_TOKEN, this repo has no secrets, so every trigger died atactivation. This skill loads at the start of any session that touches CI, and110 lines about a subsystem that cannot currently run is exactly the detail that
belongs one hop away.
The body keeps seven lines — that the workflows are disabled and that they fail
closed (agent, detection and
safe_outputsall skip, nothing posted), whichis what a reader needs without following the link — and points at the reference
for re-enabling them, the safe-output boundary, the
sccacheenv that must matchrust.ymlbyte-for-byte, and the disk-reclaim step that must not be copied.Verification
level (
diffclean, 91 non-blank lines each way)skills-check: ok, 19 skills examined🤖 Generated with Claude Code