Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.56 KB

File metadata and controls

55 lines (35 loc) · 1.56 KB

Codex App Server Methods: Core Lifecycle

Purpose

This is the one-level core-method reference.

It summarizes the core lifecycle method families and points to deep method docs.

Method Families

Handshake

  • initialize
  • initialized (notification)

Required before any non-handshake call.

Thread lifecycle

  • thread/start, thread/resume, thread/fork
  • thread/list, thread/loaded/list, thread/read
  • thread/archive, thread/unarchive, thread/name/set
  • thread/compact/start, thread/rollback
  • thread/backgroundTerminals/clean (experimental)

Turn lifecycle

  • turn/start
  • turn/steer
  • turn/interrupt

Review lifecycle

  • review/start

Supports inline and detached delivery modes with lifecycle markers in stream items.

Core Behavior Rules

  • one active turn per thread at a time
  • turn completion/terminal state is signaled by lifecycle notifications
  • item completion is authoritative for final item state
  • interruption settles only when terminal turn lifecycle is emitted

Read Next (Level 3)

Related docs