Env Sync Alert

Alert on env-sync.log and critical log failures — emits friction YAML and Linear ticket

OmniNode-ai 6b9c8b9 3 files · 11.1 KB Updated

File contents

env_sync_alert

Scans .onex_state/logs/env-sync.log for seed-infisical failures. If error_count > 0 AND last success was > 1 hour ago, emits a friction YAML entry and creates a Linear ticket.

Also scans hooks.log and pipeline-trace.log for ERROR/CRITICAL patterns.

Invocation

# Run check directly
onex skill env_sync_alert

# Non-zero exit = alert fired

Cron Integration

Added to overseer tick (*/15 * * * *) prompt. The overseer runs this check on every pulse.

Outputs

  • Friction YAML: $ONEX_STATE_DIR/friction/env-sync-alert-{timestamp}.yaml
  • Linear ticket: created/updated when alert fires and create_linear_ticket=True
  • Exit code: 0=clean, 1=alert fired

OmniNode-ai/omniclaude/tree/main/plugins/onex/skills/env_sync_alert commit 6b9c8b95c0

Frequently asked questions

npx skillmds@latest add omninode-ai/env-sync-alert