4 min read · For developers running Claude Code and other coding agents
THUMBGATE_LESSON_DOSE=on shows 1, 2 or 3 lessons per session, and npx thumbgate effect tells you which dose cut repeat mistakes. Off by default.Video models are in-context learners (Hochlehnert, Wiedemer, Hayes, Kipf, Kim, Geirhos; arXiv 2611.40122, November 2026) tested two frontier video models, Gemini Omni 1.1 and Seedance 2.5, with no training at all:
What it does not show: anything about coding agents or text lessons. The headline framing ("for the first time", a "common developmental path" for intelligence) is the authors' question, not a result. We apply the method by analogy.
When you give a coding agent a thumbs-down, ThumbGate saves a lesson. Before the agent's first tool call on a related task, up to three matching lessons are put in its context. Three was a guess. The paper's curve says the right number could be one (less to read, less to interfere) or more, and that it depends on the task. The only way to know for your agent is to measure it.
THUMBGATE_LESSON_DOSE=on, or pick doses with a list such as 1,3. Each session is assigned one dose by a hash of its id and keeps it.npx thumbgate effect prints the repeat rate per dose and calls the shape only when the difference is clear beyond chance: more helps, flat, or U-shaped. It names the fewest lessons that do as well as the best, and the paper's summary number, the change per doubling.Example output:
Lesson dose experiment, top lesson's mistake back: 1 40/100 (40 per 100), 2 10/100 (10 per 100), 3 45/100 (45 per 100)
Lesson dose: a middle dose works best; more lessons start to interfere. Best 2; fewest as good 2
Turn on THUMBGATE_LESSON_HOLDOUT=0.1 as well and a held-back session counts as dose 0, the paper's zero-shot baseline.
npx thumbgate init.THUMBGATE_LESSON_DOSE=on to your agent's environment.npx thumbgate effect after a week or two.ThumbGate is an independent project and is not affiliated with or endorsed by the paper's authors or their employers.
Pre-action gates built from your own thumbs-down, and numbers that say whether the lessons work.