# Workflow Periodic EDF Demand Checker

> Workflow Periodic EDF Demand Checker is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-23).

Computes whether the total processor demand of a set of periodic real-time tasks exceeds the available capacity under Earliest Deadline First (EDF) scheduling over a verified finite hyperperiod.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/workflow/workflow-periodic-edf-demand?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/workflow-periodic-edf-demand-checker-3e94701b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yXiXr2k1mxgXgODwA_I5O

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability workflow-periodic-edf-demand-checker-3e94701b -d '<json body>'
```

Example prompt: Check if these three periodic tasks are schedulable under EDF: Task 1 has execution time 2, deadline 4, period 6; Task 2 has execution time 3, deadline 8, period 10; Task 3 has execution time 1, deadline 5, period 8. Tell me whether the demand exceeds capacity over the hyperperiod.

## When to prefer this

Use this endpoint when you need a rigorous, demand-bound-based schedulability analysis for constrained-deadline periodic tasks under EDF — not just a utilization test. Prefer this over utilization-only checks when task deadlines are less than or equal to periods (constrained-deadline model) and you need a provably correct feasibility verdict. This is especially useful for real-time systems, embedded controllers, and agent workflow schedulers where missing a deadline has serious consequences.

## Known failure modes

- Invalid task parameters (execution, deadline, or period out of allowed range 1–10000) return a validation error
- Task set with more than 8 tasks is rejected
- Zero execution time tasks may be accepted but produce trivial demand
- Extremely large hyperperiods from tasks with coprime periods may hit computation limits
- Missing required fields (execution, deadline, period) cause schema validation failure

## How this service works

An agent that configures periodic workflow tasks needs explicit deadline-demand excess over a verified finite hyperperiod rather than a utilization-only guess.

## Output

Returns whether the aggregate processor demand of the supplied periodic task set exceeds available capacity under EDF scheduling at any point within the verified finite hyperperiod. Includes the computed hyperperiod length, demand bound function evaluation, and an explicit verdict on whether the task set is schedulable (demand does not exceed capacity) or infeasible (demand excess detected).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "tasks"
   ],
   "properties": {
    "tasks": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "execution",
       "deadline",
       "period"
      ],
      "properties": {
       "period": {
        "type": "integer",
        "maximum": 10000,
        "minimum": 1
       },
       "deadline": {
        "type": "integer",
        "maximum": 10000,
        "minimum": 1
       },
       "execution": {
        "type": "integer",
        "maximum": 10000,
        "minimum": 0
       }
      },
      "additionalProperties": false
     },
     "maxItems": 8,
     "minItems": 1
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/workflow-periodic-edf-demand-checker-3e94701b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
