ticket.coding-artifact.available-commit ​
Mark an artifact available and apply priced storage cost evidence collected by the storage library DAG step.
Persist availability and apply already-fetched storage cost evidence.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-tickets |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | Authenticated organization scope; control-plane injected, never caller authority. |
artifact_uuid | string | Yes | — | Prepared or uploading organization-scoped artifact. |
storage_object_uuid | string | Yes | — | Same-organization StorageObject UUID with kind coding-git-artifact and exact frozen digest, size, and AgentSession identity. |
required | boolean | No | — | — |
collect_evidence | boolean | No | — | — |
evidence | json | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
artifact | dict | No | — | Provider-neutral artifact; excludes storage coordinates and credentials. |
created | boolean | No | — | — |
changed | boolean | No | — | — |
claimed | boolean | No | — | — |
organization_uuid | string | No | — | — |
artifact_uuid | string | No | — | — |
storage_object_uuid | string | No | — | — |
required | boolean | No | — | — |
collect_evidence | boolean | No | — | — |
evidence | json | No | — | — |
failed_at | string | No | — | ISO-8601 timestamp when action_fail recorded the failure |
failure_reason | string | No | — | Human-readable failure reason from action_fail |
failure_type | string | No | — | Engine-stamped failure category |
failed_action | string | No | — | Engine-stamped action that raised |
failed_at_state | string | No | — | Engine-stamped state when the workflow failed |
failed_step | string | No | — | Engine-stamped step name (DAG path) |
failed_layer | string | No | — | Engine-stamped layer index (DAG path) |
error | string | No | — | Engine-stamped exception message |
error_type | string | No | — | Engine-stamped exception class name |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
initiated | Yes | No | — | execute | Accepted |
executing | No | No | — | complete | Applying the mutation |
completed | No | Yes | Yes | — | Done |
failed | No | Yes | No | — | Failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
initiated | execute | executing | Run the mutation |
executing | complete | completed | Finalize |
* (any state) | fail | failed | Catch-all failure |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "ticket.coding-artifact.available-commit",
"initial_data": {
"organization_uuid": "value",
"artifact_uuid": "value",
"storage_object_uuid": "value"
}
}