Project guide

Project Guide | Regulated Case Workbench

Free regulated-case workflow boundary sheet for intake, review, and escalation design. This guide organizes the repository's original implementation notes for case operations and compliance workflow owners.

Reviewed 2026-07-28. This page is derived from checked-in repository evidence and links back to its source.

Regulated Case Workbench

regulated-case-workbench is a user-friendly FastAPI demo for regulated case operations.

It keeps case intake, grounded evidence review, redaction preview, reviewer assignment, policy gating, signed export proof, and cross-case auditability in one inspectable surface.

Public proof stays on the live surface at https://regulated-case-workbench.pages.dev, while the GitHub repo remains selectively shared.

System Overview

A regulated workflow desk that demonstrates controlled approvals, signed evidence, and staged review without leaking sensitive cases.

AreaDetails
UsersCompliance operations, legal operations, AML review teams, and regulated workflow owners.
Technical pathValidate the demo, README, architecture notes, and quality gate before deeper workflow review.
System scopeApproval gates, signed exports, audit trails, staged legal/AML summaries, and controlled workflow design.
Operating boundaryStaged data only; production use needs customer-specific policy, retention, access control, and review authority mapping.
Evaluation pathRun the local validation path and verify the signed export and audit trail behavior.

Evaluation Path

Technical Notes

Architecture at a glance

Runtime vs. review/site surfaces

What it demonstrates

Option A: simple dev flow

make install
make run

Open http://127.0.0.1:8000.

Option B: manual setup

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -U pip
python -m pip install -e ".[dev]"
uvicorn app.main:app --reload

Optional operator auth demo

Sensitive routes stay open by default for easy review. To show route guarding locally:

export REGULATED_CASE_OPERATOR_TOKEN=regulated-token
export REGULATED_CASE_OPERATOR_ALLOWED_ROLES=reviewer,approver
uvicorn app.main:app --reload

Then call guarded routes with:

curl -H "Authorization: Bearer ${REGULATED_CASE_OPERATOR_TOKEN}" \
  -H 'x-operator-role: reviewer' \
  'http://127.0.0.1:8000/api/export-pack/signature?case_id=case-1007'

Runtime surfaces

Devex shortcuts

make test
make scorecard
make verify

make verify runs compile checks, pytest, frontend syntax validation, and the runtime scorecard exercise.

Local verification

make verify

Manual equivalent:

python -m pip install -U pip
python -m pip install -e ".[dev]"
python3 -m compileall -q app tests
python -m pytest
node --check app/static/app.js
python scripts/exercise_runtime_scorecard.py

Related docs

Deliberate constraints

Cloud + AI Architecture

Enterprise Productization

Service Architecture