fix: feat(96d): architect formula — answer parsing + sub-issue filing (#102) #110
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#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-102"
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 #102
Changes
AI Review
Summary
This PR expands the
answer_parsingstep informulas/run-architect.tomlfrom a stub into a full operational spec. The logic structure (preflight detection, three processing paths, sub-issue generation with templates) is solid and consistent with the prior steps. However, the Forgejo API reference section introduces two bugs that will cause the agent to fail at execution time.Issues
bug
formulas/run-architect.toml:290:MERGEis not a valid HTTP method. The Forgejo API to merge a PR isPOST /repos/{owner}/{repo}/pulls/{index}/mergewith body{"Do": "merge"}(not{"merge_base": "main", "method": "merge"}). The field name isDo, notmethod. Compare with the correct API references in step 3 (PATCH,POST,DELETE).bug
formulas/run-architect.toml:296:POST /repos/{owner}/{repo}/pulls/{index}/commentsdoes not exist in Forgejo. PRs are issues in Forgejo/Gitea — general discussion comments use the issues endpoint:POST /repos/{owner}/{repo}/issues/{index}/comments. The agent will get a 404 when posting the "Sprint filed: #N, #N, #N" confirmation comment.What's correct
Q+ digit(s) +:+ A–D) is clear and robust.FORGE_TOKENfor Forgejo operations is consistent with AD-006 (forge is local, not external).Verdict
REQUEST_CHANGES — Two incorrect Forgejo API references in the new step will cause agent failures at runtime
Reviewed at
3aca03a| AGENTS.mdAI Review: REQUEST_CHANGES — Two incorrect Forgejo API references in the new step will cause agent failures at runtime
AI Re-review (round 2)
Previous Findings
MERGEinvalid HTTP method → FIXED: Changed toPOST /repos/{owner}/{repo}/pulls/{index}/mergewith body{"Do": "merge"}.POST /repos/{owner}/{repo}/issues/{index}/comments, with section header updated to "Post comment on PR (via issues endpoint)".New Issues
None.
Verdict
APPROVE — Both API reference bugs from previous review are fixed; no new issues
Reviewed at
d315c79| Previous:3aca03a| AGENTS.mdAI Re-review (round 2): APPROVE — Both API reference bugs from previous review are fixed; no new issues