fc7fc9158c
Phase 4 of RFC #308: Stateful Sense refactor. - CLAUDE.md: updated diagram, tables, examples (no more Signal) - Cleaned stale Signal Bus / DrizzleDB / _signals / retention refs across READMEs, .cursor rules, copilot instructions, .knowledge - Removed drizzle-orm from core package.json (no longer used) - Updated pnpm-lock.yaml Refs #308
31 lines
657 B
YAML
31 lines
657 B
YAML
# Example nerve.yaml demonstrating per-sense scheduling (interval + on)
|
|
#
|
|
# Layout:
|
|
# - cpu-usage: periodic every 10s, throttled to 5s minimum between computes
|
|
# - disk-usage: periodic every 30s
|
|
# - system-health: derived sense, scheduled when cpu-usage OR disk-usage completes a compute
|
|
|
|
senses:
|
|
cpu-usage:
|
|
group: system
|
|
throttle: 5s
|
|
timeout: 8s
|
|
grace_period: null
|
|
interval: 10s
|
|
|
|
disk-usage:
|
|
group: system
|
|
throttle: null
|
|
timeout: 15s
|
|
grace_period: null
|
|
interval: 30s
|
|
|
|
system-health:
|
|
group: derived
|
|
throttle: 2s
|
|
timeout: 10s
|
|
grace_period: null
|
|
on:
|
|
- cpu-usage
|
|
- disk-usage
|