Skip to content

improvement: refine HertzBeat AI tool guidance#4118

Draft
bigcyy wants to merge 3 commits intoapache:masterfrom
bigcyy:codex/log-mcp
Draft

improvement: refine HertzBeat AI tool guidance#4118
bigcyy wants to merge 3 commits intoapache:masterfrom
bigcyy:codex/log-mcp

Conversation

@bigcyy
Copy link
Copy Markdown
Member

@bigcyy bigcyy commented Apr 13, 2026

Summary

Simplify and tighten the HertzBeat AI system prompt to make the assistant behavior clearer, more consistent, and easier to
maintain.

Why

The previous prompt contained duplicated guidance, overly detailed examples, and some outdated tool references. This made
it harder to keep tool usage instructions accurate as the AI tool interfaces evolved.

What Changed

  • Reworked the system prompt into a more concise structure focused on operating principles and key workflows.
  • Updated tool references to match the current tool names.
  • Clarified guidance for monitor creation, alert rule creation, metrics queries, SOP skills, and scheduled tasks.
  • Improved threshold expression guidance so alert rules preserve the user’s intended comparison direction.
  • Updated skill README examples to use the current monitor query tool name.

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

@bigcyy bigcyy marked this pull request as draft April 13, 2026 17:37
@github-actions github-actions bot added the doc Improvements or additions to documentation label Apr 13, 2026
bigcyy added 2 commits April 14, 2026 01:39
Signed-off-by: Yang Chen <1597081640@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant