Della97/Epico — reverse-engineered prompt
Reverse engineered prompt
Build me a Rust project called Epico. I want it to be a simple stream processing runtime that runs on one machine without Kafka, Redis, Kubernetes, or any external broker. A user should define a pipeline in one YAML file, write each processing stage as a small Rust file, and run everything with an epico command.
Each stage should compile to a WebAssembly component and the main runtime should load stages dynamically, pass typed events between them with ZeroMQ, and scale stage workers up or down based on queue pressure. Please include a small SDK macro so writing a stage feels easy, plus a CLI with build, run, validate, clean, and bootstrap commands.
Add a working temperature sensor example with normalize and detect stages, a setup script, useful logs, and a summary JSON with latency and throughput when the run stops. Keep it research friendly and lightweight. Look up current Rust and WASI component docs online if you need to.
Want more depth? Deep Reverse