Repository navigation
docs(trinity): keys-only sshd step, and no host firewall by decision - #1595
Merged
Merged
Conversation
The 2026-11-13 audit found trinity's sshd taking passwords with X11 on and 17 GitHub-imported keys. build-the-sensitive-tier-host.md §3 now writes a 10-trinity.conf drop-in and proves it. security.md records why trinity has no ufw policy, unlike phoenix (ADR-0117): Docker's rules run ahead of ufw's for 443 and 53. Also fixes hardware.md's present-tense reading of ADR-0107 and the deploy gauge count (eleven, not ten). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
The runbook disables password authentication before installing and verifying Hicks’s SSH key, risking lost access, while the security documentation incorrectly marks the undeployed hardening as complete.
2 open issues
What changed in this PR
Documents SSH hardening for trinity, the sensitive-tier host, and records the decision to leave its host firewall disabled. These changes do not alter the running lab; the hardening step requires manual application.
Changes:
- Adds key-only SSH configuration, authorized-key pruning, and login verification steps.
- Documents the no-host-firewall decision and records the audit findings.
- Clarifies the pending UPS shutdown subscription and corrects the deploy-gauge count to eleven.
| File | Description |
|---|---|
stacks/observability/prometheus/rules/deploy.rules.yaml |
Corrects the gauge count in a comment; rule behavior is unchanged. |
docs/security.md |
Adds trinity’s SSH threat and host-firewall decision. |
docs/runbooks/converge-the-host.md |
Corrects the documented deploy-gauge count. |
docs/runbooks/build-the-sensitive-tier-host.md |
Adds SSH hardening and verification instructions. |
docs/hardware.md |
Clarifies that UPS-triggered shutdown is not yet configured. |
docs/changelog.md |
Records the hardening instructions, firewall decision, and prose corrections. |
Review effort: Balanced
…unapplied Review on #1595: the step disabled passwords before Hicks's key was ever installed, and security.md called an unapplied control closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What changed
build-the-sensitive-tier-host.md§3 gains a keys-onlysshdstep fortrinity(a10-trinity.confdrop-in that outranks cloud-init's, with root and X11 forwarding refused,authorized_keystrimmed toprometheusand Hicks, and both halves proved).security.mdgains a threat row that records "closed atsshd, no host firewall" fortrinityas a decision. Nothing changes on the running lab until the step is applied by hand.Why
The trinity audit of 2026-11-13 found
sshdtaking passwords, with X11 forwarding on and 17 GitHub-imported keys authorized, for an account insudo,dockerandlxd. The runbook never hardened it. It also found the host-firewall stance unwritten.phoenixtookufw(ADR-0117), but ontrinityDocker's rules run ahead ofufw's for443and53, so a policy would only cover22. The key already closes22, and the spare firewall is better off without a host policy.The same audit found two prose slips, both fixed here:
hardware.mdread ADR-0107's UPS subscription as present tense.converge-the-host.md(and a comment indeploy.rules.yaml) counted ten deploy gauges;converge.shwrites eleven,ci_fallbackincluded.Blast radius
Docs and one rules-file comment only. When the step is applied,
trinity's SSH takes keys only; a missing key inauthorized_keyswould lock that machine out, which is why the step keeps a session open and proves both halves.secrets/*.sops.yamlVerification
python3 scripts/check_docs.py:docs OK — 162 Prometheus + 21 Loki rules, 8 dashboards, 156 panels, 14 assertions../scripts/lint.sh: passed, markdownlint included. Four skipped, not run: yamllint, ruff (×2) and ansible-lint, which are unavailable here.make validatewas not run. The change is docs plus a YAML comment; CI runs the full suite.make validatepassesDeployed to the lab and confirmed working
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code