Skip to content

Align compiler-generated workflow step names - #77646

Closed
gh-aw-bot wants to merge 3 commits into
mainfrom
copilot/align-compiler-generated-step-names
Closed

gh-aw-bot wants to merge 3 commits into
mainfrom
copilot/align-compiler-generated-step-names

Conversation

@gh-aw-bot

@gh-aw-bot gh-aw-bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Compiler-generated step names were inconsistent in clarity and capitalization. This change uses sentence case while preserving glossary capitalization, without renaming established steps.

  • Step names: Clarify the safe-output copy step; capitalize “Threat Detection” and “MCP Servers.”
  • Generated output: Update compiler assertions and regenerate lock files and golden fixtures.
- name: Copy raw safe-output NDJSON to /tmp/gh-aw
- name: Execute Threat Detection with AWF
- name: Mount MCP Servers as CLIs

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@gh-aw-bot gh-aw-bot changed the title [WIP] Align compiler-generated step names with glossary terms and casing Align compiler-generated workflow step names Nov 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Category: refactor | Risk: low | Score: 25 (impact 8 + urgency 5 + quality 12)
Recommended action: defer | Batch: pr-batch:quality-fixes
Why: Naming cleanup is low-risk and low-urgency; defer unless it is bundled with a higher-impact change.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~6 AIC · ⌖ ~2 AIC · ⊞ 14.4K · ◷

@pelikhan
pelikhan marked this pull request as ready for review November 14, 2026 14:09
Copilot AI adaptive review requested due to automatic review settings November 14, 2026 14:09
@github-actions

github-actions Bot commented Nov 14, 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.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 7.2K · ◷

@github-actions

This comment has been minimized.

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt56 · ~5 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 1.5K · ◷

@github-actions

github-actions Bot commented Nov 14, 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 by Ponytail Reviewer for #77646 · codex · routed: gpt61 medium · ~4 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 182 · ◷

@github-actions

github-actions Bot commented Nov 14, 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 · copilot · routed: haiku55 xhigh · ~10 AIC · ⌖ ~2 AIC · ⊞ 6.6K · ◷

@github-actions

github-actions Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_action

The agent completed and reported one or more actions. The no-op output is a completion signal, not a claim that no action was taken.

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

Generated by PR Specification Reviewer for #77646 · copilot · gpt56 · ~3 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 1.6K · ◷

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (spec-review-history)
{"id":"ldg-e0004bc8-1e0c-44f6-8257-dbe2c9235cf3","parents":[],"payload":{"id":"ldg-db646d68-5242-48a4-a281-61085510cfa9","operation":"append","value":{"finding_count":0,"head_sha":"3c6ca96ee59be950812fee64217e10d80953654a","outcome":"aligned"}},"sha":"sha256:4303a2079717ab0a2f14ac9f8cd87b8674187c4e26d7902c46f55d172895578e","timestamp":"2026-11-14T14:16:59.049Z","type":"ledger_append","version":1}
History

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-11-14T14:13:15Z
review_event: REQUEST_CHANGES
top_themes: [generated workflow model-routing no-op]
files_reviewed: [pkg/workflow/compiler_yaml_step_lifecycle.go, pkg/workflow/mcp_cli_mount.go, pkg/constants/job_constants.go, pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden]
comment_count: 1
History

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.5K · ◷
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.

Review summary

Request changes: the generated workflow contains a model-routing branch whose enabled and disabled arms are identical, so routing is silently ineffective. One inline correctness comment is attached.

Review limitations

The delegated grumpy-coder pass was unavailable because its diff-read request was denied; this review is based on the pre-fetched diff and changed source/fixture context. No tests were run per the static-review instructions.

Comments that could not be inline-anchored

pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden:955

The model-routing branch is a no-op here: both branches write the identical AWF_CONFIG_PAYLOAD, so enabling routing cannot alter the AWF configuration and the generated workflow silently ignores the routing decision. <details><summary>💡 Preserve the routing behavior in generated output</summary> Make the enabled branch emit the routing-aware payload (or remove this conditional if the payload is intentionally identical), and add a fixture assertion that the two modes produce the expected disti...

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~2 AIC · ⊞ 1.5K
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

🏗️ Design Decision Gate — ADR Required

This PR makes significant changes to core business logic (>100 new lines in pkg/) but does not have a linked Architecture Decision Record (ADR).

📄 Draft ADR committed: docs/adr/77646-use-sentence-case-for-compiler-step-names.md — review and complete it before merging.

🔒 This PR cannot merge until an ADR is linked in the PR body.

📋 What to do next
  1. Review the draft ADR committed to your branch. It was generated from the PR diff and linked issue [step-names] Align compiler-generated step names with glossary terms and casing #77051.

  2. Complete the missing sections. Add context the AI couldn't infer, refine the decision rationale, and list real alternatives you considered. Items marked [TODO: verify] need a decision.

  3. Commit the finalized ADR to docs/adr/ on your branch.

  4. Reference the ADR in this PR body by adding a line such as:

    ADR: ADR-77646: Use Sentence Case for Compiler-Generated Step Names (link unavailable: invalid HTTPS URL)

Once an ADR is linked in the PR body, this gate will re-run and verify the implementation matches the decision.

🔎 Evidence used for this decision
  • implementation label: not present.
  • Volume rule (no .design-gate.yml, default pkg/ counted): 3,593 added lines in business-logic directories, above the 100-line threshold. Of these, 3,576 are golden fixtures under pkg/workflow/testdata/; 4 are non-test Go source lines (mcp_cli_mount.go, job_constants.go, compiler_yaml_step_lifecycle.go).
  • ADR search: no ADR link in the PR body, no docs/adr/77646-* file on the branch before this draft, and linked issue [step-names] Align compiler-generated step names with glossary terms and casing #77051 has no Context, Decision, Alternatives or Consequences sections.
  • The gate applies the volume rule as written. If maintainers judge that this naming refactor does not need an ADR, they can say so on this PR.
📋 Michael Nygard ADR Format Reference

An ADR must contain these four sections to be considered complete:

  • Context: what is the problem? What forces are at play?
  • Decision: what did you decide? Why?
  • Alternatives Considered: what else could have been done?
  • Consequences: what are the trade-offs (positive and negative)?

All ADRs are stored in docs/adr/, numbered by PR number (for example 77646-...md for PR #77646).

References: §43603429910

🏗️ ADR gate enforced by Design Decision Gate 🏗️ · pi · routed: haiku55 xhigh · ~3 AIC · ⌖ ~2 AIC · ⊞ 8.6K · ◷
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (review-history)
{"id":"ldg-ebf2dbd7-8fea-410d-adee-f3c506deaa7b","parents":[],"payload":{"id":"ldg-bb6c10ff-3694-4eec-80db-9a097e040dae","operation":"append","value":{"finding_count":1,"head_sha":"3c6ca96ee59be950812fee64217e10d80953654a","outcome":"findings"}},"sha":"sha256:fe05e2f31ba401e2a0e1b224e864c50f56c341a23449fc8a9ebf404248e59791","timestamp":"2026-11-14T14:18:39.161Z","type":"ledger_append","version":1}
History

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.

🟢 Approval recommended

No active review issues are reported for the step-name clarification and capitalization changes.

No open issues 🎉

What changed in this PR

This PR aligns three compiler-generated step names in gh-aw with the clarity and capitalization requested in #77051. It changes display labels without changing step IDs or execution logic, while leaving other established names unchanged.

Changes:

  • Clarifies that the safe-output copy step collects raw NDJSON into /tmp/gh-aw.
  • Capitalizes “Threat Detection” and “MCP Servers” in generated step names.
  • Updates test assertions, golden fixtures, and compiled workflow locks to match.
File Description
pkg/​workflow/​threat_detection_arc_dind_test.go Updates Threat Detection step lookup.
pkg/​workflow/​testdata/​TestWasmGolden_CompileFixtures/​with-imports.golden Refreshes expected step labels.
pkg/​workflow/​testdata/​TestWasmGolden_CompileFixtures/​playwright-cli-mode.golden Refreshes expected step labels.
pkg/​workflow/​testdata/​TestWasmGolden_CompileFixtures/​basic-copilot.golden Refreshes expected step labels.
pkg/​workflow/​testdata/​TestWasmGolden_AllEngines/​pi.golden Refreshes Pi step labels.
pkg/​workflow/​testdata/​TestWasmGolden_AllEngines/​gemini.golden Refreshes Gemini step labels.
pkg/​workflow/​testdata/​TestWasmGolden_AllEngines/​copilot.golden Refreshes Copilot step labels.
pkg/​workflow/​testdata/​TestWasmGolden_AllEngines/​codex.golden Refreshes Codex step labels.
pkg/​workflow/​testdata/​TestWasmGolden_AllEngines/​claude.golden Refreshes Claude step labels.
pkg/​workflow/​no_bash_cli_proxy_integration_test.go Updates MCP mount assertion.
pkg/​workflow/​mcp_cli_mount.go Capitalizes emitted MCP Servers label and matching comment.
pkg/​workflow/​enclaves_test.go Updates MCP mount step lookup.
pkg/​workflow/​compiler_yaml_step_lifecycle.go Clarifies emitted raw-output collection label.
pkg/​workflow/​compiler_yaml_audit_step_test.go Updates MCP mount ordering assertion.
pkg/​workflow/​compiled_lock_files_test.go Updates compiled MCP mount assertion.
pkg/​workflow/​agentic_output_test.go Updates collection assertions and explanatory comments.
pkg/​constants/​job_constants.go Capitalizes Threat Detection step constant.
pkg/​constants/​constants_test.go Updates engine-step recognition test input.
.github/​workflows/​workflow-health-manager.lock.yml Refreshes generated step labels.
.github/​workflows/​workflow-generator.lock.yml Refreshes generated step labels.
.github/​workflows/​windows.lock.yml Refreshes generated step labels.
.github/​workflows/​weekly-otel-reference.lock.yml Refreshes generated step labels.
.github/​workflows/​video-analyzer.lock.yml Refreshes generated step labels.
.github/​workflows/​ubuntu-image-analyzer.lock.yml Refreshes generated step labels.
.github/​workflows/​typist.lock.yml Refreshes generated step labels.
.github/​workflows/​tidy.lock.yml Refreshes generated step labels.
.github/​workflows/​test-quality-sentinel.lock.yml Refreshes generated step labels.
.github/​workflows/​terminal-stylist.lock.yml Refreshes generated step labels.
.github/​workflows/​technical-doc-writer.lock.yml Refreshes generated step labels.
.github/​workflows/​super-linter.lock.yml Refreshes generated step labels.
.github/​workflows/​static-analysis-report.lock.yml Refreshes generated step labels.
.github/​workflows/​stale-pr-cleanup.lock.yml Refreshes generated step labels.
.github/​workflows/​squad.lock.yml Refreshes generated step labels.
.github/​workflows/​squad-plan.lock.yml Refreshes generated step labels.
.github/​workflows/​squad-implement-worker.lock.yml Refreshes generated step labels.
.github/​workflows/​squad-game-planner.lock.yml Refreshes generated step labels.
.github/​workflows/​spec-librarian.lock.yml Refreshes generated step labels.
.github/​workflows/​spec-extractor.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-workflow-call.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-workflow-call-with-inputs.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-work-queue.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-work-queue-worker.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-work-queue-dispatcher.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-update-cross-repo-pr.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-test-tools.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-temporary-id.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-service-ports.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-repo-memory-ledger.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-pydantic.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-project.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-pi.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-pi-sub-agents.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-pi-routed.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-pi-routed-claude.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-pi-auto.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-otel-backends.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-opencode.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-multi-pr.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-kiro.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-issues.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-goose.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-github-codex.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-factory.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-drive.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-deepseek-harness.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-cursor.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-crush.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-create-cross-repo-pr.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-sub-agents.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-small.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-sdk.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-sdk-routed.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-sdk-routed-claude.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-routed-steering.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-routed-claude.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-mai.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-dynamic-workflow.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-auto.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-arm.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-aoai-entra.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-copilot-aoai-apikey.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-codex.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-codex-routed.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-codex-routed-openai.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-codex-bare-auto.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-codex-auto.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-claude.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-claude-sub-agents.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-claude-routed.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-claude-routed-anthropic.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-claude-copilot.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-claude-copilot-auto.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-claude-auto.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-ci.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-checkout-pr-dispatch.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-call-workflow.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-builtin-ledgers.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-azure-pi.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-azure-codex.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-atomic.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-aider.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-agy.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-agent-scoped-approved.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-agent-public-none.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-agent-public-approved.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-agent-all-none.lock.yml Refreshes generated step labels.
.github/​workflows/​smoke-agent-all-merged.lock.yml Refreshes generated step labels.
.github/​workflows/​sergo.lock.yml Refreshes generated step labels.
.github/​workflows/​security-compliance.lock.yml Refreshes generated step labels.
.github/​workflows/​scout.lock.yml Refreshes generated step labels.
.github/​workflows/​safe-output-health.lock.yml Refreshes generated step labels.
.github/​workflows/​research.lock.yml Refreshes generated step labels.
.github/​workflows/​repo-tree-map.lock.yml Refreshes generated step labels.
.github/​workflows/​release.lock.yml Refreshes generated step labels.
.github/​workflows/​refiner.lock.yml Refreshes generated step labels.
.github/​workflows/​q.lock.yml Refreshes generated step labels.
.github/​workflows/​pr-triage-agent.lock.yml Refreshes generated step labels.
.github/​workflows/​pr-specification-reviewer.lock.yml Refreshes generated step labels.
.github/​workflows/​pr-finisher.lock.yml Refreshes generated step labels.
.github/​workflows/​pr-description-caveman.lock.yml Refreshes generated step labels.
.github/​workflows/​pr-code-quality-reviewer.lock.yml Refreshes generated step labels.
.github/​workflows/​portfolio-analyst.lock.yml Refreshes generated step labels.
.github/​workflows/​plan.lock.yml Refreshes generated step labels.
.github/​workflows/​org-health-report.lock.yml Refreshes generated step labels.
.github/​workflows/​objective-impact-report.lock.yml Refreshes generated step labels.
.github/​workflows/​notion-issue-summary.lock.yml Refreshes generated step labels.
.github/​workflows/​necromancer.lock.yml Refreshes generated step labels.
.github/​workflows/​mergefest.lock.yml Refreshes generated step labels.
.github/​workflows/​mcp-inspector.lock.yml Refreshes generated step labels.
.github/​workflows/​lockfile-stats.lock.yml Refreshes generated step labels.
.github/​workflows/​linter-miner.lock.yml Refreshes generated step labels.
.github/​workflows/​layout-spec-maintainer.lock.yml Refreshes generated step labels.
.github/​workflows/​jsweep.lock.yml Refreshes generated step labels.
.github/​workflows/​issue-monster.lock.yml Refreshes generated step labels.
.github/​workflows/​instructions-janitor.lock.yml Refreshes generated step labels.
.github/​workflows/​hippo-embed.lock.yml Refreshes generated step labels.
.github/​workflows/​go-pattern-detector.lock.yml Refreshes generated step labels.
.github/​workflows/​go-logger.lock.yml Refreshes generated step labels.
.github/​workflows/​go-fan.lock.yml Refreshes generated step labels.
.github/​workflows/​glossary-maintainer.lock.yml Refreshes generated step labels.
.github/​workflows/​firewall.lock.yml Refreshes generated step labels.
.github/​workflows/​firewall-escape.lock.yml Refreshes generated step labels.
.github/​workflows/​example-permissions-warning.lock.yml Refreshes generated step labels.
.github/​workflows/​eslint-refiner.lock.yml Refreshes generated step labels.
.github/​workflows/​eslint-miner.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-pydantic-ai.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-pi.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-opencode.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-mini-swe-agent.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-kiro.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-goose.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-gemini.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-factory.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-deepseek-harness.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-cursor.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-crush.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-copilot.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-codex.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-claude.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-atomic.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-aider.lock.yml Refreshes generated step labels.
.github/​workflows/​engine-conformance-agy.lock.yml Refreshes generated step labels.
.github/​workflows/​duplicate-code-detector.lock.yml Refreshes generated step labels.
.github/​workflows/​dev.lock.yml Refreshes generated step labels.
.github/​workflows/​dev-hawk.lock.yml Refreshes generated step labels.
.github/​workflows/​detection-analysis-report.lock.yml Refreshes generated step labels.
.github/​workflows/​delight.lock.yml Refreshes generated step labels.
.github/​workflows/​deep-report.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-team-status.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-performance-summary.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-news.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-model-resolution.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-malicious-code-scan.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-harness-experiment-proposer.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-github-docs-seo-optimizer.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-doc-healer.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-credit-limit-test.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-community-attribution.lock.yml Refreshes generated step labels.
.github/​workflows/​daily-choice-test.lock.yml Refreshes generated step labels.
.github/​workflows/​craft.lock.yml Refreshes generated step labels.
.github/​workflows/​copilot-opt.lock.yml Refreshes generated step labels.
.github/​workflows/​copilot-agent-analysis.lock.yml Refreshes generated step labels.
.github/​workflows/​contribution-check.lock.yml Refreshes generated step labels.
.github/​workflows/​codex-github-remote-mcp-test.lock.yml Refreshes generated step labels.
.github/​workflows/​code-simplifier.lock.yml Refreshes generated step labels.
.github/​workflows/​cli-version-checker.lock.yml Refreshes generated step labels.
.github/​workflows/​ci-coach.lock.yml Refreshes generated step labels.
.github/​workflows/​bot-detection.lock.yml Refreshes generated step labels.
.github/​workflows/​blog-auditor.lock.yml Refreshes generated step labels.
.github/​workflows/​avenger.lock.yml Refreshes generated step labels.
.github/​workflows/​auditor.lock.yml Refreshes generated step labels.
.github/​workflows/​architecture-guardian.lock.yml Refreshes generated step labels.
.github/​workflows/​archie.lock.yml Refreshes generated step labels.
.github/​workflows/​approach-validator.lock.yml Refreshes generated step labels.
.github/​workflows/​ai-moderator.lock.yml Refreshes generated step labels.
.github/​workflows/​agy-conformance-reusable.lock.yml Refreshes generated step labels.
.github/​workflows/​agentic-token-optimizer.lock.yml Refreshes generated step labels.
.github/​workflows/​agent-job-health.lock.yml Refreshes generated step labels.
.github/​workflows/​ace-editor.lock.yml Refreshes generated step labels.

Review effort: Balanced (dynamic)

@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 /codebase-design, /tdd, and /diagnosing-bugs. Requesting changes because TestWasmGolden_AllEngines fails on the PR head: AllEngines/copilot.golden is stale, and the PR refreshed the other engine goldens but left this one out of sync.

📋 Key Themes & Highlights

Key Themes

  • Golden drift: AllEngines/copilot.golden differs from regenerated output, including admission-job lines gated on GH_AW_DEFAULT_ADMISSION_URL.
  • Weak assertions: a guard in enclaves_test.go skips its check silently when the renamed step is missing.
  • Lost legacy coverage: the old Execute threat detection with AWF case was removed from TestIsEngineExecutionStepName, while audit fixtures still use it.
  • Duplicated literals: step names are repeated across the compiler and tests instead of being shared as constants.
  • Unrelated golden churn: WasmBinary goldens include OTLP and model-routing changes outside this PR.

Positive Highlights

  • ✅ Renames are consistent across all 367 lock files and the Go call sites at HEAD.
  • ✅ ThreatDetectionExecutionStepName is already a shared constant, which is a good pattern to extend.
  • ✅ Targeted Go tests for the renamed steps pass.

@copilot please address the review comments above, starting with the failing AllEngines/copilot.golden.

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

@@ -798,7 +798,7 @@ Use the enclave script executor.
assert.Contains(t, lock, `"awf-enclave"`)
assert.NotContains(t, lock, `"required": false`)
assert.Contains(t, lock, "--exclude-env MCP_GATEWAY_AGENT_ID")
if mountStart := strings.Index(lock, "- name: Mount MCP servers as CLIs"); mountStart >= 0 {
if mountStart := strings.Index(lock, "- name: Mount MCP Servers as CLIs"); mountStart >= 0 {

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 if silently skips the assertion when the renamed step is missing, so a future rename or typo passes green. Make the lookup required, for example require.GreaterOrEqual(t, mountStart, 0, "Mount MCP Servers step should be present"), matching compiler_yaml_audit_step_test.go.

@copilot please address this.

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.

Made the MCP step lookup required in ce3000f. GitHub push protection rejected publication of the commit, so the fix is local only for now.

@@ -319,7 +319,7 @@ func (c *Compiler) generateMCPCLIMountStep(yaml *strings.Builder, data *Workflow
}
mcpCLIMountLog.Printf("Generating MCP CLI mount step for %d servers: %v", len(servers), servers)

yaml.WriteString(" - name: Mount MCP servers as CLIs\n")
yaml.WriteString(" - name: Mount MCP Servers as CLIs\n")

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.

[/codebase-design] Step names are now duplicated as string literals across the compiler and about nine Go call sites and assertions, so the next rename is another multi-file edit. Follow the existing ThreatDetectionExecutionStepName pattern in job_constants.go: define one constant per step and reference it from the compiler and tests.

@copilot please address this.

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.

Centralized the generated step labels and updated their compiler/test references in ce3000f. GitHub push protection rejected publication; I did not bypass it.

@@ -432,7 +432,7 @@ func TestIsEngineExecutionStepName(t *testing.T) {
tests := map[string]bool{
"Execute Claude Code CLI": true,
"Execute GitHub Copilot CLI": true,
"Execute threat detection with AWF": true,
"Execute Threat Detection with AWF": true,

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] The legacy Execute threat detection with AWF case was replaced, not kept. The audit path reads runs recorded before this rename (see the old-name fixtures in pkg/cli/audit_engine_steps_test.go), so add the old name back as a regression case to pin that it is still recognised.

@copilot please address this.

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.

Added the legacy lower-case Threat Detection label as a regression case and referenced the current label through its constant in ce3000f. GitHub push protection rejected publication.

@@ -19,9 +19,12 @@ run-name: "basic-copilot-test"

env:
OTEL_EXPORTER_OTLP_ENDPOINT: ${{ secrets.GH_AW_DEFAULT_OTLP_ENDPOINT || vars.GH_AW_DEFAULT_OTLP_ENDPOINT }}
OTEL_EXPORTER_OTLP_PROTOCOL: ${{ vars.OTEL_EXPORTER_OTLP_PROTOCOL }}

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] This golden refresh also picks up output changes unrelated to step names: OTLP logs env vars, a model-routing job output, and a permissions comment. None are in this PR source diff, and the PR also adds a new custom-safe-output-max-length WasmBinary golden. Either describe these in the PR body or split the regeneration into its own commit so the rename stays reviewable.

@copilot please address this.

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.

I could not split the existing golden refresh: it is already in an earlier PR commit, and the available PR tools do not let me edit the description or rewrite that history. Publication of the follow-up commit was also blocked by GitHub push protection; I did not use the bypass.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator Author

@copilot

🍳 A little prep to help this PR along! 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 (pkg/workflow/enclaves_test.go:801): address unresolved feedback - Review comment
  3. Review (pkg/workflow/mcp_cli_mount.go:322): address unresolved feedback - Review comment
  4. Review (pkg/constants/constants_test.go:435): address unresolved feedback - Review comment
  5. Review (pkg/workflow/testdata/wasm_golden/WasmBinary/basic-copilot.golden:22): address unresolved feedback - Review comment

Keeping the changes focused; human review and CI get the final taste test. No merging or CI triggering.

Structured data
{
  "completed_task": 0,
  "head": "5e2ef8144c25a4ab322869ba125d9dc02fff9230",
  "kind": "requested",
  "schema_version": "1",
  "state": "e15fb3d3c09b7400adb03cf7073f01c40dd649582b49efd4714cd7b1fa7160ac",
  "work": [
    "0961f4dfff507497a7b80ef50e80e8dde5db99a7abba1841216ce8628b089ded",
    "26de2622db2f5efe09573674ca74598cb607f0ba70587124db6f8f68d98e7b7e",
    "76049d4c9ffa7c3e5126a91a0adcee27348f3dd3c7b5b43ba1871880a41c7306",
    "910f216b98b7a84a313d974f8f25f159830b47d7dbfb3600800456b807d989da"
  ],
  "workflow": "pr-sous-chef"
}

Generated by 👨🍳 PR Sous Chef · pi · routed: haiku55 xhigh · ~2 AIC · ⌖ ~2 AIC · ⊞ 6.9K · ◷
Comment /souschef to run again

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[step-names] Align compiler-generated step names with glossary terms and casing

4 participants