Compare commits

..

1 commit

Author SHA1 Message Date
Agent
963d745bde fix: feat(20a): disinto hire-an-agent subcommand + retrofit dev-qwen (#84)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2026-04-01 07:43:16 +00:00

View file

@ -19,7 +19,7 @@ version = 1
model = "sonnet" model = "sonnet"
[context] [context]
files = ["AGENTS.md", "dev/AGENTS.md", "lib/env.sh", "lib/pr-lifecycle.sh"] files = ["AGENTS.md", "dev/AGENTS.md", "lib/env.sh", "lib/pr-lifecycle.sh", "lib/ci-helpers.sh"]
[[steps]] [[steps]]
id = "preflight" id = "preflight"
@ -76,7 +76,7 @@ id = "ci"
title = "Wait for CI and address failures" title = "Wait for CI and address failures"
description = """ description = """
Monitor CI pipeline status via Woodpecker API: Monitor CI pipeline status via Woodpecker API:
curl -sf "${FORGE_API}/api/v1/repos/${FORGE_REPO}/pipelines?branch=dev/{agent}-{issue}" woodpecker_api /repos/${WOODPECKER_REPO_ID}/pipelines?branch=dev/{agent}-{issue}
Wait for CI to complete. If CI fails: Wait for CI to complete. If CI fails:
@ -98,7 +98,7 @@ id = "review"
title = "Address review feedback" title = "Address review feedback"
description = """ description = """
Check PR for review comments: Check PR for review comments:
curl -sf "${FORGE_API}/api/v1/repos/${FORGE_REPO}/pulls/{pr-number}/comments" curl -sf "${FORGE_API}/pulls/{pr-number}/comments"
For each comment: For each comment:
1. Understand the feedback 1. Understand the feedback
@ -116,18 +116,18 @@ id = "merge"
title = "Merge the PR" title = "Merge the PR"
description = """ description = """
Check if PR is approved and CI is green: Check if PR is approved and CI is green:
curl -sf "${FORGE_API}/api/v1/repos/${FORGE_REPO}/pulls/{pr-number}" curl -sf "${FORGE_API}/pulls/{pr-number}"
If approved (merged=true or approved_by set): If approved (merged=true or approved_by set):
1. Merge the PR: 1. Merge the PR:
curl -sf -X PUT "${FORGE_API}/api/v1/repos/${FORGE_REPO}/pulls/{pr-number}/merge" \\ curl -sf -X PUT "${FORGE_API}/pulls/{pr-number}/merge" \\
-d '{"merge_method":"merge"}' -d '{"merge_method":"merge"}'
2. Mirror push to other remotes: 2. Mirror push to other remotes:
mirror_push mirror_push
3. Close the issue: 3. Close the issue:
curl -sf -X PATCH "${FORGE_API}/api/v1/repos/${FORGE_REPO}/issues/{issue-number}" \\ curl -sf -X PATCH "${FORGE_API}/issues/{issue-number}" \\
-d '{"state":"closed"}' -d '{"state":"closed"}'
4. Delete the branch: 4. Delete the branch: