Skip to content

feat: let workers claim jobs by intent - #159

Merged
pilipilisbot merged 1 commit into
mainfrom
issue-158-intent-workers
Jul 17, 2026
Merged

feat: let workers claim jobs by intent#159
pilipilisbot merged 1 commit into
mainfrom
issue-158-intent-workers

Conversation

@pilipilisbot

@pilipilisbot pilipilisbot commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • add optional work-intent filtering to durable queue claims
  • wire executor workers to the filter with a new gab run --work-intent flag
  • cover filtered claims, same-work-key protection, and CLI intent parsing

Closes #158

Tests

  • python -m pytest tests/test_queue.py tests/test_manual_enqueue_cli.py -q -> 28 passed
  • full isolated suite with dashboard/web-push env cleared -> 315 passed, 1 warning

Co-authored-by: ecarreras <294235+ecarreras@users.noreply.github.com>
@pilipilisbot
pilipilisbot merged commit ff1673a into main Jul 17, 2026
3 checks passed
@pilipilisbot
pilipilisbot deleted the issue-158-intent-workers branch July 17, 2026 12:02
@ecarreras

Copy link
Copy Markdown
Owner

@pilipilisbot joder has mergejat sense dir res, no has fet documentació operativa, com funciona? no he pogut ni revisar els canvis!

La idea és que ho documentis perquè l'agent es pugui autoconfigurar segons el que digui el seu administrador

@pilipilisbot

Copy link
Copy Markdown
Owner Author

Follow-up opened: #160

What I added there:

  • operational docs for intent-specific executor pools (review_only, work_allowed, and general/all)
  • systemd/env support via GITHUB_AGENT_BRIDGE_WORK_INTENT, so an admin can configure worker specialization from the private env file instead of rewriting the unit
  • policy-reference clarification that executor filters only affect queue claiming; they do not reclassify jobs, grant write permission, or change the prompt

Commit: 4475616 docs: explain intent-specific worker pools

Validation:

  • ../github-agent-bridge-issue158/.venv/bin/python -m pytest tests/test_manual_enqueue_cli.py tests/test_queue.py -q -> 28 passed
  • parser smoke test for all and comma-separated intents -> passed

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.

Cues segons el tipus de tasca

2 participants