Skip to content

Bug: Terminal running AI agents exits unexpectedly without warning #170

@kaeawc

Description

@kaeawc

Description

The terminal running AI agents suddenly exits without warning during concurrent worktree operations.

Environment

  • Setup: Local only
  • Scenario: Multiple AI agents working on separate branches concurrently
  • Operations: Concurrent git operations, particularly during rebases

Expected Behavior

Terminal should remain stable and provide error messages before any exit.

Actual Behavior

Terminal exits abruptly without warning or error messages, terminating all running AI agents.

Symptoms

  • Sudden terminal closure during git operations
  • No error messages or logs before exit
  • More frequent during rebase operations
  • Occurs when multiple agents are active

Related Context

Potential Causes

  • Segmentation fault in git process
  • System resource exhaustion (file descriptors, memory)
  • Shell crash from corrupted git state
  • Signal handling issues during concurrent operations

Impact

  • Loss of agent progress and context
  • Requires restarting all agents
  • Potential for incomplete or corrupted commits
  • Disrupts parallel development workflow

Metadata

Metadata

Assignees

No one assigned

    Labels

    ai-agentsRelated to AI agent workflowscomponent: git-safetyGit operation safety and corruption preventioneffort: mediumModerate development effortphase: 1-foundationPhase 1: Foundation and researchpriority: criticalMust be addressed immediatelytype: critical-bugCritical bug causing data loss or corruption

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions