Shows the held task from the service: state, lease, acceptance criteria, checks, evidence count and the latest checkpoint. Says so when nothing is held or the lease was lost.
Usage
overlane task statusExamples
overlane task statusBehavior
- Effect:
read(changes nothing). - Needs credentials: yes. Uses the network: yes.
- Supports
--dry-run: no. Accepts--force: no. - Machine-readable description:
overlane schema task 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": {
"held": {
"type": "boolean"
},
"leaseHeld": {
"type": "boolean"
},
"task": {
"type": "object",
"properties": {
"taskId": {
"type": "string"
},
"outcome": {
"type": "string"
},
"state": {
"type": "string"
},
"pauseReason": {
"type": "string"
},
"version": {
"type": "number"
},
"lease": {
"type": "object",
"properties": {
"holder": {
"type": "string"
},
"expiresAt": {
"type": "string"
}
},
"required": [
"holder",
"expiresAt"
],
"additionalProperties": false
},
"acceptanceCriteria": {
"type": "array",
"items": {
"type": "string"
}
},
"requiredChecks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"minEvidenceLevel": {
"type": "string"
}
},
"required": [
"id",
"minEvidenceLevel"
],
"additionalProperties": false
}
},
"submitted": {
"type": "object",
"properties": {
"commitSha": {
"type": "string"
},
"submittedAt": {
"type": "string"
}
},
"required": [
"commitSha",
"submittedAt"
],
"additionalProperties": false
},
"evidenceCount": {
"type": "number"
},
"proof": {
"type": "string",
"enum": [
"proven",
"unproven"
]
},
"latestCheckpoint": {
"type": "object",
"properties": {
"createdAt": {
"type": "string"
},
"summary": {
"type": "string"
},
"nextAction": {
"type": "string"
},
"commitSha": {
"type": "string"
},
"workingTreeDigest": {
"type": "string"
},
"route": {
"type": "string"
},
"localOnly": {
"type": "boolean"
}
},
"required": [
"createdAt",
"summary",
"nextAction",
"commitSha",
"localOnly"
],
"additionalProperties": false
},
"archivedAt": {
"type": "string"
},
"restoreDaysLeft": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"taskId",
"outcome",
"state",
"version",
"acceptanceCriteria",
"requiredChecks",
"evidenceCount"
],
"additionalProperties": false
},
"next": {
"type": "string"
}
},
"required": [
"held",
"next"
],
"additionalProperties": false
}See exit codes for the status the process returns.