[Story-1008] Add proceeding stage and related matter flows

Story 1008Epic 995๐Ÿ“œ The Evidentiary RecordMatter Intelligence19 files ยท +1359/โˆ’6

PR #216 ยท pramaan-io/pramaan-app ยท merged 2026-06-03

How it flows

sequenceDiagram
  autonumber
  participant user as Lawyer
  participant ui as Live UI
  participant server as Server
  user->>ui: opens matter
  ui->>ui: renders operating model
  user->>ui: adds proceeding stage
  ui->>ui: anchors on timeline
  user->>ui: links related matter
  user->>ui: selects carry-forward
  ui->>server: submit
  server->>server: parses contracts
  server-->>ui: ack

Kya nahi hota

Runtime contract parsing
Explicit carry-forward selection
Golden eval cases in contract tests
Blast radius still pending for filing categories
Participant label vocabulary in next slice

Files changed (19)

Fileยฑ
docs/visual-verification/story-1008/README.md+33
docs/visual-verification/story-1008/live-matter-operating-model-default.png+0
docs/visual-verification/story-1008/live-matter-operating-model-empty.png+0
docs/walkthroughs/story-1008-walkthrough.html+200
src/app/[locale]/(app)/matters/[matterId]/page.tsx+67 โˆ’3
src/app/[locale]/(app)/matters/actions.ts โ˜…+101
src/components/matters/carry-forward-form.tsx+86
src/components/matters/carry-forward-panel.tsx+45
src/components/matters/live-matter-detail-page.tsx+8 โˆ’1
src/components/matters/live-matter-operating-model.stories.tsx โ˜…+171
src/components/matters/live-matter-operating-model.tsx+59
src/components/matters/matter-operating-model-types.ts+27
src/components/matters/proceeding-stage-form.tsx+47
src/components/matters/proceeding-stage-timeline.tsx+92
src/components/matters/related-matters-panel.tsx+95
src/lib/matters/gateway.ts โ˜…+135
src/lib/matters/types.ts+14
tests/unit/matter-detail-route.test.tsx+41 โˆ’2
tests/unit/matters-contract.test.ts+138