restore the missing typing.Optional import in scripts/playbook.py so older python runtimes can import the CLI module successfully. add a regression test for typing annotation imports and register it in the tests README.