I want to generate new workflow (as evolution of one in previous microdrama)

Right now i see it as a prototype with several stages:

1. For a new story (asked from claude cli or from telegram bot): 
   - Initialize story based processing dir in /mnt/video/microdrama
      -- it is where we would run claude and pipeline utils. This dirname
      starts with current date and continues with short description of 
      the story
   - create story.md, CLAUDE.md in this dir, describing what claude will do
   - initialize session id, so we can run claude in non-interactive way with 
     -p and with this session id, so claude can refer to previous dialogue
   - we create dir structure in /mnt/video/microdrama as assets/ , scences/ , assembly / 
     and so on; inside this dir we store prompts and generation results, for example:
     assets/character_father/1 , means iteration 1, inside it dir with references, prompt.txt 
     and sheet.jpg. We can have all kinds of assets, for example character (father, son, 
     lebedev), object (book, 25roubles, rocket), location (classroom, ... ). We can have enven 
     depenedable assets, for example, for comparasion of size between two object or characters. 
   - in assembly dir we have iterations too, each iteraton have structured json file, 
     which is basicaly a list of vide file in scene iterations which have to be
     assembled by ffmpeg together to resulting clip. 

2. Work is organized in short automated steps including generating prompts and running
   AI tools. We will change how steps are done, but basicaly it is just workflow. 
   - all things (assets, frames, scenes and so on) -- iterable, we do not delete anything. 
     when user asks to change something, we create new iteration, copy from where was starting point
     and work with this dir

3. For changing prompts and text files inside iteration we use claude. We call claude with session id 
   corresponding to this story and prompt, which come from telegram or another source (claude cli,
   which used by user). For every call wrapper over claude code determines what user what to change
   (asset, scene, ... ) create new iteration for it run sub claude code with corresponding -p, claude
   changes files then it recreates this asset or scene or whatever

4. Then user examines new version and gives feedback -- if it ok, we need to recerate
   all dependants (for example, scenes with father, then reassembly new iteraton)

5. I want to try new way of creations scenes -- with grid technique, when nanobanana 
   creates one image with all scnes -- i put in this dir referecnes, docx and png, mira-ai-prompt-example.md, what they workflow looks like. 

6. Claude Code, which we run inside this workflow, needed to have possibility to run yandex search for  
   images (we have such a script), make photos and videos sent to user and so on. 
  
7. And, for sanity, we need log everything, every prompt, image, what was generated, why, what happened during generation. 

8. Telegram bot right now for internal use, so it can be clunky and dangerous, but I want it to be bridge  between user and claude, so user can give feedback and rule claude code with text and voice messages. 

9. Then we just start processing a story, we have only story, we create some vision for it, how it can be done same way, as we done in previous microdrama pipeline. We trying to understand joke and create script with some scenes in it, user can change it or something like that. After we have story, we creating description of scenes in json (look at previous try of microdramas) for assembly, so we have assembly 
task which requires scene, each scene require frames, frames created from 3x3 grid and assets,  and so on -- so we creatin a-la make (unix utility) until we came to final assembly. Each step need review from user. If user wants to rehaul everything -- we creating new iteration of story vision, new assembly task
and so on. 

10. We need keep visual styles and so on, but it is possible to create style in interactive way for 
    each story, claude can suggest, user can give some references, with text or even picture...


