Skip to content

Align step names in daily-model-inventory Copilot billing job and frontmatter skill installer - #54406

Merged
pelikhan merged 4 commits into
mainfrom
copilot/align-step-names-daily-model-inventory
Aug 21, 2026
Merged

Align step names in daily-model-inventory Copilot billing job and frontmatter skill installer#54406
pelikhan merged 4 commits into
mainfrom
copilot/align-step-names-daily-model-inventory

Conversation

Copilot AI commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Two compiler-generated step names in .lock.yml workflows drifted from the naming glossary and clarity standard: a Copilot billing job in daily-model-inventory.md still used the bare "Copilot" form while sibling steps in the same file already used "GitHub Copilot", and the frontmatter skill installer named steps only by index, giving no indication of which skill was being installed.

daily-model-inventory.md

  • Renamed Create placeholder for Copilot billing modelsCreate placeholder for GitHub Copilot billing models
  • Renamed Upload Copilot billing models artifactUpload GitHub Copilot billing models artifact
  • Recompiled daily-model-inventory.lock.yml

Frontmatter skill installer (pkg/workflow/compiler_activation_steps.go)

  • Step names now include the skill identifier instead of just an index, using the same skillRef.Skill value already passed to GH_AW_FRONTMATTER_SKILLS
  • Any trailing @<sha> pin is stripped for readability; falls back to the numbered form if the identifier is empty
  • Recompiled affected .lock.yml files (archivx-agentic-workflows-analyzer, mattpocock-skills-reviewer, ponytail-reviewer)
- name: Install frontmatter skill 1
+ name: "Install frontmatter skill: mattpocock/skills/diagnosing-bugs"

Existing unit tests covering these step names were updated to match.

Copilot AI and others added 2 commits August 21, 2026 03:00
…ntmatter skill installer)

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Align step names in daily model inventory billing job with glossary Align step names in daily-model-inventory Copilot billing job and frontmatter skill installer Aug 21, 2026
Copilot AI requested a review from pelikhan August 21, 2026 03:05
@github-actions

Copy link
Copy Markdown
Contributor

PR Triage

  • Category: refactor
  • Risk: medium
  • Priority score: 36/100 (impact 25 + urgency 0 + quality 11)
  • Recommended action: defer
  • Batch: refactor-cleanup-cluster
  • CI: no checks reported
  • Draft PR — recommend undrafting before review.

Generated by 🔧 PR Triage Agent · auto · 79.3 AIC · ⌖ 6.15 AIC · ⊞ 8.3K ·

@pelikhan
pelikhan marked this pull request as ready for review August 21, 2026 10:14
Copilot AI balanced review requested due to automatic review settings August 21, 2026 10:14
@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Ponytail Reviewer failed. Please review the logs for details.

Warning

Threat Detection Engine Failure — The analysis engine could not complete. This is a tooling failure, not a security finding.

What happened

The threat detection engine failed to produce results.

Review the workflow run logs for details.

Generated by Ponytail Reviewer for #54406

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Test Quality Sentinel completed test quality analysis.

No test Quality Sentinel analysis required: PR #54406 contains only test assertion updates to existing tests (updating string patterns to match renamed step names). No new behavioral tests were added or modified. The changes are: +2 -2 lines in activation_skills_step_test.go and +1 -1 lines in compiler_activation_steps_test.go, updating assertions to verify the renamed step format from 'Install frontmatter skill 1' to 'Install frontmatter skill: githubnext/skills'. This is a test maintenance change in response to the production code changes, not a new test quality assessment.

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Design Decision Gate 🏗️ completed the design decision gate check.

No ADR enforcement needed: PR #54406 does not have the 'implementation' label and has only 20 new lines of code in business logic directories (threshold: 100).

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Aug 21, 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 Aug 21, 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 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.

The changes look good. Step names now include the actual skill identifier, making workflow logs much easier to read without needing to cross-reference the frontmatter skills: list.

One non-blocking note: frontmatterSkillStepName uses fmt.Sprintf("%q", ...) (Go quoted string) to wrap the name. If a skill identifier ever contained a " character, the resulting \" escape would produce invalid YAML. For realistic org/repo/path identifiers this will never occur, but a plain fmt.Sprintf("\"Install frontmatter skill: %s\"", identifier) would be slightly safer and more explicit.

🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · sonnet46 · 15.3 AIC · ⌖ 8.81 AIC · ⊞ 5.7K

@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 and /grill-with-docs — changes look solid, approving.

📋 Review Summary

What's Good

  • frontmatterSkillStepName is a well-named, focused helper — single responsibility, clear fallback logic
  • fmt.Sprintf("%q", ...) correctly produces YAML-safe quoted strings for names containing :
  • ✅ The at > 0 guard on LastIndex correctly avoids stripping from a leading @ edge case
  • ✅ Tests updated to match the new naming contract
  • ✅ All affected lock files recompiled consistently

Minor Observation

The fallback path "Install frontmatter skill %d" is now unreachable in practice (an empty Skill field would be a compiler validation error earlier), but keeping it as a defensive fallback is fine.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · sonnet46 · 14.8 AIC · ⌖ 9.87 AIC · ⊞ 7.8K
Comment /matt to run again

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.

Pull request overview

Aligns generated workflow step names with GitHub Copilot terminology and clearer skill identifiers.

Changes:

  • Renames GitHub Copilot billing steps.
  • Adds skill identifiers to installer step names.
  • Updates tests and generated workflows.
Show a summary per file
File Description
pkg/workflow/compiler_activation_steps.go Generates descriptive skill-install names.
pkg/workflow/compiler_activation_steps_test.go Updates compiler assertions.
pkg/workflow/activation_skills_step_test.go Updates activation-job assertions.
.github/workflows/daily-model-inventory.md Corrects GitHub Copilot naming.
.github/workflows/daily-model-inventory.lock.yml Recompiles billing step names.
.github/workflows/ponytail-reviewer.lock.yml Adds skill identifier.
.github/workflows/mattpocock-skills-reviewer.lock.yml Adds skill identifiers.
.github/workflows/archivx-agentic-workflows-analyzer.lock.yml Adds skill identifier.

Review details

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 8/8 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment on lines +210 to +212
if at := strings.LastIndex(identifier, "@"); at > 0 {
identifier = identifier[:at]
}
@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

reviewed_at: 2026-08-21T10:18:00Z
review_event: COMMENT
top_themes:
  - naming-only workflow/compiler changes; no blocking correctness issues found
files_reviewed:
  - .github/workflows/daily-model-inventory.md
  - pkg/workflow/compiler_activation_steps.go
  - pkg/workflow/compiler_activation_steps_test.go
  - pkg/workflow/activation_skills_step_test.go
comment_count: 0

Note

This comment is managed by comment memory.

It stores persistent context for this thread in the code block at the top of this comment.
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 · gpt54 · 5.02 AIC · ⌖ 7.84 AIC · ⊞ 4.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.

Verdict

Non-blocking rename-only change; I didn't find any correctness, security, or performance regressions in the changed lines.

Themes reviewed
  • daily-model-inventory.md: step-name wording only
  • pkg/workflow/compiler_activation_steps.go: display-name helper strips @pin purely for readability while preserving the original skill ref in GH_AW_FRONTMATTER_SKILLS
  • Updated tests still cover the generated names that matter

🔎 Code quality review by PR Code Quality Reviewer · gpt54 · 5.02 AIC · ⌖ 7.84 AIC · ⊞ 4.6K
Comment /review to run again

@github-actions github-actions Bot mentioned this pull request Aug 21, 2026
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts on this branch.

…mes-daily-model-inventory

# Conflicts:
#	.github/workflows/daily-model-inventory.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Aug 21, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts on this branch.

Resolved the merge conflicts and pushed merge commit 1702aae.

@pelikhan
pelikhan merged commit cefbe67 into main Aug 21, 2026
30 checks passed
@pelikhan
pelikhan deleted the copilot/align-step-names-daily-model-inventory branch August 21, 2026 11:07
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.87.4

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 step names in daily-model-inventory Copilot billing job and frontmatter skill installer with glossary/consistency

3 participants