Repository navigation
docs(infra): add infrastructure overview - #6
Merged
Merged
Conversation
Introduces `docs/infrastructure.md`, a public overview of the project's
supporting infrastructure (DNS, TLS, email, signing, repository
hardening, CI scaffolding). Where `docs/operations.md` describes how to
verify these configurations externally, this document describes what
is configured and the reasoning behind each non-obvious choice.
Covers eleven decisions explicitly:
1. DNS host: Cloudflare (free plan; DNSSEC + Email Routing + Redirect
Rules + Universal SSL anycast)
2. Registrar: Namecheap (self-service DS submission; wholesale-floor
renewal pricing)
3. HSTS: preload directive set, list submission deferred until 60 days
of observation are complete
4. DMARC: p=none during the observation window before tightening
5. Project PGP key: two-year expiry as the balance between rotation
overhead and compromise blast radius
6. Commit signing: SSH, not GPG (trust root already public via GitHub's
ssh_signing_keys API; PGP stays for embargoed disclosure)
7. CAA whitelist: keep Cloudflare's auto-injected pool to avoid silent
Universal SSL renewal failures
8. Branch protection: required signatures + linear history + zero
required reviews (solo maintainer; count rises with team size)
9. Workspace with no member crates during Phase 0: locks in structural
decisions before any crate exists; CI guards self-disable when the
first crate lands
10. Toolchain pinning: resolver 3 + edition 2024 + MSRV 1.92
11. CI workspace-empty guards: Python tomllib, not bash regex
Includes a service-topology Mermaid diagram showing Namecheap →
Cloudflare → GitHub with the external-observer verification path
flowing through `docs/operations.md`.
Sanitised: no personal paths, no panel URLs, no email destinations, no
employer references. The local-only operational notes for the
maintainer's machine continue to live outside the repository.
Signed-off-by: Gonzalo Fleming <[email protected]>
`docs/operations.md` gains a one-paragraph pointer in its lead block explaining that `docs/infrastructure.md` describes what is configured and why, complementing this file's "how to verify" recipes. The existing structure and DNSSEC Mermaid in operations.md are unchanged. `README.md` gains a one-line pointer just below the Phase 0 status block, surfacing both `docs/infrastructure.md` and `docs/operations.md` to readers landing on the project for the first time. The "Open source, really" commitments and the rest of the README remain untouched. Signed-off-by: Gonzalo Fleming <[email protected]>
Adds a `[Unreleased]` → `Changed` bullet for the new `docs/infrastructure.md`, the cross-links from `README.md` and `docs/operations.md`, and the service-topology Mermaid diagram. Signed-off-by: Gonzalo Fleming <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a public, versioned infrastructure overview document that explains QuantumSSH’s Phase 0 supporting services/configuration and the rationale behind key operational choices, and cross-links it from existing docs for discoverability.
Changes:
- Added
docs/infrastructure.mddescribing DNS/TLS/email/signing/repo hardening/CI scaffolding (with Mermaid topology) and rationale for non-obvious choices. - Added cross-references to the new infrastructure doc from
README.mdanddocs/operations.md. - Updated
CHANGELOG.mdto note the new documentation.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| README.md | Adds a pointer to infrastructure vs. operations verification docs. |
| docs/operations.md | Adds a short cross-reference to the new infrastructure rationale doc. |
| docs/infrastructure.md | New infrastructure/rationale overview (service topology, posture, and rationale). |
| CHANGELOG.md | Records the addition of the new infrastructure overview doc. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+355
to
+360
| later. MSRV 1.92 is what the project's `rust-toolchain.toml` pins to | ||
| stable as of the project's creation; the project has no downstream | ||
| consumers to negotiate a lower floor with, and a 1.92 baseline gives | ||
| access to all stabilised features the project will need for the | ||
| cryptographic implementations of Phase 1+ without conditional | ||
| compilation. |
Comment on lines
+369
to
+377
| The three CI workflows (`ci.yml`, `audit.yml`, `deny.yml`) skip their | ||
| cargo invocations when the workspace has no members. The skip | ||
| predicate is implemented as a four-line Python script that reads | ||
| `Cargo.toml` with the standard-library `tomllib` module and counts | ||
| `workspace.members`. The alternative — parsing TOML with bash + regex | ||
| or installing `jq`/`tomlq` — was rejected because Python 3.11+ is | ||
| preinstalled on all GitHub-hosted runners, `tomllib` is stdlib (zero | ||
| install step, zero supply-chain surface), and the four-line script | ||
| reads almost as plainly as English. |
6 tasks done
8 of 12 tasks
5 of 12 tasks
Merged
4 of 12 tasks
This was referenced Sep 23, 2026
4 tasks done
This was referenced Oct 11, 2026
Merged
2 of 3 tasks
gonzafg2
added a commit
that referenced
this pull request
Nov 3, 2026
…cedure, DNSSEC anchor, five-then-six assets opencode, sixth review of #250 (of e0088c1): - ADR-0057's compromise section is now an ordered procedure: 1. revoke in keys/security.asc on main via an SSH-signed commit, and update the manifest, SECURITY.md and the tap pin, with a negative test proving a revoked key fails verify-download.sh and the tap CI; 2. every PGP check then fails after re-import; 3. classification is exhaustive, by immutable publication record: every release not on the advisory's digest list is untrusted, with no signature-time denylist; 4. the successor is authenticated by an SSH-signed commit (independent only of a PGP-key compromise) and by a DNSSEC-signed TXT record, _release-key.quantumssh.org, behind the separate Cloudflare credential; 5. the fix ships as a new release. quantumssh.org is no longer called an independent origin, since it redirects to GitHub. The residual risk of an endpoint plus Cloudflare compromise is stated. Rotation also updates the TXT record and the tap pin. - ADR-0054 §4: the draft must hold exactly five assets before signing and exactly six before publishing, compared for equality. - ADR-0056 §4: the tap CI imports the whole pin set and runs scripts/verify-download.sh, retired-key branch included. - Suggestions: - RFC-0017 gets an ADR-0052 erratum: its bare `gpg --verify` commands fail open, and each is to be read as ADR-0054 §7's check; - docs/infrastructure.md now records PGP's release-signing role. Claude-Session: https://claude.ai/code/session_01QpBZ4pLj7mjenN8SXpJehu Signed-off-by: Gonzalo Fleming <[email protected]>
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.
Summary
Adds
docs/infrastructure.md(421 lines): a public overview of the project's supporting infrastructure (DNS, TLS, email, signing, repository hardening, CI scaffolding) with explicit rationale for 11 non-obvious configuration choices. Cross-linked fromREADME.mdanddocs/operations.md.Where
docs/operations.mddescribes how to verify the configurations externally, this new document describes what is configured and why. The two are complementary, not duplicative.Why
The Phase 0 closure produced ~570 lines of internal operational notes (DNS records, decisions, recovery procedures, chronology). The bulk of that is genuinely public-safe — service choices, rationale, externally-observable state — and keeping it in a local-only file contradicted the manifesto's "open source, really" commitment in practice. This PR extracts the public-safe portion into a versioned, auditable document and trims the private file to only what is genuinely personal/machine-specific (continues to live outside the repo, gitignored).
The 11 rationales (DNS host choice, registrar, HSTS preload deferral, DMARC
p=none, PGP 2-year expiry, SSH commit signing, CAA whitelist scope, branch protection 0-review, virtual workspace, toolchain pinning, CI guard implementation) were drafted as the maintainer's reconstruction of decisions and approved in the planning phase.What's in this PR
docs/infrastructure.mddocs/operations.mdREADME.mdCHANGELOG.md[Unreleased] → ChangedNot in this PR:
MANIFIESTO.es.md— has a pre-existing authorial edit by the maintainer (Por qué→Porqué+ emphasis style); deliberately kept out of this docs-only PR using targetedgit add.claudedocs/QUANTUMSSH-OPS.mdtrim — happened in the same working session but the file is gitignored.Verification
Performed locally before pushing:
grep -rE 'FIF|FTC|FIFTECH|Falabella|gaflemingg' docs/ README.md CHANGELOG.md SECURITY.md GOVERNANCE.md CONTRIBUTING.md MANIFIESTO.es.mdreturns empty.docs/infrastructure.md:grep -E '/Users/|~/\.gnupg|~/\.ssh|~/\.git-hooks|~/\.gitignore_global|password manager|gonzafg2@gmail\.com'returns empty.MANIFIESTO.es.mdnot staged:git diff --name-only main...HEADdoes NOT list it.To verify after merge:
build (ubuntu-latest),build (macos-latest),cargo deny.Files changedview.Risks acknowledged
docs/infrastructure.md; other sections link by anchor, so future rewrites propagate by reference.Checklist
docs(infra):/docs:).[Unreleased] → Changed.cargo/CI changes; required status checks pass via existing guards.