Leave: CancelLeave MCP tool over a shared LeaveCancelService
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
- 55/100
Hướng nghiên cứu
Start with Features/Leave/CancelCommand.cs and compare its checks with LeaveUpdateService and the UpdateLeave tool. Review LeaveCancelWaiter for the CLI-only wait behavior, then inspect the tool catalog and tools/list goldens. Done means the CLI adapter, CancelLeave MCP tool with dryRun, parity row, and additive goldens all work after confirming the default MCP surface.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why
tp leave cancel is CLI-only. Its GUID check, the LeaveStatusRules.IsTerminal gate and the "PendingCancellation is not Cancelled" semantics all live in Features/Leave/CancelCommand.cs, so an agent on MCP can create and update leave but cannot cancel it, and a future tool would have to copy the command. MCP Apps #83 already assumes a cancel tool.
Migrate
-
LeaveCancelServicewithPrepareAsync(lookup, GUID and terminal-status checks, no writes) andApplyAsync(the cancel call). -
leave cancelbecomes an adapter over it;--waitstays a CLI concern (LeaveCancelWaiter). -
CancelLeaveMCP tool on the default leave surface, returningPendingCancellationplus the same "completes asynchronously" note the CLI prints;dryRunsupport. - Parity row, goldens (tool catalog +
tools/list),CommandCatalogunchanged.
How
Mirror LeaveUpdateService (prepare/apply, terminal gate) and the UpdateLeave tool. Adding a tool changes the tools/list goldens; the change is additive. Confirm the default MCP surface with the maintainer before adding a write tool.
Part of #38.
- Ngôn ngữ chính
- C#
- Star
- 3
- Fork
- 0
- Merge trung bình
- 28 phút
- Pull request đã merge (30 ngày)
- 31
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
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 SSWConsulting/TimePro.Tools
-
Priority: P3 Type: Refactor
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
SSWConsulting/TimePro.Tools#101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Priority: P3 Type: Refactor
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
SSWConsulting/TimePro.Tools#100 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Accounting: share product, SKU, rate, unbilled and recurring reads (unbilled paging is a no-op)Đang mởPriority: P3 Type: Refactor
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
SSWConsulting/TimePro.Tools#99 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Priority: P2 Type: Refactor
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
SSWConsulting/TimePro.Tools#98 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Priority: P2 Type: Bug Type: Refactor
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
SSWConsulting/TimePro.Tools#97 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SSWConsulting/TimePro.Tools
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fluentassertions/fluentassertions#3353 ·
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 65/100
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
unoplatform/uno#24769 ·
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 75/100
AvaloniaUI/Avalonia#22323 ·
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
microsoft/onnxruntime-genai#2633 ·
Maintainer thường phản hồi trong vòng 1 ngày