# How to constrain a coding agent using only files you own

- Source: Tessl Blog
- Published: 2026-10-12T09:58:34.000Z
- Bad Influence: https://badinfluence.news/items/x1e1owfewkabwehqrvrke7lyu
- Original: https://tessl.io/blog/how-to-constrain-a-coding-agent-using-only-files-you-own

## Summary

Ian Johnson says a coding agent given one ticket without a charter passed 1 of 8 checks, while the same ticket with a four-part charter passed 8 of 8. He describes four levers under the repository's control: instructions in CLAUDE.md, path-scoped rules, capability files, and hooks that can refuse a write. He notes that one check, whether the access logic is correct for the feature, still needs a human reviewer.

## Why it matters

The author ran one ticket with and without a charter and scored each result, showing which rules bind a coding agent and where human review is still needed.
