Repository navigation
fix(workflow): run on WP Codebox v0.33.7, title docs PRs, and pin preserve-content packages - #192
Merged
Merged
Conversation
…serve-content packages - WP Codebox v0.33.7 (9764022) uses an explicit runner_workspace.branch as given and makes workspace_git_status/diff work against the seed baseline (Automattic/wp-codebox#2591, #2592) - pass docs_branch only as branch (no longer as branch_prefix), so the head is no longer <docs_branch><workload-id> - title PRs and commits docs(<docs_scope>): <lane> docs <run_kind> via a new optional docs_scope input (default: repository name); the body links the run, writable paths and source delta and asks for human review - advance DOCS_AGENT_PACKAGE_REVISION to 2f83a20 (#191) with the new technical maintenance, user bootstrap, and user maintenance package digests Closes #190 AI assistance: Extra Chill Bot (Claude), via a Roadie subagent.
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.
Closes #190. Second part, after #191.
PR title (root cause)
WP Codebox titles the PR
runner_workspace.title || workload.label.maintain-docs.ymlpassed no title and setworkload_label: Run Docs Agent, so every docs PR was titled "Run Docs Agent". Docs Agent owns the lane and run kind, so it now builds the title itself:docs_scope(default: repository name, validated to[A-Za-z0-9._/-]);titleandcommit_messagearedocs(<scope>): <lane> docs <run_kind>, e.g.docs(extrachill-shop): user docs maintenance; skills runs usedocs(<scope>): skills <run_kind>;bodylinks the workflow run and lists the writable paths and source-delta IDs, and asks for human review of every removed or rewritten line. WP Codebox v0.33.7 appends### Changed files (N).Branch
runner_workspaceused to passdocs_branchas bothbranchandbranch_prefix. WP Codebox ignoredbranchand built${branch_prefix}${workload-id}, which produceddocs-agent/extrachill-shop-user-docsdocs-agent-user-maintenance. Docs Agent now passesbranchonly, and v0.33.7 uses it as given. The fresh-<base-sha-12>rule still applies once when the branch exists without an open PR.Pins
9764022156a61ba7d2b4d8a2196b01ccb33b82b5(fix(agent-task): use the caller's publication branch as given and make workspace git status/diff work wp-codebox#2592). It also fixesworkspace_git_status/workspace_git_diff, which failed on every call. The fixture records the new asset digests and two new capability flags.DOCS_AGENT_PACKAGE_REVISIONmoves to2f83a20(fix(maintenance): keep accurate content and concrete values in maintenance runs #191, preserve-accurate-content rule). The technical-maintenance, user-bootstrap, and user-maintenance digests are updated (user-bootstrap's bytes changed only in source metadata since 667a3d7). The technical-maintenance and user-maintenancesource_ref/source_revisionnow point at 2f83a20.tests/wp-codebox-release.fixture.json,tests/validate-docs-agent-packages.php,tests/validate-wp-codebox-run-agent-task-contract.php,tests/validate-external-native-package-sources.php, the recipe and example, and the empty-context fixture.Tests
runner_workspacejq expression and its rendered JSON (branch, title, commit_message, body, and nobranch_prefix), thedocs_scopeinput, the title format, and the human-review body.{"branch":"docs-agent/extrachill-shop-user-docs","title":"docs(extrachill-shop): user docs maintenance"}. An invalid scope fails closed.AI assistance: Extra Chill Bot (Claude), via a Roadie subagent.