Wire :deploy-model hook to real deploy pipeline
The :deploy-model action hook (chunk 5) validates model text
in-process and spawns an async worker, but the worker currently
falls through to a stub. The real deploy path needs:
scripts/data-ui deploygains aMODEL_FILEenv var (defaultmodels/default-model.lisp), threaded throughcompile_default_modelandmodel_field.- Hook writes validated model text to
models/<name>-<timestamp>.lisp(unique per deploy to avoid concurrent-deploy collisions). git add+git committhe new file (keeps the tree clean forrequire_clean_treeand rides the existing remote-deploy push path — no out-of-band file transfer needed).- Invoke
MODEL_FILE=models/<name>-<timestamp>.lisp scripts/data-ui deploy.
See ~/workbench/data-ui-action-hook-plan-0.md (chunk 5, updated) for the full design.
- Slot
- 20300
- Status
- 60 Done
- Tags
- mvp, backend
- Contributors
- Donnie