This is an automated email from the ASF dual-hosted git repository.

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/main/pr-4426-d6e660af265340b8b56e64d8ab9af273fb74a594
in repository https://gitbox.apache.org/repos/asf/iceberg-python.git

commit 87d414398fd7b1b91b488ab4a3d5c2951aab295c
Author: Fokko Driesprong <[email protected]>
AuthorDate: Thu Nov 19 18:06:34 2026 +0000

    Point agents at the Iceberg spec and Java reference implementation (#4426)
    
    * Point agents at the Iceberg spec and Java reference implementation
    
    Agents had no instruction to validate behavior against the spec, or to
    fall back to the Java implementation where the spec is ambiguous.
    
    * Address review: drop link-check disables, add REST spec, broaden Java 
guidance
    
    Co-authored-by: Isaac <[email protected]>
    
    ---------
    
    Co-authored-by: Isaac <[email protected]>
---
 AGENTS.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/AGENTS.md b/AGENTS.md
index 3dc1d79c7..7493fdc6f 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -52,6 +52,12 @@ lives under `pyiceberg/`, organized by concern rather than 
by engine:
 - Use domain-specific exceptions from pyiceberg/exceptions.py for 
Iceberg-specific error conditions. For invalid arguments/values, ValueError is 
acceptable. Don't raise bare Exception.
 - Comments should be succinct and follow the same style of comments found in 
the rest of the codebase.
 
+### Spec Compliance
+
+- The [Iceberg 
spec](https://github.com/apache/iceberg/blob/main/format/spec.md) is the source 
of truth. Check changes to metadata, manifests, schemas, partitioning, 
transforms, or the commit path against it, and cite the relevant section when 
behavior is non-obvious.
+- Changes to the REST catalog (`pyiceberg/catalog/rest/`) must follow the 
[REST catalog OpenAPI 
spec](https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml).
+- Check every change, including catalog work, against the [Java reference 
implementation](https://github.com/apache/iceberg). Where the spec is ambiguous 
or silent, follow Java. Deviations from Java need a justification in the PR.
+
 ### Dependencies
 
 - Large/integration libraries must be **optional extras** in `pyproject.toml`, 
not core `dependencies`.

Reply via email to