Documentation Index
Fetch the complete documentation index at: https://docs.selftune.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Activation rules trigger suggestions when session patterns indicate a skill needs attention. They fire at most once per session to avoid noise.Built-in rules
| Rule | Condition | Suggestion |
|---|---|---|
post-session-diagnostic | More than 2 unmatched queries in a session | Run selftune last |
grading-threshold-breach | Session pass rate below 60% (threshold is a ratio 0.0–1.0) | Run selftune evolve |
stale-evolution | No evolution in 7+ days with pending false negatives | Run selftune evolve |
regression-detected | Post-deploy monitoring detects regression | Consider rollback |
Configuration
Override rules at~/.selftune/activation-rules.json:
How they work
Theauto-activate hook runs on every UserPromptSubmit event. It evaluates all enabled rules against the current session state and surfaces suggestions to the agent when conditions are met.