IDMP イベント対応スキル IDMPの未確認イベントワークフロー(対応待ちのイベントを処理する一連の流れ)を通じて、以下の機能を提供します: - イベントの一覧表示 - イベントの検索 - イベントの確認 - イベントの再送信 - イベントへの注釈追加 - イベント周辺情報(文脈)の確認・読み込み
IDMP event skill for listing, searching, confirming, resending, annotating, and reading event context through the real unacknowledged-event workflow.
まず ../idmp-shared/SKILL.md をお読みください。
データ書き込み前の必須手順: 🛑 破壊的操作の確認プロトコルに従ってください。読み取り専用コマンドはこのスキルでも読み取り専用のままですが、削除・書き込み・更新の操作には共通の許可ゲートが必要です。
| ショートカット | 目的 |
|---|---|
+list |
ページングと条件フィルターを使ってイベントを一覧表示。 |
+search |
イベント全体を検索。 |
+count |
未確認のイベント件数を読み取り。 |
+get |
1つのイベントの詳細を読み取り。 |
| 確認項目 | 必要な理由 |
|---|---|
| 障害の範囲 | イベント生成の失敗、配信の失敗、またはその両方のどれをデバッグしているかを明確にする必要があります。 |
| イベントのスコープ | eventId、analysisId、または十分に限定された検索範囲が必要です。無関係なイベントに作用するのを避けるため。 |
| 操作者の意図 | このセッション内で確認・再送信・注記追加が本当に許可されているかを確認する必要があります。 |
| 検証ウィンドウ | イベントが見つかった、確認された、または再試行されたことを証明するために、どの再読取範囲とフィルターを使うか決める必要があります。 |
status=Unack だけでは常に信頼できません。生成元の分析が既に分かっている場合は、イベントが本当に見つからないと判断する前に analysisId でイベントを再読取してください。confirm または resend を実行する前にイベントの詳細と文脈を記録してください。両コマンドとも操作者が目に見える副作用があります。resend は配信の再試行のみです。イベントの確認(acknowledgement)やイベントの再作成は行いません。resend が成功しても、新しい通知履歴行が必ず作成されるわけではありません。配信履歴は詳細ベースで、遅延が生じたり、イベントの最小通知間隔によって制限される場合があります。event events items 呼び出しが失敗する古いイベントが表示される場合があります。CLIパスが誤りだと判断する前に、より新しいイベントを試してください。../idmp-workflow-alert-create/SKILL.md から作成してください。items を使ってイベント文脈を調べた後に通知の再試行を行います。annotations を使ってイベントに操作者のメモを添付します。idmp-cli schema event.count.list
idmp-cli event count list
idmp-cli schema event.events.list
idmp-cli event events list --params '{"current":1,"size":20}'
idmp-cli event events search --params '{"keyword":"overcurrent","current":1,"size":20}'
idmp-cli event events get --params '{"eventId":123}'
idmp-cli event events items --params '{"eventId":123}'
idmp-cli event events confirm --ack-risk --params '{"eventId":123}'
idmp-cli event events confirm --dry-run --ack-risk --params '{"eventId":123}'
idmp-cli event confirm create --ack-risk --data '[123,456]'
idmp-cli event confirm create --dry-run --ack-risk --data '[123,456]'
idmp-cli event events resend --dry-run --ack-risk --params '{"eventId":123}'
idmp-cli event annotations list --params '{"eventId":123}'
resend が成功した場合、通知配信の再試行のみが行われます。イベントの確認や上書きは行われません。resend は成功しても新しい履歴行が表示されない場合は、通知履歴の再読取範囲を広げて、再試行が何も効果がないと判断する前に通知のしきい値制限を検討します。items または annotations が空の場合は、確認/再送信を繰り返さずにイベント詳細と通知チェックに進みます。idmp-cli schema event.count.list と idmp-cli event count list で未確認イベントのワークフローを開始します。idmp-cli event events list --params '{"current":1,"size":20}' と idmp-cli event events search --params '{"keyword":"overcurrent","current":1,"size":20}' で現在のキューを読み取ります。idmp-cli event events get --params '{"eventId":123}' と idmp-cli event events items --params '{"eventId":123}' で1つのイベントを詳しく調べます。idmp-cli event events confirm --ack-risk --params '{"eventId":123}' で1つのイベントを確認してから、idmp-cli event confirm create --ack-risk --data '[123,456]' で一括確認を実行するか、--dry-run で事前確認します。idmp-cli event events resend --dry-run --ack-risk --params '{"eventId":123}' と idmp-cli event annotations list --params '{"eventId":123}' で後続操作をプレビューします。Read ../idmp-shared/SKILL.md first.
Before any write: Follow the 🛑 Destructive op confirmation protocol. Read-only commands stay read-only here, but delete / write / patch flows still require the shared yes-gate.
| Shortcut | Purpose |
|---|---|
+list |
List events with paging and element filters. |
+search |
Search events globally. |
+count |
Read the count of unacknowledged events. |
+get |
Read one event in detail. |
| Context | Why it must be resolved before mutation |
|---|---|
| Failure boundary | Decide whether you are debugging missing event generation, missing delivery, or both. |
| Event scope | You need an eventId, an analysisId, or a narrow enough search scope to avoid acting on the wrong event. |
| Operator intent | Confirm whether acknowledgement, resend, or annotation is actually allowed in this session. |
| Verification window | Decide which reread window and filters will prove the event was found, acknowledged, or retried. |
status=Unack alone is not always reliable in shared environments; when you already know the producer analysis, reread events with analysisId before deciding the event is missing.confirm or resend; both commands have operator-visible side effects.resend retries delivery only. It does not acknowledge or recreate the event.resend does not guarantee a fresh top-level notification-history row. Delivery history is detail-based, can lag, and can be throttled by the event's minimum notification interval.event events items call fails because the linked analysis was already deleted; try a fresher event before assuming the CLI path is wrong.../idmp-workflow-alert-create/SKILL.md, not from this event read workflow.items to inspect event context before retrying notifications.annotations to keep operator notes with the event.idmp-cli schema event.count.list
idmp-cli event count list
idmp-cli schema event.events.list
idmp-cli event events list --params '{"current":1,"size":20}'
idmp-cli event events search --params '{"keyword":"overcurrent","current":1,"size":20}'
idmp-cli event events get --params '{"eventId":123}'
idmp-cli event events items --params '{"eventId":123}'
idmp-cli event events confirm --ack-risk --params '{"eventId":123}'
idmp-cli event events confirm --dry-run --ack-risk --params '{"eventId":123}'
idmp-cli event confirm create --ack-risk --data '[123,456]'
idmp-cli event confirm create --dry-run --ack-risk --data '[123,456]'
idmp-cli event events resend --dry-run --ack-risk --params '{"eventId":123}'
idmp-cli event annotations list --params '{"eventId":123}'
resend succeeds, expect notification delivery to retry only; it does not acknowledge or rewrite the event.resend succeeds but no fresh history row appears, widen the notification-history reread and consider notification throttling before assuming the retry did nothing.items or annotations is empty, continue with event detail and notification checks instead of repeating confirm/resend blindly.idmp-cli schema event.count.list and idmp-cli event count list.idmp-cli event events list --params '{"current":1,"size":20}' and idmp-cli event events search --params '{"keyword":"overcurrent","current":1,"size":20}'.idmp-cli event events get --params '{"eventId":123}' and idmp-cli event events items --params '{"eventId":123}'.idmp-cli event events confirm --ack-risk --params '{"eventId":123}', then run batch acknowledgement with idmp-cli event confirm create --ack-risk --data '[123,456]' or preview it first with --dry-run.idmp-cli event events resend --dry-run --ack-risk --params '{"eventId":123}' and idmp-cli event annotations list --params '{"eventId":123}'.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。