fabro/apps/fabro-web/app/routes
Bryan Helmkamp 999f2a11c3 refactor(fabro-web): stage 6.6 rewrite workflowData literal to v2 shape
The hardcoded sample workflow entries in `workflow-detail.tsx` still
embedded the legacy flat `RunSettings` shape (top-level `llm`, `vars`,
`sandbox`, `setup`) — a visible mismatch with what the server now
returns on `/api/v1/runs/:id/settings`.

Rewrites the four static literals (fix_build, implement, sync_drift,
expand) to mirror the v2 `SettingsFile` tree: `_version`, `run.goal`,
`run.inputs`, `run.model`, `run.sandbox`, `run.prepare.steps`,
`run.prepare.timeout`, etc. Duration and size fields now use the
human-readable forms (`"120s"`, `"8GB"`, `"10GB"`) per R83 / R84.

Adds a module-level doc comment pointing readers at the
`fabro_types::settings::SettingsFile` Rust type as the source of truth
for the shape. `RunSettings` stays as `Record<string, unknown>`, so
the literal typechecks without needing a formal type assertion on
each entry.

fabro-web `typecheck` / `test` / `build` stay green.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 17:18:34 -04:00
..
auth-login.tsx Cut over Fabro web app to a server-backed SPA 2026-04-01 21:36:01 -07:00
insights-editor.tsx Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
insights-new.tsx Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
insights.tsx Cut over Fabro web app to a server-backed SPA 2026-04-01 21:36:01 -07:00
redirect-home.tsx Fix login route collision after SPA cutover 2026-04-01 21:55:30 -07:00
run-billing.tsx refactor(billing): unify the LLM billing domain 2026-04-07 14:33:35 -04:00
run-detail.tsx feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
run-files.tsx Cut over Fabro web app to a server-backed SPA 2026-04-01 21:36:01 -07:00
run-graph.tsx feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
run-overview.tsx feat: wire web UI to real server with demo mode toggle 2026-04-08 04:46:08 -04:00
run-settings.tsx refactor(api): stage 6.6 collapse settings DTOs to freeform v2 shape 2026-04-09 17:04:33 -04:00
run-stages.tsx Cut over Fabro web app to a server-backed SPA 2026-04-01 21:36:01 -07:00
runs.tsx refactor(cli): route run state through the shared server daemon 2026-04-05 00:15:33 -04:00
settings.tsx refactor(api): stage 6.6 collapse settings DTOs to freeform v2 shape 2026-04-09 17:04:33 -04:00
setup-complete.tsx fix: GitHub App setup flow — nullable webhook_secret, double POST, stale restart copy, wrong port 2026-04-08 08:34:39 -04:00
setup.tsx fix: session cookie decryption and add HTTP endpoint logging 2026-04-08 11:46:30 -04:00
start.tsx chore: remove unused verification, retros, and sessions endpoints 2026-04-06 17:52:51 -04:00
workflow-definition.tsx refactor(scratch): remove stale scratch file refs 2026-04-07 20:40:06 -04:00
workflow-detail.tsx refactor(fabro-web): stage 6.6 rewrite workflowData literal to v2 shape 2026-04-09 17:18:34 -04:00
workflow-diagram.tsx Rename Arc to Fabro in TypeScript/JavaScript 2026-03-12 11:13:18 -04:00
workflow-runs.tsx Cut over Fabro web app to a server-backed SPA 2026-04-01 21:36:01 -07:00
workflows.tsx fix(web): use local workflow response types 2026-04-07 14:48:19 -04:00