{"id":100983,"plugin_id":"plugins_6aed3278a3848191925fc74753ecbe72","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-17T06:15:21.471Z","digest":"8e979d81911c9a2e6c516c6481b2522603fefe9c6b87b4b10e559d33a3c89c3e","against":null,"payload":{"description":"IDMP event skill for listing, searching, confirming, resending, annotating, and reading event context through the real unacknowledged-event workflow.","included_files":[{"relative_path":"references/event-read-flows.md","size_in_bytes":1290}],"name":"idmp-event","skill_md_contents":"---\nname: idmp-event\ndescription: \"IDMP event skill for listing, searching, confirming, resending, annotating, and reading event context through the real unacknowledged-event workflow.\"\nmetadata:\n  author: \"TAOS Data\"\n  version: \"0.4.1\"\n  owner_team: \"AI\"\n  requires:\n    bins:\n      - idmp-cli\n  cliHelp: \"idmp-cli event --help\"\n---\n\n# event\n\n**Read [`../idmp-shared/SKILL.md`](../idmp-shared/SKILL.md) first.**\n\n**Before any write:** Follow the [🛑 Destructive op confirmation protocol](../idmp-shared/SKILL.md#-destructive-op-confirmation-mandatory). Read-only commands stay read-only here, but delete / write / patch flows still require the shared yes-gate.\n\n\n## Recommended shortcuts\n\n| Shortcut | Purpose |\n|----------|---------|\n| `+list` | List events with paging and element filters. |\n| `+search` | Search events globally. |\n| `+count` | Read the count of unacknowledged events. |\n| `+get` | Read one event in detail. |\n\n## Recommended references\n\n- [`event read flows`](references/event-read-flows.md)\n- [`../idmp-workflow-alert-create/SKILL.md`](../idmp-workflow-alert-create/SKILL.md)\n- [`../idmp-workflow-alert-debug/SKILL.md`](../idmp-workflow-alert-debug/SKILL.md)\n\n## Missing context to resolve first\n\n| Context | Why it must be resolved before mutation |\n| --- | --- |\n| Failure boundary | Decide whether you are debugging missing event generation, missing delivery, or both. |\n| Event scope | You need an `eventId`, an `analysisId`, or a narrow enough search scope to avoid acting on the wrong event. |\n| Operator intent | Confirm whether acknowledgement, resend, or annotation is actually allowed in this session. |\n| Verification window | Decide which reread window and filters will prove the event was found, acknowledged, or retried. |\n\n## Constrained live behaviors\n\n- `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.\n- Capture event detail and context before you run `confirm` or `resend`; both commands have operator-visible side effects.\n- `resend` retries delivery only. It does not acknowledge or recreate the event.\n- A successful `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.\n- Shared environments can surface stale events whose `event events items` call fails because the linked analysis was already deleted; try a fresher event before assuming the CLI path is wrong.\n- Create alert rules from [`../idmp-workflow-alert-create/SKILL.md`](../idmp-workflow-alert-create/SKILL.md), not from this event read workflow.\n\n## Product behavior to preserve\n\n- Start with the unacknowledged-event path: count, list/search, detail, context, confirm or resend, then annotations.\n- Treat confirm and batch confirm as the real acknowledgement workflow.\n- Use `items` to inspect event context before retrying notifications.\n- Use `annotations` to keep operator notes with the event.\n- Create alert rules from alert workflows, not from the event read workflow.\n\n## Key commands\n\n```bash\nidmp-cli schema event.count.list\nidmp-cli event count list\n\nidmp-cli schema event.events.list\nidmp-cli event events list --params '{\"current\":1,\"size\":20}'\n\nidmp-cli event events search --params '{\"keyword\":\"overcurrent\",\"current\":1,\"size\":20}'\nidmp-cli event events get --params '{\"eventId\":123}'\nidmp-cli event events items --params '{\"eventId\":123}'\n\nidmp-cli event events confirm --ack-risk --params '{\"eventId\":123}'\nidmp-cli event events confirm --dry-run --ack-risk --params '{\"eventId\":123}'\nidmp-cli event batch confirm --ack-risk --data '[123,456]'\nidmp-cli event batch confirm --dry-run --ack-risk --data '[123,456]'\nidmp-cli event events resend --dry-run --ack-risk --params '{\"eventId\":123}'\nidmp-cli event annotations list --params '{\"eventId\":123}'\n```\n\n## Exception and failure handling\n\n- If an event disappears from the unacknowledged view after confirm, treat that as expected acknowledgement behavior rather than data loss.\n- If `resend` succeeds, expect notification delivery to retry only; it does not acknowledge or rewrite the event.\n- If `resend` succeeds but no fresh history row appears, widen the notification-history reread and consider notification throttling before assuming the retry did nothing.\n- If `items` or `annotations` is empty, continue with event detail and notification checks instead of repeating confirm/resend blindly.\n- If confirm or resend fails, stop retrying and inspect detail, context, and notification history before the next action.\n- If list results look noisy, narrow the workflow with count, search, and detail rather than acknowledging from a broad page.\n\n## Validation scenarios\n\n1. Start the unacknowledged workflow with `idmp-cli schema event.count.list` and `idmp-cli event count list`.\n2. Read the current queue with `idmp-cli event events list --params '{\"current\":1,\"size\":20}'` and `idmp-cli event events search --params '{\"keyword\":\"overcurrent\",\"current\":1,\"size\":20}'`.\n3. Inspect one event with `idmp-cli event events get --params '{\"eventId\":123}'` and `idmp-cli event events items --params '{\"eventId\":123}'`.\n4. Acknowledge a single event with `idmp-cli event events confirm --ack-risk --params '{\"eventId\":123}'`, then run batch acknowledgement with `idmp-cli event batch confirm --ack-risk --data '[123,456]'` or preview it first with `--dry-run`.\n5. Preview follow-up actions with `idmp-cli event events resend --dry-run --ack-risk --params '{\"eventId\":123}'` and `idmp-cli event annotations list --params '{\"eventId\":123}'`.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}