Skip to content

docs(trinity): re-check after the audit; patch-state by name, ADR-0123, #404/#132 current - #1602

Merged
Gerrrt merged 2 commits into
mainfrom
docs/trinity-recheck
Nov 21, 2026
Merged

Gerrrt merged 2 commits into
mainfrom
docs/trinity-recheck

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 21, 2026

Copy link
Copy Markdown
Owner

What changed

Why

A live re-check of trinity after the 2026-11-13 audit's fixes found that homelab-patch-state was never installed there. Only prune-images was, on 2026-10-07, so RebootRequired and the pending-update alerts could not see the host. The bare install-agent-collectors would also install the agent smart-state, which writes smart-state-trinity.prom like smart-state-sensitive does. The same re-check found the current-state text behind the host: the sshd row, the #404 list and #132.

Closes #132.

Blast radius

Docs only. Nothing deployed changes. The collector install is a manual step from prometheus, run after merge.

Verification

  • python3 scripts/check_docs.py: docs OK, 123 ADRs.
  • ./scripts/lint.sh: passed, 4 skipped (yamllint, ruff ×2, ansible-lint unavailable here).
  • check_close_keywords.py on the diff: pass.
  • On trinity: no apt-patch-state.prom in the textfile directory, no homelab-patch-state unit; the prune-images units are dated 2026-10-07. A password-only SSH probe gets Permission denied (publickey); authorized_keys holds 3 keys. .sops.yaml's sensitive rule holds two recipients.
  • Not run: make validate (docs-only change).

🤖 Generated with Claude Code

#404/#132 current

The build runbook's §9 installs the agent collectors by name: patch-state
was never installed on trinity, and the bare form would also install an
agent smart-state racing smart-state-sensitive on one file. ADR-0123
records that Claude Code stays on trinity. security.md's login row says the
sshd step is applied. The roadmap's #404 list keeps only ADR-0023's
Independent test, and #132 leaves it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 21, 2026 15:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documentation misstates container isolation and remote SSH authority, while its retained-key policy conflicts with the rebuild procedure.

3 open issues
What changed in this PR

This docs-only PR updates trinity’s operating guidance after an audit re-check and records the decision to retain Claude Code sessions on the sensitive-tier host. It changes no deployed configuration.

Changes:

  • Names the collectors to install, avoiding duplicate SMART collection while adding patch-state monitoring.
  • Records applied SSH hardening, the second encryption recipient, and the agent-session decision.
  • Narrows the remaining milestone gate, removes #132 from the roadmap, and updates the changelog and ADR count.
File Description
README.md Updates the ADR count to 123.
docs/​security.md Records applied SSH hardening, retained keys, and agent sessions.
docs/​runbooks/​build-the-sensitive-tier-host.md Specifies collectors and records the completed second-recipient step.
docs/​roadmap.md Keeps the remaining Independent test and removes #132.
docs/​changelog.md Records the re-check findings and documentation corrections.
docs/​adr/​0123-keep-agent-sessions-on-trinity.md Documents retained agent sessions, operating constraints, and accepted risks.

Review effort: Balanced

Comment thread docs/security.md Resolved
@Gerrrt
Gerrrt enabled auto-merge (squash) November 21, 2026 16:21
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Gerrrt
Gerrrt merged commit 6d917c1 into main Nov 21, 2026
9 checks passed
@Gerrrt
Gerrrt deleted the docs/trinity-recheck branch November 21, 2026 16:33
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.

Sensitive tier: Immich — the service ADR-0008 named as the cost of this decision

2 participants