Give every API value with a unit as a number (closes #199) #207

Merged
clawbot merged 1 commits from issue-199-numeric-api-values into next 2026-10-27 20:19:01 +01:00
1 Commits
Author SHA1 Message Date
sneak 7752950c84 Give every API value with a unit as a number (closes #199)
check / check (push) Waiting to run
A value with a unit is now a number, and its field name ends in the
unit, as the vendored API_POLICIES.md requires. @meta.execution_time
becomes execution_time_ms. In the stats answers, uptime,
connection_duration, memory_usage and whois_stats.current_interval
become uptime_seconds, connection_duration_seconds, memory_usage_bytes
and whois_stats.current_interval_seconds. connection_duration_seconds
is null while the feed is not connected. The status page formats the
numbers itself. REPO_POLICIES.md is re-vendored from the same
sneak/prompts commit.

Model: opus-5-5
2026-10-27 19:06:07 +00:00