Skip to content

Add 2 agentic workflows for each of the aider, cursor, and kiro definition-based engines - #51166

Merged
pelikhan merged 2 commits into
mainfrom
copilot/update-agentic-workflows-again
Aug 7, 2026
Merged

Add 2 agentic workflows for each of the aider, cursor, and kiro definition-based engines#51166
pelikhan merged 2 commits into
mainfrom
copilot/update-agentic-workflows-again

Conversation

Copilot AI commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

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, adds t.Skip stubs, opens a PR
  • daily-code-debt-aider.md — resolves self-contained TODO/FIXME comments (≤20 lines), opens a PR

Aider has engine.mcp: false; both workflows emit safe-output events as JSONL to $GH_AW_SAFE_OUTPUTS.

Cursor (imports: [shared/cursor.md], requires CURSOR_API_KEY)

  • daily-pr-review-cursor.md — reviews recently opened PRs for Go code quality issues, posts a daily report issue
  • daily-schema-audit-cursor.md — audits pkg/parser/schemas/*.json for unreferenced $defs and objects missing required arrays

Kiro (imports: [shared/kiro.md], requires KIRO_API_KEY, model kiro/claude-sonnet-4-5)

  • daily-spec-coverage-kiro.md — checks .github/aw/*.md for broken cross-references and missing description frontmatter
  • daily-regression-audit-kiro.md — scans the last 20 CI runs for failure patterns and regression streaks

- 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 AI requested a review from pelikhan August 7, 2026 19:10
@pelikhan
pelikhan marked this pull request as ready for review August 7, 2026 19:10
Copilot AI balanced review requested due to automatic review settings August 7, 2026 19:10
@pelikhan
pelikhan merged commit 0841c9e into main Aug 7, 2026
1 check failed
@pelikhan
pelikhan deleted the copilot/update-agentic-workflows-again branch August 7, 2026 19:10

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

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_jobs is a method and the run ID must be passed as resource_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."}
```
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.86.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants