State machine · Kandev · doc-inline · balanced
A task's Git path has explicit gates
A managed workspace moves from inspection to commit, push, change request, and cleanup. Each transition is a deliberate Git action with its own credential and data-loss implications.
A task's Git path has explicit gates
A Git lifecycle state machine moves from a working copy to inspected changes, a commit, a pushed branch, an open change request, and cleanup. A discard or reset path returns from changes to the working copy.
DIFF
COMMIT
PUSH
PR
CLEAN UP
DISCARD / RESET
STATE
Working copy
worktree ready
STATE
Changes
inspect · stage
STATE
Committed
local history
STATE
Pushed branch
origin · remote
STATE
Change request
review · merge
STATE
Cleaned up
worktree retained or removed
DELIBERATE ACTION
CHANGE REQUEST GATE
DISCARD, RESET, FORCE-PUSH, AND CLEANUP CHANGE DATA