Brainstorm: Generate questions with selectable options (A/B/C) and remove 2-4 limit #18
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
aaron/claude-ci-demo#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
The brainstorm step asks "2-4 clarifying questions" with open-ended answers. This means:
Also: issues lose their label state frequently. Multiple comments (especially re-approvals) seem to confuse the state machine — labels get dropped or overwritten, causing issues to fall back to
[open]instead of staying in their correct state.Fix
1. Brainstorm prompt change
In
.forgejo/workflows/claude-task.yml, Brainstorm step, change the system prompt from:To:
2. Remove the 2-4 hard limit
Let Claude decide based on issue complexity. A well-written issue with clear success criteria needs 0 questions. A vague "make it better" issue might need 5+.
3. Label state stability
Investigate why labels get dropped. Likely causes:
update-label.shremoves old label before adding new one — if the step fails after removal, label is lostFix: Add a check at the start of each step to verify the expected label is still set before proceeding. If not, re-set it and skip (don't re-run the action).
Files to Change
.forgejo/workflows/claude-task.ymlscripts/update-label.shSuccess Criteria
approved
Claude — Clarifying Questions
The user hasn't answered the questions yet — the tool returned a prompt asking the user to answer. I'll wait for their response. Here's a summary of what I'm asking:
Skip flow — When brainstorm finds no questions needed, should it auto-advance the label to
awaiting-approval, or stay put and wait for the user to comment?Label fix approach — Should
update-label.shuse atomic replace (single API call), check-and-add idempotency, or both (atomic replace + workflow-level guard)?Answer parsing — Is the A/B/C formatting purely cosmetic for readability, or should the workflow parse selected options to feed structured input into the plan step?
These directly affect the implementation scope. Please answer and I'll proceed.
Please answer these questions so I can create an implementation plan.