From 12a4af4ac8d7b9b6420dc1df2e72fabbcedbfe17 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Wed, 21 Oct 2026 15:30:54 -0700 Subject: [PATCH 1/2] chore: claim Quest gate pin Co-Authored-By: GPT-6 From d3432eda31ff09f2b07b79a498e79496f456cfd9 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Wed, 21 Oct 2026 15:34:01 -0700 Subject: [PATCH 2/2] build(nix): pin Quest with the local command gate Advance the Quest input to the merged gate implementation, verify command help and exact/nested exit statuses, and complete the pin quest. Repository entrypoint adoption remains separate. Co-Authored-By: GPT-6 --- flake.lock | 8 ++++---- flake.nix | 2 +- quest/m0/ci/README.md | 1 - quest/m0/ci/local-gate.md | 4 ---- quest/m0/ci/quest-gate-pin.md | 17 ----------------- 5 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 quest/m0/ci/quest-gate-pin.md diff --git a/flake.lock b/flake.lock index 0f0ac9a871d..153e7693046 100644 --- a/flake.lock +++ b/flake.lock @@ -59,17 +59,17 @@ ] }, "locked": { - "lastModified": 1792452386, - "narHash": "sha256-Dopz67vAR4FvlQv3PkupwbXbtLNMHBll1QyClEBH3QA=", + "lastModified": 1792615929, + "narHash": "sha256-sm5clS5dQPeAXL0qwgSmVN7TjOCZ4UPMZHHfz+HdxWk=", "owner": "kixelated", "repo": "quest", - "rev": "a5b83a3dfd14492d62011afdb3c3893fcebbcca6", + "rev": "a73fb295a3679ff54205af68a1a7bb8ec5bdc7af", "type": "github" }, "original": { "owner": "kixelated", "repo": "quest", - "rev": "a5b83a3dfd14492d62011afdb3c3893fcebbcca6", + "rev": "a73fb295a3679ff54205af68a1a7bb8ec5bdc7af", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 7c2406df250..685d312eae1 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ # The quest CLI, which also serves the quest guide and skills the stubs in # .claude/skills call. Bump the rev to upgrade them. quest = { - url = "github:kixelated/quest/a5b83a3dfd14492d62011afdb3c3893fcebbcca6"; + url = "github:kixelated/quest/a73fb295a3679ff54205af68a1a7bb8ec5bdc7af"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-utils.follows = "flake-utils"; }; diff --git a/quest/m0/ci/README.md b/quest/m0/ci/README.md index 5bbf504aa17..57911d7f46e 100644 --- a/quest/m0/ci/README.md +++ b/quest/m0/ci/README.md @@ -75,7 +75,6 @@ The historical samples locate candidates; they are not controlled benchmarks. - [Require the release gate](/quest/m0/ci/release-gates.md) - condition: the next cut carries `release-gate.yml`; then release PRs require it - [CI pipeline audit](/quest/m0/ci/audit.md) - every queue and nightly job earns its minutes, and the Rust cache reuses unchanged crates -- [Pin Quest's gate](/quest/m0/ci/quest-gate-pin.md) - make shared command admission available - [Share local check capacity](/quest/m0/ci/local-gate.md) - gate expensive phases and bound internal fanout - [Verify the R2 Rust cache](/quest/m0/ci/mbx-r2-verify.md) - condition: the maintainer bootstrap; then measure hits, restore time, and expiry - [Verify the Nix cache](/quest/m0/ci/nix-cache-verify.md) - condition: the `nix.moq.dev` PR merges; then confirm CI and releases use it and retire Cachix diff --git a/quest/m0/ci/local-gate.md b/quest/m0/ci/local-gate.md index 2e8e57eb0ad..e640c236061 100644 --- a/quest/m0/ci/local-gate.md +++ b/quest/m0/ci/local-gate.md @@ -22,7 +22,3 @@ also bounds its own worker fanout so it does not overwhelm the desktop. separately from admission delay. Choose defaults from those measurements. - Explain direct invocation and configuration in existing developer docs. Preserve selected tests and their failure behavior. - -## Required - -- [Pin the gate](/quest/m0/ci/quest-gate-pin.md) - the shared primitive is available in the devshell diff --git a/quest/m0/ci/quest-gate-pin.md b/quest/m0/ci/quest-gate-pin.md deleted file mode 100644 index 354cc401087..00000000000 --- a/quest/m0/ci/quest-gate-pin.md +++ /dev/null @@ -1,17 +0,0 @@ -# [S] Pin Quest's expensive-command gate - -## Goal - -The pinned Quest CLI provides `quest gate` so local entrypoints can share CPU -admission with other repositories. This quest stays ready while awaiting the -upstream implementation. - -## Plan - -- Condition: the [Quest gate](https://github.com/kixelated/quest/blob/b87c4c0ed44d4c4b6ae2e344bfa9387004d11237/quest/m0/local-gate.md) - has landed upstream. Check its availability and advance the flake input to - a reachable upstream revision in a focused pin PR. -- Verify the pinned binary's help and small command/exit-status smoke test in - the Nix devshell. Keep adoption of repository entrypoints in its own quest. -- Decided 2026-10-15: m0, independent of worktree lifecycle and test rewrites; - the CPU gate should not wait for unrelated Quest features.