Enhancement: improve AI workflow with multi-agent pipeline and PR conventions#1068
Open
Miraeld wants to merge 11 commits into
Open
Enhancement: improve AI workflow with multi-agent pipeline and PR conventions#1068Miraeld wants to merge 11 commits into
Miraeld wants to merge 11 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace manual analysis step with grooming-agent invocation - Add lead-reviewer gate after implementation, before push - Formalise PR title format (Closes #N: title) - Require Co-Authored-By trailer on every AI commit - Restrict Type of change to exactly one checkbox - Apply Made by AI label on PR creation when available - Make base branch dynamic and propagate it to lead-reviewer and qa-engineer Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Coverage variation | ✅ +0.00% coverage variation (-0.10%) |
| Diff coverage | ✅ ∅ diff coverage (50.00%) |
Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (efb23ff) 13940 48 0.34% Head commit (f21b7ae) 13940 (+0) 48 (+0) 0.34% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>
Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#1068) 0 0 ∅ (not applicable) Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
…agent Add architectural check (step 3c) prompting the grooming-agent to question whether a buggy method belongs in its current class before proposing a fix. Relabel former c check to d. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lead-reviewer no longer embeds imagify-architecture and wordpress-compliance rules inline. Agent now reads the skill files at runtime, making skill files the single source of truth. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add manager agent: reads spec, decides scope (patch vs refactor), dispatches to backend and/or frontend agents — asks user when scope is ambiguous - Add backend-agent: implements PHP changes, runs PHPCS + PHPStan - Add frontend-agent: implements JS/CSS changes, runs linting - Add imagify-frontend-architecture skill with frontend coding rules - Add .claude/commands symlink for new frontend architecture skill - Update grooming-agent: surfaces both implementation options without concluding; spec now includes an Implementation Options section for the manager to act on - Update issue-workflow: new 7-agent pipeline with max 3 retries on backend-agent, frontend-agent, lead-reviewer, and qa-engineer Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace flat manager pattern with an orchestrator that spawns specialized agents: grooming-reviewer, ci-agent, release-agent. Implementation agents (backend, frontend) now commit atomically. QA returns structured output. issue-workflow skill simplified to entry point only. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace grooming-reviewer with challenger (conditional, adversarial, APPROVED/NEEDS_REVISION/BLOCKED verdicts, MoSCoW findings, GitHub comment) - Orchestrator: risk-based CHALLENGER trigger, DOD L2 independent gate, criticality-based lead-reviewer routing, NTH dispatch, updated escalation rules - lead-reviewer: criticality tiers (CRITICAL/HIGH/MEDIUM/LOW), inline PR comments - backend-agent / frontend-agent: reframe Verify as DOD L1 with self-correction Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ent timeline Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
No linked issue — internal AI workflow improvement.
Brings the imagify-plugin
.aiassistantworkflow up to date with the same improvements applied to BackWPUp:wordpress-compliance.claude/commands/symlinks so Claude Code users get/skill-nameslash commandsType of change
Detailed scenario
What was tested
Manually verified all skill and agent files for consistency. Symlinks confirmed to resolve correctly to
.aiassistant/skills/*/SKILL.md(mode120000in git).How to test
/issue-workflow,/imagify-architecture, etc. in Claude Code — resolves via symlink.grooming-agentproduces a spec before any code is written,lead-reviewergates the push.git logon an AI-authored commit includes theCo-Authored-Bytrailer.Affected Features & Quality Assurance Scope
AI workflow tooling only — no plugin source code changed.
Technical description
Documentation
New agents:
grooming-agent— analyses the issue and codebase before implementation, produces.TemporaryItems/.../issues/<N>-spec.md. Forces architectural reasoning (correct layer, root-cause vs workaround).lead-reviewer— reviews the diff against the spec and project standards after commits, before push. Returns PASS or CHANGES REQUESTED with specific blockers.Workflow changes (issue-workflow/SKILL.md):
Closes #N: titleCo-Authored-Bytrailer required on every AI-authored commitMade by AIlabel applied on PR creation when availableorigin/develop, overridable) and propagated to all agents.claude/commands/symlinks:Each skill symlinked as a
.mdfile — Claude Code users get/skill-nameslash commands with no file duplication. Git tracks these as mode120000.wordpress-compliance:Added no-jQuery rule — use native DOM APIs instead.
New dependencies
None.
Risks
None — no plugin source code touched.
Mandatory Checklist
Code validation
Code style
Unticked items justification
No built-in tests — these are markdown workflow instruction files, not executable code.
Additional Checks