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}.
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 | |||