name: challenge description: > Run a gauntlet challenge session with adaptive difficulty. Tests codebase understanding through multiple choice, code completion, trace exercises, and more. model_hint: standard
Run Gauntlet Challenge
Present challenges from the knowledge base and evaluate answers.
Steps
-
Load state: read
.gauntlet/knowledge.jsonand developer progress -
Check for pending challenge: if
.gauntlet/state/pending_challenge.jsonexists, evaluate the developer's most recent message as an answer before generating a new one -
Generate challenge: use adaptive weighting to select a knowledge entry and challenge type
-
Present challenge: show the question with context
-
Evaluate answer: score the response (pass/partial/fail)
-
Record result: update developer progress and streak
-
On pass: write pass token if from pre-commit gate. Show next challenge if in session.
-
On fail: show correct answer with explanation. Present a new challenge.
Scoring
| Result | Score | Streak |
|---|---|---|
| Pass | 1.0 | +1 |
| Partial | 0.5 | reset |
| Fail | 0.0 | reset |