All case studies
AI Agents

AI Delivery Workspace

Methodology-driven project workspace with AI-assisted document generation

TypeScriptReactViteTipTapSupabaseKeycloakn8nTailwind

The team needed a workspace to run software-delivery methodology end to end: manage projects and iterations, collect input artifacts, generate PRDs and downstream deliverables with AI assistance, track approval status, and edit or compare document versions without leaving the browser.

  • 01Orchestrating long-running document generation without blocking the UI
  • 02Enforcing dependency order between document types so generation quality does not degrade
  • 03Supporting rich in-browser editing and version compare for markdown and structured backlogs
  • 04Authenticating a public SPA against an OIDC identity provider while calling BaaS APIs and automation webhooks

BaaS for CRUD and file storage, automation platform for AI generation

Edge functions and object storage handle projects, iterations, and artifact files. Document generation posts structured payloads to automation webhooks that read from storage and write results back, keeping the SPA thin and pipelines swappable.

Artifact dependency matrix before generation

Downstream artifacts require validated upstream documents. A typed dependency matrix blocks generation until references exist, improving output quality and reducing wasted pipeline runs.

TipTap editors plus Myers diff for version compare

TipTap covers markdown/HTML editing with paste sanitization; a custom Myers/LCS diff powers side-by-side version compare for large documents without shipping a heavy third-party stack.

Async generation UX with polling

Long workflows cannot return synchronously. A generation context plus polling refreshes artifact status lists until processing completes or fails.

Coupling to external automation workflows means pipeline changes can break the SPA contract. That is mitigated with typed payloads and env-specific webhook bases. Polling is simpler than websockets but adds request noise on long jobs. Embedding an OIDC client secret in a SPA is a security smell; password-grant convenience traded for a weaker public-client model that should move to a proper public OIDC flow.

React/Vite SPA with protected routes, project tables, ideation workspace, drag-drop uploads to object storage, TipTap and hierarchical backlog editors, version compare, and multi-env CI/CD serving via nginx with health probes.

SPA that operationalizes delivery methodology: projects, iterations, versioned artifacts, and async AI document pipelines with dependency-aware generation and in-browser editing.

  • Validated upstream references materially improve AI document quality versus generating from raw uploads alone
  • Legacy type aliases are needed when artifact slugs evolve across partial deploys
  • Paste contamination from form boundaries must be stripped before documents land in the editor