Skip to content

fix: Bury media cards in get_due_cards to fix rate_card error (#10)#11

Merged
anatoly314 merged 5 commits intomainfrom
fix/issue-10-media-skip-bug
Feb 8, 2026
Merged

fix: Bury media cards in get_due_cards to fix rate_card error (#10)#11
anatoly314 merged 5 commits intomainfrom
fix/issue-10-media-skip-bug

Conversation

@anatoly314
Copy link
Member

Summary

  • Fix: get_due_cards now buries media cards when skip_images/skip_audio filters are active, ensuring the returned card is genuinely at the top of the scheduler queue. Fixes the "not at top of queue" error from rate_card.
  • New actions: Added bury and unbury to card_management tool so users can restore buried cards after a review session.
  • Voice mode: Added "voice" review style to review_session prompt with skip media + unbury workflow.
  • CI: E2E tests now run on all branch pushes.

Test plan

  • E2E tests for rate_card after skip_images/skip_audio
  • E2E tests for bury/unbury actions
  • Full workflow test: skip → rate → unbury → cards restored
  • Live-tested against real Anki instance via MCP

Closes #10

🤖 Generated with Claude Code

anatoly314 and others added 5 commits February 8, 2026 11:26
)

When skip_images/skip_audio filters are active, get_due_cards now buries
media cards instead of skipping over them in memory. This ensures the
returned card is genuinely at the top of the scheduler queue, fixing the
"not at top of queue" error from rate_card.

Also adds bury/unbury actions to card_management tool so users can
restore buried cards after a review session.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix outdated workflow instructions and add guidance for voice-mode
review with skip_images/skip_audio filters, including the unbury
step at session end.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add "voice" as a review_style option that instructs the LLM to use
skip_images/skip_audio filters and call unbury at session end.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@anatoly314 anatoly314 merged commit 419f205 into main Feb 8, 2026
2 checks passed
@anatoly314 anatoly314 deleted the fix/issue-10-media-skip-bug branch February 8, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rate_card fails with 'not at top of queue' after skipping media cards

1 participant