Data UI Backlog

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:

  1. scripts/data-ui deploy gains a MODEL_FILE env var (default models/default-model.lisp), threaded through compile_default_model and model_field.
  2. Hook writes validated model text to models/<name>-<timestamp>.lisp (unique per deploy to avoid concurrent-deploy collisions).
  3. git add + git commit the new file (keeps the tree clean for require_clean_tree and rides the existing remote-deploy push path — no out-of-band file transfer needed).
  4. 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