You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consterror=newError(`output_projections.${name} serializes to ${bytes} bytes, exceeding the ${MAX_WORKFLOW_OUTPUT_BYTES}-byte workflow output limit. Store the canonical value as a declared artifact and project its artifact-relative reference.`)
...(publicationRequired&&!publicationPassed ? {publication_error: "success_requires_pr requires a valid published runner-workspace pull request for target_repo."} : {}),
Copy file name to clipboardExpand all lines: docs/agent-task-reusable-workflow.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ This release-coherence contract fixes [#1759](https://github.com/Automattic/wp-c
66
66
- `access_token_repos`: comma-separated repositories available to the supplied access token.
67
67
- `allowed_repos`: JSON repository allowlist. It and `access_token_repos` must explicitly include `target_repo`.
68
68
- `expected_artifacts`: JSON allowlist and collection metadata. Required runtime artifacts are derived only from `artifact_declarations` entries with `required: true` and must be declared output artifacts.
69
-
- `output_projections`: JSON object mapping output names to dot-delimited paths in the native result. A string value remains a required projection for compatibility. A descriptor value has the exact shape `{ "path": "result.path", "required": false }`; unresolved optional projections are omitted, while unresolved required projections fail the run.
69
+
- `output_projections`: JSON object mapping output names to dot-delimited paths in the native result. A string value remains a required projection for compatibility. A descriptor value has the exact shape `{ "path": "result.path", "required": false }`; unresolved optional projections are omitted, while unresolved required projections fail the run. Each evaluated projection and the combined projection object must serialize to 8,192 bytes or less. Oversized projections fail before success with `wp-codebox.agent-task.output-projection-too-large`; declare an artifact and project its artifact-relative reference instead.
70
70
71
71
## Access And Publication
72
72
@@ -82,7 +82,7 @@ fail closed for every PR, issue, and comment operation outside that set. The
82
82
checkout does not persist credentials. Verification, dependency, and drift
83
83
commands run with a clean environment that excludes provider and GitHub secrets.
84
84
Known secret values are redacted before result or artifact persistence; captured
85
-
stdout/stderr is capped at 32 KiB and workflow outputs at 8 KiB.
85
+
stdout/stderr is capped at 32 KiB and workflow outputs at 8,192 bytes.
86
86
87
87
`EXTERNAL_PACKAGE_SOURCE_POLICY`is treated as a secret even when it contains
88
88
only repository and path metadata. It is redacted from runner output, excluded
@@ -137,6 +137,15 @@ runner token, so a fabricated publication result cannot satisfy the gate.
0 commit comments