Skip to content

openclaw: gateway home module applies to all hosts but sops secrets are amd-only — audit/scope the Intel host #2875

Open

Description

@dezren39

Problem

home/openclaw is imported unconditionally for user on every host that includes nixos/users/user (home/user/default.nix:21-22), so the openclaw-gateway user service is defined on both Framework hosts. But the sops-nix provisioning for its tokens (nixos/hosts/amd-openclaw-secrets.nix, landed by the #1558 fix) is imported only on amd, and the wrapper paths now point at /run/secrets/openclaw/*.

Surfaced by: Codex review finding (P2) on PR #2871, dispositioned there with the evidence below.

Why it can't be fixed by just importing the module on nixos

  • secrets/sops/common/bws.yaml has exactly one age recipient (age125ac…, .sops.yaml anchor &laptop-framework). Host sops keys derive from each host's SSH host key (nixos/sops/default.nix), so the Intel host cannot decrypt the file; importing the module there would fail its activation.
  • .sops.yaml already TODOs this: "separate keys for other hosts, don't share allow all hosts to decrypt certain secrets".

Acceptance criteria

  • Determine whether the nixos (Intel) host actually runs the OpenClaw gateway (service state, whether ~/.secrets/openclaw/* was ever provisioned there).
  • If it does: add the Intel host's age key as a recipient for the openclaw entries (per-host key work in .sops.yaml), import the secrets module on that host (rename amd-openclaw-secrets.nix if it becomes shared), and verify /run/secrets/openclaw/* materialize there.
  • If it does not: scope the OpenClaw home module (or at least its gateway service) to the amd host so the Intel host carries no broken service definition.
  • Either way, close the loop on PR fix(openclaw): land sops-nix secrets on main + repoint wrappers to /run/secrets/openclaw (#1558) #2871's Codex thread with the outcome.

Refs #1558, PR #2871.

Activity

  1. added
    kind/bug
    area/nixos
    area/home
    priority/normal
    effort/s
    status/needs-triage
    source/queue-worker
    meta/enriched
    on Oct 30, 2026
  2. dezren39 commented on Oct 31, 2026

    @dezren39
    MemberAuthor

    Intake review

    Related: PR #2871 / #1558 (sops secrets landed on amd only), Codex P2 dispositioned there. Risks: importing the secrets module on nixos unchanged breaks (single age recipient); gating the home module changes service presence per host — confirm that is the intent per host. Suggested approach: gate home/openclaw import on the same condition that provisions its secrets, or provision per-host secrets explicitly.

    — Fleet monitor intake enrichment (protocol §5): verified still live this run (no merged PR resolves it), labels normalized, acceptance criteria already present. Marked meta/enriched.

  3. added
    queue/queued
    task/triage
    on Nov 3, 2026
  4. developing-today commented on Nov 3, 2026

    @developing-today
    Contributor

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  5. added
    work/assigned
    queue/claimed
    on Nov 3, 2026
  6. 42 remaining items

  7. added
    user/review
    queue/claimed
    work/assigned
    status/in-progress
    and removed
    queue/blocked
    queue/claimed
    work/assigned
    on Nov 16, 2026
  8. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  9. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · re-triage findings (task 17504, lane code-f, 2026-11-16)

  10. removed
    status/in-progress
    queue/claimed
    work/assigned
    on Nov 16, 2026
  11. removed their assignment
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/homearea/nixoseffort/skind/bugmeta/enrichedpriority/normalsource/queue-workertask/triageuser/review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions