Fixes you hand to your AI tool
Every finding on the Improvements page carries two things: a short recommendation in plain words, and one action button. The recommendation is the fix. It names the service, the field, or the metric, and it says what to change.
The workflow
Section titled “The workflow”- Open Improvements and read a finding.
- Copy the recommendation text.
- Paste it into the AI coding tool that has your project open: Claude Code, Cursor, Codex, or Windsurf.
- Let the agent change your logger, your instrumentation, or your collector config.
- Loggerhead checks again on the next cycle. The finding clears when the telemetry changes.
The agent already has your source. Loggerhead has the evidence from the running app. The recommendation joins the two, so the agent edits the right file instead of guessing.
The action buttons
Section titled “The action buttons”| Action | What it does | Status |
|---|---|---|
| Create alert | Creates an alert rule for the service and the condition in the finding. | Works today |
| Add drop rule | Prepares a drop rule for the noisy line or the label. | Planned |
| Add sampling | Prepares a sampling rule for the low-signal logs. | Planned |
| Add redaction | Prepares a redaction rule for the sensitive field. | Planned |
| Add trace context | Shows where to attach the trace ID in your logger. | Guidance |
| Review | Opens the metric or the series so you can decide. | Guidance |
Why a rule belongs in your project
Section titled “Why a rule belongs in your project”Loggerhead does not change your app or your collector config. A drop, sample, or redact rule belongs on the branch that sends the data, or in your app’s logger. That file is in your repository, where your AI tool can edit it and where the change goes through review with the rest of your code.