You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent guards: one pattern each for written rules that cost a lot when broken once #1220
What: add small patterns to the agent-guards kit for rules that are only written down today and cost a lot when broken once. Each is one pattern. Repo names and commands come from the machine's config.
a CI-skip marker in a commit message (even quoted, it skips PR CI);
git stash in a shared worktree;
running the T3 CLI from any binary but the running server's (another version opens the live database);
any write to the upstream repository;
a whole-repo knip run or a full test suite run on the local machine;
an unquoted heredoc that writes a brief (backticks inside it run as commands).
Evidence: one local whole-repo knip run used 3.4 GB for 14 minutes and filled a machine. The CLI and heredoc slips each happened once and are now prose rules. None of these patterns are in the guards code today.
Done when: each pattern refuses with a plain reason and the fix. It has contract tests on both the fast path and the full guard (#1094). Text that only mentions a command (echo, grep, a heredoc into a file) is not refused.
Activity
scuttletoby commentedon Nov 29, 2026
Claim: a writer from the minors sweep is taking this (all six patterns), branch
fix/guards-1220-patterns.🤖 Generated with Claude Code
rule-guard tests: the review's round 1 cases (#1220)
rule-guard: fix round 1: no fail-open crash, root scripts, GET reads (#…
agent-guards: rule-guard, one pattern each for six costly written rul…