{
  "slug": "dagger-workspace-lockfiles-support-selected-lookups-5322bc755080",
  "title": "dagger workspace lockfiles support selected lookups",
  "tools": [
    "dagger"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-26T16:55:08.000Z",
  "announced_at": "2026-05-26T16:55:08.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When a Dagger workspace needs reproducible selected lookups, run with `--lock live`, `--lock pinned`, or `--lock frozen` to control lookup resolution. Run `dagger lock update` to refresh recorded entries; in v0.21.0 it also creates `.dagger/lock` when missing.",
    "examples": [
      "dagger --lock live <command> [arguments...]",
      "dagger --lock pinned <command> [arguments...]",
      "dagger --lock frozen <command> [arguments...]"
    ],
    "gotchas": [
      "Version: v0.21.0",
      "--lock live: Opts into live resolution and records live values.",
      "--lock pinned: Opts into using recorded pins where available and resolving the rest live.",
      "--lock frozen: Opts into resolution only from `.dagger/lock`.",
      "dagger lock update: Refreshes entries already recorded in `.dagger/lock`; creates the file when it is missing.",
      "Locking is opt-in.",
      "The lockfile applies to selected lookups such as `container.from` and Git refs.",
      "Docs conflict: Current Dagger lockfile documentation describes `dagger.lock` and newer lock-mode behavior; it differs from v0.21.0's `.dagger/lock` paths, so newer behavior was excluded."
    ]
  },
  "why_it_matters": "When you need reproducible selected lookups such as `container.from` or Git refs in a Dagger workspace, configure and update workspace locks.",
  "sources": [
    "https://github.com/dagger/dagger/releases/tag/v0.21.0"
  ],
  "rank": 0.92055,
  "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-b1ea36bb7ce498cb-1:gate",
    "evidence_hash": "84f090c7f3c4b3a3a0cf3d8fc0ee3424100d813ef53f797ed266dd7fe96bed7b"
  },
  "review": {
    "draft_hash": "da9535a0f44a643d72c33a5d516fd1cfbb89810c86515f54747a5da87b061621",
    "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.92 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
