{"id":51033728,"url":"https://github.com/launchapp-dev/animus-queue-default","last_synced_at":"2026-06-22T03:01:54.333Z","repository":{"id":361724763,"uuid":"1255229737","full_name":"launchapp-dev/animus-queue-default","owner":"launchapp-dev","description":"Reference queue plugin for Animus v0.5 (lift-and-shift of in-tree dispatch queue + new queue/lease atomic dispatch)","archived":false,"fork":false,"pushed_at":"2026-06-16T13:39:33.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"v0.1.0-dev","last_synced_at":"2026-06-16T15:24:09.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/launchapp-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T15:14:59.000Z","updated_at":"2026-06-07T15:45:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/launchapp-dev/animus-queue-default","commit_stats":null,"previous_names":["launchapp-dev/animus-queue-default"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/launchapp-dev/animus-queue-default","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchapp-dev%2Fanimus-queue-default","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchapp-dev%2Fanimus-queue-default/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchapp-dev%2Fanimus-queue-default/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchapp-dev%2Fanimus-queue-default/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/launchapp-dev","download_url":"https://codeload.github.com/launchapp-dev/animus-queue-default/tar.gz/refs/heads/v0.1.0-dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/launchapp-dev%2Fanimus-queue-default/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34632723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-22T03:01:53.485Z","updated_at":"2026-06-22T03:01:54.317Z","avatar_url":"https://github.com/launchapp-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# animus-queue-default\n\nReference `queue` plugin for [Animus](https://github.com/launchapp-dev/animus-protocol) v0.5.\n\nThis crate is a lift-and-shift of the in-tree dispatch queue from\n`ao-cli/crates/orchestrator-daemon-runtime/src/queue/`, ported to the\n`animus-queue-protocol` stdio plugin contract. It adds the v0.5\n**`queue/lease`** atomic dispatch path (new — not present in the in-tree\ncode).\n\n## Scope\n\nThe queue plugin owns:\n\n- per-project FIFO state for `SubjectDispatch` envelopes\n- file-locked state persistence under `\u003cproject_root\u003e/.animus/`\n- the 10 `queue/*` methods (enqueue, list, lease, stats, hold, release, drop,\n  reorder, mark_assigned, completion)\n\nCapacity / dispatch headroom / active-workflow filtering stays in the\ndaemon (kernel concern). The plugin just provides ordered access.\n\n## State / lock layout\n\nThe plugin binds a project root at `initialize` time via\n`init_extensions.project_binding.project_root`. State and lock files live\nunder that root:\n\n```\n\u003cproject_root\u003e/.animus/queue.json\n\u003cproject_root\u003e/.animus/queue.lock\n```\n\nThe plugin uses `fs2::FileExt::lock_exclusive()` during state mutations.\nThe lock is held only across read-modify-write cycles, never across IPC.\nRunning multiple plugin instances against the same project root produces\nundefined behavior; the daemon SHOULD enforce single-plugin-per-project.\n\n## v0.5 known limitations\n\n- **FIFO only.** Pending entries are leased in insertion order regardless\n  of `SubjectDispatch::priority`. The protocol carries a\n  `QueueCapabilities::priority_weighted: false` flag advertising this.\n  Priority-weighted backends are a future v0.6+ concern.\n- **No watch/streaming.** Queue change events are not currently published.\n  Hosts that need them can poll `queue/list` or rely on `queue/lease`\n  return values.\n- **Single project root per process.** The plugin process is bound to one\n  project root for its lifetime; re-binding would require a restart.\n\n## Build\n\n```bash\ncargo build\ncargo test\n```\n\n## Wire smoke\n\n```bash\ncargo run --release -- --manifest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchapp-dev%2Fanimus-queue-default","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaunchapp-dev%2Fanimus-queue-default","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaunchapp-dev%2Fanimus-queue-default/lists"}