# Env Sync Alert

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

- Skill: `omninode-ai/env-sync-alert` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add omninode-ai/env-sync-alert`
- Raw SKILL.md: https://api.skillmd.com/api/skills/omninode-ai/env-sync-alert/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: OmniNode-ai (https://skillmd.com/u/omninode-ai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/omninode-ai/env-sync-alert

---


# 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

```bash
# 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

