Back to flowchart examples
Mapfable
Read-only flowchart
Use this example
Dark
View
All flow
Before this step
After this step
Show route
From
Choose a step
To
Choose a step
Show route
Motion
Animate connections
Visual connection guide only. It does not run the system.
JavaScript is disabled. The complete diagram is visible below; interactive viewing requires JavaScript.
AI Task Lifecycle
From a shared goal to an accepted result, with explicit permission, bounded retries and a human review loop.
{"title":"AI Task Lifecycle","description":"From a shared goal to an accepted result, with explicit permission, bounded retries and a human review loop.","graph":{"direction":"LR","nodes":[{"id":"goal","type":"terminal","label":"Goal received","description":"A person defines the intended outcome, constraints and a clear stop condition. A request to plan is not permission to execute.","group":"","basis":"unknown","category":"frontend","groupId":"direction","position":{"x":80,"y":160},"sources":[{"repository":"","path":"","revision":"","note":"Authored reference workflow for human-directed AI work. This is a process design, not a record of an executed agent run or production telemetry."}]},{"id":"plan","type":"process","label":"Draft the plan","description":"The AI proposes bounded steps, required tools, expected outputs and acceptance criteria. Unresolved choices stay visible.","group":"","basis":"unknown","category":"backend","groupId":"direction","position":{"x":80,"y":350},"sources":[]},{"id":"permission","type":"decision","label":"Work approved?","description":"The person authorizes this specific scope. Rejection ends this attempt; a later changed plan requires a new decision.","group":"","basis":"unknown","category":"frontend","groupId":"direction","position":{"x":60,"y":570},"sources":[]},{"id":"cancelled","type":"terminal","label":"Cancelled","description":"Permission was declined before execution. No tool action is started by this route. Existing work remains available for later review.","group":"","basis":"unknown","category":"frontend","groupId":"direction","position":{"x":80,"y":830},"sources":[]},{"id":"execute","type":"process","label":"Execute a step","description":"Carry out the next authorized step. Respect the approved scope and stop boundary instead of silently expanding the task.","group":"","basis":"unknown","category":"backend","groupId":"execution","position":{"x":700,"y":160},"sources":[]},{"id":"tool","type":"io","label":"Call the right tool","description":"Use the selected tool with the permissions already granted. Tool results become evidence; they do not authorize unrelated actions.","group":"","basis":"unknown","category":"external","groupId":"execution","position":{"x":695,"y":350},"sources":[]},{"id":"evidence","type":"process","label":"Collect the result","description":"Capture the returned output and relevant observations. Keep failures visible so the next decision can use the actual result.","group":"","basis":"unknown","category":"backend","groupId":"execution","position":{"x":700,"y":570},"sources":[]},{"id":"revise","type":"process","label":"Revise the scope","description":"Changes requested at final review go back into a new plan. This branch does not resume execution until the new scope is approved.","group":"","basis":"unknown","category":"backend","groupId":"execution","position":{"x":700,"y":830},"sources":[]},{"id":"criteria","type":"decision","label":"Criteria met?","description":"Compare the collected result with the approved acceptance criteria. A permitted bounded retry may repeat a step; exhausted retries stop for a revised plan.","group":"","basis":"unknown","category":"backend","groupId":"review","position":{"x":1300,"y":160},"sources":[]},{"id":"accept","type":"decision","label":"Accept the result?","description":"The person reviews the completed artifact and supporting evidence. Acceptance finishes the task; changes return to planning.","group":"","basis":"unknown","category":"frontend","groupId":"review","position":{"x":1300,"y":490},"sources":[]},{"id":"complete","type":"terminal","label":"Completed","description":"The result meets the agreed criteria and has been accepted. Preserve the artifact and evidence so another person or AI can continue later.","group":"","basis":"unknown","category":"neutral","groupId":"review","position":{"x":1320,"y":830},"sources":[]}],"edges":[{"id":"goal-plan","source":"goal","target":"plan","label":"","description":"","basis":"unknown","sourceHandle":"bottom","targetHandle":"top","sources":[]},{"id":"plan-permission","source":"plan","target":"permission","label":"","description":"","basis":"unknown","sourceHandle":"bottom","targetHandle":"top","sources":[]},{"id":"permission-execute","source":"permission","target":"execute","label":"Approved","description":"Only the approved scope crosses into execution.","basis":"unknown","sourceHandle":"right","targetHandle":"left","sources":[]},{"id":"permission-cancel","source":"permission","target":"cancelled","label":"Declined","description":"","basis":"unknown","sourceHandle":"bottom","targetHandle":"top","labelOffset":{"x":95,"y":0},"sources":[]},{"id":"execute-tool","source":"execute","target":"tool","label":"","description":"","basis":"unknown","sourceHandle":"bottom","targetHandle":"top","sources":[]},{"id":"tool-evidence","source":"tool","target":"evidence","label":"","description":"","basis":"unknown","sourceHandle":"bottom","targetHandle":"top","sources":[]},{"id":"evidence-criteria","source":"evidence","target":"criteria","label":"Evaluate","description":"","basis":"unknown","sourceHandle":"right","targetHandle":"left","sources":[]},{"id":"criteria-retry","source":"criteria","target":"execute","label":"Bounded retry","description":"Repeat only while the original permission and retry allowance remain valid.","basis":"unknown","sourceHandle":"left","targetHandle":"top","sources":[]},{"id":"criteria-review","source":"criteria","target":"accept","label":"Met","description":"","basis":"unknown","sourceHandle":"bottom","targetHandle":"top","sources":[]},{"id":"criteria-revise","source":"criteria","target":"revise","label":"Needs new scope","description":"A retry budget or scope boundary was reached; return to planning rather than retry indefinitely.","basis":"unknown","sourceHandle":"right","targetHandle":"right","sources":[]},{"id":"review-complete","source":"accept","target":"complete","label":"Accepted","description":"","basis":"unknown","sourceHandle":"bottom","targetHandle":"top","sources":[]},{"id":"review-revise","source":"accept","target":"revise","label":"Changes requested","description":"","basis":"unknown","sourceHandle":"left","targetHandle":"right","sources":[]},{"id":"revise-plan","source":"revise","target":"plan","label":"Replan","description":"Revised work re-enters the approval gate before further execution.","basis":"unknown","sourceHandle":"left","targetHandle":"left","sources":[]}],"groups":[{"id":"direction","label":"Direction & permission","description":"Define the work and decide whether execution may begin."},{"id":"execution","label":"Execution & evidence","description":"Use tools within scope and preserve the resulting evidence."},{"id":"review","label":"Verification & handoff","description":"Check the result, request changes or accept the finished artifact."}]},"investigation":null}
MAPFABLE · FLOWCHART
AI Task Lifecycle
From a shared goal to an accepted result, with explicit permission, bounded retries and a human review loop.
Frontend
Backend service
External service
Neutral
Direction & permission
Direction & permission
4 steps
Execution & evidence
Execution & evidence
4 steps
Verification & handoff
Verification & handoff
3 steps
goal → plan
plan → permission
Approved
Declined
execute → tool
tool → evidence
Evaluate
Bounded retry
Met
Needs new scope
Accepted
Changes requested
Replan
Goal received
Frontend
Goal received
Draft the plan
Backend service
Draft the plan
Work approved?
Frontend
Work approved?
Cancelled
Frontend
Cancelled
Execute a step
Backend service
Execute a step
Call the right tool
External service
Call the right tool
Collect the result
Backend service
Collect the result
Revise the scope
Backend service
Revise the scope
Criteria met?
Backend service
Criteria met?
Accept the result?
Frontend
Accept the
result?
Completed
Neutral
Completed
Approved
Declined
Evaluate
Bounded retry
Met
Needs new scope
Accepted
Changes
requested
Replan
Read-only snapshot · Status reflects the included evidence, not live monitoring.
−
+
Fit whole diagram
All flow