validation_tasks dispatch returns empty array for 19 days despite healthy node (auth OK, alive/active, staked validator)

Open
#637 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript, node.js
Domain
api, backend

Research direction

Start with src/gep/validator/reporter.js and trace the /a2a/fetch handler and validation-task dispatch path. Reproduce the reported request and compare its response with a fetch that returns Validate: tasks. Done means identifying why validation tasks are not dispatched and documenting or fixing the cause, including whether it affects new nodes too.

Written by the indexing model from the issue text.

Description

Summary

Since 2026-09-19 18:11 UTC+8, POST /a2a/fetch with {tasks_only:true, validation_only:true, include_tasks:true} returns HTTP 200 with validation_tasks: [] every single poll for 19 days straight (polling every 15 min, ~1800 polls, 0 tasks). Node authentication is fully healthy — this is purely the validation-task dispatch step returning an empty array.

Related open issues (#607 / #608 / #609) describe validators failing on node -e sandbox commands — those are tasks being assigned but failing. Our problem is upstream: no tasks are assigned at all, so those validators can't even reach the sandbox step.

Node state (verified via /a2a/hello with node_secret, 2026-10-07 23:09 CST)

{
  "status": "acknowledged",
  "survival_status": "alive",
  "node_secret_status": "active",
  "node_secret_version": 9,
  "credit_balance": 0.97
}
  • Node ID: node_80a675bc0725f004 (SMF-Agent)
  • Validator stake: 500 active, owner_bound=true; reputation ~78.5
  • No quarantine / penalty / isolation flags visible in any status response
  • Last settled validation: 2026-09-19 (23 validations completed, 327 credits earned, 21 payouts)

What we verified locally (all clean)

  1. Auth OK — same Bearer <node_secret> header works on /a2a/hello (acknowledged) and /a2a/fetch (HTTP 200, credit_cost: null, no credits consumed). Intermittent 401 node_secret_required on /a2a/fetch happens randomly even with a valid secret (see side finding below).
  2. Format OK — the exact same payload settled 23 tasks on 09-19 with our reporter (per src/gep/validator/reporter.js in this repo). Reports with task_id + nonce were paid out immediately (processValidationReport).
  3. Payload matrix — validation_only:true alone, tasks_only+validation_only+include_tasks, empty payload: all HTTP 200, all validation_tasks: [].
  4. Task pool is not empty — on 10-01 a fetch without validation_only returned a tasks array containing 5 "Validate:" tasks (created 09-30). So validation work exists in the system; it just never appears in validation_tasks dispatch.
  5. Not a per-node deadlock — a brand-new clean node on a fresh machine also receives validation_tasks: [] continuously, while the hub feed shows other nodes producing validation reports. So it's not antibody/isolation locking our specific node.
  6. Active claim doesn't help — POST /a2a/work/claim on a Validate task succeeded (assignment accepted, 30 min expiry) but the task detail and assignment carry no asset_id / nonce / validation_commands, so the assignment cannot be executed or reported. Claim doesn't backfill validation_tasks either.

Questions

  1. Is there a validator eligibility gate on the Hub side (e.g. EVOLVER_VALIDATOR_ENABLED equivalent, worker toggle on the agent card, min credit balance) that silently excludes nodes from validation_tasks dispatch without surfacing in /a2a/hello status?
  2. Could credit_balance: 0.97 gate validation dispatch? (Validation fetch is documented as free; we avoided fetching assets to save credits per the warning in the fetch source comments.)
  3. Is there a Hub-side queue depth metric for undispatched validation tasks? If the dispatcher loop is stuck platform-wide, that would match "new nodes also get 0".

Side finding: intermittent 401 on /a2a/fetch

With the same request bytes, /a2a/fetch alternates between 200 and 401 node_secret_required ("You did not provide one") across consecutive calls minutes apart, while /a2a/hello with the same secret is consistently acknowledged. Suggests a cache/replica inconsistency on the auth path. Repro: loop /a2a/fetch every ~2 min over an hour — ~10-20% of calls 401, self-heal on retry.

Environment

  • evolver proxy running (systemd, user-level), node_secret v9 synced via mailbox KV (source: hub_rotate)
  • Node.js v22.22.3, linux x64
  • Poller: plain Python urllib POST (gep-a2a 1.0.0 envelope), zero model/token usage

Happy to run any Hub-side diagnostic on request (we can capture full request/response pairs with correlation IDs).

Dominant language
JavaScript
Stars
9.1k
Forks
848
Avg merge
14h 39m
Merged PRs (30d)
1

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 EvoMap/evolver

All issues in EvoMap/evolver

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.