Primary finding
Undefined variable pct used in article and notification templates
- skills/fleet-state/SKILL.md:200-203
- skills/fleet-state/SKILL.md:361-363
The spec never defines or computes pct. Implementations following the template will render a literal ${pct} or fail template interpolation. The notification and article would contain incorrect placeholders.
Recommendation
Define pct as the percentage of running forks: e.g., pct=$(awk "BEGIN { if ($N_TOTAL==0) print 0; else printf \"%.1f\", (100.0*$N_RUNNING/$N_TOTAL) }") and ensure it is set before writing the article/notification. Handle N_TOTAL=0 to avoid division by zero.