Fence

What it does

The fence39 is the compiler checks, lint rules, and hooks that reject prohibited code and shortcuts. The fence39 explains the idea. Effect describes work with typed failures36 and required services. A service is a named interface for one job.

XState defines state machines: named states and the events that permit movement between them. These checks enforce it today:

The standard

How to check

Sources

  1. rat-stack/oxlint.config.ts at main · joelhooks/rat-stack · GitHub. GitHub joelhooks/rat-stack. Lint configuration; used for the enforced rule groups. Accessed 2026-10-01.
  2. rat-stack/tsconfig.base.json at main · joelhooks/rat-stack · GitHub. GitHub joelhooks/rat-stack. Compiler configuration; used for Effect diagnostics at error severity. Accessed 2026-10-01.
  3. rat-stack/lefthook.yml at main · joelhooks/rat-stack · GitHub. GitHub joelhooks/rat-stack. Commit hooks; used for the pre-commit check and test gate. Accessed 2026-10-01.
  4. rat-stack/scripts/vcs-command-policy.js at main · joelhooks/rat-stack · GitHub. GitHub joelhooks/rat-stack. Command policy; used for the shared hook-bypass prohibition. Accessed 2026-10-01.
  5. rat-stack/scripts/hooks/block-git-no-verify.mjs at main · joelhooks/rat-stack · GitHub. GitHub joelhooks/rat-stack. Harness hook; used for the failing bypass check. Accessed 2026-10-01.
  6. rat-stack/.github/workflows/ci.yml at main · joelhooks/rat-stack · GitHub. GitHub joelhooks/rat-stack. CI workflow; used for the cold-install validation gate. Accessed 2026-10-01.

Last changed 2026-10-07 in f77853d. Source on GitHub. Change log.

Linked from

  1. Agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.

    Fence — The lint rules, compiler diagnostics, hooks, and gate that make a bad shortcut fail instead of asking an agent to avoid it.

  2. Change log. What changed in the files served here, newest first.

    Fence — edited: feat(learn): teach cards 83 to 111 and finish the deck’s plain lines

  3. Full agent guide. An Effect stack so pure (aspirational) Kit Langton will blush.
  4. Rat Stack systems | rat-stack. The systems rat-stack ships, the standard each keeps, and how to check it.

    Fence — The lint rules, compiler diagnostics, hooks, and gate that make a bad shortcut fail instead of asking an agent to avoid it.

  5. Source change history (log.md). The generated change log as Markdown.

    Fence — edited: feat(learn): teach cards 83 to 111 and finish the deck’s plain lines