docs(environment): scope item-shaped and deleted written paths out of documents
State documents are held only for list-shaped paths a POST, PUT or PATCH tool writes. Reads of item-shaped written paths and of paths that are only deleted stay recorded views; the guide now says so and the spec defers them to a later increment of #4933. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a5c7b9236c
commit
4e93547c84
2 files changed
+7
-2
No files matched your search
@@ -66,5 +66,7 @@ derived values and cross-type effects are not tied to the state.
|
||||
|
||||
Serving tool calls from the state, `data/reset`, `data/add` and `data/get` on
|
||||
the environment data plane, exporting the state with a bundle, and write
|
||||
effects are later increments of #4933. This PR must reference rather than
|
||||
effects are later increments of #4933. So are documents for item-shaped
|
||||
written paths (one per identity rather than per template) and for paths that
|
||||
are only deleted; until then their reads stay recorded. This PR must reference rather than
|
||||
close the issue.
|
||||
@@ -497,7 +497,10 @@ plan lists the `checked_record_ordinals`. Otherwise the tool is a recorded view
|
||||
with reason `envelope-varies`, `fields-differ` or `list-differs`; the other
|
||||
reasons are `query-body` (a query `POST`), `no-init-recording`,
|
||||
`body-unusable`, `not-entity`, `no-identity` and `query-varies` (a document
|
||||
read under several queries). A body is usable when its content type is
|
||||
read under several queries). Documents are held only for list-shaped paths
|
||||
that a `POST`, `PUT` or `PATCH` tool writes: a non-entity read of an item path
|
||||
such as `/api/files/{id}`, or of a path that is only deleted, stays recorded
|
||||
with `no-identity` or `not-entity`. A body is usable when its content type is
|
||||
JSON-like, it is UTF-8 text of at most 256 KiB, every number survives native
|
||||
conversion exactly, and no member is named `__proto__`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user