James Washington
writing about archive utils free game ideas replays
Agent hook

Mini build guard

Prevents AI assistants from running heavy builds on the home server and points them at the laptop instead.

built Oct 2026 Upgrading the AI's workbench

how it works

PreToolUse(Bash) regex deny-list (gradle, xcodebuild, cargo, JS build/test runners) active only on the server host; allows anything via air-run or MINI_BUILD_OK=1. Born from a load-27 incident.

Agent hook: A script that runs automatically at a moment in an AI session (before a command, when it stops) to steer or guard it.

The code for this one lives in a private repo. This page explains the idea so you can build your own.

guardrailhomelabhookspretooluse

related

  • PostToolUse file soft-claim hook for agent collision detection Agent hook Every time an AI session edits a file, it quietly tells the dashboard, so two sessions editing the same file get flagged.
  • ~/.claude config repo: deny-by-default .gitignore + secret pre-commit Automation Keeps James's AI configuration under version control without ever committing transcripts or passwords.
  • screenpipe / screenpipe-air MCP launcher (James wrapper) MCP server Lets the AI search what was on screen or said, on either computer.
  • Mac Mini homelab Document A home server that runs the household's smart-home, AI chat, monitoring and backup services.
  • One-shot scheduled agent follow-up Automation A one-time scheduled AI run that checked on phone calls it had placed and reported the outcome, then deleted itself.
← everything I've built
© 2026 James Washington
github twitter rss