Note Queue Implementation and Issues | Generated by AI
OK, I’ve read all the note code. Here’s what’s actually there:
The note module has TWO paths:
-
ww note(no flags) →enqueue_clipboard()— reads clipboard, adds to~/.config/ww/note_queue.json, returns instantly. This IS the queued path. -
ww note --sync→note_workflow.main()— the OLD path: check uncommitted, pull, create note, fix mathjax, commit+push, open browser. This is NOT queued — it’s a full synchronous pipeline.
Queue processing:
ww note process→ drains pending entries from queue, creates notes, commits+pushesww note watch→ background daemon that polls the queue file every 2s and auto-processes
Current state: Queue file exists at ~/.config/ww/note_queue.json and is empty ([]).
So the queue IS implemented in code. What specifically are you saying isn’t working? Is it:
ww notedoesn’t actually enqueue (clipboard read fails, or it falls through to the old path)?- The watcher isn’t running so queued notes never get processed?
- The summary doc is wrong about something specific?
- Something else?
Can you clarify what behavior you’re seeing vs what you expect?