pre-commit-smoke-test
Installation
SKILL.md
Pre-Commit Smoke Test
End-to-end verification that the observe-agent binary on the current branch can start, collect log telemetry, and deliver it to the Observe backend.
Prerequisites
- The observe-agent config at
/etc/observe-agent/observe-agent.yamlmust exist with validtokenandobserve_urlfields. - The config must have
host_monitoring.logs.enabled: truewith an include glob that covers/var/log/**/*.log. - If no config file exists for you to refer to, inform the user, and halt execution immediately.
- The Observe MCP server (
user-observe) must be connected for backend verification.
Step 1: Build or locate the binary
Check if a freshly built observe-agent binary exists in the project root: