|
56 | 56 | $published_assets = $release['published_assets'] ?? null; |
57 | 57 | $assert( is_array( $published_assets ), 'WP Codebox release fixture must record published release assets.' ); |
58 | 58 | $assert( array( |
59 | | - '01-wp-codebox.zip' => 'sha256:1c03a35cf0f31e8b2fbbacaae5867f205ea8ae7b8c2017d0e3e297ed6298ff72', |
60 | | - '02-wp-codebox-workspace-0.12.27.tgz' => 'sha256:be6ec64bd0dc667629ee019d6a79d505927ef2854c8db21fd23d656d0e7d3e6d', |
61 | | -) === $published_assets, 'WP Codebox release fixture must retain the published v0.12.27 asset digests.' ); |
| 59 | + '01-wp-codebox.zip' => 'sha256:9a77c7f0117c29cf1c0a98859608013a70afada8a1314c278e0d5e25eb7a00e8', |
| 60 | + '02-wp-codebox-workspace-0.12.28.tgz' => 'sha256:98117c40bb42b3d6790af38a2104259b12a6ca820f21df881024c7711bf9569e', |
| 61 | +) === $published_assets, 'WP Codebox release fixture must retain the published v0.12.28 asset digests.' ); |
62 | 62 | $run = $release['run'] ?? null; |
63 | 63 | $assert( is_string( $run ) && preg_match( '/^\d+$/', $run ) === 1, 'WP Codebox release fixture must retain the regression run reference.' ); |
64 | 64 | $diagnostic_regression_run = $release['diagnostic_regression_run'] ?? null; |
|
93 | 93 | $assert( true === ( $release['runtime_control_files_excluded'] ?? null ), 'WP Codebox release fixture must exclude mutable .codebox runtime control files from publication integrity snapshots.' ); |
94 | 94 | $assert( true === ( $release['workspace_integrity_change_evidence'] ?? null ), 'WP Codebox release fixture must preserve bounded workspace integrity change evidence.' ); |
95 | 95 | $assert( true === ( $release['non_git_workspace_snapshot_fallback'] ?? null ), 'WP Codebox release fixture must retain bounded snapshots for non-Git workspaces.' ); |
| 96 | +$assert( true === ( $release['canonical_repository_casing'] ?? null ), 'WP Codebox release fixture must retain canonical repository casing coverage.' ); |
96 | 97 | $native_result_path = $release['native_result_path'] ?? null; |
97 | 98 | $workflow_result_path = $release['workflow_result_path'] ?? null; |
98 | 99 | $assert( '.codebox/native-agent-task-result.json' === $native_result_path, 'WP Codebox release fixture must declare the controlled native result path.' ); |
|
307 | 308 | $assert( in_array( '.codebox/agent-task-request.json', $producer_upload_regression['observed']['uploaded'] ?? array(), true ), 'WP Codebox upload regression fixture must retain the controlled request upload.' ); |
308 | 309 | $assert( ! array_intersect( array( 'MODEL_PROVIDER_SECRET_1', 'MODEL_PROVIDER_SECRET_2', 'MODEL_PROVIDER_SECRET_3', 'MODEL_PROVIDER_SECRET_4', 'MODEL_PROVIDER_SECRET_5' ), array_keys( $caller_secrets ) ), 'Docs Agent must forward only the OPENAI_API_KEY provider secret name.' ); |
309 | 310 |
|
310 | | -$assert( str_contains( $workflow, '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}}\')"' ), 'Docs Agent must define the v0.12.27 publication projection descriptor.' ); |
| 311 | +$assert( str_contains( $workflow, '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}}\')"' ), 'Docs Agent must define the v0.12.28 publication projection descriptor.' ); |
311 | 312 | $docs_projections = array( |
312 | 313 | 'docs_agent_publication' => array( |
313 | 314 | 'path' => 'metadata.runner_workspace_publication.pull_request.url', |
|
317 | 318 | $publication_descriptor = $docs_projections['docs_agent_publication'] ?? null; |
318 | 319 | $assert( is_array( $publication_descriptor ), 'Docs Agent must define the docs_agent_publication projection descriptor.' ); |
319 | 320 | $publication_path = $publication_descriptor['path'] ?? null; |
320 | | -$assert( 'metadata.runner_workspace_publication.pull_request.url' === $publication_path, 'Docs Agent publication projection must use the v0.12.27 runner workspace publication pull request URL path.' ); |
| 321 | +$assert( 'metadata.runner_workspace_publication.pull_request.url' === $publication_path, 'Docs Agent publication projection must use the v0.12.28 runner workspace publication pull request URL path.' ); |
321 | 322 |
|
322 | 323 | $assert( 'string' === ( $contract['inputs']['output_projections']['type'] ?? null ), 'WP Codebox must accept Docs Agent custom output projections.' ); |
323 | 324 |
|
|
0 commit comments