fix(factory): dispatch after Slack clarification#35
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
ChangesSlack Clarification Dispatch and Injection
Sequence DiagramsequenceDiagram
participant SlackHuman as Slack Human
participant FactoryLoop
participant PendingMap as pendingSlackClarifications
participant AgentSet as implementer/workflow/babysitter
SlackHuman->>FactoryLoop: Slack triage answer (with escalationReason)
FactoryLoop->>FactoryLoop: hasDispatchableRoute(decision)
FactoryLoop->>PendingMap: store(issueKey, slackText)
FactoryLoop->>FactoryLoop: dispatchAfterSlackClarification(decision, escalationReason)
FactoryLoop->>FactoryLoop: `#startOrQueueSlackClarifiedDecision`(clarifiedDecision)
FactoryLoop->>FactoryLoop: dispatch succeeds → `#injectPendingSlackClarification`(record)
FactoryLoop->>AgentSet: `#injectSlackReplyEvent`(slackText)
FactoryLoop->>PendingMap: clear(issueKey)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Testing
Notes
This addresses the AR-287 path where factory repeatedly posted/recognized triage escalation state but never started an agent after the human answered in Slack.