feat(dispatch): slash-command skill invocation + .middle/prompt.md dispatch brief#76
Conversation
…ompt.md dispatch brief
|
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 (5)
📝 WalkthroughWalkthroughThis PR extends the prompt generation system to support epic-number-aware dispatch. It updates the ChangesEpic-number prompt dispatch
🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
Summary
Make skill invocation deterministic and turn
.middle/prompt.mdinto a dispatch brief the skill consumes.What changed
buildPromptText('initial')now sends/implementing-github-issues implement #N— a slash command that force-invokes the skill, instead of relying on the agent reading "use the skill" prose. One clean one-line submission (works within the Phase 1 single-Stoplimit)..middle/prompt.mdfirst (new "Dispatch brief" section in SKILL.md). That file is the dispatch handoff — operating framing + per-dispatch operator notes (plan changes, scope adjustments). Operator notes override the skill's defaults.ensurePromptFilenow writes the framing brief (work continuously, don't stop to ask, terminal = PR-ready) instead of redundant "use the skill" text — with an## Operator notessection for kickoff input.resume/answerkeep the@-file pointer for the fuller multi-turn workflow (Hooks and watchdog #14).Why
Forced skill invocation removes the "did the agent decide to load it?" gamble; the brief file keeps the dispatch framing and human-input channel the design calls for, all in one submission.
Verification
bun test125 pass,tscclean.buildPromptText('initial')test asserts the slash-command form.Note
mm dispatch --note <text>(to inject operator kickoff notes into the brief) is the natural next add — not in this PR.Summary by CodeRabbit
New Features
.middle/prompt.mdfile detection and conditional execution paths.Refactor