replay_eligibility
Evaluate session metadata to see if compression replay is worth running, returning why sessions qualify or are excluded—use before full replay.
Instructions
Cheap read-only check of whether replaying compression mechanisms on captured sessions is worth doing — call this before replay_session or replay_corpus. Checks only session metadata (turn count, tool-call count, completion state, model), never fetches the full session blob, so it's fast.
Pass session_id to check one session. Omit it to check a corpus window instead, using the same days/source/model_family/project/ session_category/limit filters as replay_corpus. Always returns the funnel of sessions considered vs excluded and why — a session or corpus with few eligible sessions is itself the finding; do not keep loosening filters to force a number.
min_turns/min_tool_calls override the turn-count and tool-call-count floors (default 5/5; PRD §6's documented floors are 10/10). Lowering them trades evidence quality for sample size — state the values used alongside any result, don't drop them silently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| limit | No | ||
| source | No | all | |
| project | No | ||
| min_turns | No | ||
| session_id | No | ||
| model_family | No | ||
| min_tool_calls | No | ||
| session_category | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||