From 868d3513b29b4bc09d7ee829f2083237cdd6801d Mon Sep 17 00:00:00 2001 From: Florian BRUNIAUX Date: Wed, 21 Jan 2026 11:22:08 +0100 Subject: [PATCH] feat(guide): add Production Safety Rules (v3.9.11) Add comprehensive production safety guide for teams deploying Claude Code in production environments with 6 critical rules: - Port Stability: Prevent accidental port changes breaking configs - Database Safety: Backup enforcement via PreToolUse hooks - Feature Completeness: No TODOs for core functionality - Infrastructure Lock: Protect docker-compose, Dockerfile, terraform - Dependency Safety: Block unapproved npm packages - Pattern Following: Enforce codebase conventions Adapted from community "10 non-negotiable CLAUDE.md rules" (6/10 integrated, 4/10 already covered). Verified gaps using grepai searches. Target audience: 20% production teams. Cross-references added in ultimate-guide.md (section 3.1) and adoption-approaches.md (Medium/Large teams). Co-Authored-By: Claude Sonnet 4.5 --- CHANGELOG.md | 22 + README.md | 5 +- VERSION | 2 +- guide/adoption-approaches.md | 3 + guide/cheatsheet.md | 4 +- guide/production-safety.md | 820 ++++++++++++++++++++++++++++++++ guide/ultimate-guide.md | 8 +- machine-readable/reference.yaml | 15 +- 8 files changed, 870 insertions(+), 9 deletions(-) create mode 100644 guide/production-safety.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 71cf732..db7854b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,28 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +--- + +## [3.9.11] - 2026-01-21 + +### Added +- **Production Safety Rules Guide** (`guide/production-safety.md`): Comprehensive production safety rules for teams deploying Claude Code in production environments + - Port Stability: Prevent accidental port changes breaking local dev/Docker/deployed configs + - Database Safety: Backup enforcement via PreToolUse hooks to prevent data loss + - Feature Completeness: No TODOs for core functionality rules + - Infrastructure Lock: Protect docker-compose.yml, Dockerfile, .env.example, terraform/ + - Dependency Safety: Block unapproved npm packages with permission deny rules + - Pattern Following: Enforce codebase conventions via CLAUDE.md and automated validation +- Cross-references to production-safety.md in `ultimate-guide.md` section 3.1 and `adoption-approaches.md` (Medium/Large teams) +- New deep_dive entry in `machine-readable/reference.yaml` for production safety topics + +### Context +- Adapted from community "10 non-negotiable CLAUDE.md rules" (6/10 rules integrated, 4/10 already covered in existing guide) +- Verified gaps using grepai searches: Rule #5 (ports) genuinely absent, Rule #6 (DB) partially covered +- Target audience: 20% production teams (vs 80% learners in main guide) + +--- + ## [3.9.10] - 2026-01-21 ### Added diff --git a/README.md b/README.md index a9a20e1..0695459 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ Same agentic capabilities as Claude Code, but through a visual interface with no | **[Workflows](./guide/workflows/)** | Practical guides (TDD, Plan-Driven) | 30 min | | **[Data Privacy](./guide/data-privacy.md)** | Retention & compliance | 10 min | | **[Security Hardening](./guide/security-hardening.md)** | MCP vetting, injection defense | 25 min | +| **[Production Safety](./guide/production-safety.md)** | Port stability, DB safety, infrastructure lock | 20 min | | **[DevOps & SRE](./guide/devops-sre.md)** | FIRE framework, K8s troubleshooting, incident response | 30 min | | **[Claude Code Releases](./guide/claude-code-releases.md)** | Official release history | 10 min | @@ -327,7 +328,7 @@ Claude Code sends your prompts, file contents, and MCP results to Anthropic serv **Status**: Research preview (Pro $20/mo or Max $100-200/mo, macOS only, **VPN incompatible**) -**Archive**: Historical versions available in git history (pre-v3.9.9) +**Archive**: Historical versions available in git history (pre-v3.9.11) @@ -396,7 +397,7 @@ Licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). --- -*Version 3.9.9 | January 2026 | Crafted with Claude* +*Version 3.9.11 | January 2026 | Crafted with Claude*