Add 2 agentic workflows for each of the aider, cursor, and kiro definition-based engines - #51166
Merged
Merged
Conversation
- daily-go-test-stubs-aider.md: daily Go test stub generation (aider) - daily-code-debt-aider.md: daily TODO/FIXME code debt cleanup (aider) - daily-pr-review-cursor.md: daily PR code quality review (cursor) - daily-schema-audit-cursor.md: daily JSON schema consistency audit (cursor) - daily-spec-coverage-kiro.md: daily spec coverage review (kiro) - daily-regression-audit-kiro.md: daily CI regression analysis (kiro) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Add 2 agentic workflows for each of the aider, cursor, and kiro engines
Add 2 agentic workflows for each of the aider, cursor, and kiro definition-based engines
Aug 7, 2026
Copilot created this pull request from a session on behalf of
pelikhan
August 7, 2026 19:10
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds six daily workflows across Aider, Cursor, and Kiro, with generated runtime lock files.
Changes:
- Adds Aider test-stub and code-debt automation.
- Adds Cursor PR-review and schema-audit reporting.
- Adds Kiro specification and CI-regression audits.
Show a summary per file
| File | Description |
|---|---|
daily-go-test-stubs-aider.md |
Adds test-stub workflow. |
daily-go-test-stubs-aider.lock.yml |
Compiled Aider workflow. |
daily-code-debt-aider.md |
Adds code-debt cleanup workflow. |
daily-code-debt-aider.lock.yml |
Compiled Aider workflow. |
daily-pr-review-cursor.md |
Adds PR quality reporting. |
daily-pr-review-cursor.lock.yml |
Compiled Cursor workflow. |
daily-schema-audit-cursor.md |
Adds schema consistency auditing. |
daily-schema-audit-cursor.lock.yml |
Compiled Cursor workflow. |
daily-spec-coverage-kiro.md |
Adds specification coverage auditing. |
daily-spec-coverage-kiro.lock.yml |
Compiled Kiro workflow. |
daily-regression-audit-kiro.md |
Adds CI regression analysis. |
daily-regression-audit-kiro.lock.yml |
Compiled Kiro workflow. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Suppressed comments (1)
.github/workflows/daily-regression-audit-kiro.md:73
- Jobs are also listed through
actions_list;list_workflow_jobsis a method and the run ID must be passed asresource_id. As written, failed-run inspection targets a nonexistent standalone tool.
For the most recent 3 failed runs, use `list_workflow_jobs` to get the jobs and then
`get_job_logs` to retrieve failing job output (tail 200 lines). Look for:
- Files reviewed: 6/12 changed files
- Comments generated: 14
- Review effort level: Balanced
Comment on lines
+68
to
+71
| jq -r ' | ||
| .["$defs"] | keys[] as $k | | ||
| if (tostring | test("\"\\($k)\"") | not) then $k else empty end | ||
| ' pkg/parser/schemas/main_workflow_schema.json 2>/dev/null || echo "File not found" |
Comment on lines
+83
to
+84
| jq '[.. | objects | select(has("properties") and (has("required") | not)) | path] | length' \ | ||
| pkg/parser/schemas/main_workflow_schema.json 2>/dev/null || echo "0" |
Comment on lines
+66
to
+72
| ```bash | ||
| grep -rh "\[.*\]([a-z].*\.md)" .github/aw/ \ | ||
| | grep -oP '\(([^)]+\.md)\)' | tr -d '()' | sort -u \ | ||
| | while read f; do | ||
| [ -f ".github/aw/$f" ] || echo "BROKEN: $f" | ||
| done | ||
| ``` |
Comment on lines
+84
to
+86
| Use the GitHub MCP `list_issues` tool to fetch the 5 most-recently-created open issues from | ||
| `${{ github.repository }}` that contain "spec" or "docs" in their title. Record issue numbers | ||
| and titles. |
Comment on lines
+54
to
+57
| Use the GitHub MCP `list_workflow_runs` tool on `${{ github.repository }}` with: | ||
| - `workflow_id: ci.yml` (or the main CI workflow) | ||
| - `per_page: 20` | ||
| - `status: completed` |
| If nothing was changed (no actionable items found), write: | ||
|
|
||
| ``` | ||
| {"type":"noop","reason":"No actionable TODO/FIXME comments found — skipping cleanup."} |
Comment on lines
+48
to
+52
| grep -rn "TODO\|FIXME" \ | ||
| --include="*.go" \ | ||
| --exclude-dir=vendor \ | ||
| --exclude-dir=.git \ | ||
| . | grep -v "_test.go" | head -20 |
Comment on lines
+20
to
+21
| network: | ||
| allowed: [] |
Comment on lines
+83
to
+89
| If any code was changed: | ||
| 1. Run `make fmt || true` | ||
| 2. Write the following JSONL to `$GH_AW_SAFE_OUTPUTS`: | ||
|
|
||
| ``` | ||
| {"type":"create_pull_request","title":"Resolve actionable TODO/FIXME comments","body":"Automated cleanup of self-contained TODO and FIXME comments.\n\nChanges applied:\n<list each file and comment resolved>"} | ||
| ``` |
Comment on lines
+69
to
+76
| If any stubs were created: | ||
| 1. Run `make fmt` (ignore errors if no Makefile target exists — catch with `|| true`) | ||
| 2. Confirm the build still passes: `GOCACHE=/tmp/go-cache GOMODCACHE=/tmp/go-mod go build ./...` | ||
| 3. Write the following JSONL line to `$GH_AW_SAFE_OUTPUTS` to create a pull request: | ||
|
|
||
| ``` | ||
| {"type":"create_pull_request","title":"Add test stubs for uncovered packages","body":"Automatically generated test stubs for packages with zero test coverage.\n\nPackages updated: <list>\n\nStubs use `t.Skip` and are ready to be filled in."} | ||
| ``` |
Contributor
|
🎉 This pull request is included in a new release. Release: |
This was referenced Aug 7, 2026
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.
Aider, cursor, and kiro each had only a smoke test. This brings them to parity with opencode, goose, and crush (which each already have 2 non-smoke daily workflows importing their shared engine definition).
New workflows
Aider (
imports: [shared/aider.md])daily-go-test-stubs-aider.md— finds Go packages with no test files, addst.Skipstubs, opens a PRdaily-code-debt-aider.md— resolves self-contained TODO/FIXME comments (≤20 lines), opens a PRAider has
engine.mcp: false; both workflows emit safe-output events as JSONL to$GH_AW_SAFE_OUTPUTS.Cursor (
imports: [shared/cursor.md], requiresCURSOR_API_KEY)daily-pr-review-cursor.md— reviews recently opened PRs for Go code quality issues, posts a daily report issuedaily-schema-audit-cursor.md— auditspkg/parser/schemas/*.jsonfor unreferenced$defsand objects missingrequiredarraysKiro (
imports: [shared/kiro.md], requiresKIRO_API_KEY, modelkiro/claude-sonnet-4-5)daily-spec-coverage-kiro.md— checks.github/aw/*.mdfor broken cross-references and missingdescriptionfrontmatterdaily-regression-audit-kiro.md— scans the last 20 CI runs for failure patterns and regression streaks