Skip to content

docs(phoenix): close the audit's open items (ADR-0143, ADR-0144) - #1782

Merged
Gerrrt merged 13 commits into
mainfrom
gerrrt/phoenix-audit-closeout
Nov 28, 2026
Merged

Gerrrt merged 13 commits into
mainfrom
gerrrt/phoenix-audit-closeout

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

What changed

Two ADRs and the runbook steps that apply them, from the 2026-11-27 recheck of phoenix:

  • ADR-0143 adds phoenix (VMID 170) to the nightly PBS job, tagged backup, and amends ADR-0053's list of what is backed up. build-the-backup-guest.md §8 and provision-lab-guests.md's recovery section follow it.
  • ADR-0144 accepts agent sessions on phoenix and refuses every MCP server there with a root-owned /etc/claude-code/managed-settings.json (allowManagedMcpServersOnly: true, allowedMcpServers: []). build-the-jumpbox.md §6a writes it.
  • build-the-jumpbox.md §6 gains make install-agent-collectors for phoenix.
  • The packer and tofu install blocks in build-the-lab-templates.md and provision-lab-guests.md read V= from compose.yaml instead of naming a tag.
  • security.md records both decisions as not yet applied. README counts 144 ADRs, and the changelog has a 2026-11-27 entry.

Why

  • tofu/state/lab.tfstate is the one file on phoenix that cannot be rebuilt from this repository. ADR-0053 left phoenix out of backups, so provision-lab-guests.md's "take it from phoenix's backup" pointed at nothing.
  • The agent session on phoenix launched two MCP servers through npx, unpinned, as a user with passwordless sudo on the host that owns the lab domain. No ADR covered agents on phoenix.
  • phoenix's textfile-collector directory was empty, so SecurityUpdatesPending and RebootRequired could not fire for it. The jumpbox runbook never installed the collectors.
  • The packer and tofu bumps of 2026-11-08 (chore(deps): Bump hashicorp/packer from 1.16.1 to 1.16.2 in /stacks/observability #1313, chore(deps): Bump opentofu/opentofu from 1.13.1 to 1.13.9 in /stacks/observability #1319) did not move the runbooks' literal V= lines, and phoenix stayed at 1.16.1 and 1.13.1. It was reinstalled at the pinned 1.16.2 and 1.13.9 on 2026-11-27.

Blast radius

phoenix and the backup job on Saruman, once applied, and nothing until then.

  • The nightly job grows by one 30 GB guest, deduplicated on erebor. Its backup holds phoenix's secrets, encrypted with golem.enc before they leave Saruman.

  • Sessions on phoenix lose their local MCP tools (pdf, actual-budget). Connectors that the desktop app delivers from claude.ai are not affected.

  • No change to network segmentation or firewall rules

  • No new port published to a VLAN that could not already reach the service

  • No credential added outside secrets/*.sops.yaml

Verification

Run on phoenix, which has no Docker daemon:

  • python3 scripts/check_docs.py printed docs OK.

  • ./scripts/lint.sh passed with 8 checks skipped and not run: yamllint, markdownlint-cli2, ruff (twice), actionlint, zizmor, ansible-lint and editorconfig-checker. CI runs them.

  • The new V= lines, run alone, print 1.16.2 and 1.13.9.

  • make validate was not run. This change touches docs only.

  • make validate passes

  • Deployed to the lab and confirmed working (ADR-0143 from §8 on Saruman and ADR-0144 from §6a, after merge)

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

ADR-0142 adds phoenix (170) to the nightly PBS job, because its encrypted
OpenTofu state is in no repository and nothing backed it up.

ADR-0143 accepts agent sessions on phoenix and refuses every MCP server
there with a root-owned Claude Code managed-settings file.

build-the-jumpbox §6 gains the textfile-collector step, §6a the managed
settings. The packer and tofu install blocks read V= from compose.yaml,
which had moved two releases past them on 2026-11-08.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gerrrt and others added 4 commits November 27, 2026 05:47
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…closeout

# Conflicts:
#	README.md
#	docs/changelog.md
Main took ADR-0142 in #1783 while this branch was open. The backup decision
becomes ADR-0143 and the agent decision ADR-0144; only this PR's own lines
change, and README counts 144.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt Gerrrt changed the title docs(phoenix): close the audit's open items (ADR-0142, ADR-0143) docs(phoenix): close the audit's open items (ADR-0143, ADR-0144) Nov 27, 2026
@Gerrrt
Gerrrt merged commit dc104a7 into main Nov 28, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the gerrrt/phoenix-audit-closeout branch November 28, 2026 21:45
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