Skip to content
← All work

Case study · 03 / 08

Avus Security

Crypto compliance platform in development. Full-stack work on Nuxt dashboards, typed APIs, background analysis and a streaming AI assistant.

Role
Full-stack Developer
Company
Freelance project
Year
May 2026 – now
Status
In development
Avus Security
Confidential

Avus Security

In development. Screens shared on request

Context

I work on Avus as a freelance full-stack developer within the product team. Earlier iterations covered case review and analysis reports; my current work includes a new dashboard shell and assistant. The examples below cover work from these different stages.

The challenge

Analysis jobs must continue after an HTTP request ends, and operators need to see their status and recover from failures. Dashboard, API and worker contracts must also stay aligned as the product changes.

Scope and approach

Product scope

  • Case review, analysis reports and per-user analysis settings.
  • Dashboard navigation, authentication and an assistant connected to read-only API tools.

Technical approach

  • Zod schemas define REST validation and OpenAPI contracts; generated REST clients and GraphQL documents supply dashboard types.
  • Temporal runs long-lived analysis workflows; PostgreSQL stores report status independently of the initiating request.
  • User-scoped settings and conversation history are handled through authenticated APIs. The assistant keeps streaming and cancellation logic separate from its visual container.

What I did

  1. 01Developed Nuxt case-review and report interfaces, then the current dashboard shell, session integration and streaming assistant.
  2. 02Implemented Fastify case-summary APIs, PostgreSQL report persistence and Temporal workflows with timeouts, retries and failure handling.
  3. 03Added OpenAPI-generated clients and typed GraphQL documents; implemented per-user analysis settings across the dashboard, API and workers.
  4. 04Added persisted conversations, route-aware assistant context and read-only MCP tools; contributed shared Pino logging and OpenTelemetry integration.

Engineering examples

Five problems, how I solved them, and what changed.

Asynchronous case summaries

Problem

Case analysis takes longer than an HTTP request, so its progress and failures need persistent state.

Implementation

Implemented Fastify endpoints, PostgreSQL report storage and a Temporal workflow with activity timeouts, retries and failure recording in the earlier case-review iteration.

Result

The dashboard can start a summary, check its status and retrieve the report after the original request ends.

Generated API contracts

Problem

Handwritten dashboard types could drift from changing backend models.

Implementation

Added OpenAPI export and a generated REST-client package, plus GraphQL types and query documents used by the dashboard.

Result

Request and response types are derived from service schemas instead of maintained independently.

Analysis settings from dashboard to worker

Problem

Operators needed personal prompts, rules and analysis settings to reach the worker running a case.

Implementation

Implemented the settings form, Zod contract, user-scoped reads, SQL upserts and worker configuration loading, with defaults when no settings exist.

Result

The earlier analysis workflow uses the operator's stored configuration across UI, API and worker.

Conversation history and dashboard links

Problem

Conversations needed to survive reloads, while generated links could contain legacy routes or unresolved IDs.

Implementation

Added user-scoped thread and message loading, checks before saving messages, and route/ID normalization that skips unresolved placeholders.

Result

Chats can be restored from server data, and generated links are adapted before opening a dashboard route.

Streaming assistant and cancellation

Problem

The new assistant needed authenticated access, conversation state and cancellation as its connected APIs evolved.

Implementation

Implemented the assistant dock and streaming composable, history, cancellation and read-only MCP tools. Added timeouts and TTL handling for specification loading and bounded tool output.

Result

Streaming and tool access have explicit lifecycles. The assistant can use only the APIs connected in this development iteration.

Stack

Nuxt 4 · Vue · TypeScript · Fastify · Zod / OpenAPI · GraphQL / PostGraphile · PostgreSQL · Temporal · MCP · OpenTelemetry

Outcome

The earlier dashboard supports asynchronous case summaries with persisted status. The current iteration adds an authenticated dashboard and streaming assistant. Avus remains in development.

Next case study

Welle Casino

→