Skip to content

Add work-queue programming-model demonstrator - #58

Open
koliyo wants to merge 1 commit into
mainfrom
work-queue
Open

Add work-queue programming-model demonstrator#58
koliyo wants to merge 1 commit into
mainfrom
work-queue

Conversation

@koliyo

@koliyo koliyo commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a docs-only standalone Rocci app (examples/rocci/standalone/work-queue) that shows which @method:role to use for a shared SQLite work queue: fragments for this-tab HTML, commands for writes with no representation, live for the shared board.
  • Wires catalog, inventory, examples nav, handlers guide, and staging-tree notes without retargeting handler-matrix’s complete-matrix links.
  • Adds a template compile fixture and CLI HTTP smoke for the generated routes.

Test plan

  • cargo test -p rocci-template --test compile work_queue -- --nocapture
  • cargo test -p rocci-cli --lib work_queue -- --nocapture
  • cargo run -q -p rocci-cli -- inspect --ast examples/rocci/standalone/work-queue/WorkQueue.rocci
  • Two tabs on rocci run …/WorkQueue.rocci: inspect fills one well only; enqueue/claim update both boards, not composer/inspect.

Made with Cursor

Show which @method:role to use for a shared SQLite queue, as a docs sibling of the handler-matrix contract lab.

Co-authored-by: Cursor <cursoragent@cursor.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