Skip to content
Developer Preview

RuntimeWorktreeCleanupReason

Why a session’s worktree cleanup kept the worktree or failed. The set is open, so newer hosts may send other values.

  • "cleanupFailed"
  • "dirtyWorktree"
  • "headChanged"
  • "pathEscape"
  • "uncertainLeaseState"
Source

schema/msp/experimental/msp.schema.json#/types/RuntimeWorktreeCleanupReason

{
"description": "Why a session's worktree cleanup kept the worktree or failed. The set is\nopen, so newer hosts may send other values.",
"enum": [
"dirtyWorktree",
"headChanged",
"pathEscape",
"cleanupFailed",
"uncertainLeaseState"
],
"type": "string",
"x-msp-openness": "open"
}