{
  "kind": "section",
  "shell": {
    "inset": "contained",
    "density": "section",
    "surface": "plate"
  },
  "block": {
    "type": "terminal",
    "variant": "tabs",
    "title": "One diff, three places",
    "group": "where",
    "tabs": [
      {
        "label": "CLI",
        "lines": [
          {
            "cmd": "diffkeel diff prod",
            "space": "after"
          },
          {
            "out": "rendered prod from 3 files in 41 ms"
          },
          {
            "row": [
              "api.yaml",
              "timeout 30s to 5s"
            ]
          },
          {
            "row": [
              "worker.yaml",
              "queue.concurrency 8 to 16"
            ]
          },
          {
            "row": [
              "prod.env",
              "DB_PASSWORD changed, value masked"
            ]
          },
          {
            "gap": "sm"
          },
          {
            "out": "3 changes, 1 secret, 0 reviews",
            "cursor": true
          }
        ]
      },
      {
        "label": "CI",
        "lines": [
          {
            "cmd": "diffkeel check --env prod --require-review",
            "space": "after"
          },
          {
            "out": "3 changes in prod need a review"
          },
          {
            "row": [
              "api.yaml",
              "timeout 30s to 5s"
            ]
          },
          {
            "row": [
              "worker.yaml",
              "queue.concurrency 8 to 16"
            ]
          },
          {
            "row": [
              "prod.env",
              "DB_PASSWORD changed, value masked"
            ]
          },
          {
            "gap": "sm"
          },
          {
            "out": "exit 1: deploy stopped",
            "cursor": true
          }
        ]
      },
      {
        "label": "Config",
        "lines": [
          {
            "text": "# diffkeel.toml"
          },
          {
            "text": "[env.prod]"
          },
          {
            "text": "files = [\"base.yaml\", \"prod.yaml\", \"prod.env\"]"
          },
          {
            "text": "live  = \"./scripts/read-live-config.sh prod\""
          },
          {
            "text": "mask  = [\"DB_PASSWORD\", \"API_TOKEN\"]"
          },
          {
            "text": "review = \"required\""
          }
        ],
        "pre": true
      }
    ]
  }
}
