Skip to content

Add week command for Obsidian weekly task organization#7

Open
jernestosuarez wants to merge 1 commit intomasterfrom
feat/week-command
Open

Add week command for Obsidian weekly task organization#7
jernestosuarez wants to merge 1 commit intomasterfrom
feat/week-command

Conversation

@jernestosuarez
Copy link
Collaborator

Summary

  • New week command that fetches current week's Google Tasks, groups by category, and uses Claude CLI to suggest project groupings
  • Writes structured Obsidian Week files with category → project → task hierarchy
  • Creates TaskNotes for new projects with backlinks to Week files
  • Extracts TaskClassification module for shared category/priority logic
  • Adds due_min/due_max date filtering to Google Tasks API client
  • Adds configurable vault_path in settings

Test plan

  • Run ruby bin/tasker interactive, select a list, type week
  • Verify parallel Claude calls per category return project suggestions
  • Test accept, move tasks, and create new project interactively
  • Check ~/home/Week {N}.md has correct format (header preserved, grouped tasks)
  • Check TaskNotes files created for new projects with correct frontmatter
  • Run ruby bin/tasker week LIST_ID for console mode
  • Verify settings → vault path configuration works

🤖 Generated with Claude Code

New `week` command that fetches the current week's Google Tasks, groups
by category (emoji-based), uses Claude CLI in parallel to suggest project
groupings enriched with Obsidian vault context, and writes a structured
Week file with category/project hierarchy and TaskNotes creation.

Key changes:
- Extract TaskClassification module from InteractiveMode for reuse
- Add due_min/due_max date filtering to Google Tasks API client
- Add vault_path configuration to settings
- Create WeekPlanner class with parallel Claude CLI integration
- Wire up `week` command in interactive and console modes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

1 participant