{
  "slug": "yq-adds-base64url-operators-489c178627f8",
  "title": "yq adds base64url operators",
  "tools": [
    "yq"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-09-29T04:22:30.000Z",
  "announced_at": "2026-09-29T04:22:30.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a value needs URL-safe Base64 transformation, use `@base64url` to encode it or `@base64urld` to decode it. The release identifies these operators as RFC 4648 §5; the docs do not show examples for these specific operators.",
    "examples": [
      "yq '.<field> | @base64url' <input.yml>",
      "yq '.<field> | @base64urld' <input.yml>"
    ],
    "gotchas": [
      "Version: v4.54.1",
      "@base64url (required): Encode the piped-in value as a string; the release adds this operator for RFC 4648 §5.",
      "@base64urld (required): Decode the piped-in value; the release adds this operator for RFC 4648 §5.",
      "<field> (required): Expression selecting the value to transform; the docs demonstrate piping a selected field to an encode operator.",
      "<input.yml> (required): Input file argument, following the documented operator example.",
      "Prerequisite: Encoding and decoding assume UTF-8 string content, not binary content.",
      "The operators are identified as following RFC 4648 §5."
    ]
  },
  "why_it_matters": "Encode or decode base64url values while transforming data.",
  "sources": [
    "https://github.com/mikefarah/yq/releases/tag/v4.54.1",
    "https://mikefarah.gitbook.io/yq/operators/encode-decode"
  ],
  "rank": 0.95025,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-f76fb6c53f359252-1:gate",
    "evidence_hash": "621a7166951051148655b8b6ceff570a4763dac8cc1cc8d2998a1d387b882ac8"
  },
  "review": {
    "draft_hash": "ac63480ed3aa4674433958169d7ac20d58611afd13122a0456da8fe720aa96f2",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "2 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.74 (>= 0.6 needed)."
  }
}
