Chaim 9154a1d817
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 7s
feat(operations-ui): BURST toggle + deadline dialog for the halacha drain (#133)
Implements the chair-approved Claude Design mockup (02b-operations-burst): a single
gold " הפעל BURST" button on the legal-halacha-drain row that opens a deadline
dialog (datetime-local, default the upcoming Saturday 18:00, quick chips for Sat
18:00 / +5h / midnight). While a burst is active the row shows a gold pill with the
deadline + an "עצור BURST" stop button. Manual only.

- operations.ts: burst_until on OpsService + useDrainBurst hook (POST .../burst).
- page.tsx: BurstControl component, gated to legal-halacha-drain.
- types.ts: regenerated (npm run api:types) — the new burst route.

Active-state is derived from burst_until presence (the supervisor NULLs it at the
deadline, snapshot refetches every 5s) — no impure Date.now() in render.

Invariants: G1/G2 — single DB-backed control (drain_controls.burst_until), shared
with the host supervisor; no parallel path. UI passed the Claude Design gate.
2026-06-12 11:46:41 +00:00
Description
AI Legal Decision Drafting System — MCP server, web upload, RAG search
21 MiB
Languages
Python 63.5%
TypeScript 34.2%
JavaScript 1.2%
Shell 0.8%
CSS 0.2%