aiproof-cli 0.1.4

CLI for aiproof, the static analyzer for AI prompts (ESLint for prompts).
Documentation
# AIP003 — undefined-role

**Category:** clarity  **Severity:** info

## What

Detects conflicting role declarations in the same prompt.

## Why it matters

If you tell a model it's a helpful assistant and then a pirate, it's unclear which role should dominate. Models often pick the last one.

## Example

```
You are a helpful assistant. You are a pirate.
```

These roles have different personalities and goals.

## Fix

Pick one role and stick with it, or blend them intentionally:

```
You are a helpful assistant who speaks like a pirate.
```