From 7818da1fe8e909b7e44fa3d741ab67d013f3a717 Mon Sep 17 00:00:00 2001 From: Chris Huber Date: Mon, 20 Jul 2026 09:10:14 -0400 Subject: [PATCH] Use deterministic Docs Agent completion --- .github/workflows/ci.yml | 2 +- .github/workflows/docs-agent.yml | 2 +- docs/docs-agent-workflow.md | 4 ++-- tests/docs-agent-native-workflow-contract.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a166ef..d6aa254 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: uses: actions/checkout@v6.0.3 with: repository: Automattic/docs-agent - ref: f887e392ad93db11efb997ed3669171e67018403 + ref: 7b67d341eea16b75b8e055507d36a8d8e69a1fe3 path: .docs-agent-producer - name: Checkout WP Codebox producer schema diff --git a/.github/workflows/docs-agent.yml b/.github/workflows/docs-agent.yml index f3c5975..ecd7c85 100644 --- a/.github/workflows/docs-agent.yml +++ b/.github/workflows/docs-agent.yml @@ -20,7 +20,7 @@ concurrency: jobs: docs-agent: name: Maintain Technical Documentation - uses: Automattic/docs-agent/.github/workflows/maintain-docs.yml@f887e392ad93db11efb997ed3669171e67018403 + uses: Automattic/docs-agent/.github/workflows/maintain-docs.yml@7b67d341eea16b75b8e055507d36a8d8e69a1fe3 with: audience: technical run_kind: maintenance diff --git a/docs/docs-agent-workflow.md b/docs/docs-agent-workflow.md index 56b9c1a..fb8b43c 100644 --- a/docs/docs-agent-workflow.md +++ b/docs/docs-agent-workflow.md @@ -7,7 +7,7 @@ Agents API publishes its canonical documentation updates through the repository- The consumer workflow is named **Docs Agent** and dispatches the reusable Docs Agent workflow from Automattic/docs-agent at the exact pinned revision: ```text -Automattic/docs-agent/.github/workflows/maintain-docs.yml@f887e392ad93db11efb997ed3669171e67018403 +Automattic/docs-agent/.github/workflows/maintain-docs.yml@7b67d341eea16b75b8e055507d36a8d8e69a1fe3 ``` The workflow contract is intentionally narrow: @@ -33,7 +33,7 @@ DOCS_AGENT_DIR=/path/to/docs-agent WP_CODEBOX_DIR=/path/to/wp-codebox php tests/ The required producer checkouts are: -- Docs Agent revision `f887e392ad93db11efb997ed3669171e67018403`. +- Docs Agent revision `7b67d341eea16b75b8e055507d36a8d8e69a1fe3`. - WP Codebox reusable-workflow and helper revision `a6fe2d208e990a8d04104aa74aacbb8d1539fbc1`; packaged runtime release `v0.12.29` resolves to `bc982947ec33c78160125026e16d357b7ece3ea1`. At that Docs Agent revision, the `technical:maintenance` lane maps to the native package: diff --git a/tests/docs-agent-native-workflow-contract.php b/tests/docs-agent-native-workflow-contract.php index 206df66..348985b 100644 --- a/tests/docs-agent-native-workflow-contract.php +++ b/tests/docs-agent-native-workflow-contract.php @@ -12,7 +12,7 @@ declare( strict_types=1 ); -const AGENTS_API_DOCS_AGENT_REVISION = 'f887e392ad93db11efb997ed3669171e67018403'; +const AGENTS_API_DOCS_AGENT_REVISION = '7b67d341eea16b75b8e055507d36a8d8e69a1fe3'; const AGENTS_API_WP_CODEBOX_RELEASE_REF = 'v0.12.29'; const AGENTS_API_WP_CODEBOX_PRODUCER_REVISION = 'a6fe2d208e990a8d04104aa74aacbb8d1539fbc1';