Hook
A hook is the moment your tool calls Adams, before or after a tool call. Adams answers in a median of 73 ms against a 60 ms budget (measured 2026‑11‑23), and the call runs, waits for you or stops. The map above lists all 11 events.
Adams 2.9.7. Start on the map: 11 moments where your tool calls Adams. Click one to see what runs there, or search a command or a handler by name.
Type to search. The map and the index below both react.
Your tool calls Adams at 11 events. Always-on guards never switch off. Every other handler has a switch.
A session opens. Adams loads your rules, memory and any handoff, and checks for updates.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| rules_inject | every call | 2 s | switch |
| path_rules | every call | 2 s | switch |
| context | every call | 5 s | switch |
| integrity | every call | 5 s | switch |
| memory_load | every call | 5 s | switch |
| handoff_reload | every call | 5 s | switch |
| wiki_index | every call | 5 s | switch |
| replay_start | every call | 5 s | switch |
| runs_reconcile | every call | 5 s | switch |
| stale_runs | every call | 5 s | switch |
| license_refresh | every call | 5 s | switch |
| auto_update | every call | 2 s | switch |
| language | every call | 5 s | switch |
| setup_init | every call | 5 s | switch |
| setup_maintenance | every call | 5 s | switch |
| rules_lint | every call | 2 s | switch |
| company_context | every call | 5 s | switch |
| git_hooks | every call | 3 s | switch |
| coach | every call | 1 s | switch |
| session_review | every call | 2 s | switch |
| clean | every call | 4 s | switch |
| access | every call | 4 s | switch |
The session closes. Adams writes the summary and tidies up.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| session_summary | every call | 5 s | switch |
| session_report | every call | 3 s | switch |
| session_review | every call | 4 s | switch |
| claims | every call | 1 s | switch |
| clean | every call | 3 s | switch |
| savings_line | every call | 4 s | switch |
You send a prompt. Adams checks it for leaks and reads what you asked for.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| leak_guard | every call | 5 s | always on |
| intent | every call | 5 s | always on |
| language | every call | 5 s | switch |
| reminder | every call | 5 s | switch |
| router | every call | 5 s | switch |
| gate_override | every call | 5 s | switch |
| correction_capture | every call | 3 s | switch |
| taste_capture | every call | 3 s | switch |
| sidefx | every call | 5 s | switch |
The agent is about to act. Guards and gates can stop the call here.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| leak_guard | Write|Edit|MultiEdit|Bash | 5 s | always on |
| block-risky-git | Bash | 20 s | always on |
| secrets | Bash|Read|Grep | 5 s | always on |
| sidefx | Bash | 5 s | switch |
| deploy_guard | Write|Edit|MultiEdit|NotebookEdit|Bash|Read|Grep|Glob | 5 s | switch |
| sql_guard | Bash|Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
| protected_files | Bash|Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
| align_gate | Bash|Edit|Write|MultiEdit|NotebookEdit | 10 s | switch |
| deviation_gate | Bash|Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
| agent_box | Bash|Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
| mode-enforcer | Bash|Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
| host-gate | Bash | 5 s | switch |
| claims | Bash|Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
| undo_point | Edit|Write|MultiEdit|NotebookEdit | 8 s | switch |
| directory_context | Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
| rules_injector | Edit|Write|MultiEdit|NotebookEdit | 5 s | switch |
The tool asks to run. Adams lets read-only shell commands through.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| read-only-allow | Bash | 5 s | switch |
A call finished. Adams scans the output for secrets and records the proof.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| secrets | every call | 5 s | always on |
| verify_record | Bash|Edit|Write|MultiEdit|NotebookEdit|WebFetch|mcp__Claude_Browser__navigate|mcp__Claude_Browser__preview_start|mcp__claude-in-chrome__navigate|mcp__Control_Chrome__open_url | 10 s | switch |
| router | Edit|Write|MultiEdit|Bash | 5 s | switch |
| memory_capture | every call | 5 s | switch |
| replay_record | every call | 5 s | switch |
| taste_record | Edit|Write|MultiEdit|NotebookEdit|WebFetch|mcp__Claude_Browser__navigate|mcp__Claude_Browser__preview_start|mcp__claude-in-chrome__navigate|mcp__Control_Chrome__open_url|mcp__.*(?:computer|screenshot|screen).* | 3 s | switch |
| skill_injector | Skill | 5 s | switch |
| context_guard | every call | 5 s | switch |
| block-risky-git | Bash | 5 s | always on |
| clean | Bash | 5 s | switch |
| contract | AskUserQuestion | 5 s | switch |
A call failed. Adams records the failure and adds a hint.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| failure_hints | every call | 5 s | switch |
| verify_record | Bash | 10 s | switch |
| router | Bash | 5 s | switch |
A sub-agent starts. Adams tracks it.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| agent_track | every call | 5 s | switch |
| agent_box | every call | 5 s | switch |
| coach | every call | 1 s | switch |
A sub-agent ends. Adams tracks it and records what it delivered.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| agent_track | every call | 5 s | switch |
| deliverables | every call | 8 s | switch |
| subagent_cap | every call | 4 s | switch |
| review_receipt | every call | 4 s | switch |
The conversation is about to be shortened. Adams saves a memory snapshot and a handoff.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| memory_snapshot | every call | 5 s | switch |
| handoff_write | every call | 5 s | switch |
| clean | every call | 3 s | switch |
The agent ends its turn. Adams saves notes, checks the work and updates the blueprint.
| Handler, in run order | Runs on | Budget | Switch |
|---|---|---|---|
| stop | every call | 70 s | switch |
| turn_report | every call | 3 s | switch |
| memory_capture | every call | 5 s | switch |
| session_summary | every call | 5 s | switch |
| wiki_note | every call | 5 s | switch |
| persist | every call | 5 s | switch |
| budget_guard | every call | 5 s | switch |
| drift_guard | every call | 5 s | switch |
| simplifier | every call | 5 s | switch |
| sidefx | every call | 5 s | switch |
| notify | every call | 8 s | switch |
| claims | every call | 5 s | switch |
| blueprint | every call | 2 s | switch |
| surfaces | every call | 3 s | switch |
Read from the hook list Adams runs · Adams 2.9.7
A hook is the moment your tool calls Adams, before or after a tool call. Adams answers in a median of 73 ms against a 60 ms budget (measured 2026‑11‑23), and the call runs, waits for you or stops. The map above lists all 11 events.
A gate holds a risky step, such as a commit of sensitive code, until its evidence exists: a clean check, a security review, a passing test. The work goes on, and what cannot close is parked in .adams/needs-you.md. Only you can pass a held finding early, with adams ok and its ID.
A guard is a hard rule. A secret in a commit is not overridable: the reply names the fix, and the same verdict holds on four paths. Guards cover secrets, env files, applied migrations, destructive SQL and force pushes.
The ledger is the saved record: decisions, receipts and evidence. A claim such as tests pass points at saved output you can open. It lives in the project folder, next to the code.
The blueprint is one living page for a project, kept at .adams/blueprint/NAME.html. It has eight sections: plan, changes, found, missing, design and screens, decisions, website sync status and cleanup log. Pro keeps it current while the work runs.
Surfaces are the files that show a product change: website, docs, design and screens. At the end of a turn Adams lists the ones a change makes stale and asks you to accept or deny each. It only lists them and never edits them.
Live cleanup removes dead project files from closed tasks older than 7 days, and merged clean task worktrees. The first run in a project only lists them, and you approve once. Included in Lite.
Built from the same list the CLI uses, never typed by hand. 5 owner-only commands are left out.
Showing 94 of 94.
Nothing matches. Try a shorter word, or clear the filters.
Nothing hides. Each place has one owner and one way to remove it. Per tool paths are on the install page.
~/.config/adams/personal.mdYour own rules, kept across all of your projects and tools.
.adams/Decisions, receipts, the blueprint, plans, specs and state.
System keychainYour Pro seat key, stored by the system, never in a project.
adams sync --removeFiles that only sync writes or removes. Paths are per tool.
12 guides that work in any tool. Each ends with where Adams fits.
LiteGuards from the first commit. Install Adams Lite once and your first project has secret, git and leak guards from the start. Run adams doctor to check the setup.
ProQuestions and a spec, done for you. Pro asks the few questions that change the result, one round with a recommended answer for each, and saves the settled answers as a spec. The blueprint does the same for a whole project.
LiteThe commit is stopped for you. The secret guards in Lite stop a key at commit, name the file and line without printing the value, and move it to an ignored env file. They are included in Lite.
ProA reviewer that did not write it. Pro hands the change to a separate reviewer agent, ranks findings by severity and fixes only on your yes. The page check covers the three widths.
ProThe three widths, automated. Pro opens the page at 375, 768 and 1440, names each overflow, wrapped label and uneven card with its element, and repeats until clean.
ProPlans as files, held by a gate. Pro turns a request into a plan where every task lists files, interfaces and acceptance. The drift gate then compares the work with it.
LiteA hold, and an undo that keeps your edits. Lite holds the risky git commands until you say yes. Pro adds an undo that lists what the AI changed and restores only those files.
LiteDoctor first, then a proper diagnosis. Lite includes adams doctor, which checks the Adams install and lists fixes. For a bug in your own code, the diagnose flow is Pro and follows reproduce, find the cause, fix it, and add a check.
ProA launch flow with proof. Pro includes a launch flow that lists these checks, runs the ones it can, and shows the real output so a skipped check is never read as a pass.
ProA gate that asks. The drift gate in Pro compares the work with the plan and asks when it leaves it. You extend the plan or go back, and the decision is recorded.
ProRules that come from your corrections. Coach in Pro turns the corrections you repeat into short rules every session receives, and lets you keep, forget or add one. It complements a CLAUDE.md file rather than replacing it.
ProThe handoff written for you. Pro writes the handoff from what happened in the session, saves it in the project, and reads it back at the start of the next session.
Install Lite, commit a test key and read the verdict yourself. Pro is $9 a month or $79 a year.