# Roles

> The 30 roles you can screen for, how strong the evidence is for each, how B55 suggests one from a job description, and how to tune it.

Source: https://docs.b55.online/roles

A role tells B55 what to look for in the candidate's history. Every job has one: pick it from the catalog below, or describe the work and let `POST /v0/roles/suggest` propose it (see [Jobs](/jobs#suggest-a-role-from-the-description)). A role outside the catalog is rejected with `422 role_not_supported`; B55 never makes up a report for a role it cannot assess.

The table is generated from the same catalog the API serves (`GET /v0/roles`), so it is always current.

**Engineering (`dev` pack)**

| Role ID | Name | Evidence | Languages | Frameworks | Notes |
|---|---|---|---|---|---|
| `frontend` | Frontend engineer | strong | TypeScript, JavaScript, CSS, HTML | React, Vue, Svelte | UI work in TypeScript or JavaScript with React, Vue or Svelte. |
| `backend` | Backend engineer | strong | Go, Java, Python, JavaScript, TypeScript, Ruby, PHP, C#, Elixir, SQL, Kotlin, Scala | — | Services, APIs and data access. |
| `fullstack` | Full-stack engineer | strong | TypeScript, JavaScript, Python, Go, Ruby, PHP, SQL, CSS, HTML | React, Vue, Svelte | Frontend and backend in the same period. |
| `mobile` | Mobile engineer | strong | Swift, Kotlin, Objective-C, Dart | Flutter | iOS, Android or Flutter apps. |
| `systems` | Systems engineer | strong | Rust, C, C++, Zig, Go | — | Low-level, performance-sensitive code. |
| `ml-ai-engineer` | ML / AI engineer | medium | Python | Jupyter | Python and notebooks. Cannot tell model training from scripting. |
| `data-engineer` | Data engineer | medium | Python, SQL, Scala | — | Pipelines and SQL. |
| `qa-sdet` | QA / SDET | medium | TypeScript, JavaScript, Python, Java | — | Test-heavy work. |
| `web3` | Web3 engineer | strong | Solidity | — | Smart contracts. |
| `devops-sre` | DevOps / SRE | weak | Shell | — | Weak until Dockerfile, Terraform and YAML are detected. |
| `android` | Android engineer | strong | Kotlin, Java | — | Native Android apps in Kotlin or Java. |
| `ios` | iOS engineer | strong | Swift, Objective-C | — | Native iOS apps in Swift or Objective-C. |
| `react-native` | React Native engineer | medium | TypeScript, JavaScript | React | Cross-platform apps in React Native. The scan sees React Native code as React: it cannot tell them apart. |
| `flutter` | Flutter engineer | strong | Dart | Flutter | Cross-platform apps in Dart and Flutter. |
| `game` | Game developer | weak | C#, C++, Lua | — | Game code in C#, C++ or Lua. Engines (Unity, Unreal, Godot) and assets are not detected. |
| `embedded` | Embedded engineer | medium | C, C++, Rust | — | Firmware and device code. Cannot tell firmware from other C, C++ or Rust work. |
| `platform` | Platform engineer | weak | Go, Shell, Python | — | Internal platforms and tooling. Weak until Terraform, Kubernetes and YAML are detected. |
| `security` | Security engineer | weak | Python, Go, C, Rust | — | Application or product security. A git history shows languages, not security skill: use the interview. |
| `data-scientist` | Data scientist | medium | Python, SQL | Jupyter | Analysis and modelling in Python, notebooks and SQL. R is not detected yet. |
| `analytics-engineer` | Analytics engineer | medium | SQL, Python | — | SQL models and metrics. dbt projects count as SQL; BI tools are not detected. |
| `mlops` | MLOps engineer | weak | Python, Go, Shell | — | Model serving and ML infrastructure. Weak until infrastructure files are detected. |
| `database` | Database engineer | weak | SQL, Go, C, Rust | — | Schemas, queries and database internals. SQL inside ORMs and migrations tools is often not counted. |

**AI-native builders (`ai-builder` pack)**

| Role ID | Name | Evidence | Languages | Frameworks | Notes |
|---|---|---|---|---|---|
| `ai-engineer` | AI engineer | strong | Python, TypeScript | — | Builds with and on top of AI agents. |
| `founding-engineer` | Founding engineer | strong | TypeScript, Python, Go, SQL | React, Vue, Svelte | Breadth, consistency and shipping speed. |
| `forward-deployed` | Forward-deployed engineer | medium | TypeScript, Python, SQL | — | Many short projects and a broad stack. |
| `design-engineer` | Design engineer | medium | TypeScript, CSS, HTML | React, Vue, Svelte | Frontend with heavy CSS, often AI-assisted. |
| `technical-pm` | Technical PM | medium | TypeScript, Python | — | Can build with AI. Says nothing about PM skill. |
| `ai-pm` | AI PM | medium | TypeScript, Python | — | Can build with AI. Says nothing about PM skill. |
| `solutions-engineer` | Solutions engineer | weak | TypeScript, Python, Go, Java | — | Many small integrations in mixed languages. |
| `devrel` | Developer advocate | weak | TypeScript, JavaScript, Python | — | Sample apps and demos in many small repos. Says nothing about writing or speaking. |

**Evidence strength** says how much the V1 signals can tell you for that role:

- **strong**: the role shows up clearly in commit history (languages, frameworks, the mix of work).
- **medium**: the signals are real but indirect, e.g. Python and notebooks cannot tell model training from scripting.
- **weak**: treat the report as a starting point for the interview, not a screen.

Not in V1: sales, support, finance, design without code and recruiting. They wait for a work-sample evidence pack.

Some roles look alike in a git history. iOS, Android and Flutter work is easy to tell apart (Swift, Kotlin, Dart); React Native code is scanned as React, so `react-native` is medium. Security, platform, MLOps, database, game and developer-advocate work is mostly invisible in commit counts, so those roles are weak: use the report to choose interview topics, not to screen.

## Send a role

A job's `role` is a role id in its simple form:

```json
{ "title": "Frontend engineer", "role": "frontend" }
```

To match the job description, send an object with `base` and any of the optional fields (this is what a suggestion gives you):

```json
{
  "title": "Senior backend engineer",
  "role": { "base": "backend", "seniority": "senior", "must": ["Go", "SQL"], "nice": ["Rust"], "ai_usage": "expected" }
}
```

| Field | Values | Default | What it changes |
|---|---|---|---|
| `base` | a role id from the catalog | required | Which languages and frameworks count as relevant. |
| `seniority` | `intern`, `junior`, `mid`, `senior`, `staff` | `mid` | For `senior` and `staff`, a gap is flagged when no language has 4 or more years of history. It never filters candidates. |
| `must` | array of language or framework names | `[]` | Each one not found becomes a gap and an interview question. Missing any caps relevance at `partial`; matching none makes it `weak`. |
| `nice` | array of names | `[]` | Reported in `role_fit.matched_nice`. Never a gap. |
| `ai_usage` | `expected`, `neutral`, `discouraged` | `neutral` | With `expected`, no AI coding sessions is a gap and adds a question. |

Names in `must` and `nice` match languages (`TypeScript`, `Go`, `SQL`) and frameworks (`React`, `Flutter`, `Jupyter`), case-insensitively. A language counts only when it is at least 3% of the candidate's added lines.

Bad input is a `422`: `invalid_role` (not a string or an object with `base`, or `must`/`nice` not arrays of strings), `role_not_supported`, `invalid_seniority` or `invalid_ai_usage`. See [Errors](/errors).

## List roles

```bash
curl -s http://localhost:3100/api/v0/roles -H "Authorization: Bearer $B55_API_KEY" | jq '.data[] | {id, pack, strength}'
```
