You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let's add workflows for refactor and new features #359
Let's setup a workflow with a senior architect who thinks we should perform a refactor of the codebase. Force them to partially implement it to ensure it's viable, and then pitch the refactor via a created issue
Identify additional workflows #275 — it tracks identifying additional useful workflows and overlaps with this issue’s request to scope more continuous-improvement flows.
Add workflow drift trigger #257 — it covers workflow drift after refactors, which is adjacent to this issue’s refactor-oriented workflow proposal.
Create an agent that suggests new agents #129 — it proposes a recurring workflow to suggest new agents, which could inform how to operationalize the new-ideas workflow requested here.
The repo already has strong building blocks for this (code-simplifier, code-duplication-detector/fixer, and agent-suggestions), so I recommend adding one new refactor-architect workflow and expanding agent-suggestions for feature-idea generation instead of creating two fully separate net-new systems.
Recommendation
Add refactor-architect as a scheduled detector workflow (issue output, not PR output) built on scheduled-audit, but require a local proof step (small candidate patch + command results) embedded in the issue report.
Use/extend agent-suggestions for new-feature ideation (it already inventories workflows, checks repo/downstream signals, and files suggestion issues).
I ran workflow linting to confirm current workflow set/config compiles cleanly before proposing additions:
$ make lint-workflows
...
Checking .github/workflows/trigger-code-simplifier.yml...
Checking .github/workflows/trigger-code-duplication-detector.yml...
...
(exited with exit code 0)
This verifies the current baseline is healthy and ready for incremental workflow additions.
Detailed Action Plan
Create new workflow source
Add .github/workflows/gh-aw-refactor-architect.md using the same structure as .github/workflows/gh-aw-code-duplication-detector.md (imports, engine, permissions, tools, safe outputs).
Base it on scheduled-audit (.github/workflows/gh-aw-scheduled-audit.md:3-5) and set report format to include:
target refactor candidate,
minimal proposed patch summary,
commands run + outputs,
rollback/risk notes.
Set safe output behavior for recurring reports
In the new workflow, configure create-issue title prefix (e.g. [refactor-architect]).
Add gh-agent-workflows/refactor-architect/example.yml (weekday schedule + workflow_dispatch, calling new .lock.yml).
Add gh-agent-workflows/refactor-architect/README.md following current per-workflow README pattern.
Extend feature ideation path
Update .github/workflows/gh-aw-agent-suggestions.md:88-123 to explicitly include “new feature workflow proposals” (not only generic workflow suggestions).
Update gh-agent-workflows/agent-suggestions/README.md:3-8 to reflect feature ideation scope.
Expose in catalogs + setup
Update gh-agent-workflows/README.md and docs/workflows/gh-agent-workflows.md tables to include refactor-architect and the expanded agent-suggestions description.
Add refactor-architect to scripts/quick-setup.sh:128-140 continuous improvement list.
Compile and validate
Run make compile (regenerate lock files/triggers), then make lint (or at minimum make lint-workflows).
Confirm new trigger appears as .github/workflows/trigger-refactor-architect.yml and lockfile exists.
no the Ideas Guy should be its own workflow not combined with agent suggestions, agent suggestions is for suggesting new agents, ideas guy is a workflow our downstream consumers will use
This issue was labeled stale on 2026-02-22 and has had no further activity for 30 days. Closing automatically. If this issue is still relevant, please reopen it.
Activity
github-actions commentedon Feb 22, 2026
3 related issues
What is this? | From workflow: Duplicate Issue Detector
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
github-actions commentedon Feb 22, 2026
The repo already has strong building blocks for this (
code-simplifier,code-duplication-detector/fixer, andagent-suggestions), so I recommend adding one new refactor-architect workflow and expandingagent-suggestionsfor feature-idea generation instead of creating two fully separate net-new systems.Recommendation
refactor-architectas a scheduled detector workflow (issue output, not PR output) built onscheduled-audit, but require a local proof step (small candidate patch + command results) embedded in the issue report.agent-suggestionsfor new-feature ideation (it already inventories workflows, checks repo/downstream signals, and files suggestion issues).close-older-issues: falseso independent findings are not auto-closed.Findings
gh-agent-workflows/code-simplifier/README.md:1-8(safe, behavior-preserving refactors, PR output)gh-agent-workflows/code-duplication-detector/README.md:1-8(refactor recommendations, issue output)gh-agent-workflows/code-duplication-fixer/README.md:1-8(executes detector findings into PRs)gh-agent-workflows/agent-suggestions/README.md:1-8.github/workflows/gh-aw-agent-suggestions.md:88-123(explicitly proposes 1–3 new workflows with evidence)..github/workflows/gh-aw-scheduled-audit.md:3-5,80-87.github/workflows/gh-aw-fragments/scheduled-audit.md:9-10,41-42(detection/reporting only; output is issue or noop).gh-agent-workflows/README.md:61-73scripts/quick-setup.sh:128-140.Verification
I ran workflow linting to confirm current workflow set/config compiles cleanly before proposing additions:
$ make lint-workflows ... Checking .github/workflows/trigger-code-simplifier.yml... Checking .github/workflows/trigger-code-duplication-detector.yml... ... (exited with exit code 0)This verifies the current baseline is healthy and ready for incremental workflow additions.
Detailed Action Plan
Create new workflow source
.github/workflows/gh-aw-refactor-architect.mdusing the same structure as.github/workflows/gh-aw-code-duplication-detector.md(imports, engine, permissions, tools, safe outputs).scheduled-audit(.github/workflows/gh-aw-scheduled-audit.md:3-5) and set report format to include:Set safe output behavior for recurring reports
create-issuetitle prefix (e.g.[refactor-architect]).Add installable trigger and docs
gh-agent-workflows/refactor-architect/example.yml(weekday schedule +workflow_dispatch, calling new.lock.yml).gh-agent-workflows/refactor-architect/README.mdfollowing current per-workflow README pattern.Extend feature ideation path
.github/workflows/gh-aw-agent-suggestions.md:88-123to explicitly include “new feature workflow proposals” (not only generic workflow suggestions).gh-agent-workflows/agent-suggestions/README.md:3-8to reflect feature ideation scope.Expose in catalogs + setup
gh-agent-workflows/README.mdanddocs/workflows/gh-agent-workflows.mdtables to includerefactor-architectand the expandedagent-suggestionsdescription.refactor-architecttoscripts/quick-setup.sh:128-140continuous improvement list.Compile and validate
make compile(regenerate lock files/triggers), thenmake lint(or at minimummake lint-workflows)..github/workflows/trigger-refactor-architect.ymland lockfile exists.Related Items
.github/workflows/gh-aw-scheduled-audit.md.github/workflows/gh-aw-agent-suggestions.mdscripts/quick-setup.shWhat is this? | From workflow: Issue Triage
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.
strawgate commentedon Feb 22, 2026
no the Ideas Guy should be its own workflow not combined with agent suggestions, agent suggestions is for suggesting new agents, ideas guy is a workflow our downstream consumers will use
github-actions commentedon Jul 17, 2026
This issue was labeled
staleon 2026-02-22 and has had no further activity for 30 days. Closing automatically. If this issue is still relevant, please reopen it.