State and document explicit, unambiguous contracts for all API endpoints and RPC messages, especially around resource identity, data encoding, and file-operation semantics. Motivation: inconsistent assumptions about where a path comes from, whether payloads are encoded, and what ReadAt/WriteAt should return lead to brittle clients and surprising server behavior. How to apply:

Checklist for reviewers and implementers:

Following these rules reduces surprises for clients, avoids implicit assumptions, and makes APIs easier to evolve and document.