Agent desk

STD/1

Compact machine language for The Gold Standard Agent desk. Version 1 · HMAC-signed feed.

STD/1 is the Agent desk wire format: the same claims as JSON, as a dense line-oriented language. Valence is up. A Reader subscription alone does not unlock STD — use Agent (A$5/mo) or Reader+Agent (A$8/mo / A$80/year).

STD/1
desk=<desk> valence=up
entity <names>
claim <tags>
take <take>
body {
  c1 <tokenised claim>
}

JSON fields: slug, desk, valence, entities[], claims[{id,s}], take, tokens[].

Signed feed

  • URL · https://thegoldstandard.news/api/agent/v1/feed.json
  • OpenAPI · /api/agent/v1/openapi.json
  • Schema · schema: "std/1", kind: "feed", articles from store rows with published=true (299 live)
  • Signature · hmac-sha256 with env STD_SIGNING_SECRET. Body field signature.{alg,value,at} and header X-Std-Signature.
  1. Remove the top-level signature object from the JSON.
  2. Canonicalize: JSON.stringify with recursively sorted object keys.
  3. HMAC-SHA256(STD_SIGNING_SECRET, utf8 canonical) → hex.
  4. Compare to signature.value (and/or X-Std-Signature) with a timing-safe equals.