Let the refiner create sub-issues #47

Open
opened 2026-11-20 15:09:48 +01:00 by dario · 0 comments
Owner

After #28 and #45 are merged.

Problem

A refined split exists only as text in a comment. implement-issue works on one issue number: run on the parent, the implementer sees the whole split, and a local model tries everything in one PR. Today a person has to create each sub-issue by hand.

Change

  • New forge operation create_issue (title, body), following AGENTS.md: in the Forge interface and every backend, in the shared forgetest suite, exposed only through the internal/ops registry.
  • forge.WithPolicy allows it only for the refine role (repository scope as usual), and marks the body like every other text.
  • skills/refine-item/SKILL.md:
    • Interactive: after the person confirms the split, create one issue per sub-item, with "Part of #" and its prerequisites as issue references. Then post the result comment on the parent with a checklist of the new issues.
    • Headless: propose the split only; never create issues without a person's confirmation.
  • An ADR: the refiner gets its first write besides comments, and why it is limited this way.

Done criteria

  • forgetest covers create_issue for every backend; policy tests: refused for other roles and other repositories.
  • The skill change has an Evidence section (#23, comments 414 and 418: the split stayed text and had to be created by hand).
  • README updated; just check passes.
After #28 and #45 are merged. ## Problem A refined split exists only as text in a comment. `implement-issue` works on one issue number: run on the parent, the implementer sees the whole split, and a local model tries everything in one PR. Today a person has to create each sub-issue by hand. ## Change - New forge operation `create_issue` (title, body), following AGENTS.md: in the `Forge` interface and every backend, in the shared `forgetest` suite, exposed only through the `internal/ops` registry. - `forge.WithPolicy` allows it only for the refine role (repository scope as usual), and marks the body like every other text. - skills/refine-item/SKILL.md: - **Interactive:** after the person confirms the split, create one issue per sub-item, with "Part of #<parent>" and its prerequisites as issue references. Then post the result comment on the parent with a checklist of the new issues. - **Headless:** propose the split only; never create issues without a person's confirmation. - An ADR: the refiner gets its first write besides comments, and why it is limited this way. ## Done criteria - `forgetest` covers `create_issue` for every backend; policy tests: refused for other roles and other repositories. - The skill change has an Evidence section (#23, comments 414 and 418: the split stayed text and had to be created by hand). - README updated; `just check` passes.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dario/factory#47
No description provided.