Repository navigation
feat: add Helm-managed native alert automation plugin - #89
Open
JeffPengCoder wants to merge 7 commits into
Open
JeffPengCoder wants to merge 7 commits into
JeffPengCoder wants to merge 7 commits into
Conversation
…delivery Signed-off-by: Jeff Peng <jepeng@nvidia.com>
JeffPengCoder
requested review from
RohanAdwankar and
kgengedullay
as code owners
November 2, 2026 01:30
This was referenced Nov 2, 2026
Open
2 tasks done
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
Signed-off-by: Jeff Peng <jepeng@nvidia.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Runtime follow-up fixes are reviewed separately in AFOA fork #3, stacked on this PR’s feature branch. That PR contains
bb40700(service-owned Webhook dispatch and Webhook-only UI recovery) and85503b2(durable recipient context across Agent hook registries). This PR’s current head does not yet contain those commits; the live validation below used the base plus that fix stack.Latest validation (2026-11-03): Spark switched to Webhook-only. A real new GPU-cache alert autonomously ran one native Agent investigation, 11 tool results (1 error) and 3 Feishu DM messages; the source last-poll marker did not change. A real ordinary human follow-up without the answer returned the new report’s correct Run ID and alert name after the context fix, with three full-report context witnesses. Recovery cleared the imported UI alert. The Agent did not select Research this round; earlier Research results below remain dated evidence. Original failed attempts, stale-report replies, complete model output, every tool result and all cleanup checks are retained. Latest fix-stack focused tests: 19/19; full CI: 247 tests, 245 passed, 2 conditional skips, 0 failures.
MOSAIC can investigate Alertmanager alerts and publish a complete report while the browser is closed. An optional native OpenClaw service plugin now owns this lifecycle inside the existing Gateway Pod, so a Helm installation no longer needs a separate deployment-host Python/systemd worker. The selected Agent chooses its evidence sources, tools, order and optional Research queries.
The plugin is channel independent: Agent ID, native outbound channel, account, target and receiving session are configurable. Feishu is the channel used for the live deployment test.
api.runtime.subagentinvestigation goal under the existing View guard; follow actual run completion and retain complete native history. The service does not prescribe collection containers or call Research on the Agent's behalf.before_prompt_buildhook supplies that report on each real recipient turn, including child reply threads and after Gateway reconstruction. This requires no synthetic Agent ACK, transcript-only mirror, host CLI publisher, or additional publisher-device write grant.Validation:
4da5924811ea15a777a5d88974afacd97e6371f1.plugin-gpu-20261102t142359z: actual Prometheus evaluation (for=45s) and Alertmanager intake triggered one native Agent goal, 13 tool results, and 1 recorded argument-validation error. The Agent independently discovered knowledge collections, called IRAOP, inspected Kubernetes resources and queried metrics. The service did not collect evidence, ask Research, rewrite conclusions or send reports manually on the Agent's behalf.0/0/0. The fixture cleanup timer's missing-import failure and the subsequent manual-cleanup connection timeout are preserved in the experiment record; neither is represented as a successful timer execution.The GPU input was a private DCGM cache snapshot, exposed by a CPU-only replay Pod; it did not damage hardware or write production DCGM state. The deployment still admits the explicit test-label scope. This validates native background triggering, autonomous investigation and delivery; real physical fault diagnosis, broader production intake, remediation, and other native channels require their own acceptance. Earlier standalone-worker experiments and their real human DM follow-up remain historical evidence, separate from this new plugin run.
Closes #88.