Adds fleet_queue_state (monotonic version per product), bumped on job create + every stage change in the repository layer (best-effort, never fails a job write), and a GET /fleet/queue-state read endpoint. Lets a polling factory detect "work changed" with a ~1 RU point read instead of a full listJobs scan on every claim. Registers the container; tests cover the bump + endpoint. See agent-queue docs/GIGAFACTORY/FLEET_DISPATCH_REDESIGN.md §8/§12 (M0). Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| package.json | ||
| POSTAL_SMTP_SETUP.md | ||
| tsconfig.json | ||
| vitest.config.ts | ||