Repository navigation
Add applies-to / openings / style / typos sweeps + quality-sweep orchestrator - #124
Merged
Merged
Conversation
8 tasks
theletterf
force-pushed
the
docs-frontmatter-sweep
branch
from
May 5, 2026 08:13
bc64d2e to
96aa8bc
Compare
theletterf
force-pushed
the
docs-content-quality-sweeps
branch
from
May 5, 2026 08:16
1b19641 to
3bf2b7d
Compare
theletterf
force-pushed
the
docs-content-quality-sweeps
branch
from
May 5, 2026 08:53
2ace079 to
088cf4d
Compare
…estrator Builds on the foundational pattern established by docs-frontmatter-sweep: - `gh-aw-docs-applies-to-sweep` — validates `applies_to` correctness via `docs-applies-to-tagging` skill in audit-only mode. - `gh-aw-docs-openings-sweep` — vague-H1 / weak-opening / missing "Before you begin" via `docs-page-opening-optimizer`. Wires the `elastic-docs` MCP server so the agent can cross-check H1 distinctiveness against sibling pages on the public docs. - `gh-aw-docs-style-sweep` — Vale + Elastic style guide via `docs-check-style`. Categories include `tortured-sentence` for unambiguously bad construction (nested negations, garden-paths, deeply nested clauses) where reasonable rewrites are obvious. - `gh-aw-docs-typos-sweep` — deterministic codespell scan over the whole corpus (no rotation needed). Split out from style sweep so each fix-issue carries a single, routable category label (`docs-fix:typos` vs `docs-fix:style`); gh-aw treats `safe-outputs.create-issue.labels` as a per-workflow literal so they cannot be set per-call. - `agentic-workflows/docs-quality-sweep/` — orchestrator trigger template that fans out to all five sweeps as parallel `workflow_call` jobs, with an `inputs.sweeps` filter so consumers can run subsets via `gh workflow run docs-quality-sweep.yml -f sweeps=frontmatter,typos`. All sweeps file fix-issues in `elastic/docs-content-internal` via the `DOCS_FIX_ISSUES_TOKEN` secret. Each carries the `docs-quality-sweep` parent label plus a per-category `docs-fix:<category>` label, with `close-older-issues: true` so the issue tracker doesn't accumulate stale runs. Stacked on docs-frontmatter-sweep; merge that first. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Two more sweeps in the docs-quality-sweep family. Both are heavier than the existing five and benefit from isolated review. `gh-aw-docs-staleness-sweep`: - Stale content (page's latest commit older than `stale-content-months`, default 24). - Stale screenshots (image's last commit predates the doc by at least `stale-screenshot-min-gap-months`, default 6). - Broken external links via `lychee` in a pre-step. Internal Elastic domains are excluded by default. - Mentions of EOL product versions, identified via the elastic-docs MCP server (`search_docs` + `get_document_by_url` against the support matrix). Release-notes and upgrade pages are exempted. `gh-aw-docs-coherence-sweep`: - Detects duplicate / near-duplicate / contradictory content vs. published Elastic docs. Each in-scope page → focused query → `find_related_docs` (capped at `max-related-per-page`, default 3) → `get_document_by_url` for the comparison set. - Smaller default `target-batch-size` (50) because each page produces multiple MCP fetches and LLM comparisons. - The agent calls `noop` if the MCP server is unreachable for more than half the run, rather than emit unreliable findings. Both file fix-issues in `elastic/docs-content-internal` (via `DOCS_FIX_ISSUES_TOKEN`) under labels `docs-fix:staleness` and `docs-fix:coherence`. The `docs-quality-sweep` orchestrator picks up two new jobs and two new inputs (`staleness-content-months`, `coherence-batch-size`). Stacked on docs-content-quality-sweeps. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
theletterf
force-pushed
the
docs-content-quality-sweeps
branch
from
May 5, 2026 08:55
088cf4d to
1ebeb11
Compare
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.
Summary
gh-aw-docs-applies-to-sweep— validatesapplies_tocorrectness (audit-only mode of thedocs-applies-to-taggingskill).gh-aw-docs-openings-sweep— vague H1, weak opening, missing prerequisites viadocs-page-opening-optimizer. Wires the Elastic Docs MCP server for optional cross-checks of H1 distinctiveness.gh-aw-docs-style-sweep— Vale + Elastic style guide viadocs-check-style. Categories includetortured-sentencefor unambiguously bad construction.gh-aw-docs-typos-sweep— deterministic codespell scan over the whole corpus (no rotation; fast). Split out from style sweep because gh-aw treatssafe-outputs.create-issue.labelsas a per-workflow literal — bundling them would conflatedocs-fix:styleanddocs-fix:typoson the same issue.agentic-workflows/docs-quality-sweep/orchestrator template that fans out to all five sweeps as parallelworkflow_calljobs, with aninputs.sweepsfilter for running subsets.Stacked on #123 — merge that first.
Implements phase 3 of elastic/docs-content-internal#949.
Where this is meant to run
Same as #123: install the orchestrator (or any individual sweep) in
elastic/docs-content-internal, setsource-repo: elastic/docs-content, fix-issues land in the calling repo. OnlyCOPILOT_GITHUB_TOKENneeded.Test plan
make compilepasses with 0 errors / 0 warnings.make lintpasses for the new files.gh workflow run docs-quality-sweep.yml -f sweeps=frontmatter,typosonly fans out to those two jobs (validates theif:filtering).🤖 Generated with Claude Code