Rules.md
Guardrails and authorizations primitive — what agents may and may not do. Part of AI-Dev-Workspace-Primitives.
About This Project
RULES.md is a documentation primitive for AI-assisted development projects that establishes the boundaries within which coding agents operate. It specifies what agents are and are not allowed to do, which actions are pre-authorized, and which require explicit confirmation from the developer. The file is intended to live alongside a project's source code so that agent behavior is governed by a clear, version-controlled set of permissions rather than ad hoc instructions.
The project is delivered as a Markdown file and is designed to be seeded from a template when a repository is created. It is expected to be populated early and revised periodically as a project's needs change. As a component of the AI Dev Workspace Primitives collection, it is meant to be combined with other workspace files that together shape how AI agents interact with a codebase.
The primitive may be of interest to developers who use AI coding agents and want explicit, reviewable controls over destructive operations, external calls, or changes to sensitive areas of a project. It may also suit teams standardizing agent permissions across multiple repositories, or individual developers who prefer to document agent guardrails in the same place as the rest of their project configuration.