teams: manager conversation initialization, handle fallback, and approval posture inheritance
Maintainer thường phản hồi trong vòng 1 ngày
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
Hướng nghiên cứu
Read the manager initialization and registration paths under internal/session, then inspect internal/session/team_start.go and internal/session/consent.go. Trace how handles, approval posture, and consentRule formatting are passed during team_start. Done means fallback handles are registered, child meta.json inherits approval posture, and the consent card shows the full cost and lifecycle wording.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Team manager initialization fails to generate handles on untitled new conversations, omits approval posture inheritance during team_start, and renders incorrect consent card wording.
Items & Observed Behavior
- Empty handle on new top-level manager conversation: Creating a new top-level manager conversation via
Mleaves the conversation without a title until the first turn runs. Handle derivation falls back to empty, preventing global managers from routing messages to it viateam_send. - Approval posture not inherited in
team_start: When a manager creates a sub-team withteam_start, the new team manager'smeta.jsondoes not inherit the parent manager's"approval"posture, reverting instead to the profile default (e.g.ask). - Consent card wording mismatch: The
team_startconsent card renders the literal rule word"default"instead of the cost warning clause ("a new conversation; it spends until it stops").
Expected Behavior
- Untitled manager conversations should receive a deterministic fallback handle derived from role and creation timestamp.
- Sub-teams spawned via
team_startmust inherit the initiating manager's approval posture unless explicitly overridden. - The consent card must display the full cost and lifecycle description rather than internal configuration keywords.
Root Cause / Location
internal/session: Manager handle derivation andteams.jsonregistration.internal/session/team_start.go: Missing posture propagation from caller session to childmeta.json.internal/session/consent.go:consentRulefallback formatting.
—
Drafted with CodeAF · reviewed and owned by the author
- Ngôn ngữ chính
- Go
- Star
- 115
- Fork
- 14
- Merge trung bình
- 9 giờ 44 phút
- Pull request đã merge (30 ngày)
- 766
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Agent-Field/CodeAF
-
area:chat bug sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Agent-Field/CodeAF#1592 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:headless bug sev:critical
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1566 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Agent-Field/CodeAF#1510 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tests bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Agent-Field/CodeAF#1489 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:chat bug good first issue sev:papercut
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Agent-Field/CodeAF#1470 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Agent-Field/CodeAF
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
gruntwork-io/boilerplate#329 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
prime-radiant-inc/evener#3291 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Netcracker/qubership-apihub-backend#582 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày