Skip to content

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

Not planned

Description

@github-actions

Overview

A sweep of step names across compiled lock files found 59,102 step records in 365 lock files, with 803 distinct names. Most names are consistent. Four items are worth fixing. The names come from Go code in pkg/workflow/ and pkg/constants/, not from .md sources, so the fixes belong in the compiler and the lock files must be regenerated.

Findings

Priority Current name Defined in Problem Suggested name
Medium Copy Safe Outputs pkg/workflow/compiler_yaml_step_lifecycle.go:387 Vague. The step copies the raw safe-output NDJSON file into /tmp/gh-aw/ for artifact upload. The name suggests it copies the outputs themselves. Copy raw safe-output NDJSON to /tmp/gh-aw
Medium Execute threat detection with AWF pkg/constants/job_constants.go:88 The glossary defines Threat Detection as a capitalized term. The step name uses lowercase. Execute Threat Detection with AWF
Medium Mount MCP servers as CLIs pkg/workflow/mcp_cli_mount.go:312 In the same MCP step family, Copy gh-aw binary for MCP Server and Start MCP Gateway capitalize the glossary terms. This step lowercases "servers". Mount MCP Servers as CLIs
Medium Mixed casing across the set n/a Title Case is used for Process Safe Outputs, Start MCP Gateway, and Upload Safe Outputs Items. Sentence case is used for Print AWF reflect summary, Check workflow lock file, and Clear MCP Config for detection. Decide one rule. Proposed: sentence case, with glossary terms capitalized.

Recommended next actions

  • Decide the casing rule (proposed: sentence case, with glossary terms capitalized). Apply it to new step names first.
  • Rename Copy Safe Outputs and Execute threat detection with AWF in one change. Regenerate the golden fixtures under pkg/workflow/testdata/ and update the test assertions listed below.
  • Leave long-established names such as Setup Scripts and Process Safe Outputs alone unless the change is test-neutral. Each one is asserted in several tests.
Test and fixture coupling for each rename
  • Process Safe Outputs: asserted in compile_outputs_pr_test.go, compiler_safe_outputs_steps_test.go, push_to_pull_request_branch_test.go, work_queue_compilation_integration_test.go, create_issue_backward_compat_test.go, safe_outputs_job_identity_test.go, and compiler_safe_outputs_job_test.go.
  • Execute threat detection with AWF: the constant ThreatDetectionExecutionStepName (pkg/constants/job_constants.go:88). Also referenced in threat_detection_arc_dind_test.go:61 and in audit_engine_steps_test.go fixtures.
  • Mount MCP servers as CLIs: asserted in no_bash_cli_proxy_integration_test.go:47 and compiled_lock_files_test.go:375.
  • Copy Safe Outputs and Print AWF reflect summary: appear only in golden fixtures under pkg/workflow/testdata/.
Optional, low priority
  • Print AWF reflect summary (pkg/workflow/compiler_yaml_ai_execution.go:471) writes a table to $GITHUB_STEP_SUMMARY. It does not print to the log. A name such as Write AWF reflect summary to job summary would be more accurate. Not included in the Medium items above.
Coverage of this review
  • Checks run: no lowercase-initial names, no gerund or present-tense verbs, no generic names such as Run or Step, and glossary-term variants for Safe Outputs, MCP Gateway, MCP Server, Threat Detection, and GitHub Copilot CLI.
  • This was a pattern sweep. It was not a per-name review of all 803 distinct names.

References:

Generated by 📋 Step Name Alignment · claude · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 8K · ◷

  • expires on Nov 13, 2026, 8:01 PM UTC-08:00

Activity

  1. github-actions commented on Nov 14, 2026

    @github-actions
    ContributorAuthor

    This issue was automatically closed because it expired on 2026-11-14T04:01:08.627Z.

    Closed by Workflow

  2. github-actions commented on Nov 14, 2026

    @github-actions
    ContributorAuthor

    🍪 Issue Monster selected this for Copilot

    I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.

    If assignment succeeds, Copilot will analyze the issue and create a pull request with the fix.

    Om nom nom! 🍪

    🍪 Om nom nom by Issue Monster · pi · gpt50 · ~1 AIC · ⌖ ~1 AIC · ⊞ 11.1K · ◷

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

Metadata

Metadata

Labels

cookiemaintenancestep-naming

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions