Skip to content

docs(docs): add the Production checklist page and point the copies at it - #476

Merged
PhenX merged 1 commit into
mainfrom
claude/docs-production-checklist
Sep 5, 2026
Merged

docs(docs): add the Production checklist page and point the copies at it#476
PhenX merged 1 commit into
mainfrom
claude/docs-production-checklist

Conversation

@PhenX

@PhenX PhenX commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

What & why

Phase-2 restructure — another additive new page, and the home the audit said the security-hardening list never had. That list (auth on, encryption key, HTTPS, trust-proxy) was copied across the README, deployment, authentication, privacy, SECURITY.md and the Docker Hub page, with no single source.

  • New apps/docs/production-checklist.md (Operate, 585 words): the ordered "before you expose it" steps, a "what Piwi already does for you" section (non-root container, scrypt hashing, hashed API keys, rate limiting, env-secret handling, AES-256-GCM, forward-only migrations), and the optional share-links / retention notes. The secret-generation one-liner is the shared snippets/secret.sh include, not another literal copy.
  • Point the copies at it: deployment's "Security" section keeps its heading (privacy deep-links deployment#security) and the non-root fact but drops the duplicated bullets; the README's "before you expose it" keeps its teaser bullets (and its guarded secret one-liner) and adds a link; authentication's "Security considerations" keeps only its auth-specific facts (scrypt, rate limiting, trust-proxy) and links the checklist for the generic steps.
  • Adds a "Production checklist" entry to the "Running your instance" sidebar.

SECURITY.md and privacy.md keep their own audience-specific content (the vulnerability-reporting policy; the "secrets at rest" explanation) and are linked from the checklist rather than gutted. No existing page URL or heading anchor changes.

How was it tested?

  • npm run docs:build — green; the dead-link check validates every anchor (deployment#backups, configuration#authentication, storage#data-retention, deployment#security still resolves for privacy's link).
  • npx vitest run tests/unit/docs-drift.test.ts — 124 passing (the secret.sh byte-equality guard still holds — the README keeps its one-liner).

Checklist

  • PR title follows Conventional Commits (type(scope): subject)
  • Tests added/updated for behavior changes (n/a — covered by docs-drift + build dead-link check)
  • Docs updated — this is the docs change

🤖 Generated with Claude Code

https://claude.ai/code/session_01GKdmqq1BRUPeH5BxSPV5Jj


Generated by Claude Code

Phase-2 documentation restructure — another additive "new page", and the
home the audit said the security-hardening list never had. The list (auth
on, encryption key, HTTPS, trust-proxy) was copied across the README,
deployment, authentication, privacy, SECURITY.md and the Docker Hub page,
with no single source.

- Add apps/docs/production-checklist.md (Operate, 585 words): the ordered
  "before you expose it" steps, a "what Piwi already does for you" section
  (non-root container, scrypt hashing, hashed API keys, rate limiting,
  env-secret handling, AES-256-GCM, forward-only migrations), and the
  optional share-links/retention notes. The secret-generation one-liner is
  the shared snippet include, not another literal copy.
- Point the two most prominent copies at it: deployment's "Security" section
  keeps its heading (privacy deep-links the anchor) and the non-root fact but
  drops the duplicated bullets; the README's "before you expose it" keeps its
  teaser bullets and adds a link. Authentication's "Security considerations"
  keeps only its auth-specific facts (scrypt, rate limiting, trust-proxy) and
  links the checklist for the generic steps.
- Add a "Production checklist" entry to the "Running your instance" sidebar.

No existing page URL or heading anchor changes (deployment#security stays).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GKdmqq1BRUPeH5BxSPV5Jj
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for Reporter (./packages/reporter)

Status Category Percentage Covered / Total
🔵 Lines 75.71% 2407 / 3179
🔵 Statements 74.03% 2735 / 3694
🔵 Functions 79.11% 428 / 541
🔵 Branches 67.72% 1905 / 2813
File CoverageNo changed files found.
Generated in workflow #1640 for commit c6b28b8 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for Application (./apps/application)

Status Category Percentage Covered / Total
🔵 Lines 47.41% 7220 / 15227
🔵 Statements 46.34% 8370 / 18059
🔵 Functions 45.9% 1389 / 3026
🔵 Branches 41.71% 6460 / 15486
File CoverageNo changed files found.
Generated in workflow #1640 for commit c6b28b8 by the Vitest Coverage Report Action

@PhenX
PhenX merged commit ad8b6b6 into main Sep 5, 2026
25 checks passed
@PhenX
PhenX deleted the claude/docs-production-checklist branch September 5, 2026 19:35
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.

2 participants