# createPmeHandoffFilter

**Kind:** Function

**Source:** [`atloria-monorepo/libs/pme-core/src/context/pme-handoff-filter.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/pme-core/src/context/pme-handoff-filter.ts#L28)

Create a handoff input filter for PME agents.

The filter keeps:
- Full inputHistory (original user request — usually small)
- Last N items from preHandoffItems (recent coordinator context)
- All newItems (the handoff trigger with task details)

## Signature

```ts
function createPmeHandoffFilter(config: PmeHandoffFilterConfig)
```

## Parameters

| Name | Type |
|---|---|
| `config` | `PmeHandoffFilterConfig` |
