# pi-session-insight

`/insight` — Extract your unspoken rules from any pi session.

Uses 5 theoretical frameworks (Grice's Maxims, SBI Feedback Model, Relevance Theory, etc.) to find patterns you've never said out loud but always expect your agent to follow.

## Install

```bash
pi install npm:pi-session-insight
```

## Usage

```
Type /insight
    ↓
Confirm → Agent analyzes the full session
    ↓
Rules returned with verbatim dialogue evidence
    ↓
You approve — written to USER_PROFILE.md
```

## Frameworks

| Framework | What it finds |
|-----------|--------------|
| Grice Quality | Did you challenge unsupported claims? |
| Grice Quantity | Too much or too little information? |
| SBI Model | What Situation-Behavior-Impact hides in brief corrections? |
| Implicit Feedback | What expectations do your corrections reveal? |
| Relevance Theory | How deep did you really want the agent to go? |

## License

MIT
