Add low-cost worker readiness classification

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@tangentstorm is already working on this.

Since Nov 17, 2026.

  • #73 by @tangentstorm — open

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

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, or unknown; expose probability/confidence only as actually supported by the provider. Make thresholds configurable and fall back to unknown on 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tangentcode/tangentswarm

All issues in tangentcode/tangentswarm

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.