Re:Show HN: I built a 38K-line Rust CLI using 3 AI models as...
by edenwang233 on Wednesday March 11, 2026 @11:07AM
(#47336611)
It's an awesome project! I've stared that and followed you :-)
Re:Show HN: I built a 38K-line Rust CLI using 3 AI models as...
by edenwang233 on Thursday March 12, 2026 @10:23AM
(#47350941)
Thanks :-)
That constraint design is basically the same problem flompt solves on the prompt side. When you put role, objective, and constraints in a flat string, the model treats them as suggestions with varying weights. Named blocks with hard separations make them stick.
I built flompt (github.com/Nyrok/flompt) to do exactly that: decompose prompts into 12 typed semantic blocks (role, objective, constraints, output format, etc.) and compile to Claude-optimized XML. Open-source.