Skip to content

feat: introduce gha-planner agent for CI/CD workflow generation#9

Merged
AndyBoWu merged 3 commits into
mainfrom
feat/gha-planner
Mar 12, 2026
Merged

feat: introduce gha-planner agent for CI/CD workflow generation#9
AndyBoWu merged 3 commits into
mainfrom
feat/gha-planner

Conversation

@AndyBoWu

Copy link
Copy Markdown
Member

Summary

  • Add gha-planner agent that wraps gha-create skill into an end-to-end pipeline: scan repo → plan workflows → generate → validate → report
  • Agent follows the 7-step orchestration pattern with gates, reason codes, state machine, and constitutional constraints
  • Update root README with the new agent entry and cross-repo diagram

Test plan

  • Verify agents/gha-planner/ contains AGENT.md, README.md, config.yaml
  • Verify AGENT.md frontmatter and config.yaml parse as valid YAML
  • Verify root README.md agents table includes gha-planner
  • Verify cross-repo diagram includes gha-planner
  • Review AGENT.md against AGENTS.md conventions (gates, reason codes, state machine)

Adds the gha-planner agent that wraps the gha-create skill into a
full pipeline: scan repo tech stack, plan needed workflows, generate
hardened GitHub Actions YAML, validate against the 8-rule checklist,
and produce a structured report.
@AndyBoWu AndyBoWu added the enhancement New feature or request label Mar 12, 2026
- Add `invalid` terminal state for workflows that exist on disk but are
  empty or not valid YAML, closing the gap where `empty_workflow_output`
  and `invalid_workflow_yaml` had no legal landing state
- Rename `validated_workflows` to `passed_workflows` (counts both
  `validated` and `advisory_only`) to resolve the conflicting definition
- Standardize workflow_id to `cd` everywhere (was `deploy` in examples)
- Fix illustrative example: ci with advisory_count=1 is `advisory_only`,
  not `validated`
@github-actions github-actions Bot added agent:gha-planner Changes to gha-planner agent meta Repo-level files (AGENTS.md, README, reference) skill-dep Skill dependency update in config.yaml labels Mar 12, 2026
… state

- Define generated_workflows as count of workflows with a file on disk
  (excludes only generation_failed), with a formal invariant
- Explicitly map each failure reason to its stage value (generate vs
  validate) so runtimes produce identical failure details
@AndyBoWu AndyBoWu merged commit 379edb8 into main Mar 12, 2026
5 checks passed
@AndyBoWu AndyBoWu deleted the feat/gha-planner branch March 12, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent:gha-planner Changes to gha-planner agent enhancement New feature or request meta Repo-level files (AGENTS.md, README, reference) skill-dep Skill dependency update in config.yaml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant