Open-source wf lint catches the 'valid but wrong' YAML mistakes coding agents make
Turbulent_Rooster_73 · reddit · 2026-11-24
The team behind Wireframes, an MIT-licensed CLI (wf) that turns YAML into clickable greyscale wireframes, built wf lint because their YAML is mostly written by coding agents — and JSON Schema validation passes files that still render wrong.
Real cases it catches:
- YAML flow-mapping commas silently truncating prop values (12 members, 3 pending invites renders as just 12 members)
- Nonexistent props like colour: red (correct: variant: danger)
- Ambiguous select options where two choices share value: admin
- {{item.count}} template syntax inside repeat items, rendered literally
- help alias silently overriding description; untitled sections and unlabeled inputs
Design details: messages name nodes by path and say what will render; warnings vs info levels with --strict for agent loops; a filesystem-free engine/lint/source returns line/column ranges for editor underlines; per-document parsing so one syntax error doesn't hide findings elsewhere. Agent loop: wf llm --short cheat sheet, wf validate, wf lint, wf why <nodeId>. Not on npm yet — run from a checkout.
More from coding & agent
- SwarmEvolve: KV-cache-sharing agent swarms hit 60-min baselines in a median of 7 minutes — RobertTLange · 2026-11-24
- One dev's split: Grok Bot for ops, Codex CLI for coding, Claude Code for messy second passes — tsksa · 2026-11-24
- Debate: SWE is an art, and AI can only reproduce, not create — ryunuck · 2026-11-24
- Local LLM pulls contract clause, explains a $920-short invoice and drafts the client email — thetripathi58 · 2026-11-24
- Developer builds AI agent that screens companies against US/EU sanctions lists on Sparrow — andrejusb · 2026-11-24
- BoxRouter benchmarks sandbox providers: Blaxel fastest at 53.1s median on agent traces — saranormous · 2026-11-24