Repository navigation
Add experimental docs agent workflow - #260
Merged
Merged
Conversation
Merged
theletterf
force-pushed
the
docs-agent-experimental
branch
from
August 3, 2026 14:49
a0fa801 to
d4ead27
Compare
theletterf
force-pushed
the
docs-agent-experimental
branch
from
August 3, 2026 14:51
d4ead27 to
af18bd5
Compare
There was a problem hiding this comment.
Pull request overview
Adds a new experimental “docs agent” Agentic Workflows pipeline that can be triggered from issues labeled docs-agent (or via manual dispatch) to draft documentation PRs using a staged/safe-output approach, with Elastic Docs MCP-backed context gathering and reader-testing steps.
Changes:
- Introduces
docs-agent-experimentalworkflow definition with staged safe-outputs, Elastic Docs MCP configuration, and APM-installed authoring skills. - Commits the compiled
.lock.ymlfor the new workflow. - Updates zizmor suppression lists to include the new compiler-owned lockfile; adjusts the generated maintenance workflow’s schedule comment to reflect the new minimum expiration window.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/zizmor.yml | Adds the new lockfile to existing zizmor ignore lists for compiler-owned files. |
| .github/workflows/docs-agent-experimental.md | New experimental docs drafting workflow (prompt + guardrails + staged safe outputs). |
| .github/workflows/docs-agent-experimental.lock.yml | Compiler-generated lockfile for the new workflow. |
| .github/workflows/agentics-maintenance.yml | Updates the cron comment to match the new minimum safe-output expiration (14 days). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
docs-agent-experimental, a staged documentation drafting workflow triggered by thedocs-agentissue label or manual issue numberAGENTS.md,CLAUDE.md, contribution guides, navigation, and nearby pages before editingdocs-content-type-checker,docs-applies-to-tagging,docs-syntax-help, anddocs-frontmatter-descriptionauthoring skills fromelastic/elastic-docs-skillsCompiler version
mainby Bump gh-aw to v0.83.4 #261Validation
gh aw compile docs-agent-experimental --strict— 0 errors and 0 warningspre-commit run --all-files— passedgit diff --check— passedzizmor— initial run identified the new lockfile was absent from the repository's existing gh-aw lockfile exceptions; after adding it to both documented exception lists, the follow-up run passedCompiler warning and security review
The first strict compilation after adding the authoring-skill import reported:
GH_AW_PLUGINS_TOKENmicrosoft/[email protected], pinned in the compiled lockfile tob48dd081eb0050f6d7f32d0e7caa0a59a2d419fdBoth are supplied by the repository's existing
shared/apm.mdcomponent, which is already used by the documentation scope and sweep workflows. The token is passed only to the APM packaging step to retrieve the four declared public skill packages, with fallbacks to the existing gh-aw or repository token. The action installs and bundles those packages in an isolated temporary workspace, uploads the short-lived bundle, and restores it for the agent job. Its pinnedaction.ymluses the pinned APM CLI default rather thanlatest. No action or secret was removed, and no redirect changed. The initial warning was reviewed and reported rather than silenced with--approve; subsequent strict compilation against the updated lockfile completes with no warnings.Experimental behavior
All safe outputs use
staged: true, so issue comments, labels, and draft PR creation remain preview-only. The workflow deliberately does not configuregithub-token-for-extra-empty-commit; when live writes are enabled later, a maintainer must trigger PR checks manually.