gleamunison/cli_tape_to_test
gleamunison tape-to-test <file.lisp> <def> <tape.json> — turn a
recorded effect transcript into a permanent regression test. The
generated file re-states the subject definitions, adds a mock handler
that pins the recorded args and result (the mock itself asserts the
args via Test.expect, so a changed prompt/call fails the suite), and a
test_ def asserting the recorded final value. Capture what the run
actually did; pin it as tomorrow’s test.
v1 limits (honest by construction): single-op tapes only; Int and Text args/results only (the tape stores Erlang inspect reprs, and only those two shapes round-trip into surface literals). Multi-op sequences need a cursor — future work.