
Observe: explain the Claude Code PreToolUse boundary and read a published ThumbGate example without confusing a gate decision with universal protection. The historical strict-mode demonstration identifies version 1.40.3. A blocked matching command and a differently written command that was not caught are evidence about that demonstration, not the current release's coverage.
Preview checkpoint: identify the proposed action, the reported gate decision and what independent final-state evidence is missing. Decide what you would check next without running a destructive action. Continue through Correct, Test and Report, using the companion worksheet to keep expected results separate from observed results.
Write feedback that names an action, explains the project reason, and gives a useful next step. Read the historical ThumbGate demonstration as separate records: the gate response, Claude's statement, and the visible final-state check. Compare the matching block with the missed variation. Generated-file and integration-test examples are hypothetical review notes, not asserted product results. Artificial narration is used.
Use four fictional repository records to separate command matching from preservation of local work. Write a deletion-review note with action, reason and next step. The counterfactual permit is not a measured ThumbGate result; no unpushed-work protection or backup feature is claimed. AI narration, no live repository or destructive test. Download the complete worked-review packet from the usage-meter lesson that follows. Historical problem prompts: https://github.com/anthropics/claude-code/issues/15443 and https://github.com/anthropics/claude-code/issues/47351. These are attributed reports about instructions/corrections, not current reproductions or engineering diagnoses. Product walkthrough: https://thumbgate.ai/media/thumbgate-gate-demo.mp4, historical version 1.40.3, not current-release clearance.
Distinguish context occupancy, subscription allowance, API-rate estimates and invoices. Use the fictional timeline to identify the missing request/session/accounting link, then write a bounded diagnostic note. Download the worked-review packet for all four new exercises and source notes. AI narration; fictional exercise records, no live requests. Historical reports are attributed prompts, not current defect reproductions or ThumbGate billing-fix claims. Sources verified November 23, 2026: https://github.com/anthropics/claude-code/issues/21351 and https://github.com/anthropics/claude-code/issues/53486. The latter includes the author's later improvement and closure.
Fill four evidence boxes: proposal, runtime decision, execution and final state. Review a fictional pending file write without equating a model question or finished label with completion. AI narration; no live edit or access change. Cross-product historical prompts are not compatibility claims: https://github.com/cline/cline/issues/13814 concerns a pending button label; https://github.com/cline/cline/issues/13140 separately reports Plan-mode edits; https://github.com/openai/codex/issues/52503 includes a later follow-up that both writes succeeded. Sources verified November 23, 2026. No ThumbGate fix is demonstrated. Worked-review packet is available with the preceding usage-meter lesson.
Review a fictional document append whose connection failed before confirmation. Choose an authoritative destination check, then distinguish present, absent, partial and duplicate results before retrying. AI narration; no live integration or document changes. Historical prompts: https://github.com/anthropics/claude-code/issues/24350 is a CLI MCP disconnect report; https://github.com/anthropics/claude-code/issues/54136 is a Desktop embedded Code reconnect-control request. Both duplicate closures do not prove a shipped fix. Sources verified November 23, 2026. This is recovery discipline, not a ThumbGate reconnect feature. Download the four-exercise worked-review packet from the usage-meter lesson in this section.
This course contains the use of artificial intelligence.
Your coding agent just ran a command you never approved. This course teaches you to stand between the agent and the damage, with a working gate, not a promise.
WHAT YOU WILL DO
- Observe: watch a real PreToolUse gate block a matching destructive action, and let a reworded one through. Diagram vs evidence.
- Correct: write feedback that names the action, the project reason, and a useful alternative.
- Test: map the gate's boundary with harmless checks you design, expected result first, actual result second, limitation named.
- Report: produce a readiness report that separates proposed, approved, executed, and independently verified.
The opening lesson shows the PreToolUse connection, the decision and reason returned to Claude, and the difference between a diagram and evidence from an installed system. Use it to assess the teaching approach before continuing.
Correcting separates a gate response from Claude's statement and from an independent final-state check. Testing covers recognition versus containment and background-call limits: you choose a fictional action, write the expected result, compare it to the actual check result, and name one limitation. Do not execute the destructive action. A companion worksheet includes practice questions and worked answers.
HONEST LIMITS: the historical recording shows v1.40.3 under strict enforcement. It is not proof of the current release's coverage. Fictional examples are labeled. A separate published Python prototype is a comparison, not ThumbGate test results. Completion is not a security certification or a sandbox guarantee.
For developers who already use a coding agent. Basic command-line familiarity helps. No installation, destructive command, private account access or paid model use is required for the exercises. Artificial narration and AI-assisted visuals are used; the narration does not imitate the instructor.