Repository navigation
Add updated admonition guidance to docs review and style sweep - #432
Merged
Merged
Conversation
There was a problem hiding this comment.
Requesting changes: the updated review prompt introduces contradictory instructions for stacked admonitions in the compiled workflow, so the reviewer can receive conflicting guidance in one run. Please align the criteria and runtime prompt text, then regenerate the lock file.
What is this? | From workflow: PR Review
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
Related to elastic/docs-eng-team#1117 Co-Authored-By: Claude Opus 5.5 <[email protected]>
theletterf
force-pushed
the
admonition-guidance
branch
from
October 26, 2026 10:10
4249110 to
afc21e6
Compare
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ance Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
theletterf
added a commit
that referenced
this pull request
Oct 26, 2026
elastic-docs-skills#169 merged after #432, so the docs-review lock no longer matched what the compiler produces and the pre-commit compile hook failed. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
theletterf
added a commit
that referenced
this pull request
Oct 26, 2026
* Pass the project option ID as a string in project-metadata gh -F casts an all-digit value to an integer, so a single-select option ID such as 69897712 failed the updateProjectV2ItemFieldValue mutation with 'Variable $option of type String! was provided invalid value'. Use -f so the ID always stays a string. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Recompile the docs review lock with the merged review criteria elastic-docs-skills#169 merged after #432, so the docs-review lock no longer matched what the compiler produces and the pre-commit compile hook failed. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[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.
Vlada is updating the admonition guidance after the writers' calibration sessions, and the PR review workflow needs to apply it like the skills do.
The new guidance (elastic/docs-content#8957, elastic/docs-content-internal#2067, elastic/docs-builder#4545) asks for no more than one admonition per section, puts task-critical content in the body, and reserves warning and important admonitions for real risk. It also rules out fixing stacked admonitions by merging them into one bigger callout.
The review rubric itself comes from
review-criteria.mdin elastic-docs-skills, which elastic/elastic-docs-skills#169 updates. Two rubric lines are hardcoded in this repo, so this PR updates them:gh-aw-docs-review.md: the Style criterion now flags more than one admonition per section, task-critical content inside an admonition, and warnings that don't flag real risk. It suggests moving content into the body instead of merging callouts.gh-aw-docs-style-sweep.md: one new formatting checklist item with the same rules.Both lock files are recompiled with the pinned gh-aw (v0.92.5).
This is a draft until elastic/elastic-docs-skills#169 merges. After that, I'll run a bare
gh aw compile --force-refresh-action-pinson this branch so the review lock picks up the newreview-criteria.md. Without the refresh, the lock keeps the cached skills SHA. I haven't run it in the sandbox yet; the change is prompt text only.Related to elastic/docs-eng-team#1117
🤖 Generated with Claude Code