store_put
Write a JSON record to a named collection, creating it on first use. Pin a stable ID to overwrite, or auto-generate. Deviation marks unusual writes as flagged or stopped.
Instructions
Write a JSON record to a named SOIL collection (created on first write).
Pass record_id to pin a stable ID — re-putting the same ID overwrites the
record; omit it to auto-generate one. deviation (radians) declares how far
this write departs from established pattern: >= 0.785 is recorded as 'flag',
= 1.571 as 'stop', otherwise 'work_quiet'. Returns {id, action}. Confined to the collections in your manifest's store_scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| record | Yes | ||
| deviation | No | ||
| record_id | No | ||
| collection | Yes |