Skip to content

quest: retire-infra-nix writes the shared caches through kixel.quest's OIDC exchange - #9766

Merged
kixelated merged 1 commit into
mainfrom
quest-plan/retire-infra-nix-oidc
Nov 27, 2026
Merged

kixelated merged 1 commit into
mainfrom
quest-plan/retire-infra-nix-oidc

Conversation

@kixelated

@kixelated kixelated commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Kixel Quest's shared Nix cache quest (quest/m0/nix-cache.md) changed on 2026-11-27: CI writes through a GitHub Actions OIDC exchange at kixel.quest, and the org signing and B2 write secrets are being deleted. quest/m0/ci/retire-infra-nix.md still assumed stored secrets, and its shared mbx bucket pointed at no quest.

Approach

Quest-only edit to quest/m0/ci/retire-infra-nix.md:

  • Plan: cache.yml and release-nix.yml get id-token: write and hold no signing or B2 secrets; the Rust cache action takes its mbx-public key from the same exchange; flake.nix trusts both nix.moq.dev-1 (copied release paths) and the new nix.kixel.quest-2 key; afterwards the NIX_SIGNING_KEY, NIX_B2_*, and MBX_B2_* secrets, their B2 keys, the mbx-moq-dev bucket, and the then-empty cache-write Environment go.
  • Goal names the shared bucket mbx-public.
  • Waiting splits into the Nix cache and the new shared mbx bucket quest, quest/m0/mbx-public.md, planned in kixel-ai/kixel.quest#229.

Compatible with moq-dev/moq#9760, which removes this quest's last Related line: this PR leaves that line alone, so the two merge cleanly.

Impact

None: quest text only.

Alternatives

  • Keep the cache-write Environment as a second boundary: rejected, since the exchange decides who writes and the Environment would hold no secret.

Follow-ups

None. A note for quest/m0/ci/mbx-b2-verify.md: if moq moves to mbx-public before that quest's 30-day numbers are in, it measures the shared bucket instead.

Validation

  • quest check: 567 documents ok.

Models

Size: XS
Implementer: Claude Code, claude-opus-5-5, unknown

(Written by Claude Opus 5.5)

Review

Rewritten by quest review after each round.

  • Head: 720c2be
  • Base: origin/main at 6d321ea
  • Risk: low, Nothing a consumer or peer could break: the only changed file is the quest plan `quest/m0/ci/retire-infra-nix.md`, which edits prose about future CI cache and secret handling without touching workflows, code, or the risk file. If the plan text is wrong, the cost is a misleading plan for maintainers, undone by reverting the one file.
  • Classified: low by Claude Code, claude-haiku-5-5, low effort, session 6e7fdb98-ae14-44b0-b62b-5d12200cde24
  • Class: quest
  • Risk file: bb7b1c0de60b
  • Local review: none, since the head is low risk

…s OIDC exchange

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated
kixelated marked this pull request as ready for review November 27, 2026 12:50
@kixelated
kixelated added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 541c083 Nov 27, 2026
5 of 6 checks passed
@kixelated
kixelated deleted the quest-plan/retire-infra-nix-oidc branch November 27, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant