Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

A conversation begun with only a task disappears while its task runs

Đang mở
#1,482 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
cli, documentation, testing

Hướng nghiên cứu

Start with internal/tui3/home.go:5242 and internal/tui3/place_sessions.go:550, then inspect internal/session/task_index.go to find when a running task receives its index entry. Use the deterministic blocked-worker reproduction and the named unit and e2e acceptance checks. Done means a first-action task remains visible and reopenable in Home and Sessions until it settles, with the Sessions manual and invalidates updated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:chat area:session bug sev:serious

Seen on dev@debffabf6. Surfaced while verifying #1426; not introduced by it.

What happened

A conversation whose first and only action is /task can vanish from both Home and Sessions after /new moves away, even though its task continues running. It has no title or ordinary user-message row yet, and the project task index receives no entry until the task lands. The running work has no visible route back through either place.

Replication

Deterministic (no model). In a fresh home and temporary Git repository, start a scripted /task whose worker blocks, then invoke /new before it settles. Read Home and Sessions while the worker remains blocked. The conversation is absent from both. Release the worker and observe it appear only after landing.

Field (real models). With OPENROUTER_API_KEY and deepseek/deepseek-v4-flash, start /task as the first action, immediately use /new, and inspect Home and Sessions during a long worker command. Allow several minutes and a few cents.

Where

internal/tui3/home.go:5242 at dev@debffabf6 derives a row name from title and transcript; internal/tui3/place_sessions.go:550, taskSheetOwnRows, relies on the project task index and current-window row. Search internal/session/task_index.go for when a running task first receives an index entry.

The fix

Persist and index a conversation as soon as its task starts, with a placeholder title if necessary, so Home and Sessions can show and reopen it while work is live.

Acceptance

  • e2e: through codeaf chat in tmux, /task followed by /new leaves a visible working row in both Home and Sessions until the task settles.
  • Unit: first-action task admission writes a discoverable index row before landing.
  • Update the Sessions manual and invalidates.
Ngôn ngữ chính
Go
Star
115
Fork
14
Merge trung bình
9 giờ 38 phút
Pull request đã merge (30 ngày)
730

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Agent-Field/CodeAF

Tất cả issue của Agent-Field/CodeAF

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.