Skip to content

fix(skills): main is red because ci-and-supply-chain's body outgrew its limit - #495

Merged
athvin merged 1 commit into
mainfrom
bm/skills-ci-body-over-limit
Nov 5, 2026
Merged

athvin merged 1 commit into
mainfrom
bm/skills-ci-body-over-limit

Conversation

@athvin

@athvin athvin commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Main is red

skills-check fails on main:

FAIL ci-and-supply-chain: SKILL.md body is 517 lines (max 500)

(521 in the tree; the check counts the body.) Every PR inherits it, so this
blocks merges.

Where it crossed

commit body
ac16741b #481 498
f3b7f9f3 #449 merge queue + content-addressed gate skips 521
2d2a0fcd #489 521

#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-index
count 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.yml
dispatcher) to references/agentic-workflows.md — which is what the limit is
for, rather than a way around it.

That subsystem is the right one to move: all four gh-aw workflows and
agent-task.yml are merged and disabled. engine: copilot needs a real
COPILOT_GITHUB_TOKEN, this repo has no secrets, so every trigger died at
activation. This skill loads at the start of any session that touches CI, and
110 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_outputs all skip, nothing posted), which
is what 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.

Verification

  • Moved text is byte-identical to what was removed, modulo one heading
    level (diff clean, 91 non-blank lines each way)
  • Body now 424 lines
  • skills-check: ok, 19 skills examined

🤖 Generated with Claude Code

…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]>
@athvin
athvin merged commit 1b144ba into main Nov 5, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants