{
  "slug": "glab-securefile-can-update-existing-files-2b0c8561d549",
  "title": "glab securefile can update existing files",
  "tools": [
    "glab"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-21T16:03:53.978Z",
  "announced_at": "2026-07-21T16:03:53.978Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a project already has the secure file, run `glab securefile update <name> <path> [flags]` to replace its contents. If the contents are unchanged, no update occurs; the update changes the file ID, so later downloads should use `--name`.",
    "examples": [
      "glab securefile update \"<name>\" \"<local-path>\"",
      "glab securefile update \"<name>\" \"<local-path>\" -y",
      "glab securefile update \"<name>\" \"<local-path>\" --repo <owner>/<repo>"
    ],
    "gotchas": [
      "Version: v1.109.0",
      "<name> (required): Existing secure file's name.",
      "<path> (required): Local path to the replacement file.",
      "-y, --yes: Skip the confirmation prompt.",
      "-R, --repo <string>: Select another repository; accepts OWNER/REPO, GROUP/NAMESPACE/REPO, a full URL, or a Git URL."
    ]
  },
  "why_it_matters": "Update an existing secure file through glab.",
  "sources": [
    "https://gitlab.com/gitlab-org/cli/-/releases/v1.109.0",
    "https://docs.gitlab.com/ja-jp/cli/securefile/update/"
  ],
  "rank": 0.98019,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3-rejudge+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-60b39813dd66abcd-2:rescue",
    "evidence_hash": "c9083248a75d333b82fbbf6d9bc2493519515c429e8ed6849ea1177e200edeec"
  },
  "review": {
    "draft_hash": "97d0adc4284e95c532db6dca2c54d6acc16798a71efa444219975cccd7092e5c",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:rescue",
    "reason": "Rescue path: first rejected only because the extracted card lacked usage; judged again on the enriched card, 3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.98 >= 0.9; 2 needed) and Jev gave 0.73 (>= 0.6 needed)."
  }
}
