Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Leave: CancelLeave MCP tool over a shared LeaveCancelService

オープン
#96 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp
領域
api, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

Priority: P2 Type: Feature

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

  • LeaveCancelService with PrepareAsync (lookup, GUID and terminal-status checks, no writes) and ApplyAsync (the cancel call).
  • leave cancel becomes an adapter over it; --wait stays a CLI concern (LeaveCancelWaiter).
  • CancelLeave MCP tool on the default leave surface, returning PendingCancellation plus the same "completes asynchronously" note the CLI prints; dryRun support.
  • Parity row, goldens (tool catalog + tools/list), CommandCatalog unchanged.

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.

主要言語
C#
スター
3
フォーク
0
平均マージ
28分
マージ済み PR(30日)
31

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

SSWConsulting/TimePro.Tools のほかの issue

SSWConsulting/TimePro.Tools の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。