check / check (push) Waiting to run
prompts/API_POLICIES.md states sneak's rule from sneak/routewatch#199: a value in an API response is never a string with a label or unit in it. A native value is sent as that type, with its unit in the field name. The list at the top of REPO_POLICIES.md and the two code style commands in the README now name the new file. Model: opus-5-5
329 B
329 B
title, last_modified
| title | last_modified |
|---|---|
| API Policies | 2026-10-27 |
A value in an API response is never a string with a label or unit in it. A value
of a native type is sent as that type, and its unit goes in the field name, for
example _ms.
Wrong:
{ "execution_time": "0 ms" }
Right:
{ "execution_time_ms": 0 }