clean up agent instructions, clarify rules on limit accounting

Merged
DA
16d ago
+1250-1267

Fold CLAUDE.md into AGENTS.md, try to set up clear rules for resource limit accounting.


Summary by cubic

Consolidates agent instructions into AGENTS.md and documents the cooperative resource-limit check policy.

  • Folds CLAUDE.md into AGENTS.md and updates all references in tooling, so agent guidance lives in one file.
  • Adds documentation and resource-limit policies to CONTRIBUTING.md that apply to agent-authored changes too.
  • Adds cooperative memory and time check guidance to docs/resource-limits.md, defining which native operations must use resource-tracked buffers or time checks and which may rely on hard limits.
  • Simplifies docs/limitations/AGENTS.md to defer to the contributor documentation policy.