Reports the policy (status, budgets), this working copy’s run (tasks, minutes, usage) and the next runnable task. A paused policy or a spent budget appears as stop; a run with nothing to do still starts and ends.
Usage
overlane run status [--executor claude-code|codex|gemini-cli|cursor]Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--executor |
one of claude-code, codex, gemini-cli, cursor |
no | Which agent this is (default: detected from the environment) |
Examples
overlane run statusBehavior
- Effect:
read(changes nothing). - Needs credentials: yes. Uses the network: yes.
- Supports
--dry-run: no. Accepts--force: no. - Machine-readable description:
overlane schema run status.
Result
With --json (the default when stdout is not a terminal) the command prints this JSON Schema’s shape on stdout.
{
"type": "object",
"properties": {
"policy": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"active",
"paused"
]
},
"buildAheadLimit": {
"type": "string"
},
"maxTasksPerRun": {
"type": "number"
},
"maxMinutesPerRun": {
"type": "number"
},
"usagePolicy": {
"type": "object",
"properties": {
"order": {
"default": "sequential",
"type": "string",
"enum": [
"sequential",
"round_robin",
"parallel"
]
},
"maxParallel": {
"default": 1,
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"pace": {
"default": "asap",
"type": "string",
"enum": [
"asap",
"steady"
]
},
"capPercent": {
"default": 85,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"reservePercent": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 99
},
"iterationsPerWindow": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
}
},
"required": [
"order",
"maxParallel",
"pace",
"capPercent",
"reservePercent"
],
"additionalProperties": false
},
"executorsAllowed": {
"type": "array",
"items": {
"type": "string"
}
},
"handoffOnLimit": {
"anyOf": [
{
"type": "string",
"const": "pause"
},
{
"minItems": 1,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"claude-code",
"codex",
"gemini-cli",
"cursor"
]
},
{}
]
}
}
]
}
},
"required": [
"status",
"buildAheadLimit",
"maxTasksPerRun",
"maxMinutesPerRun",
"usagePolicy",
"executorsAllowed",
"handoffOnLimit"
],
"additionalProperties": false
},
"run": {
"anyOf": [
{
"type": "object",
"properties": {
"runId": {
"type": "string"
},
"executor": {
"type": "string"
},
"tasksClaimed": {
"type": "number"
},
"maxTasks": {
"type": "number"
},
"minutesUsed": {
"type": "number"
},
"maxMinutes": {
"type": "number"
},
"usage": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"percent": {
"type": "number"
},
"stopAt": {
"type": "number"
}
},
"required": [
"label",
"percent",
"stopAt"
],
"additionalProperties": false
}
},
"required": [
"runId",
"executor",
"tasksClaimed",
"maxTasks",
"minutesUsed",
"maxMinutes"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"stop": {
"type": "object",
"properties": {
"reason": {
"type": "string"
},
"detail": {
"type": "string"
},
"finishWith": {
"type": "string"
}
},
"required": [
"reason",
"detail",
"finishWith"
],
"additionalProperties": false
},
"nextTask": {
"anyOf": [
{
"type": "object",
"properties": {
"taskId": {
"type": "string"
},
"title": {
"type": "string"
},
"milestone": {
"type": "string"
},
"version": {
"type": "number"
}
},
"required": [
"taskId",
"title",
"milestone",
"version"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"next": {
"type": "string"
}
},
"required": [
"policy",
"run",
"next"
],
"additionalProperties": false
}See exit codes for the status the process returns.