Deploy and validate Redview MCP on the NixOS fleet #290

Closed
opened 2026-10-08 20:29:34 +01:00 by nimmo · 5 comments
Owner

Depends on #289.

Acceptance checklist:

  • Provision the existing Redview direct API key in the dedicated fleet-scoped SOPS client file without logging it or changing worker credentials.
  • Verify production /mcp initialize, tools/list and one harmless read using X-Api-Key over the selected ingress.
  • Test-activate on Electra using just test and validate generated harness configurations.
  • Complete a genuine deployment and a no-op follow-up; inspect clients on Electra, Lena, Vega and Lyra.
  • Record deployment revision and evidence before closing either issue.

No library mutation, key rotation or service migration is needed.

Depends on #289. Acceptance checklist: - Provision the existing Redview direct API key in the dedicated fleet-scoped SOPS client file without logging it or changing worker credentials. - Verify production /mcp initialize, tools/list and one harmless read using X-Api-Key over the selected ingress. - Test-activate on Electra using just test and validate generated harness configurations. - Complete a genuine deployment and a no-op follow-up; inspect clients on Electra, Lena, Vega and Lyra. - Record deployment revision and evidence before closing either issue. No library mutation, key rotation or service migration is needed.
Author
Owner

User provisioned secrets/redview-mcp.yaml with the expected redview/mcp/api-key structure. Confirmed the value is encrypted and the seven recipients exactly match Electra, Lena, Vega, Lyra and three recovery identities. Credential committed locally at 95375b2 on feat/redview-mcp-fleet; nothing published.

nix flake check passes with the actual staged credential and enabled client registrations. Full Electra build is in progress.

Authenticated live probe could not run: this agent session has no usable SOPS decryption identity. No values were logged. Test activation needs operator assistance: the mandated just test recipe uses sudo -v and sudo switch-to-configuration, while AGENTS.md permits agent sudo commands only for nixos-rebuild. After operator just test, the user-owned /run/secrets/redview-mcp-api-key will allow a read-only MCP probe. Fleet deployment and no-op follow-up remain pending.

User provisioned secrets/redview-mcp.yaml with the expected redview/mcp/api-key structure. Confirmed the value is encrypted and the seven recipients exactly match Electra, Lena, Vega, Lyra and three recovery identities. Credential committed locally at 95375b2 on feat/redview-mcp-fleet; nothing published. nix flake check passes with the actual staged credential and enabled client registrations. Full Electra build is in progress. Authenticated live probe could not run: this agent session has no usable SOPS decryption identity. No values were logged. Test activation needs operator assistance: the mandated just test recipe uses sudo -v and sudo switch-to-configuration, while AGENTS.md permits agent sudo commands only for nixos-rebuild. After operator just test, the user-owned /run/secrets/redview-mcp-api-key will allow a read-only MCP probe. Fleet deployment and no-op follow-up remain pending.
Author
Owner

Full Electra build completed successfully with the provisioned encrypted credential, including base, igpu and dgpu. Together with nix flake check and the transport regression tests, local validation is complete. Operator canary via just test, authenticated MCP reads, publication/review and fleet deployment remain pending. Local branch is clean at 95375b2.

Full Electra build completed successfully with the provisioned encrypted credential, including base, igpu and dgpu. Together with nix flake check and the transport regression tests, local validation is complete. Operator canary via just test, authenticated MCP reads, publication/review and fleet deployment remain pending. Local branch is clean at 95375b2.
Author
Owner

Operator ran just test on Electra's igpu tier. Home Manager is active/exited with Result=success; the new user-owned credential is installed. Live authenticated HTTPS MCP acceptance now passes: initialize reports redview 2.6.0, tools/list discovers 57 tools, and read-only get_stats succeeds without library data or credentials being logged. Codex mcp get confirms native HTTP with env_http_headers.X-Api-Key=REDVIEW_MCP_API_KEY and no bearer authentication.

Reviewed the operator's full build log: no build failures. Repeated NTFS utility/manpage collision warnings arise from modules/hardware/removable-storage.nix explicitly adding ntfs3g while pinned NixOS ntfs.nix supplies ntfsprogs-plus on the current kernel; repeats across all three Electra tiers. Gawk's gawknotes.info exists but has no Info directory entry, explaining install-info's nonfatal documentation warning. stdenv.isLinux/isDarwin warnings are upstream deprecations. None is caused by the Redview MCP addition; redundant NTFS package cleanup can be a separate focused change.

Canary accepted. Publication/review, persistent fleet deployment, and genuine no-op follow-up remain pending; issues stay open.

Operator ran just test on Electra's igpu tier. Home Manager is active/exited with Result=success; the new user-owned credential is installed. Live authenticated HTTPS MCP acceptance now passes: initialize reports redview 2.6.0, tools/list discovers 57 tools, and read-only get_stats succeeds without library data or credentials being logged. Codex mcp get confirms native HTTP with env_http_headers.X-Api-Key=REDVIEW_MCP_API_KEY and no bearer authentication. Reviewed the operator's full build log: no build failures. Repeated NTFS utility/manpage collision warnings arise from modules/hardware/removable-storage.nix explicitly adding ntfs3g while pinned NixOS ntfs.nix supplies ntfsprogs-plus on the current kernel; repeats across all three Electra tiers. Gawk's gawknotes.info exists but has no Info directory entry, explaining install-info's nonfatal documentation warning. stdenv.isLinux/isDarwin warnings are upstream deprecations. None is caused by the Redview MCP addition; redundant NTFS package cleanup can be a separate focused change. Canary accepted. Publication/review, persistent fleet deployment, and genuine no-op follow-up remain pending; issues stay open.
Author
Owner

User authorized a focused timeout correction directly on main after the reviewer exhausted its 900-second limit. Published 61eac82: provider.timeout_seconds=1800 and workflow timeout-minutes=70. YAML lint and the two-pass budget check pass; exactly two configuration lines changed.

Confirmed MR #291 now has base SHA 61eac82, then dispatched ai-review.yml from main with pull_request=291 so the new trusted configuration and workflow deadline apply. Existing nonfatal build warnings remain observations only, per the user's instruction.

User authorized a focused timeout correction directly on main after the reviewer exhausted its 900-second limit. Published 61eac82: provider.timeout_seconds=1800 and workflow timeout-minutes=70. YAML lint and the two-pass budget check pass; exactly two configuration lines changed. Confirmed MR #291 now has base SHA 61eac82, then dispatched ai-review.yml from main with pull_request=291 so the new trusted configuration and workflow deadline apply. Existing nonfatal build warnings remain observations only, per the user's instruction.
Author
Owner

Scheduled 11:00 UK acceptance check completed on 2026-10-09 after MR #291 merged as af0ad19e61.

just fleet-status confirms Electra (igpu), Vega and Lyra remain at af0ad19, clean against main, with unchanged deployment timestamps from the morning baseline. Nonprivileged systemd journals confirm genuine successful activation followed by actual no-op auto-update runs; each no-op explicitly reports Nothing changed in pull, system is current (HEAD=af0ad19e619633fd51e0348cd09d64bc08afd00a) and exits successfully.

Host Profile installed Switch completed No-op completed
Electra igpu 08:11:46 BST 08:11:51 BST 10:14:26 BST
Vega 08:13:01 BST 08:13:05 BST 10:00:19 BST
Lyra 08:12:00 BST 08:12:05 BST 10:11:12 BST

Running and persistent profiles agree on Vega and Lyra. Electra's running profile equals the persistent base profile's igpu specialisation. Home Manager is active/exited with Result=success and ExecMainStatus=0 on all three. The user-owned Redview credential is readable with mode 0400.

On each of the three hosts, verified installed Codex, OpenCode, Pi and Antigravity registrations, environment/header mappings and launcher credential exports; Antigravity's runtime header matches the secret in memory and its config has mode 0600. Each host independently passed authenticated HTTPS initialize (Redview 2.6.0), tools/list (57 tools) and harmless get_stats. No credential values or library data were printed, and no library mutations, key rotation or forced deployment occurred.

User explicitly waived Lena as a blocker because it is rarely online; live acceptance covers Electra, Vega and Lyra. Lena happened to be online at this check and fleet-status shows af0ad19 deployed at 09:05:59 BST, but full harness/no-op acceptance was not performed there. Its running kernel differs from the installed generation (reboot pending), unrelated to Redview. Nova is outside the deployed NixOS fleet.

Prior local flake checks, regression tests, operator just test canary and MR validation/review evidence remain recorded above and in #291. Required deployment and no-op acceptance is now complete for the agreed three-host scope. Closing #290 and #289 as explicitly authorized by the user.

Scheduled 11:00 UK acceptance check completed on 2026-10-09 after MR #291 merged as af0ad19e619633fd51e0348cd09d64bc08afd00a. `just fleet-status` confirms Electra (igpu), Vega and Lyra remain at af0ad19, clean against main, with unchanged deployment timestamps from the morning baseline. Nonprivileged systemd journals confirm genuine successful activation followed by actual no-op auto-update runs; each no-op explicitly reports `Nothing changed in pull, system is current (HEAD=af0ad19e619633fd51e0348cd09d64bc08afd00a)` and exits successfully. | Host | Profile installed | Switch completed | No-op completed | |---|---|---|---| | Electra igpu | 08:11:46 BST | 08:11:51 BST | 10:14:26 BST | | Vega | 08:13:01 BST | 08:13:05 BST | 10:00:19 BST | | Lyra | 08:12:00 BST | 08:12:05 BST | 10:11:12 BST | Running and persistent profiles agree on Vega and Lyra. Electra's running profile equals the persistent base profile's igpu specialisation. Home Manager is active/exited with Result=success and ExecMainStatus=0 on all three. The user-owned Redview credential is readable with mode 0400. On each of the three hosts, verified installed Codex, OpenCode, Pi and Antigravity registrations, environment/header mappings and launcher credential exports; Antigravity's runtime header matches the secret in memory and its config has mode 0600. Each host independently passed authenticated HTTPS initialize (Redview 2.6.0), tools/list (57 tools) and harmless get_stats. No credential values or library data were printed, and no library mutations, key rotation or forced deployment occurred. User explicitly waived Lena as a blocker because it is rarely online; live acceptance covers Electra, Vega and Lyra. Lena happened to be online at this check and fleet-status shows af0ad19 deployed at 09:05:59 BST, but full harness/no-op acceptance was not performed there. Its running kernel differs from the installed generation (reboot pending), unrelated to Redview. Nova is outside the deployed NixOS fleet. Prior local flake checks, regression tests, operator just test canary and MR validation/review evidence remain recorded above and in #291. Required deployment and no-op acceptance is now complete for the agreed three-host scope. Closing #290 and #289 as explicitly authorized by the user.
nimmo closed this issue 2026-10-09 11:02:08 +01:00
Sign in to join this conversation.
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#290
No description provided.