Ottohere-Mourn/TeachReplay ? reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript project that lets me teach a computer task once, then replay it later with different inputs and know clearly whether it worked.
I want the flow to be simple, record a workflow on a computer, turn it into a reusable skill, replay it on a real machine, and verify success with an explicit pass or fail. It should handle both GUI actions and shell commands, remember things like typed values as editable parameters, and keep sensitive values masked. The replay should match things by what is on screen, not by fixed coordinates, and if something changes it should try once to recover, then fail honestly if it still cannot complete.
Please include a working local demo, a mock computer for tests, and a remote Linux computer backend over SSH. Make sure the core logic can run on its own without depending on any specific agent harness, and add enough tests that I can run build, demo, and test from the repo and see the full record, compile, replay, verify loop working end to end.
Are you gonna build this?
make sure you review the code using coderabbit