Skip to content

Allow workflow steps in strict dry-run compilation - #75978

Merged
pelikhan merged 5 commits into
mainfrom
copilot/aw-top-10-allow-trusted-workflows
Nov 9, 2026
Merged

pelikhan merged 5 commits into
mainfrom
copilot/aw-top-10-allow-trusted-workflows

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Strict dry-run compilation rejected trusted workflows that use ordinary steps and post-steps, blocking compile-only validation. The change allows those sections while keeping execution-sensitive constructs rejected.

  • Dry-run behavior: Retain steps and post-steps in emitted locks; compilation does not execute them. Pre-activation steps, on.steps, custom MCP servers and scripts, and authored OIDC permissions remain blocked.
  • Regression coverage: Verify accepted workflow steps compile and unsafe pre-activation steps are still rejected.
  • Documentation: Update CLI and MCP descriptions and the changelog to clarify the boundary.
steps:
  - name: Set up
    run: echo setup
post-steps:
  - name: Clean up
    run: echo cleanup

Copilot AI changed the title [WIP] Fix dry-run compilation for trusted workflows Allow workflow steps in strict dry-run compilation Nov 8, 2026
Copilot AI requested a review from gh-aw-bot November 8, 2026 21:40
@pelikhan
pelikhan marked this pull request as ready for review November 8, 2026 22:37
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 22:37
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

❌ PR Specification Reviewer failed to deliver outputs. Please review the logs for details.

Generated by PR Specification Reviewer for #75978

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · routed: gpt61 medium · ~4 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 181 · ◷

Generated by Ponytail Reviewer for #75978

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.6K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the changed dry-run validation, emitted-step behavior, documentation, and regression coverage. I found no actionable correctness issues on the changed lines.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head 5320a41 against compiler threat detection specification v1.0.98 and related changelog. The implementation and regression evidence intentionally change strict CLI dry-run to retain ordinary workflow steps/post-steps without executing them, while preserving rejection of pre-activation steps and other host-side effects. Synchronized specs/compiler-threat-detection-spec.md (Sections 2, 3.1, 5.2.1, 8) and specs/compiler-threat-detection-changelog.md to v1.0.99; the specification-only commit is queued to the same-repository PR branch. No blocking conformance findings. Static review only; tests were not run per review contract.

Generated by PR Specification Reviewer for #75978 · copilot · gpt50 · ~6 AIC · ⌖ ~2 AIC · ⊞ 1.7K
Comment /review-specs to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /diagnosing-bugs, /tdd and /grill-with-docs. Requesting changes: removing steps and post-steps from the dry-run gate reverses ADR-70851 and leaves the dispatched dry-run lock with unfiltered authored steps.

📋 Key Themes & Highlights

Key Themes

  • Safety regression: compiler_development_safety.go no longer rejects steps/post-steps. emitCustomSteps (compiler_yaml_runtime_setup.go) writes data.CustomSteps unconditionally, so the retained steps land in the agent job of the lock that .github/aw/debug-compilation.md says is dispatched for live tests. I confirmed the emission path by reading the code; I did not run a workflow, so runtime execution is inferred.
  • Unresolved policy conflict: ADR-70851 (docs/adr/70851-...md) still requires rejecting steps and post-steps. Supersede it, or keep the rejection.
  • Stale docs outside this diff: docs/src/content/docs/reference/compilation-process.md:488-490 and .github/aw/debug-compilation.md:80-81 still list steps and post-steps as rejected. .changeset/major-fail-closed-dry-run-host-effects.md:7 still says dry-run "now rejects authored host steps".
  • Weak test: TestDryRunCompilesWorkflowStepsAndPostSteps only checks that the strings appear in the lock.

Validation

  • go test ./pkg/workflow -run TestDryRun: pass
  • go test ./pkg/cli -run TestCompileToolAgentJobHealthStrictDryRun: pass

Positive Highlights

  • ✅ Pre-activation steps, on.steps, custom MCP servers and mcp-scripts remain rejected, and the unsafe-pre-step regression is covered.
  • ✅ The flag, MCP, and CLI descriptions were updated together.

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~5 AIC · ⌖ ~2 AIC · ⊞ 6.3K
Comment /matt to run again

Comment thread CHANGELOG.md Outdated
declarations in a separate diagnostic workflow, reviewing skipped dependencies,
and resolving actionable findings before live testing. Ordinary compilation is
unchanged; dry-run is still not a hosted execution sandbox.
`compile --dry-run` retains workflow `steps` and `post-steps` in emitted locks

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/grill-with-docs] .changeset/major-fail-closed-dry-run-host-effects.md:7 still says dry-run "now rejects authored host steps", which contradicts this entry. Update the changeset too, or the two release notes will disagree. The ADR, compilation-process.md, and debug-compilation.md also still list steps and post-steps as rejected; those files are outside this diff, so they are noted in the review summary.

@copilot please address this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 5418fdb: the changeset, changelog, ADR-70851 amendment, compilation reference, and debugging guide now consistently describe accepted but omitted steps/post-steps, explicitly rejected hooks, and reduced live-test coverage.

Comment thread docs/src/content/docs/setup/cli.md Outdated
**`--no-logo` flag:** Omit the ASCII logo from generated workflow headers without removing metadata or regeneration instructions. To persist this setting for all compiles, including upgrades, set [`"lock_file_logo": false` in `.github/workflows/aw.json`](/gh-aw/reference/compilation-process/#repository-configuration-awjson). Either opt-out disables the logo; `--banner` only controls terminal output.

**`--dry-run` flag:** Compile with strict source validation, staged safe outputs, shellcheck, and model checks. Existing and added medium-or-higher or unclassified scanner findings fail; baseline counts remain available for comparison. Low-severity findings and zizmor's `secrets-outside-env` rule do not fail the gate. Docker-based image validation and scanners are opt-in; native shellcheck provides required run-step linting without Docker. Missing required checks or model inventory block compilation. Compiler-managed GitHub mutations and authored custom jobs are disabled. Custom jobs and custom safe-output jobs become credential-free placeholders, including reusable calls with inherited secrets. Authored host steps, custom MCP servers, `mcp-scripts`, custom safe-output scripts, enabled Bash graders, and authored OIDC permissions are rejected, including imported declarations. Remove unsupported declarations in a separate diagnostic workflow. Emitted locks remove telemetry environment variables and automatic OTLP authentication. Agent shell commands, custom engine execution, custom credentials, and hosted identities still require review; dry-run is not a hosted sandbox. Explicitly disabling a required check is rejected; `--no-emit`, `--watch`, `--approve`, and `--allow-action-refs` are incompatible. This flag does not upload or execute workflows and is distinct from `--action-mode dev`. The compile MCP input is `dry_run`; `validate_images: true` opts into required image validation. See [Development Testing Mode](/gh-aw/reference/compilation-process/#development-testing-mode).
**`--dry-run` flag:** Compile with strict source validation, staged safe outputs, shellcheck, and model checks. Existing and added medium-or-higher or unclassified scanner findings fail; baseline counts remain available for comparison. Low-severity findings and zizmor's `secrets-outside-env` rule do not fail the gate. Docker-based image validation and scanners are opt-in; native shellcheck provides required run-step linting without Docker. Missing required checks or model inventory block compilation. Compiler-managed GitHub mutations and authored custom jobs are disabled. Custom jobs and custom safe-output jobs become credential-free placeholders, including reusable calls with inherited secrets. Workflow `steps` and `post-steps` are retained in the emitted lock but are not executed by compilation; review their effects before any separate execution. Pre-activation steps, `on.steps`, custom MCP servers, `mcp-scripts`, custom safe-output scripts, enabled Bash graders, and authored OIDC permissions are rejected, including imported declarations. Remove unsupported declarations in a separate diagnostic workflow. Emitted locks remove telemetry environment variables and automatic OTLP authentication. Agent shell commands, custom engine execution, custom credentials, and hosted identities still require review; dry-run is not a hosted sandbox. Explicitly disabling a required check is rejected; `--no-emit`, `--watch`, `--approve`, and `--allow-action-refs` are incompatible. This flag does not upload or execute workflows and is distinct from `--action-mode dev`. The compile MCP input is `dry_run`; `validate_images: true` opts into required image validation. See [Development Testing Mode](/gh-aw/reference/compilation-process/#development-testing-mode).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/grill-with-docs] "Not executed by compilation" is accurate but incomplete. The dry-run lock is the artifact the debug guide dispatches for live tests, so the retained steps do run on that path. State this here, or the flag description implies the lock is inert.

@copilot please address this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 5418fdb: the CLI reference now states that separately dispatched dry-run locks still execute the agent and compiler-owned steps. Authored steps/post-steps are omitted, including code and credentials, and cannot execute from that lock.

lock, err := os.ReadFile(filepath.Join(dir, "workflow.lock.yml"))
require.NoError(t, err)
assert.Contains(t, string(lock), "echo setup")
assert.Contains(t, string(lock), "echo cleanup")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/tdd] This test only checks that the strings appear in the lock. It locks in the retention and passes even if those steps become executable in dry-run. Add an assertion for the intended dry-run treatment (for example, absent or inert in the emitted lock), and keep the rejection coverage for untrusted variants.

@copilot please address this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 5418fdb: local and imported fixtures now assert authored commands, secret bindings, and token actions are absent from dry-run locks, with no token-induced agent OIDC write permission. Normal compilation retains them and its OIDC wiring. Existing untrusted-hook rejection tests remain.

name, content string
}{
{"steps", data.CustomSteps},
{"pre-steps", data.PreSteps},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/diagnosing-bugs] Removing steps and post-steps from this gate lets authored steps reach the dispatched dry-run lock with no dry-run filter. emitCustomSteps in compiler_yaml_runtime_setup.go writes data.CustomSteps unconditionally, so these steps become plain steps in the agent job. .github/aw/debug-compilation.md says that dry-run lock is the artifact uploaded and dispatched for live tests, so the steps do run on that path. Compile-time non-execution does not cover it.

💡 Options

Either keep rejecting steps and post-steps in dry-run, or neutralise them at emission the way custom jobs become inert placeholders. If retaining them is the intended policy, ADR-70851 must be superseded first, since it currently requires rejecting them.

@copilot please address this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 5418fdb: dry-run preparation removes resolved CustomSteps and PostSteps from a copy before job construction and token wiring. They cannot reach the dispatched lock. Copy-isolation and local/imported compilation tests pass; ADR-70851 records the revised boundary.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Dry-run compilation retains executable host steps with secret access outside the agent firewall while misleadingly reporting that those scripts were rejected.

5 open issues
What changed in this PR

Updates gh-aw’s strict dry-run compiler to accept ordinary workflow setup and cleanup steps, enabling compile-only validation of trusted workflows.

Changes:

  • Retains steps and post-steps in emitted locks without executing them during compilation.
  • Adds acceptance coverage and updates the rejection fixture to use pre-steps.
  • Updates CLI help, MCP descriptions, documentation, and release notes.
File Description
pkg/​workflow/​compiler_development_safety.go Removes dry-run rejection of steps and post-steps.
pkg/​workflow/​compiler_development_safety_test.go Verifies accepted steps remain in emitted locks.
pkg/​cli/​mcp_tools_readonly.go Updates the MCP dry-run input description.
pkg/​cli/​mcp_compile_diagnostics_test.go Uses injected pre-steps to verify continued rejection.
docs/​src/​content/​docs/​setup/​cli.md Documents retained steps and separate execution review.
cmd/​gh-aw/​main.go Updates dry-run flag help.
CHANGELOG.md Describes the revised dry-run behavior.

Review effort: Max (auto)

Comment on lines 25 to 27
}{
{"steps", data.CustomSteps},
{"pre-steps", data.PreSteps},
{"pre-agent-steps", data.PreAgentSteps},
Comment on lines 25 to 27
}{
{"steps", data.CustomSteps},
{"pre-steps", data.PreSteps},
{"pre-agent-steps", data.PreAgentSteps},
Comment thread CHANGELOG.md Outdated
declarations in a separate diagnostic workflow, reviewing skipped dependencies,
and resolving actionable findings before live testing. Ordinary compilation is
unchanged; dry-run is still not a hosted execution sandbox.
`compile --dry-run` retains workflow `steps` and `post-steps` in emitted locks
Comment thread docs/src/content/docs/setup/cli.md Outdated
**`--no-logo` flag:** Omit the ASCII logo from generated workflow headers without removing metadata or regeneration instructions. To persist this setting for all compiles, including upgrades, set [`"lock_file_logo": false` in `.github/workflows/aw.json`](/gh-aw/reference/compilation-process/#repository-configuration-awjson). Either opt-out disables the logo; `--banner` only controls terminal output.

**`--dry-run` flag:** Compile with strict source validation, staged safe outputs, shellcheck, and model checks. Existing and added medium-or-higher or unclassified scanner findings fail; baseline counts remain available for comparison. Low-severity findings and zizmor's `secrets-outside-env` rule do not fail the gate. Docker-based image validation and scanners are opt-in; native shellcheck provides required run-step linting without Docker. Missing required checks or model inventory block compilation. Compiler-managed GitHub mutations and authored custom jobs are disabled. Custom jobs and custom safe-output jobs become credential-free placeholders, including reusable calls with inherited secrets. Authored host steps, custom MCP servers, `mcp-scripts`, custom safe-output scripts, enabled Bash graders, and authored OIDC permissions are rejected, including imported declarations. Remove unsupported declarations in a separate diagnostic workflow. Emitted locks remove telemetry environment variables and automatic OTLP authentication. Agent shell commands, custom engine execution, custom credentials, and hosted identities still require review; dry-run is not a hosted sandbox. Explicitly disabling a required check is rejected; `--no-emit`, `--watch`, `--approve`, and `--allow-action-refs` are incompatible. This flag does not upload or execute workflows and is distinct from `--action-mode dev`. The compile MCP input is `dry_run`; `validate_images: true` opts into required image validation. See [Development Testing Mode](/gh-aw/reference/compilation-process/#development-testing-mode).
**`--dry-run` flag:** Compile with strict source validation, staged safe outputs, shellcheck, and model checks. Existing and added medium-or-higher or unclassified scanner findings fail; baseline counts remain available for comparison. Low-severity findings and zizmor's `secrets-outside-env` rule do not fail the gate. Docker-based image validation and scanners are opt-in; native shellcheck provides required run-step linting without Docker. Missing required checks or model inventory block compilation. Compiler-managed GitHub mutations and authored custom jobs are disabled. Custom jobs and custom safe-output jobs become credential-free placeholders, including reusable calls with inherited secrets. Workflow `steps` and `post-steps` are retained in the emitted lock but are not executed by compilation; review their effects before any separate execution. Pre-activation steps, `on.steps`, custom MCP servers, `mcp-scripts`, custom safe-output scripts, enabled Bash graders, and authored OIDC permissions are rejected, including imported declarations. Remove unsupported declarations in a separate diagnostic workflow. Emitted locks remove telemetry environment variables and automatic OTLP authentication. Agent shell commands, custom engine execution, custom credentials, and hosted identities still require review; dry-run is not a hosted sandbox. Explicitly disabling a required check is rejected; `--no-emit`, `--watch`, `--approve`, and `--allow-action-refs` are incompatible. This flag does not upload or execute workflows and is distinct from `--action-mode dev`. The compile MCP input is `dry_run`; `validate_images: true` opts into required image validation. See [Development Testing Mode](/gh-aw/reference/compilation-process/#development-testing-mode).
Comment thread docs/src/content/docs/setup/cli.md Outdated
**`--no-logo` flag:** Omit the ASCII logo from generated workflow headers without removing metadata or regeneration instructions. To persist this setting for all compiles, including upgrades, set [`"lock_file_logo": false` in `.github/workflows/aw.json`](/gh-aw/reference/compilation-process/#repository-configuration-awjson). Either opt-out disables the logo; `--banner` only controls terminal output.

**`--dry-run` flag:** Compile with strict source validation, staged safe outputs, shellcheck, and model checks. Existing and added medium-or-higher or unclassified scanner findings fail; baseline counts remain available for comparison. Low-severity findings and zizmor's `secrets-outside-env` rule do not fail the gate. Docker-based image validation and scanners are opt-in; native shellcheck provides required run-step linting without Docker. Missing required checks or model inventory block compilation. Compiler-managed GitHub mutations and authored custom jobs are disabled. Custom jobs and custom safe-output jobs become credential-free placeholders, including reusable calls with inherited secrets. Authored host steps, custom MCP servers, `mcp-scripts`, custom safe-output scripts, enabled Bash graders, and authored OIDC permissions are rejected, including imported declarations. Remove unsupported declarations in a separate diagnostic workflow. Emitted locks remove telemetry environment variables and automatic OTLP authentication. Agent shell commands, custom engine execution, custom credentials, and hosted identities still require review; dry-run is not a hosted sandbox. Explicitly disabling a required check is rejected; `--no-emit`, `--watch`, `--approve`, and `--allow-action-refs` are incompatible. This flag does not upload or execute workflows and is distinct from `--action-mode dev`. The compile MCP input is `dry_run`; `validate_images: true` opts into required image validation. See [Development Testing Mode](/gh-aw/reference/compilation-process/#development-testing-mode).
**`--dry-run` flag:** Compile with strict source validation, staged safe outputs, shellcheck, and model checks. Existing and added medium-or-higher or unclassified scanner findings fail; baseline counts remain available for comparison. Low-severity findings and zizmor's `secrets-outside-env` rule do not fail the gate. Docker-based image validation and scanners are opt-in; native shellcheck provides required run-step linting without Docker. Missing required checks or model inventory block compilation. Compiler-managed GitHub mutations and authored custom jobs are disabled. Custom jobs and custom safe-output jobs become credential-free placeholders, including reusable calls with inherited secrets. Workflow `steps` and `post-steps` are retained in the emitted lock but are not executed by compilation; review their effects before any separate execution. Pre-activation steps, `on.steps`, custom MCP servers, `mcp-scripts`, custom safe-output scripts, enabled Bash graders, and authored OIDC permissions are rejected, including imported declarations. Remove unsupported declarations in a separate diagnostic workflow. Emitted locks remove telemetry environment variables and automatic OTLP authentication. Agent shell commands, custom engine execution, custom credentials, and hosted identities still require review; dry-run is not a hosted sandbox. Explicitly disabling a required check is rejected; `--no-emit`, `--watch`, `--approve`, and `--allow-action-refs` are incompatible. This flag does not upload or execute workflows and is distinct from `--action-mode dev`. The compile MCP input is `dry_run`; `validate_images: true` opts into required image validation. See [Development Testing Mode](/gh-aw/reference/compilation-process/#development-testing-mode).
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (CHANGELOG.md:36): [/grill-with-docs] .changeset/major-fail-closed-dry-run-host-effects.md:7 still says dry-run "now rejects authored host steps", which contradicts this entry. Update the changeset too, or the two release notes will disagree. The ADR, compilation-process.md, and debug-compilation.md also still list steps and post-steps as rejected; those files are outside this diff, so they are noted in the review summary. - Allow workflow steps in strict dry-run compilation #75978 (comment)
  3. Review (docs/src/content/docs/setup/cli.md:459): [/grill-with-docs] "Not executed by compilation" is accurate but incomplete. The dry-run lock is the artifact the debug guide dispatches for live tests, so the retained steps do run on that path. State this here, or the flag description implies the lock is inert. - Allow workflow steps in strict dry-run compilation #75978 (comment)
  4. Review (pkg/workflow/compiler_development_safety_test.go:84): [/tdd] This test only checks that the strings appear in the lock. It locks in the retention and passes even if those steps become executable in dry-run. Add an assertion for the intended dry-run treatment (for example, absent or inert in the emitted lock), and keep the rejection coverage for untrusted variants. - Allow workflow steps in strict dry-run compilation #75978 (comment)
  5. Review (pkg/workflow/compiler_development_safety.go:26): [/diagnosing-bugs] Removing steps and post-steps from this gate lets authored steps reach the dispatched dry-run lock with no dry-run filter. emitCustomSteps in compiler_yaml_runtime_setup.go writes data.CustomSteps unconditionally, so these steps become plain steps in the agent job. .github/aw/debug-compilation.md says that dry-run lock is the artifact uploaded and dispatched for live tests, so the steps do run on that path. Compile-time non-execution does not cover it. - Allow workflow steps in strict dry-run compilation #75978 (comment)
  6. Fix failing check impacted-go-tests (FAILURE): https://github.com/github/gh-aw/actions/runs/42531170007/job/128885551528.
  7. Fix failing check impacted-go-tests (FAILURE): https://github.com/github/gh-aw/actions/runs/42526258631/job/128870559710.
  8. Fix failing check safe_outputs (FAILURE): https://github.com/github/gh-aw/actions/runs/42531169913/job/128887321390.

Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI.

Sous-chef requested-head: 5320a41
Sous-chef requested-work: 0dc82f41ed723896c5055b84bf64b8c1e55148bc31648ca5a66b40fc70020979 42e5d572d9d75b7168fe7d0aeda0717cc07e65ed240f6d299e6fec661214f1ac 648917b8f7435f7a99212f29e1e965bcb6fb1386c53eb7e8976ef00c64fc3246 b21d60d317bef87a99a93c728ceb05b8d9f28a80ccb5a8f70943ed1c367a4707 c7cf93e497befdd5e698d00101b0703e4101fe4133d86d433f7c170d07402b7e cc98f44ff845f8842e0d42d8a91b624e440a844983675c8f27207c3105b7004a
Sous-chef requested-state: 055ff9e74697427a2f8b9e678952e651c5a6ae81649754d2d02804a18bc5ec16

Generated by 👨🍳 PR Sous Chef · pi · haiku45 · ~14 AIC · ⌖ ~18 AIC · ⊞ 1.2K · ◷
Comment /souschef to run again

Copilot AI commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

Copilot assignment requested for the following outstanding work:...

Assignment running:

  1. Update this branch with latest main using make merge-main, preserving intended changes.
  2. Align the changeset, ADR, compilation reference, and debugging guide.
  3. Clarify emitted dry-run lock behavior in CLI documentation.
  4. Assert authored steps are absent or inert and retain untrusted-hook rejection coverage.
  5. Prevent authored host effects in dispatched dry-run locks.
  6. Investigate impacted-go-tests run 42531170007.
  7. Investigate impacted-go-tests run 42526258631.
  8. Investigate safe_outputs run 42531169913.

Sous-chef requested-head: 5320a41
Sous-chef requested-work: 0dc82f41ed723896c5055b84bf64b8c1e55148bc31648ca5a66b40fc70020979 42e5d572d9d75b7168fe7d0aeda0717cc07e65ed240f6d299e6fec661214f1ac 648917b8f7435f7a99212f29e1e965bcb6fb1386c53eb7e8976ef00c64fc3246 b21d60d317bef87a99a93c728ceb05b8d9f28a80ccb5a8f70943ed1c367a4707 c7cf93e497befdd5e698d00101b0703e4101fe4133d86d433f7c170d07402b7e cc98f44ff845f8842e0d42d8a91b624e440a844983675c8f27207c3105b7004a
Sous-chef requested-state: 055ff9e74697427a2f8b9e678952e651c5a6ae81649754d2d02804a18bc5ec16

@pelikhan
pelikhan merged commit 4cec482 into main Nov 9, 2026
50 checks passed
@pelikhan
pelikhan deleted the copilot/aw-top-10-allow-trusted-workflows branch November 9, 2026 00:21
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AW Top 10] 09 Allow trusted workflows through strict dry-run compilation

4 participants