Orchestrator Record Attempt
orchestrator_record_attemptCount one failed stage attempt after a gate failure, then return attempts and should_retry so the autonomous loop can retry or escalate to human review.
Instructions
Count one failed attempt of a stage after a gate failure.
Use when: a stage gate failed in the autonomous loop; escalate with orchestrator_needs_human when should_retry is false. Returns: {ok, stage, attempts, should_retry}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_dir": "<app_dir>",
"stage": "<stage>"
},
"name": "orchestrator_record_attempt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | Yes | Pipeline stage id, e.g. 'aso', 'screenshots', 'features' (see pipeline_status for the list). | |
| app_dir | Yes | Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||