Tabular: run on selected rows + version history with model & prompts

↗ view on GitHub · Custos · 2026-05-04 · ce6e9c27

- New tabular_cell_versions table archives prior cell state (content, model,
  system_prompt, column_prompt) on every overwrite.
- tabular_cells gains model/system_prompt/column_prompt/updated_at columns
  capturing what produced the current content.
- POST /tabular-review/:id/generate accepts optional document_ids; when
  provided, those rows force-rerun and prior values are archived.
- POST /tabular-review/:id/regenerate-cell archives prior content first.
- New GET /tabular-review/:id/cells/:cellId/versions returns history.
- Frontend: 'Run selected (N)' button appears in the header when rows are
  checked, posts document_ids to the streaming endpoint.
- .env.example: add XAI_API_KEY and R2_REGION.
Repository Custos/legalos
Author Custos <jfeinblum@gmail.com>
Authored
Parents 6ee8547e
Stats 5 files changed , +259 , -10
Part of Tabular review - cell version history and multi-model comparison

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-ce6e9c27.md from inside the repo you want the change in.

⬇ Download capture-commit-ce6e9c27.md