Repository navigation
fix(release-verify-rc): use placeholders in step-6 artefact example - #971
Conversation
Replace the concrete apache-airflow-2.11.0-source-release worked example with the skill's existing <artefact-source-release> token so the extension-stripping lesson stays project-agnostic. Signed-off-by: shaurya2k06 <[email protected]>
|
The placeholder swap is right in principle, but these lines are inside ## Step 6 — Binary exclusion check, and step-config.json extracts that step as the system prompt for step-6-binary-exclusion. Both of its cases expect paste_recipe to contain find apache-airflow-2.11.0-source-release …, and that field is judge-graded, so this is a prompt change with a fixture dependency. Could you run that suite before this merges? Note: I ran it and am seeing failures.
|
potiuk
left a comment
There was a problem hiding this comment.
LGTM — this is a straight application of the project's own rule, and it fixes a real leak. AGENTS.md § Placeholder convention used in skill files is explicit:
Writing a literal project value directly into a skill is a refactor bug — skills must stay project-agnostic so swapping projects is a config change, not a code change.
apache-airflow-2.11.0-source-release.tar.gz was exactly that: one adopter's concrete artefact name baked into a governance-agnostic skill.
Two things I checked that make this the right shape of fix rather than a new convention:
- The placeholder is not invented here —
<artefact-source-release>is already in use 96 lines earlier in this same file, in the unpack recipe itself (tar -xf <artefact-source-release>.tar.gz # or .zip). This change makes the prose at line 453 agree with the command at line 357 instead of contradicting it. - The surrounding warning still lands. "Do not drop the
-source-releasesuffix or substitute a shortened name" reads fine against the placeholder — arguably better, since the placeholder name itself carries the-source-releasesuffix the sentence is telling the agent to preserve.
Smaller observations
- Not this PR's problem, and explicitly not something to fix here:
<artefact-source-release>is not listed in theAGENTS.mdplaceholder table, even though that section says "Do not invent new placeholders." That gap predates this change (line 357 already relies on it), and your PR reduces the inconsistency rather than adding to it. It is worth a separate follow-up to either register the placeholder in the table or thread the value through the project manifest — I will track that separately, so please don't expand this PR's scope.
Thanks — small, surgical, and it cites the right convention.
This review was drafted by an AI-assisted tool and
confirmed by an Apache Magpie maintainer. The maintainer
approving this PR has read the findings and signed off. If
something feels off, please reply on the PR and a maintainer
will follow up.More on how Apache Magpie handles maintainer review:
CONTRIBUTING.md § Opening a pull request.
Summary
apache-airflow-2.11.0-source-releaseworked example inrelease-verify-rcstep 6 with the skill's existing<artefact-source-release>placeholder so the extension-stripping lesson stays project-agnostic.
.tar.gz/.zip),do not drop the
-source-releasesuffix.Type of change
.claude/skills/<name>/) — eval fixtures updated belowtools/<system>/*.md)tools/*/withpyproject.toml)docs/,README.md,CONTRIBUTING.md)projects/_template/)prek, workflows, validators)Test plan
uv run --project tools/skill-and-tool-validator skill-and-tool-validatepassestools/dev/check-placeholders.shpassesprek run --files skills/release-verify-rc/SKILL.mdpasses (includescheck-placeholders+skill-and-tool-validate)eval fixtures intentionally keep concrete names under the allowlisted
tools/skill-evals/evals/pathRFC-AI-0004 compliance
Linked issues
Closes #945