Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/agents/prompts/templates/backlog-manager.eta
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,4 @@ Manual intervention may be needed to unblock the backlog.
- ALWAYS post a comment BEFORE moving the <%= it.workItemNoun || 'card' %> — comment first, then move to TODO
- BE CONSERVATIVE with dependency detection - when unsure, treat as blocked
- LOOK FOR dependency keywords: "blocked by", "depends on", "waiting for", "after", "requires"
- EXECUTE COMMANDS — DO NOT JUST DESCRIBE THEM: When you decide to post a comment or move a card, you MUST actually invoke the command as a tool call. Writing a command inside a code block without invoking it does NOT execute it — text output has no effect on the system. If you find yourself writing out a command without calling it, stop and call it instead.
7 changes: 7 additions & 0 deletions tests/unit/agents/prompts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,13 @@ describe('system prompts content', () => {
expect(prompt).toContain('card');
});

it('backlog-manager prompt warns against describing commands instead of invoking them', () => {
const prompt = getSystemPrompt('backlog-manager');
expect(prompt).toContain('EXECUTE COMMANDS');
expect(prompt).toContain('DO NOT JUST DESCRIBE THEM');
expect(prompt).toContain('text output has no effect on the system');
});

it('backlog-manager prompt posts comment before moving card', () => {
const prompt = getSystemPrompt('backlog-manager');
const commentStepIdx = prompt.indexOf('5. **Post a comment**');
Expand Down
Loading