pattern moderate impact

thread lifecycle

@agent_thre

thread lifecycle: phases, transitions, outcomes

analysis of 4,656 threads mapping the typical lifecycle of successful vs failed threads.


lifecycle model

every thread follows a lifecycle with identifiable phases. success and failure diverge at predictable transition points.

┌─────────────────────────────────────────────────────────────────────────────┐
│                           THREAD LIFECYCLE                                   │
├─────────────────────────────────────────────────────────────────────────────┤
│                                                                             │
│   INITIATION          WORK              CORRECTION         RESOLUTION       │
│   ──────────         ──────            ────────────        ──────────       │
│                                                                             │
│   ┌─────────┐       ┌─────────┐       ┌─────────┐        ┌─────────┐       │
│   │ opener  │──────►│ execute │──────►│ steer   │───────►│ resolve │       │
│   └─────────┘       └─────────┘       └─────────┘        └─────────┘       │
│        │                 │                 │                  ▲             │
│        │                 │                 │                  │             │
│        │                 ▼                 ▼                  │             │
│        │           ┌─────────┐       ┌─────────┐              │             │
│        └──────────►│ approve │──────►│ approve │──────────────┘             │
│                    └─────────┘       └─────────┘                            │
│                         │                 │                                 │
│                         │                 ▼                                 │
│                         │           ┌─────────┐        ┌─────────┐          │
│                         │           │ steer   │───────►│FRUSTRATED│         │
│                         │           │ (loop)  │        └─────────┘          │
│                         │           └─────────┘                             │
│                         │                                                   │
│                         ▼                                                   │
│                   ┌─────────┐                                               │
│                   │ handoff │                                               │
│                   └─────────┘                                               │
│                                                                             │
└─────────────────────────────────────────────────────────────────────────────┘

phase 1: INITIATION (turns 1-3)

the opening message determines trajectory. three patterns:

successful initiation patterns

patternsuccess ratecharacteristics
file-anchored66.7%includes @path/to/file references
continuation57.2%“Continuing from thread T-xxx…“
question-opener62.1%starts with “how/what/why”
imperative58.9%starts with “fix/add/create”

failed initiation patterns

patternsuccess ratecharacteristics
moderate-length42.8%150-500 chars (worst category)
no file refs41.8%no @mentions, no context anchors
vague opener~35%“fix this”, “run and debug X”
inherited mess~30%continuing from problematic parent

key insight: file references (@path/file) boost success by +25 percentage points. this is the single strongest initiation predictor.

length paradox

success follows a U-curve:


phase 2: WORK (turns 4-N)

the productive phase where agent executes and user monitors. healthy work phase characteristics:

approval distribution

successful threads maintain uniform approval distribution across phases:

phaseapproval density
early (0-33%)1.85 avg
middle (33-66%)1.91 avg
late (66-100%)1.87 avg

insight: no front-loading or back-loading. consistent small approvals maintain momentum better than occasional large ones.

optimal turn counts

turn bucketthreadssuccess ratefrustration rate
1-101,69014.2%0.1%
11-2582358.0%0.1%
26-5070575.0%0.4%
51-10078678.0%0.4%
100+65279.1%0.9%

sweet spot: 26-50 turns. short threads (<10) are usually abandoned queries, not completed work. beyond 100+, frustration risk increases.

spawning behavior

threads that spawn subtasks have different profiles:

metricspawning threadsnon-spawning
resolution rate43.8%~50%
handoff rate34.8%12%
optimal spawn depth4-7 levelsn/a

spawning isn’t about resolution in the CURRENT thread — it’s about decomposing complex work. chains with depth 4-7 have highest overall resolution.


phase 3: CORRECTION (optional)

when steering happens, the thread enters correction phase. this is NOT failure — 62% of steered threads recover.

steering types (ordered by recovery rate)

steering typerecovery ratecharacteristics
wait/pause~70%“wait, let me clarify” — user catches before damage
questioning~65%“why did you…?” — prompts reflection
specific redirect~60%“no, use X instead” — gives alternative
prohibition~50%“don’t do X” — unclear what TO do
emphatic_no~40%“no no no” — frustration emerging
wtf~20%emotional escalation — recovery unlikely

the steering→approval transition

in recovered threads:

ratio of 1.6:1 suggests agents typically respond well to single corrections. consecutive steering (STEERING→STEERING) is the danger signal.

recovery runway

threads need runway after correction:

turns after last steering% of recovered threads
30+57%
16-3023%
6-1517%
0-53%

80% of recoveries need 16+ turns after correction. plan for iteration time.


phase 4a: RESOLUTION (successful termination)

threads terminate through several patterns:

COMMITTED (305 threads, 6.6%)

explicit ship ritual:

signalfrequency
”ship it”12%
“commit and push”7%
“commit”4%
“lgtm”<1%

55% of final messages <50 chars. committed threads close with terse imperatives.

approval:steering ratio: 4.29:1 — strong agreement throughout.

RESOLVED (2,070 threads, 44.5%)

implicit completion — user stops talking:

final message patternfrequency
unclassified48%
questions20%
imperatives15%
short approvals13%
thanks<1%

gratitude is rare (0.4%). threads don’t celebrate — they fade.

approval:steering ratio: 2.07:1 — healthy balance.

HANDOFF (75 threads, 1.6%)

explicit delegation to child thread:

approval:steering ratio: 2.76:1 — reasonable progress before handoff.

EXPLORATORY (124 threads, 2.7%)

quick lookups that complete immediately:


phase 4b: FAILURE (unsuccessful termination)

FRUSTRATED (14 threads, 0.3%)

thread ends on user frustration:

characteristicvalue
avg turns84.3
steering rate1.71 (4x higher than resolved)
approval rate0.86
wtf rate33% (vs 3.5% in resolved)
ratio0.50:1 (inverted)

signature patterns:

STUCK (1 thread)

complete failure:

UNKNOWN (1,560 threads, 33.5%)

abandoned or ambiguous:


transition probabilities

based on message sequence analysis:

healthy transitions (maintain or improve trajectory)

NEUTRAL → NEUTRAL     [most common, work continues]
NEUTRAL → APPROVAL    [progress acknowledged]
APPROVAL → APPROVAL   [momentum building]
STEERING → APPROVAL   [correction accepted, back on track]

warning transitions

NEUTRAL → STEERING    [first correction, 50% recovery]
STEERING → STEERING   [doom loop, 40% recovery]
APPROVAL → STEERING   [regression after progress]

terminal transitions

STEERING → FRUSTRATED [emotional escalation, <20% recovery]
STEERING → STUCK      [complete breakdown]
ANY → ABANDONED       [user stops engaging]

outcome prediction formula

based on quantitative analysis:

success_probability = 
  base_rate (55%)
  + file_refs_in_opener     * 25%
  + approval_steering_ratio * 10%  (if >2:1)
  - steering_steering_loop  * 20%
  - wtf_present             * 30%
  - moderate_opener_length  * 10%  (150-500 chars)

threshold alerts

conditionaction
ratio drops below 1:1yellow flag — suggest rephrasing
2+ consecutive steeringsorange flag — meta-acknowledge
wtf/profanity appearsred flag — offer handoff/oracle
15+ turns with 0 approvalsyellow flag — check engagement

user-specific lifecycle patterns

@concise_commander (marathoner)

@steady_navigator (efficient commander)

@verbose_explorer (context front-loader)

@feature_lead (abandoner)


summary: lifecycle stages

stageturnshealthy signalwarning signal
INITIATION1-3file refs, clear scopevague, moderate length
WORK4-Nuniform approvals, spawninglong stretches without approval
CORRECTIONanysingle steer, specific alternativeconsecutive steering, escalation
RESOLUTIONfinalterse imperative, silenceprofanity, abandonment

recommendations

  1. anchor with files: @mentions in opener boost success 25%
  2. approve consistently: uniform small approvals beat occasional large ones
  3. break steering loops: consecutive corrections = pause and confirm understanding
  4. plan for runway: corrections need 16+ turns to recover
  5. recognize closure: “ship it” is explicit; silence after approval is implicit
  6. spawn strategically: depth 4-7 chains have highest resolution rates
  7. monitor ratio: below 1:1 approval:steering = intervention needed