diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 74ae919..0b40a29 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -1,6 +1,6 @@ # Docs Agent Workflows -`maintain-docs.yml` is the consumer-facing reusable workflow for scheduled upkeep. Consumer repositories pass product-level inputs such as `audience`, `require_pr`, `base_ref`, `docs_branch`, `writable_paths`, `context_repositories`, `bootstrap_contract`, `source_delta`, `validation_dependencies`, `verification_commands`, `drift_checks`, `prompt`, `run_agent`, `dry_run`, `max_turns`, and `time_budget_ms`. +`maintain-docs.yml` is the consumer-facing reusable workflow for scheduled upkeep. Consumer repositories pass product-level inputs such as `audience`, `require_pr`, `base_ref`, `docs_branch`, `docs_scope`, `writable_paths`, `context_repositories`, `bootstrap_contract`, `source_delta`, `validation_dependencies`, `verification_commands`, `drift_checks`, `prompt`, `run_agent`, `dry_run`, `max_turns`, and `time_budget_ms`. The consumer workflow supports separate lanes for technical docs, user docs, and live skills maintenance. Use `audience: skills` with skills/package writable paths instead of broad docs paths. @@ -16,12 +16,17 @@ The reusable workflow declares the expected typed review artifacts for Docs Agen The target repository grants `contents: write`, `pull-requests: write`, and `issues: write`. Docs Agent forwards the caller-scoped `${{ github.token }}` to WP Codebox for same-repository publication, so consumers do not configure `ACCESS_TOKEN`. `OPENAI_API_KEY` is an optional workflow secret and is required only for a live OpenAI run; skipped and dry-run calls do not require it. `EXTERNAL_PACKAGE_SOURCE_POLICY` remains a separate required v1 JSON secret. Migrate its value to the exact one-line JSON in the root README: it authorizes the selected Docs Agent package, the pinned Agents API component, the pinned PHP AI Client overlay, and the checksum-pinned OpenAI provider artifact. Both secrets are forwarded to WP Codebox without serialization into the task descriptor. -Docs Agent consumes the reusable WP Codebox workflow and helper implementation at immutable revision `4875fb1550a34e4f07c44cff20bad477b83115de` and passes `wp_codebox_release_ref: v0.33.6` and `wp_codebox_workflow_ref: 4875fb1550a34e4f07c44cff20bad477b83115de`. That revision is the commit the annotated `v0.33.6` tag resolves to, so the reusable workflow, its helper scripts, and the release tag all name the same producer code; the fixed Docs Agent package revision stays separate. WP Codebox checks that the helper checkout matches `wp_codebox_workflow_ref` and that its `package.json` version equals the release tag, then installs its runtime from that checkout. WP Codebox materializes the declared native runtime closure, executes the selected package, applies bounded workspace changes, runs verification, and publishes approved host changes. The v0.33.6 release assets are `wp-codebox-cli-linux-x64.tar.gz`, `wp-codebox-workspace-0.33.6.tgz`, and `wp-codebox.zip`; `tests/wp-codebox-release.fixture.json` records their published SHA-256 digests. +Docs Agent consumes the reusable WP Codebox workflow and helper implementation at immutable revision `9764022156a61ba7d2b4d8a2196b01ccb33b82b5` and passes `wp_codebox_release_ref: v0.33.7` and `wp_codebox_workflow_ref: 9764022156a61ba7d2b4d8a2196b01ccb33b82b5`. That revision is the commit the annotated `v0.33.7` tag resolves to, so the reusable workflow, its helper scripts, and the release tag all name the same producer code; the fixed Docs Agent package revision stays separate. WP Codebox checks that the helper checkout matches `wp_codebox_workflow_ref` and that its `package.json` version equals the release tag, then installs its runtime from that checkout. WP Codebox materializes the declared native runtime closure, executes the selected package, applies bounded workspace changes, runs verification, and publishes approved host changes. The v0.33.7 release assets are `wp-codebox-cli-linux-x64.tar.gz`, `wp-codebox-workspace-0.33.7.tgz`, and `wp-codebox.zip`; `tests/wp-codebox-release.fixture.json` records their published SHA-256 digests. Provider artifacts retain only allowlisted review artifacts, controlled workflow envelopes, and canonical runtime-source and seed provenance. WP Codebox uploads a reviewer-safe workflow-result projection: public control, verification, workspace-apply, publication, output-projection, access, failure, artifact-declaration, and canonical transcript-provenance fields remain, while raw `runtime_result`, `outputs.engine_data`, model/provider/tool payloads, source content, private paths, and secrets are excluded. Before persistence or upload, it sanitizes private runtime paths from nested values, object keys, diagnostics, and command arguments. WP Codebox captures one trusted canonical `codebox-transcript` through a pre-sanitization reviewer-evidence descriptor, validates its artifact-root containment, schema, digest, and size, then emits the compact reviewer transcript as a `wp-codebox/reviewer-agent-transcript/v1` projection. Before apply-back, it compares the seed identity with the host workspace identity; rejected patches preserve the expected and actual identities plus patch and changed-file evidence for upload. Its pre-redaction trusted apply input preserves machine-applicable patch bytes in a private channel that is removed before durable artifact sanitization, as fixed in [WP Codebox #1842](https://github.com/Automattic/wp-codebox/pull/1842). Lifecycle and downstream failures retain runtime evidence in their internal normalized failed result even when artifact preparation cannot complete. Diagnostic messages that name runtime classes remain reviewable, while PHP-shaped runtime source remains blocked. See [WP Codebox #1767](https://github.com/Automattic/wp-codebox/issues/1767), [WP Codebox #1814](https://github.com/Automattic/wp-codebox/issues/1814), [WP Codebox #1815](https://github.com/Automattic/wp-codebox/pull/1815), and [WP Codebox #1823](https://github.com/Automattic/wp-codebox/pull/1823). Successful canonical reviewer-evidence reference: [run `29350690551`](https://github.com/Automattic/build-with-wordpress/actions/runs/29350690551). The [hosted failure `29468956857`](https://github.com/Automattic/agents-api/actions/runs/29468956857) executed WP Codebox v0.12.20, published [Agents API #430](https://github.com/Automattic/agents-api/pull/430), then failed during upload preparation; it motivated #1814/#1815. Publication integrity snapshots exclude Git-ignored verification artifacts, such as pnpm's symlinked `node_modules` tree, and mutable `.codebox` runtime control files, while tracked or otherwise publishable symlinks stay rejected. Integrity failures report bounded added, modified, and deleted paths, and non-Git workspaces keep a bounded filesystem snapshot fallback. Canonical GitHub repository identity is compared case-insensitively, while pull-request URL, pull number, target binding, and API resolution checks stay strict. Successful pull-request verification returns `{ valid: true }` without a failure-only `error`. These came from [WP Codebox #1845](https://github.com/Automattic/wp-codebox/pull/1845), [#1848](https://github.com/Automattic/wp-codebox/pull/1848), [#1852](https://github.com/Automattic/wp-codebox/pull/1852), [#1875](https://github.com/Automattic/wp-codebox/pull/1875), and [#1885](https://github.com/Automattic/wp-codebox/pull/1885). +WP Codebox v0.33.7 fixes two producer defects found in Extra Chill shop runs ([WP Codebox #2592](https://github.com/Automattic/wp-codebox/pull/2592), [#2591](https://github.com/Automattic/wp-codebox/issues/2591)): + +- `workspace_git_status` and `workspace_git_diff` work in the git-less sandbox. They used to fail on every call (`tool_call_failed`) because no filesystem baseline was supplied. They now compare against the seeded content recorded before each path's first mutation. The diff is a real unified diff that replays through `workspace_apply_patch`. +- An explicit `runner_workspace.branch` is used as the publication branch exactly as given. Docs Agent now passes `docs_branch` only as `branch`, so the doubled `` names are gone. It passes `title`, `commit_message`, and `body` as well: the PR is titled `docs(): docs ` instead of the generic workload label, and WP Codebox appends the changed-files list to the body. + WP Codebox v0.33.6 reports why a failed agent runtime failed: every non-zero exit or unreadable native result now produces `failure` with `stage: agent`, a `code` and a `message`, and the canonical transcript plus `tool_observability` are uploaded on failure too ([WP Codebox #2590](https://github.com/Automattic/wp-codebox/pull/2590)). It also raises the native result bound from 1 MiB to 32 MiB and the tool-observability bound from 64 to 512 calls, because 40-turn runs exceeded both and lost all of their evidence. WP Codebox v0.33.5 honors the caller's `max_turns` over an imported package's `default_max_turns` ([WP Codebox #2589](https://github.com/Automattic/wp-codebox/pull/2589)), so this workflow's `max_turns` input actually reaches the agent loop. A run that exhausts its turn budget while still calling tools now fails at `stage: agent` with `max_turns_exceeded` (`terminal_status: max_turns`, `agent_turn_limit` in the result) instead of finishing as a green no-op; partial work is not applied. @@ -32,7 +37,7 @@ WP Codebox v0.33.4 made the runner-workspace apply step observable; see [WP Code - If the sandbox accepted `workspace_write`, `workspace_edit`, or `workspace_apply_patch` calls but the canonical patch declared no changes, the run fails at `stage: apply` with `writes-not-applied` and lists the lost paths. Verification, drift checks, and the Docs Agent completion check do not run in that case. A run with no write calls still reaches them. - The sandbox and the host use the same writable-path glob matcher: `**` spans directories, and `*`, `?`, and `[...]` stay within one path segment. Patterns such as `docs/**/*.md` or `plugins/*/docs/user/**` are no longer accepted in the sandbox and then rejected on the host. - The uploader decodes the JSON-encoded `wordpress.run-php` output, so the compact reviewer transcript includes tool observability and the write ledger (tool names and workspace paths, never file contents). -- Publication reuses the branch derived from `docs_branch` only while it has an exact open pull request that descends from the current base. If the branch exists without an open pull request, WP Codebox publishes to a fresh `-` branch instead of appending to the stale one. If the open pull request's branch does not descend from the current base, publication fails and asks for a rebase. +- Publication reuses `docs_branch` only while it has an exact open pull request that descends from the current base. If the branch exists without an open pull request, WP Codebox publishes to a fresh `-` branch instead of appending to the stale one. If the open pull request's branch does not descend from the current base, publication fails and asks for a rebase. ## Docs Agent Runner Recipe diff --git a/.github/workflows/maintain-docs.yml b/.github/workflows/maintain-docs.yml index 15a6854..9532b1c 100644 --- a/.github/workflows/maintain-docs.yml +++ b/.github/workflows/maintain-docs.yml @@ -2,7 +2,7 @@ name: Maintain Docs env: # Advance this revision and all package digests together when package bytes change. - DOCS_AGENT_PACKAGE_REVISION: 667a3d7e43b938cae157235131da4462b09eebb5 + DOCS_AGENT_PACKAGE_REVISION: 2f83a20d5abb24f46fea9630259c8886d7134823 # Advance independently when the post-command completion validator changes. DOCS_AGENT_COMPLETION_CONTRACT_REVISION: b136f9bc84e6f0ad9d5d0d5cdbb3df9c62e382e2 @@ -26,9 +26,13 @@ env: type: string default: main docs_branch: - description: Stable branch reused for the canonical Docs Agent pull request. + description: Stable branch reused for the canonical Docs Agent pull request. Used exactly as given; WP Codebox appends - only when the branch exists without an open pull request. type: string default: docs-agent/docs-upkeep + docs_scope: + description: 'Conventional-commit scope for the docs pull request title, such as the component name, giving `docs(): docs `. Defaults to the repository name.' + type: string + default: "" writable_paths: description: Comma-separated paths Docs Agent may edit. type: string @@ -157,6 +161,7 @@ jobs: DRY_RUN: ${{ inputs.dry_run }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} INPUT_DOCS_BRANCH: ${{ inputs.docs_branch }} + INPUT_DOCS_SCOPE: ${{ inputs.docs_scope }} INPUT_BASE_REF: ${{ inputs.base_ref }} GITHUB_REPOSITORY_NAME: ${{ github.repository }} GITHUB_SERVER_URL: ${{ github.server_url }} @@ -175,21 +180,21 @@ jobs: technical:maintenance) package_path="bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json" agent_slug="technical-docs-maintenance-agent" - package_digest="sha256-bytes-v1:975c7b0a0a7aff52897c52be5ac903a7fb110ea3c33e16227f8694c74c932519" + package_digest="sha256-bytes-v1:4c0b545c7490ba62c243e085f6a145907787b19e76d72e3d83911657f6b187ab" lane_requires_pr=false default_prompt="Maintain source-grounded developer documentation that helps developers understand, use, and extend the code in the repository." ;; user:bootstrap) package_path="bundles/user-docs-agent/native/user-docs-bootstrap-agent.agent.json" agent_slug="user-docs-bootstrap-agent" - package_digest="sha256-bytes-v1:d22cf858b4413e150226989ff8cf253e2cfa7ef88b041d8ce14360f22df9d3a4" + package_digest="sha256-bytes-v1:b2e61a5052e35be709b00210b36cea5dc2d5d4f42d1f183bc7af597270f552e1" lane_requires_pr=true default_prompt="Bootstrap source-grounded product documentation for onboarding, setup, common tasks, expected outcomes, permissions, compatibility, troubleshooting, and FAQs." ;; user:maintenance) package_path="bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json" agent_slug="user-docs-maintenance-agent" - package_digest="sha256-bytes-v1:c93ce43cd7e057759779d36499fd26de45f8c7d3395bbf08583bbc83121e80e6" + package_digest="sha256-bytes-v1:dfdc3281afae497e311bd515a4bda8db40a9653b82ac5e621798cace53e1487c" lane_requires_pr=false default_prompt="Maintain source-grounded product documentation for onboarding, setup, common tasks, expected outcomes, permissions, compatibility, troubleshooting, and FAQs." ;; @@ -310,11 +315,39 @@ jobs: external_package_source="$(jq -cn --arg repository "Automattic/docs-agent" --arg revision "$DOCS_AGENT_PACKAGE_REVISION" --arg path "$package_path" --arg digest "$package_digest" '{repository:$repository,revision:$revision,path:$path,digest:$digest}')" runtime_sources='[{"version":1,"role":"component","repository":"Automattic/agents-api","revision":"78e2dd409010f98fa4d26cdd72572117384ab18d","path":".","metadata":{"slug":"agents-api","loadAs":"mu-plugin","pluginFile":"agents-api.php"}},{"version":1,"role":"provider_plugin","source":{"type":"https_zip","url":"https://downloads.wordpress.org/plugin/ai-provider-for-openai.1.0.3.zip","sha256":"48f3c0c714b3164cda79d320829830d5a0ea1116e0b19653da8af898a22d3bb6","archive_root":"ai-provider-for-openai"},"metadata":{"slug":"ai-provider-for-openai","pluginFile":"plugin.php","activate":true,"providers":["openai"]}},{"version":1,"role":"bundled_library","repository":"WordPress/php-ai-client","revision":"631704201d15ffeff7091ad3bc7156db74054956","path":".","metadata":{"library":"php-ai-client","strategy":"wordpress-scoped-bundle"}}]' + # Pull request title and body. The title says what the run did instead of + # the generic workload label; WP Codebox appends the changed-files list. + docs_scope="${INPUT_DOCS_SCOPE:-${GITHUB_REPOSITORY_NAME##*/}}" + if ! printf '%s' "$docs_scope" | grep -Eq '^[A-Za-z0-9._/-]+$'; then + printf 'docs_scope must contain only letters, digits, dot, underscore, slash, and hyphen.\n' >&2 + exit 1 + fi + case "$AUDIENCE" in + skills) lane_title="skills" ;; + *) lane_title="$AUDIENCE docs" ;; + esac + pr_title="docs($docs_scope): $lane_title $RUN_KIND" + pr_body="$(jq -nr \ + --arg scope "$docs_scope" \ + --arg lane "$lane_title" \ + --arg runKind "$RUN_KIND" \ + --arg runUrl "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY_NAME/actions/runs/$GITHUB_RUN_ID_VALUE" \ + --arg writablePaths "$INPUT_WRITABLE_PATHS" \ + --argjson delta "$source_delta" ' + "Automated " + $lane + " " + $runKind + " for `" + $scope + "` by [Docs Agent](https://github.com/Automattic/docs-agent).\n\n" + + "- Workflow run: " + $runUrl + "\n" + + "- Writable paths: `" + $writablePaths + "`\n" + + (if ($delta | length) > 0 then "- Source delta: " + ($delta | map("`" + .id + "`") | join(", ")) + "\n" else "" end) + + "\nGenerated documentation needs human review before merge. Check that every removed or rewritten line is contradicted by the source, and that accurate sections and concrete values were kept." + ')" + runner_workspace="$(jq -cn \ --arg repo "$GITHUB_REPOSITORY_NAME" \ --arg branch "$INPUT_DOCS_BRANCH" \ --arg baseRef "$INPUT_BASE_REF" \ - '{enabled:true,repo:$repo,clone_url:("https://github.com/" + $repo + ".git"),branch:$branch,branch_prefix:$branch,base:$baseRef,from:("origin/" + $baseRef)}')" + --arg title "$pr_title" \ + --arg body "$pr_body" \ + '{enabled:true,repo:$repo,clone_url:("https://github.com/" + $repo + ".git"),branch:$branch,base:$baseRef,from:("origin/" + $baseRef),title:$title,commit_message:$title,body:$body}')" expected_artifacts="$(printf '%s' "$artifact_declarations" | jq -c 'map(.name)')" output_projections="$(jq -cn --arg path 'metadata.runner_workspace_publication.pull_request.url' --argjson required "$success_requires_pr" '{docs_agent_publication:{path:$path,required:$required}}')" if ! printf '%s' "$DOCS_AGENT_COMPLETION_CONTRACT_REVISION" | grep -Eq '^[0-9a-fA-F]{40}$'; then @@ -356,10 +389,10 @@ jobs: contents: write pull-requests: write issues: write - uses: Automattic/wp-codebox/.github/workflows/run-agent-task.yml@4875fb1550a34e4f07c44cff20bad477b83115de + uses: Automattic/wp-codebox/.github/workflows/run-agent-task.yml@9764022156a61ba7d2b4d8a2196b01ccb33b82b5 with: - wp_codebox_release_ref: v0.33.6 - wp_codebox_workflow_ref: 4875fb1550a34e4f07c44cff20bad477b83115de + wp_codebox_release_ref: v0.33.7 + wp_codebox_workflow_ref: 9764022156a61ba7d2b4d8a2196b01ccb33b82b5 external_package_source: ${{ needs.prepare.outputs.external_package_source }} runtime_sources: ${{ needs.prepare.outputs.runtime_sources }} workload_id: docs-agent-${{ inputs.audience }}-${{ inputs.run_kind }} diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 80ccc9f..30d9a28 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 with: repository: Automattic/wp-codebox - ref: 4875fb1550a34e4f07c44cff20bad477b83115de + ref: 9764022156a61ba7d2b4d8a2196b01ccb33b82b5 path: .wp-codebox - name: Validate Docs Agent env: diff --git a/README.md b/README.md index c336873..e0647bd 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,8 @@ The consumer API is product-level. Consumer repositories configure the documenta | `run_kind` | `maintenance` | `bootstrap` establishes initial documentation and requires publication; `maintenance` permits a no-change result. | | `require_pr` | `false` | Require a published target-repository PR for success. Bootstrap always requires publication; set this for maintenance acceptance or remediation runs that must prove a real PR was opened. | | `base_ref` | `main` | Base branch or ref for the maintenance PR. | -| `docs_branch` | `docs-agent/docs-upkeep` | Stable branch reused for the canonical Docs Agent PR. | +| `docs_branch` | `docs-agent/docs-upkeep` | Stable branch reused for the canonical Docs Agent PR, used exactly as given. | +| `docs_scope` | repository name | Conventional-commit scope for the PR title and commit message, such as the component name: `docs(): docs `. | | `writable_paths` | `README.md,docs/**` | Comma-separated allowlist of paths Docs Agent may edit. | | `context_repositories` | `[]` | JSON array of read-only evidence repositories with `alias`, `repository`, and optional `revision`. They are authorized for native GitHub reads and remain outside the writable workspace. | | `bootstrap_contract` | `{}` | Positive bootstrap criteria: `required_paths`, `required_globs`, `entry_points`, and `forbidden_phrases`. Bootstrap calls must provide at least one path, glob, or entry point criterion. | @@ -139,7 +140,7 @@ Docs Agent declares the review artifacts it expects the runner to materialize as `maintain-docs.yml` writes `expected_artifacts` and `artifact_declarations` into a portable Docs Agent recipe and exposes the same declaration objects as `declared_artifacts_json`. The runtime declaration for `docs_agent_completion_report` remains `required: false` because WP Codebox may evaluate runtime-level required artifacts before post-command validation. The final completion drift entry is mandatory and declares `{name,type,path}`; after deterministic host validation, the validator atomically writes canonical JSON to `.codebox/agent-task-artifacts/docs-agent-completion-report.json`, and WP Codebox stages that declared command artifact for reviewers. -The reusable workflow and helper implementation are pinned to WP Codebox `v0.33.6`: `wp_codebox_release_ref: v0.33.6` and `wp_codebox_workflow_ref` both resolve to the tag commit `4875fb1550a34e4f07c44cff20bad477b83115de`. This producer revision is independent of the fixed Docs Agent package revision. +The reusable workflow and helper implementation are pinned to WP Codebox `v0.33.7`: `wp_codebox_release_ref: v0.33.7` and `wp_codebox_workflow_ref` both resolve to the tag commit `9764022156a61ba7d2b4d8a2196b01ccb33b82b5`. This producer revision is independent of the fixed Docs Agent package revision. WP Codebox v0.33.6 uploads a reviewer-safe workflow-result projection with public control, workspace-apply, and publication fields plus canonical transcript provenance. It excludes raw `runtime_result`, `outputs.engine_data`, model/provider/tool payloads, source content, private paths, secrets, Git-ignored verification artifacts such as pnpm's symlinked `node_modules` tree, and mutable `.codebox` runtime control files. Tracked or otherwise publishable symlinks remain rejected. Integrity failures retain bounded added, modified, and deleted path evidence, and non-Git workspaces retain a bounded filesystem snapshot fallback. Canonical GitHub repository identity is compared case-insensitively while pull-request URL syntax, pull number, target binding, and API resolution remain strict. The canonical `codebox-transcript` remains the bounded tool-observability surface: its pre-sanitization reviewer-evidence descriptor records the trusted artifact-relative path, schema, verified source digest, and size, which the uploader revalidates before producing the `wp-codebox/reviewer-agent-transcript/v1` projection. Since v0.33.6 that projection decodes the runtime output, so it includes tool observability and the content-free sandbox write ledger instead of a stub. Before apply-back, WP Codebox validates that the runner seed and host workspace identities match; rejected patches retain identity, patch, and changed-file evidence for review. The pre-redaction trusted apply input fixed by [WP Codebox #1842](https://github.com/Automattic/wp-codebox/pull/1842) retains machine-applicable patch bytes privately, then removes them before durable artifact sanitization. @@ -170,7 +171,9 @@ Docs Agent opens or updates one canonical PR for the configured branch. - If the selected maintenance surface is current, the run succeeds only with a non-empty caller-bounded source delta and no workspace diff. - If maintenance is needed, changes are written only under `writable_paths`. -- If the canonical PR is already open and its branch descends from the current base, later runs append to the same branch (derived from `docs_branch`) and PR instead of creating duplicates. If that branch has fallen behind the base, publication fails until the PR is rebased. If the branch exists without an open PR, WP Codebox publishes to a fresh `-` branch. +- The PR head is `docs_branch` exactly as given. Earlier WP Codebox releases appended the workload ID with no separator, which produced doubled names such as `docs-agent/extrachill-shop-user-docsdocs-agent-user-maintenance` ([wp-codebox#2591](https://github.com/Automattic/wp-codebox/issues/2591)). +- The PR title and commit message say what the run did: `docs(): docs `, for example `docs(extrachill-shop): user docs maintenance`, where `` is `docs_scope` (default: the repository name). Skills runs use `docs(): skills `. The body links the workflow run and lists the writable paths and source-delta IDs. WP Codebox appends the list of changed files, and the body asks for human review before merge. +- If the canonical PR is already open and its branch descends from the current base, later runs append to the same branch and PR instead of creating duplicates. If that branch has fallen behind the base, publication fails until the PR is rebased. If the branch exists without an open PR, WP Codebox publishes to a fresh `-` branch. - `validation_dependencies` is an optional caller-owned reusable-workflow input. It is passed through the portable recipe and runs before verification commands when a live runner execution needs setup. - `job_status`, `transcript_summary`, `credential_mode`, `success_requires_pr`, `validation_dependencies`, and bounded `projected_outputs_json` are exposed as reusable workflow outputs. A `run_agent: false` call returns `job_status: skipped`; a `dry_run: true` call validates without starting a model run. `OPENAI_API_KEY` is only required for a live OpenAI run and is never included in recipes, workflow outputs, or artifacts. Bootstrap lanes require a published pull request and its projected URL for success. Maintenance lanes allow a bounded no-change result by default; set `require_pr: true` when an acceptance or remediation run must fail without a valid target-repository PR. Runtime typed artifact declarations remain optional, while the completion post-command artifact is mandatory and exposed through WP Codebox declared-artifact staging. Raw engine data is not exposed as a workflow output or uploaded reviewer artifact. @@ -249,7 +252,7 @@ Docs Agent has one canonical architecture: five standalone native Agents API pac - `bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json` - `bundles/skills-agent/native/skills-maintenance-agent.agent.json` -These five `.agent.json` files are the complete executable package surface. Each package is the sole executable instruction authority for its lane. The reusable workflow maps `audience` and `run_kind` to exactly one package and its canonical agent slug; it does not select a separate manifest, flow, pipeline, or memory envelope. Every descriptor uses the package-source revision `667a3d7e43b938cae157235131da4462b09eebb5`, independently of the revision that invokes the reusable workflow, and supplies a byte-level `sha256-bytes-v1` digest. +These five `.agent.json` files are the complete executable package surface. Each package is the sole executable instruction authority for its lane. The reusable workflow maps `audience` and `run_kind` to exactly one package and its canonical agent slug; it does not select a separate manifest, flow, pipeline, or memory envelope. Every descriptor uses the package-source revision `2f83a20d5abb24f46fea9630259c8886d7134823`, independently of the revision that invokes the reusable workflow, and supplies a byte-level `sha256-bytes-v1` digest. Package updates advance the package-source revision and all five declared digests atomically. The immutable-source validator reads each package blob from that Git revision, recomputes its digest and canonical slug, and rejects a descriptor that does not match those historical bytes. diff --git a/bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json b/bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json index 6f0591a..e362cf3 100644 --- a/bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json +++ b/bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json @@ -2,8 +2,8 @@ "schema_version": 1, "bundle_slug": "technical-docs-maintenance-agent", "bundle_version": "0.1.0", - "source_ref": "Automattic/docs-agent@3da1b8076359db9bf9f4ee7dadcc3932c080ed71", - "source_revision": "3da1b8076359db9bf9f4ee7dadcc3932c080ed71", + "source_ref": "Automattic/docs-agent@2f83a20d5abb24f46fea9630259c8886d7134823", + "source_revision": "2f83a20d5abb24f46fea9630259c8886d7134823", "agent": { "agent_slug": "technical-docs-maintenance-agent", "agent_name": "Technical Docs Maintenance Agent", @@ -35,7 +35,7 @@ "meta": { "source_type": "runtime-agent-package", "source_package": "technical-docs-agent", - "source_version": "3da1b8076359db9bf9f4ee7dadcc3932c080ed71", + "source_version": "2f83a20d5abb24f46fea9630259c8886d7134823", "role": "technical-docs-maintenance", "runtime": "agents-api-native-chat", "default_provider": "openai", diff --git a/bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json b/bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json index 0974b39..c554641 100644 --- a/bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json +++ b/bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json @@ -2,8 +2,8 @@ "schema_version": 1, "bundle_slug": "user-docs-maintenance-agent", "bundle_version": "0.1.0", - "source_ref": "Automattic/docs-agent@667a3d7e43b938cae157235131da4462b09eebb5", - "source_revision": "667a3d7e43b938cae157235131da4462b09eebb5", + "source_ref": "Automattic/docs-agent@2f83a20d5abb24f46fea9630259c8886d7134823", + "source_revision": "2f83a20d5abb24f46fea9630259c8886d7134823", "agent": { "agent_slug": "user-docs-maintenance-agent", "agent_name": "User Docs Maintenance Agent", @@ -35,7 +35,7 @@ "meta": { "source_type": "runtime-agent-package", "source_package": "user-docs-agent", - "source_version": "667a3d7e43b938cae157235131da4462b09eebb5", + "source_version": "2f83a20d5abb24f46fea9630259c8886d7134823", "role": "user-docs-maintenance", "runtime": "agents-api-native-chat", "default_provider": "openai", diff --git a/ci/docs-agent-runner-recipe.json b/ci/docs-agent-runner-recipe.json index 604cf38..a16d130 100644 --- a/ci/docs-agent-runner-recipe.json +++ b/ci/docs-agent-runner-recipe.json @@ -5,9 +5,9 @@ "docsAgent": { "externalPackageSource": { "repository": "Automattic/docs-agent", - "revision": "667a3d7e43b938cae157235131da4462b09eebb5", + "revision": "2f83a20d5abb24f46fea9630259c8886d7134823", "path": "bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json", - "digest": "sha256-bytes-v1:975c7b0a0a7aff52897c52be5ac903a7fb110ea3c33e16227f8694c74c932519" + "digest": "sha256-bytes-v1:4c0b545c7490ba62c243e085f6a145907787b19e76d72e3d83911657f6b187ab" }, "agentSlug": "technical-docs-maintenance-agent" }, diff --git a/examples/runner-recipe.example.json b/examples/runner-recipe.example.json index 8d6bc4d..5dd0212 100644 --- a/examples/runner-recipe.example.json +++ b/examples/runner-recipe.example.json @@ -5,9 +5,9 @@ "docsAgent": { "externalPackageSource": { "repository": "Automattic/docs-agent", - "revision": "667a3d7e43b938cae157235131da4462b09eebb5", + "revision": "2f83a20d5abb24f46fea9630259c8886d7134823", "path": "bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json", - "digest": "sha256-bytes-v1:975c7b0a0a7aff52897c52be5ac903a7fb110ea3c33e16227f8694c74c932519" + "digest": "sha256-bytes-v1:4c0b545c7490ba62c243e085f6a145907787b19e76d72e3d83911657f6b187ab" }, "agentSlug": "technical-docs-maintenance-agent" }, diff --git a/tests/native-agent.validate-package-spec.json b/tests/native-agent.validate-package-spec.json index 25c93dc..b301e94 100644 --- a/tests/native-agent.validate-package-spec.json +++ b/tests/native-agent.validate-package-spec.json @@ -62,7 +62,7 @@ "package": "technical-docs-agent", "agent_slug": "technical-docs-maintenance-agent", "requires_content_preservation": true, - "source_revision": "3da1b8076359db9bf9f4ee7dadcc3932c080ed71", + "source_revision": "2f83a20d5abb24f46fea9630259c8886d7134823", "required_tools": [ "get_github_file", "workspace_read", @@ -115,7 +115,7 @@ "package": "user-docs-agent", "agent_slug": "user-docs-maintenance-agent", "requires_content_preservation": true, - "source_revision": "667a3d7e43b938cae157235131da4462b09eebb5", + "source_revision": "2f83a20d5abb24f46fea9630259c8886d7134823", "required_tools": ["get_github_file", "workspace_read", "workspace_grep", "workspace_edit", "workspace_git_status", "workspace_git_diff"], "permitted_workspace_tools": ["workspace_show", "workspace_ls", "workspace_read", "workspace_grep", "workspace_write", "workspace_edit", "workspace_apply_patch", "workspace_git_status", "workspace_git_diff"], "instructions_must_contain": ["non-technical product documentation", "maintenance pass", "work page by page", "product-facing evidence", "docs/user/", "consumer-declared writable paths", "no_changes", "required documentation write", "workspace_git_status", "workspace_git_diff"] diff --git a/tests/reusable-workflow-empty-called-workflow-context.fixture.json b/tests/reusable-workflow-empty-called-workflow-context.fixture.json index 3a086fb..de657ac 100644 --- a/tests/reusable-workflow-empty-called-workflow-context.fixture.json +++ b/tests/reusable-workflow-empty-called-workflow-context.fixture.json @@ -3,5 +3,5 @@ "called_workflow_context": { "job_workflow_sha": "" }, - "expected_package_revision": "667a3d7e43b938cae157235131da4462b09eebb5" + "expected_package_revision": "2f83a20d5abb24f46fea9630259c8886d7134823" } diff --git a/tests/validate-docs-agent-packages.php b/tests/validate-docs-agent-packages.php index 53f39ef..717a6c9 100644 --- a/tests/validate-docs-agent-packages.php +++ b/tests/validate-docs-agent-packages.php @@ -45,9 +45,9 @@ $assert( 'docs-agent/runner-recipe/v1' === ( $recipe['schema'] ?? null ), 'Runner recipe must use the portable Docs Agent runner recipe schema.' ); $expected_package_source = array( 'repository' => 'Automattic/docs-agent', - 'revision' => '667a3d7e43b938cae157235131da4462b09eebb5', + 'revision' => '2f83a20d5abb24f46fea9630259c8886d7134823', 'path' => 'bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json', - 'digest' => 'sha256-bytes-v1:975c7b0a0a7aff52897c52be5ac903a7fb110ea3c33e16227f8694c74c932519', + 'digest' => 'sha256-bytes-v1:4c0b545c7490ba62c243e085f6a145907787b19e76d72e3d83911657f6b187ab', ); foreach ( array( $recipe, $example ) as $runner_recipe ) { $assert( $expected_package_source === ( $runner_recipe['docsAgent']['externalPackageSource'] ?? null ), 'Runner recipes must use the immutable Docs Agent package source.' ); @@ -73,10 +73,10 @@ $assert( str_contains( $maintain_docs_workflow, 'The host generates and stages the completion report from caller inputs, Git, and filesystem checks' ), 'maintain-docs.yml must make host-owned completion generation explicit.' ); $assert( ! str_contains( $maintain_docs_workflow, 'DOCS_AGENT_COMPLETION_REPORT' ), 'maintain-docs.yml must not request model-authored completion reports.' ); -$wp_codebox_producer_revision = '4875fb1550a34e4f07c44cff20bad477b83115de'; +$wp_codebox_producer_revision = '9764022156a61ba7d2b4d8a2196b01ccb33b82b5'; $generic_codebox_agent_task_workflow = 'uses: Automattic/wp-codebox/.github/workflows/run-agent-task.yml@' . $wp_codebox_producer_revision; $assert( str_contains( $maintain_docs_workflow, $generic_codebox_agent_task_workflow ), 'maintain-docs.yml must call the immutable generic Codebox agent-task workflow candidate.' ); -$assert( str_contains( $maintain_docs_workflow, 'wp_codebox_release_ref: v0.33.6' ), 'maintain-docs.yml must pass the matching WP Codebox release tag.' ); +$assert( str_contains( $maintain_docs_workflow, 'wp_codebox_release_ref: v0.33.7' ), 'maintain-docs.yml must pass the matching WP Codebox release tag.' ); $assert( str_contains( $maintain_docs_workflow, 'wp_codebox_workflow_ref: ' . $wp_codebox_producer_revision ), 'maintain-docs.yml must execute helpers from the accepted producer revision.' ); $assert( str_contains( $maintain_docs_workflow, '--arg writablePaths "$INPUT_WRITABLE_PATHS"' ), 'maintain-docs.yml must include writable paths in the portable recipe.' ); @@ -103,7 +103,7 @@ foreach ( array( 'Docs Agent Runner Recipe', 'portable recipe', 'Docs Agent owns the native package' ) as $migration_note_text ) { $assert( str_contains( $workflow_readme, $migration_note_text ), "Workflow README missing agent runtime note: {$migration_note_text}" ); } -$assert( str_contains( $workflow_readme, 'v0.33.6' ), 'Workflow README must record the WP Codebox release tag.' ); +$assert( str_contains( $workflow_readme, 'v0.33.7' ), 'Workflow README must record the WP Codebox release tag.' ); $assert( str_contains( $workflow_readme, 'Diagnostic messages that name runtime classes remain reviewable' ), 'Workflow README must document diagnostic-versus-source detection.' ); $assert( str_contains( $workflow_readme, 'allowlisted review artifacts' ), 'Workflow README must document the WP Codebox upload allowlist.' ); $assert( str_contains( $workflow_readme, 'normalized failed result' ), 'Workflow README must document normalized WP Codebox failures.' ); diff --git a/tests/validate-external-native-package-sources.php b/tests/validate-external-native-package-sources.php index 32d1fc9..50d0047 100644 --- a/tests/validate-external-native-package-sources.php +++ b/tests/validate-external-native-package-sources.php @@ -30,12 +30,12 @@ return $contents; }; -$package_revision = '667a3d7e43b938cae157235131da4462b09eebb5'; +$package_revision = '2f83a20d5abb24f46fea9630259c8886d7134823'; $packages = array( 'technical:bootstrap' => array( 'path' => 'bundles/technical-docs-agent/native/technical-docs-bootstrap-agent.agent.json', 'slug' => 'technical-docs-bootstrap-agent', 'digest' => '21b4efe1323ace3fd9c445c3eae36d42c128bc1e3d2dd0b575b89ecb38b02eae' ), - 'technical:maintenance' => array( 'path' => 'bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json', 'slug' => 'technical-docs-maintenance-agent', 'digest' => '975c7b0a0a7aff52897c52be5ac903a7fb110ea3c33e16227f8694c74c932519' ), - 'user:bootstrap' => array( 'path' => 'bundles/user-docs-agent/native/user-docs-bootstrap-agent.agent.json', 'slug' => 'user-docs-bootstrap-agent', 'digest' => 'd22cf858b4413e150226989ff8cf253e2cfa7ef88b041d8ce14360f22df9d3a4' ), - 'user:maintenance' => array( 'path' => 'bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json', 'slug' => 'user-docs-maintenance-agent', 'digest' => 'c93ce43cd7e057759779d36499fd26de45f8c7d3395bbf08583bbc83121e80e6' ), + 'technical:maintenance' => array( 'path' => 'bundles/technical-docs-agent/native/technical-docs-maintenance-agent.agent.json', 'slug' => 'technical-docs-maintenance-agent', 'digest' => '4c0b545c7490ba62c243e085f6a145907787b19e76d72e3d83911657f6b187ab' ), + 'user:bootstrap' => array( 'path' => 'bundles/user-docs-agent/native/user-docs-bootstrap-agent.agent.json', 'slug' => 'user-docs-bootstrap-agent', 'digest' => 'b2e61a5052e35be709b00210b36cea5dc2d5d4f42d1f183bc7af597270f552e1' ), + 'user:maintenance' => array( 'path' => 'bundles/user-docs-agent/native/user-docs-maintenance-agent.agent.json', 'slug' => 'user-docs-maintenance-agent', 'digest' => 'dfdc3281afae497e311bd515a4bda8db40a9653b82ac5e621798cace53e1487c' ), 'skills:maintenance' => array( 'path' => 'bundles/skills-agent/native/skills-maintenance-agent.agent.json', 'slug' => 'skills-maintenance-agent', 'digest' => '0f8d35fe0026aa62b9ddf2e86c4f9432b4d8aae90757dfbaf334d4a0671fb8a3' ), ); diff --git a/tests/validate-wp-codebox-run-agent-task-contract.php b/tests/validate-wp-codebox-run-agent-task-contract.php index c3a0694..7f4ffb7 100644 --- a/tests/validate-wp-codebox-run-agent-task-contract.php +++ b/tests/validate-wp-codebox-run-agent-task-contract.php @@ -58,10 +58,10 @@ $published_assets = $release['published_assets'] ?? null; $assert( is_array( $published_assets ), 'WP Codebox release fixture must record published release assets.' ); $assert( array( - 'wp-codebox-cli-linux-x64.tar.gz' => 'sha256:8f63a453ac3ac5a96b49c467a1b94c1aaa92829ee5d57cac8ddf1f2b5be06fe6', - 'wp-codebox-workspace-0.33.6.tgz' => 'sha256:da7dbc7c5249e84a521d4c3b06a10e81a0b83432933f1a0aee9677ba67d331cb', - 'wp-codebox.zip' => 'sha256:2edb4394ffa54cc42d603506630bc9825bc5dce0b22261c6c04778640f5f7f56', -) === $published_assets, 'WP Codebox release fixture must retain the published v0.33.6 asset digests.' ); + 'wp-codebox-cli-linux-x64.tar.gz' => 'sha256:c0973033d6dd3adf87004e45d3fb8c0a495ea9dcf7d54a62c543e5926483dcd5', + 'wp-codebox-workspace-0.33.7.tgz' => 'sha256:61bbab7b894d6bcc8b817e835a639d9fa99487bd5d263e4aa1a6ff238df08bb4', + 'wp-codebox.zip' => 'sha256:363b409666c2478982f391a2b30e1d08be5dfc2aed36cc2da12f537de677ad02', +) === $published_assets, 'WP Codebox release fixture must retain the published v0.33.7 asset digests.' ); $run = $release['run'] ?? null; $assert( is_string( $run ) && preg_match( '/^\d+$/', $run ) === 1, 'WP Codebox release fixture must retain the regression run reference.' ); $diagnostic_regression_run = $release['diagnostic_regression_run'] ?? null; @@ -100,6 +100,8 @@ $assert( true === ( $release['runner_workspace_apply_outcome'] ?? null ), 'WP Codebox release fixture must record the explicit runner-workspace apply outcome.' ); $assert( true === ( $release['writes_not_applied_fails_closed'] ?? null ), 'WP Codebox release fixture must fail closed when sandbox writes do not reach the host workspace.' ); $assert( true === ( $release['decoded_reviewer_transcript_write_ledger'] ?? null ), 'WP Codebox release fixture must upload decoded tool observability and the write ledger in the reviewer transcript.' ); +$assert( true === ( $release['explicit_publication_branch'] ?? null ), 'WP Codebox release fixture must use an explicit runner_workspace.branch exactly as given.' ); +$assert( true === ( $release['seed_baseline_workspace_git_tools'] ?? null ), 'WP Codebox release fixture must provide workspace_git_status/diff against the seed baseline.' ); $native_result_path = $release['native_result_path'] ?? null; $workflow_result_path = $release['workflow_result_path'] ?? null; $assert( '.codebox/native-agent-task-result.json' === $native_result_path, 'WP Codebox release fixture must declare the controlled native result path.' ); @@ -245,7 +247,7 @@ $assert( isset( $caller_inputs['external_package_source'] ), 'Docs Agent must provide the required external package descriptor.' ); $assert( ! isset( $caller_inputs['agent_bundle'] ), 'Docs Agent must not pass the removed agent_bundle input.' ); -$assert( str_contains( $workflow, 'DOCS_AGENT_PACKAGE_REVISION: 667a3d7e43b938cae157235131da4462b09eebb5' ), 'Docs Agent must use the fixed native package source revision.' ); +$assert( str_contains( $workflow, 'DOCS_AGENT_PACKAGE_REVISION: 2f83a20d5abb24f46fea9630259c8886d7134823' ), 'Docs Agent must use the fixed native package source revision.' ); $assert( ! str_contains( $workflow, 'github.job_workflow_sha' ), 'Docs Agent must not depend on unavailable called-workflow provenance.' ); preg_match( "/runtime_sources='(?[^']+)'/", $workflow, $runtime_sources_match ); @@ -395,18 +397,28 @@ $assert( array( 'job' => 'prepare', 'output' => 'success_requires_pr' ) === ( $caller_outputs['success_requires_pr'] ?? null ), 'Docs Agent must expose the selected publication policy to consumers.' ); $assert( str_contains( $workflow, 'successRequiresPr:$successRequiresPr' ), 'Docs Agent recipe must retain the selected publication policy.' ); $assert( str_contains( $workflow, '--arg validationDependencies "$INPUT_VALIDATION_DEPENDENCIES"' ), 'Docs Agent recipe must retain caller-owned validation dependencies.' ); -$assert( str_contains( $workflow, '{enabled:true,repo:$repo,clone_url:("https://github.com/" + $repo + ".git"),branch:$branch,branch_prefix:$branch,base:$baseRef,from:("origin/" + $baseRef)}' ), 'Docs Agent runner workspace publication must forward base_ref as base and preserve origin-qualified from.' ); -$runner_workspace_json = shell_exec( "jq -cn --arg repo 'Automattic/example' --arg branch 'docs-agent/docs-upkeep' --arg baseRef 'trunk' '{enabled:true,repo:\$repo,clone_url:(\"https://github.com/\" + \$repo + \".git\"),branch:\$branch,branch_prefix:\$branch,base:\$baseRef,from:(\"origin/\" + \$baseRef)}'" ); +$runner_workspace_expression = '{enabled:true,repo:$repo,clone_url:("https://github.com/" + $repo + ".git"),branch:$branch,base:$baseRef,from:("origin/" + $baseRef),title:$title,commit_message:$title,body:$body}'; +$assert( str_contains( $workflow, "'" . $runner_workspace_expression . "'" ), 'Docs Agent runner workspace publication must forward base_ref as base, preserve origin-qualified from, pass docs_branch as the exact branch, and set the PR title, commit message, and body.' ); +$assert( ! str_contains( $workflow, 'branch_prefix:$branch' ), 'Docs Agent must not pass docs_branch as a branch prefix; WP Codebox appended the workload id to it (wp-codebox#2591).' ); +$runner_workspace_json = shell_exec( "jq -cn --arg repo 'Automattic/example' --arg branch 'docs-agent/docs-upkeep' --arg baseRef 'trunk' --arg title 'docs(example): user docs maintenance' --arg body 'Body' " . escapeshellarg( $runner_workspace_expression ) ); $runner_workspace = json_decode( (string) $runner_workspace_json, true ); $assert( array( - 'enabled' => true, - 'repo' => 'Automattic/example', - 'clone_url' => 'https://github.com/Automattic/example.git', - 'branch' => 'docs-agent/docs-upkeep', - 'branch_prefix' => 'docs-agent/docs-upkeep', - 'base' => 'trunk', - 'from' => 'origin/trunk', -) === $runner_workspace, 'Docs Agent must emit trunk as publication base and origin/trunk as runner workspace from.' ); + 'enabled' => true, + 'repo' => 'Automattic/example', + 'clone_url' => 'https://github.com/Automattic/example.git', + 'branch' => 'docs-agent/docs-upkeep', + 'base' => 'trunk', + 'from' => 'origin/trunk', + 'title' => 'docs(example): user docs maintenance', + 'commit_message' => 'docs(example): user docs maintenance', + 'body' => 'Body', +) === $runner_workspace, 'Docs Agent must emit trunk as publication base, origin/trunk as runner workspace from, and the docs PR title and body.' ); + +// The PR title says what the run did (docs-agent#190), never the generic workload label. +$assert( 1 === preg_match( '/^ docs_scope:\n(?: [^\n]*\n)*? default: ""$/m', $workflow ), 'Docs Agent must expose an optional docs_scope input for the PR title.' ); +$assert( str_contains( $workflow, 'docs_scope="${INPUT_DOCS_SCOPE:-${GITHUB_REPOSITORY_NAME##*/}}"' ), 'Docs Agent must default the PR title scope to the repository name.' ); +$assert( str_contains( $workflow, 'pr_title="docs($docs_scope): $lane_title $RUN_KIND"' ), 'Docs Agent must title PRs docs(): docs .' ); +$assert( str_contains( $workflow, 'Generated documentation needs human review before merge.' ), 'Docs Agent PR bodies must ask for human review.' ); preg_match( "/artifact_declarations='(?\[.*?\])'\n/s", $workflow, $artifact_declarations_match ); $assert( isset( $artifact_declarations_match['json'] ), 'Docs Agent must define typed artifact declarations.' ); diff --git a/tests/wp-codebox-release.fixture.json b/tests/wp-codebox-release.fixture.json index 5d65ec4..10c9c93 100644 --- a/tests/wp-codebox-release.fixture.json +++ b/tests/wp-codebox-release.fixture.json @@ -1,12 +1,12 @@ { - "tag": "v0.33.6", - "revision": "4875fb1550a34e4f07c44cff20bad477b83115de", - "producer_revision": "4875fb1550a34e4f07c44cff20bad477b83115de", - "package_version": "0.33.6", + "tag": "v0.33.7", + "revision": "9764022156a61ba7d2b4d8a2196b01ccb33b82b5", + "producer_revision": "9764022156a61ba7d2b4d8a2196b01ccb33b82b5", + "package_version": "0.33.7", "published_assets": { - "wp-codebox-cli-linux-x64.tar.gz": "sha256:8f63a453ac3ac5a96b49c467a1b94c1aaa92829ee5d57cac8ddf1f2b5be06fe6", - "wp-codebox-workspace-0.33.6.tgz": "sha256:da7dbc7c5249e84a521d4c3b06a10e81a0b83432933f1a0aee9677ba67d331cb", - "wp-codebox.zip": "sha256:2edb4394ffa54cc42d603506630bc9825bc5dce0b22261c6c04778640f5f7f56" + "wp-codebox-cli-linux-x64.tar.gz": "sha256:c0973033d6dd3adf87004e45d3fb8c0a495ea9dcf7d54a62c543e5926483dcd5", + "wp-codebox-workspace-0.33.7.tgz": "sha256:61bbab7b894d6bcc8b817e835a639d9fa99487bd5d263e4aa1a6ff238df08bb4", + "wp-codebox.zip": "sha256:363b409666c2478982f391a2b30e1d08be5dfc2aed36cc2da12f537de677ad02" }, "run": "29350690551", "diagnostic_regression_run": "29307978522", @@ -43,6 +43,8 @@ "runner_workspace_apply_outcome": true, "writes_not_applied_fails_closed": true, "decoded_reviewer_transcript_write_ledger": true, + "explicit_publication_branch": true, + "seed_baseline_workspace_git_tools": true, "native_result_path": ".codebox/native-agent-task-result.json", "workflow_result_path": ".codebox/agent-task-workflow-result.json" }