Add low-cost worker readiness classification
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- ai-infra-agents, devtools
Research direction
The issue describes a specification only and names no files or tests. First read the existing deterministic prompt-ready probe and swarm terminal capture entry points, then verify the JEV provider contract before proposing implementation. Done means a documented, verified contract and secure configuration route; the issue explicitly excludes implementation and live calls.
Written by the indexing model from the issue text.
Description
User request
Add a low-cost worker-readiness classifier using JEV (J-E-V): send compact terminal screen text, obtained through existing swarm capture, and return whether a worker is ready or has a question, with probability/confidence as the API supports. This is text input, not screenshots.
JEV's provider identity, API contract, endpoint, model, authentication requirements, and probability semantics remain TBD; confirm them before implementation. Do not assume an OpenAI-compatible API.
Proposed behavior and safeguards
- Run the existing deterministic prompt-ready probe first. Use model fallback only when needed, and only for changed, compact, redacted terminal text.
- Classify
ready,question_pending,busy, orunknown; expose probability/confidence only as actually supported by the provider. Make thresholds configurable and fall back tounknownon uncertainty, stale output, or errors. - Distinguish ghost autocomplete suggestions from actual typed input. Stale output must not become fresh evidence of readiness.
- Configure provider endpoint/model; supply secrets securely through the environment. Never log secrets or unredacted sensitive terminal content.
- Record request and usage/cost counters using provider-reported metrics where available; label estimates and unavailable metrics clearly.
- Inference is advisory. It must not automatically push, merge, dispatch work, or restart queues.
Acceptance criteria
- Tests cover busy, idle, question-pending, ghost autocomplete, stale output, provider/network errors, and redaction.
- Tests verify deterministic-first behavior, unchanged-text suppression, configurable thresholds, uncertainty fallback, and absence of secret logging.
- A mock provider supports testing without paid calls; document the verified JEV contract and secure configuration route before any live integration.
Scope of this issue is specification only: no implementation, token retrieval, paid API calls, or polling activation is authorized by filing it.
- Dominant language
- Python
- Stars
- 3
- Forks
- 0
- Avg merge
- 5h 57m
- Merged PRs (30d)
- 60
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tangentcode/tangentswarm
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
tangentcode/tangentswarm#167 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
tangentcode/tangentswarm#161 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tangentcode/tangentswarm#158 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
tangentcode/tangentswarm#168 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
tangentcode/tangentswarm#165 ·
Maintainers usually reply within 1 day
All issues in tangentcode/tangentswarm
Similar issues
-
Container fails to start when GitHub Releases is unavailable: uv run re-downloads the tvl wheelOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
trezor/trezor-user-env#421 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 91/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Possibly taken @cestercian claimed this today. Opencomp/cli P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NousResearch/hermes-agent#162259 · 1 comment ·
Maintainers usually reply within 1 day