Work item workflow

Work item workflow A workflow diagram generated by Archify. 01 / Person 02 / Agent sessions 03 / Steps · build jobs EX / Exception Plan Build & approve Merge, staging, test RequestApproval · task token, 7 days · Person › Build & approve · required RequestApproval task token, 7 days required Done · Jira Done, Slack · Person › Merge, staging, test Done Jira Done, Slack PM · story · optional · Agent sessions › Plan PM story · optional Designer · design · optional · Agent sessions › Plan Designer design · optional Developer · branch agent/KEY · Agent sessions › Build & approve Developer branch agent/KEY Reviewer · approve · changes · Agent sessions › Build & approve Reviewer approve · changes Tester · pass · fail · Agent sessions › Merge, staging, test Tester pass · fail Operator · healthy · unhealthy · Agent sessions › Merge, staging, test Operator healthy · unhealthy StartRun · lock work item · Steps · build jobs › Plan StartRun lock work item CI + image · build job, branch · Steps · build jobs › Build & approve CI + image build job, branch Merge queue · ff merge · deploy · Steps · build jobs › Merge, staging, test Merge queue ff merge · deploy AttemptsLeft · count a failure · Exception › Build & approve AttemptsLeft count a failure Escalate · 3 failures · 8 rounds · Exception › Merge, staging, test Escalate 3 failures · 8 rounds design approved no attempts left pass PR story Legend Agent logic Policy Tool action Cloud service External system

Stages

  • • A container that ends with a task token
  • • An orchestrator step judges each session
  • • Developer and tester always run

Waits for a person

  • • Approval 7 days, AskHuman 3 days
  • • Tester failure: accept, fix or revert
  • • A merge resumes the run at once

Bounded retries

  • • Orchestrator steps: 8 retries, then escalate
  • • Session start: 3 retries on service errors
  • • Reconciler every 5 minutes