Repository navigation
skills/setup-override-upstream: trim frontmatter to fit metadata budget - #128
Conversation
Trims setup-override-upstream frontmatter from 1,096 → 892 chars (margin 440 → 644). Drops the parenthetical rationale "(some overrides encode project-specific decisions and should stay local)" (covered by the body's generalisability discussion), the abstraction-example list "(configurable parameter, optional step, changed default, etc.)" (body's design-decision section enumerates these), and the implementation detail "runs the framework's pre-commit" (standard project workflow, covered in body). The when_to_use is untouched — every line is a literal trigger phrase or a routing skip cue. All five literal trigger phrases preserved verbatim. The post-merge override-removal flow stays in the frontmatter as a routing signal. Tracking: #118
choo121600
left a comment
There was a problem hiding this comment.
The trim is clean and the body accounting checks out.
A few observations:
Budget note: the pre-change total (1,096 chars) was already 440 chars under the 1,536 limit, so this PR was not required by the validator. It is a legitimate style improvement — the post-trim description is more concise — but worth flagging so the tracking issue (#118) records that this file was never a compliance failure.
runs the framework's pre-commit: removed from the description chain. Confirmed still present in the body at Walk-through Step 5 §3 (prek run --all-files). No information loss — it is an implementation detail, not a routing signal, and belongs in the body.
Trigger phrases: all five literals in when_to_use are unchanged. Routing recall does not regress.
/setup-steward upgrade cross-reference: kept in the frontmatter description (post-merge cleanup flow). Correct placement — that sentence is a routing signal telling the agent this skill self-cleans after upgrade.
Everything else the description previously contained (generalisability parenthetical, abstraction-example list) is accounted for in the body. Approving.
🤖 This review was drafted by an AI-assisted tool. An apache-steward maintainer has read and confirmed it before posting; mistakes are still possible — point them out and the maintainer will sort it. See CONTRIBUTING.md for what an apache-steward maintainer review covers.
Summary
Trims
setup-override-upstreamfrontmatter (description+when_to_use) from 1,096 → 892 characters.Same principle as #103 and the rest of #118's audit pass: frontmatter is the routing layer. The body covers the generalisability test, the design-decision example list, and the pre-commit step.
Tracking: #118
Before / after
when_to_useis untouched — every line is either a literal trigger phrase or a routing skip cue ("typically after running the override locally for a while") and has to stay verbatim.What moved where
(some overrides encode project-specific decisions and should stay local)(rationale parenthetical)(configurable parameter, optional step, changed default, etc.)(abstraction-example list)runs the framework's pre-commit(implementation detail)The post-merge override-removal flow ("After the PR merges and the adopter runs
/setup-steward upgrade, the override file is no longer needed and the skill prompts for its removal") is kept in the frontmatter — it is the only routing signal that tells the agent this skill cleans up after itself.Trigger-phrase preservation
Every literal trigger phrase from the original
when_to_useis preserved verbatim:"upstream my override""promote this override to the framework""convert my local modification into a steward feature""make this override a framework feature""open a PR to apache-steward for this override"Routing skip cue preserved:
Routing recall does not regress.