Skip to content
Proud to collaborate with Microsoft for Startups

ticket.git-work.observe ​

Append an ordered, idempotent local Git observation and advance the ticket projection.

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
work_uuidstringYes——
sequenceintegerYes——
idempotency_keystringYes——
ref_namestringYes——
head_oidstringNo——
base_oidstringNo——
dirtybooleanNo——
ahead_countintegerNo——
behind_countintegerNo——
sourcestringNo——
observed_atdatetimeNo——
datajsonNo—Provider-blind observation metadata, kept local and never published. A key is refused when it IS a provider coordinate, a credential or a filesystem location -- the whole key, or its first or last component: url, uri, remote, provider, token, secret, password, auth, credential, private, path. A plural *_paths key is work content and is accepted, so changed_paths belongs here; a singular *_path is one filesystem location and is not. Values are scanned regardless: any URL, ssh coordinate, absolute path or credential assignment is refused.

Output Schema ​

FieldTypeRequiredDefaultDescription
observationdictNo——
workdictNo——
createdbooleanNo——
organization_uuidstringNo—Input field preserved in workflow state.
work_uuidstringNo—Input field preserved in workflow state.
sequenceintegerNo—Input field preserved in workflow state.
idempotency_keystringNo—Input field preserved in workflow state.
ref_namestringNo—Input field preserved in workflow state.
head_oidstringNo—Input field preserved in workflow state.
base_oidstringNo—Input field preserved in workflow state.
dirtybooleanNo—Input field preserved in workflow state.
ahead_countintegerNo—Input field preserved in workflow state.
behind_countintegerNo—Input field preserved in workflow state.
sourcestringNo—Input field preserved in workflow state.
observed_atdatetimeNo—Input field preserved in workflow state.
datajsonNo—Input field preserved in workflow state.
failed_atstringNo—ISO-8601 timestamp when action_fail recorded the failure
failure_reasonstringNo—Human-readable failure reason from action_fail
failure_typestringNo—Engine-stamped failure category
failed_actionstringNo—Engine-stamped action that raised
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerstringNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—executeAccepted
executingNoNo—completeApplying the mutation
completedNoYesYes—Done
failedNoYesNo—Failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedexecuteexecutingRun the mutation
executingcompletecompletedFinalize
* (any state)failfailedCatch-all failure

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "ticket.git-work.observe",
  "initial_data": {
    "organization_uuid": "value",
    "work_uuid": "value",
    "sequence": 123,
    "idempotency_key": "value"
  }
}