Claude Code · Daily Drop No. 034 · 2026 · 06 · 07 · Archive →
The Night Watchman's Rounds

Walk the rounds before you turn the key.

The watchman's job isn't drama. It's completeness. Lantern in one hand, keyring in the other, a clock-watch on the belt punched at every station — front gate, side door, vault, window, fire-door, stair-well. Nothing is skipped. Nothing is assumed. Claude Code's /security-review walks a pending diff the same way, in the same order, every time.

The route

/security-review is a built-in slash command that asks Claude Code to walk your pending changes with a single lens: could this change make the system less safe? It reads the diff — uncommitted edits, the current branch against main, or a named ref — and reports back with a ranked list of findings, each one tied to a file, a line, and a category. The point isn't a verdict. The point is that nothing was skipped.

A watchman's rounds work because the route is fixed. Front gate, side door, vault, window, fire-door, stair-well — same order, every night, whether the building is sleeping or burning. /security-review brings that discipline to a diff: secrets, injection, auth, input, crypto, dependencies, error paths. Same lens, every change, even the ones that look harmless.

The stations

01:00 Front gate Hard-coded secrets, API keys, tokens, private keys committed by accident. no keys under the mat
02:00 Side door Injection — SQL, command, template — anywhere user input meets an interpreter. the latch is set
03:00 Vault Authentication and authorisation gaps — missing checks, broken session handling, weak comparisons. the bolt is thrown
04:00 Windows Input validation — bounds, types, encodings, the silent null that becomes admin. every pane tried
05:00 Fire-door Unsafe deserialisation, path traversal, SSRF — the doors that open the wrong way under stress. closes the right way
06:00 Stair-well Dependencies — pinned, signed, no known-bad versions slipping in with the new package.json. the lights still work

A pass at the clock-watch

The watchman doesn't decide who comes through the door. He decides that nobody comes through unseen. — A note from the gatehouse

When to call the round

The natural moment is just before a pull request goes up — when the diff is final but the title still says WIP. The findings become commits, and the PR opens already walked. The second moment is just before merge, after the last round of reviews; it catches what slipped in during the back-and-forth. The third — the one most teams skip — is on the dependency-bump branch, where the diff looks small and the risk is hiding in someone else's tree.

Wire it into your CLAUDE.md as part of the pre-merge ritual and the review stops being something a human has to remember. Bind it to a PreToolUse hook on git push if you want the watchman on every shift. The point isn't that /security-review replaces a security engineer — it doesn't. The point is that the boring half of the round is always done before the engineer is woken up.

A short glossary

Clock-watch
The watchman's tamper-proof clock, punched at every station on the route. Here: the timestamped log of each /security-review pass, proof the round actually happened.
Master key
The one key on the ring that opens every door. The thing /security-review looks for first — and the thing it would rather you didn't commit.
Bull's-eye lantern
A lantern with a single forward-facing lens — a focused beam, not a glow. The metaphor for a review with one lens (security) instead of a general code read.
Hue and cry
The old common-law shout that summoned the parish when a thief was found. Here: the ranked finding list — loud, specific, and addressed to whoever's awake.