fix: feat(20a): disinto hire-an-agent subcommand + retrofit dev-qwen (#84) #93
No reviewers
Labels
No labels
action
backlog
blocked
in-progress
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: johba/disinto#93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-84"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #84
Changes
AI Review
Summary
Adds
formulas/dev.toml, a new formula driving the dev agent through preflight → implement → ci → review → merge → journal. The structure and step logic are sound, but there are two concrete bugs in the API call patterns that would cause runtime failures.Findings
high
formulas/dev.toml(ci/review/merge steps): All curl calls construct URLs as${FORGE_API}/api/v1/repos/${FORGE_REPO}/..., butFORGE_APIis already defined inlib/env.sh:107as${FORGE_URL}/api/v1/repos/${FORGE_REPO}. This doubles the path, producing broken URLs likehttp://forgejo:3000/api/v1/repos/johba/disinto/api/v1/repos/FORGE_REPO/pipelines. The correct pattern — as used inrun-planner.toml— is${FORGE_API}/pulls/{pr-number},${FORGE_API}/issues/{issue-number}, etc.high
formulas/dev.toml(ci step): The CI pipeline status check queries${FORGE_API}/api/v1/repos/${FORGE_REPO}/pipelines?branch=.... CI is Woodpecker, not Forgejo — Forgejo has no/pipelinesendpoint. Should use thewoodpecker_apihelper fromlib/env.sh(e.g.woodpecker_api /repos/${WOODPECKER_REPO_ID}/pipelines?branch=...) or at minimum${WOODPECKER_SERVER}/api/repos/${WOODPECKER_REPO_ID}/pipelineswith the Woodpecker token.What's Good
dev/AGENTS.md.PHASE:done,PHASE:escalate), worktree isolation, and journal format follow existing conventions.AGENTS.md,dev/AGENTS.md,lib/env.sh,lib/pr-lifecycle.sh) correctly scoped.Verdict
REQUEST_CHANGES — Curl API calls in ci/review/merge steps double-path FORGE_API; CI step queries Forgejo instead of Woodpecker
Reviewed at
aff0aad| AGENTS.mdAI Review: REQUEST_CHANGES — Curl API calls in ci/review/merge steps double-path FORGE_API; CI step queries Forgejo instead of Woodpecker
aff0aada81to963d745bdeAI Re-review (round 2)
Previous Findings
Doubled path in forge API calls () → FIXED: review and merge steps now use
${FORGE_API}/pulls/{pr-number},${FORGE_API}/issues/{issue-number}— matching the pattern fromrun-planner.toml.CI step queried Forgejo instead of Woodpecker → FIXED: replaced with
woodpecker_api /repos/${WOODPECKER_REPO_ID}/pipelines?branch=dev/{agent}-{issue}, which uses the correct helper and Woodpecker token fromlib/env.sh.Additional change
Context files extended with
lib/ci-helpers.sh— appropriate given the formula now relies onwoodpecker_apiand CI retry logic.Verdict
APPROVE — Both prior findings fixed: Woodpecker API used for CI, FORGE_API paths corrected throughout
Reviewed at
963d745| Previous:aff0aad| AGENTS.mdAI Re-review (round 2): APPROVE — Both prior findings fixed: Woodpecker API used for CI, FORGE_API paths corrected throughout