@the-bearded-bear/claude-craft 9.2.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dev/i18n/base/Angular/rules/00-project-context.md.template +1 -1
- package/Dev/i18n/base/Angular/rules/03-coding-standards.md +17 -16
- package/Dev/i18n/base/Angular/rules/06-tooling.md +2 -2
- package/Dev/i18n/base/CSharp/rules/06-tooling.md +8 -6
- package/Dev/i18n/base/Common/hooks/scripts/block-dangerous-commands.sh +93 -48
- package/Dev/i18n/base/Common/hooks/scripts/guard-network.sh +58 -0
- package/Dev/i18n/base/Common/hooks/scripts/lib/hook-io.sh +181 -0
- package/Dev/i18n/base/Common/hooks/scripts/notify-slack.sh +21 -32
- package/Dev/i18n/base/Common/hooks/scripts/output-filter.sh +23 -0
- package/Dev/i18n/base/Common/hooks/scripts/output-size-hint.sh +19 -0
- package/Dev/i18n/base/Common/hooks/scripts/post-edit-lint.sh +29 -53
- package/Dev/i18n/base/Common/hooks/scripts/post-tool-failure.sh +50 -0
- package/Dev/i18n/base/Common/hooks/scripts/pre-commit-check.sh +59 -63
- package/Dev/i18n/base/Common/hooks/scripts/pre-compact.sh +52 -0
- package/Dev/i18n/base/Common/hooks/scripts/protect-sensitive-files.sh +16 -0
- package/Dev/i18n/base/Common/hooks/scripts/quality-gate.sh +49 -92
- package/Dev/i18n/base/Common/hooks/scripts/session-end.sh +51 -0
- package/Dev/i18n/base/Common/hooks/scripts/session-init.sh +45 -69
- package/Dev/i18n/base/Common/hooks/templates/examples/README.md +59 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/auto-format.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/block-dangerous-commands.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/context-reinject.json +28 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/output-filter.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/pre-compact.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/protect-files.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/security-block.json +18 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/stop-hook.json +16 -0
- package/Dev/i18n/base/Common/hooks/templates/examples/user-prompt-submit.json +16 -0
- package/Dev/i18n/base/Common/hooks/templates/hooks.default.json +72 -0
- package/Dev/i18n/base/Common/hooks/templates/{settings-hooks.json → hooks.full.json} +22 -23
- package/Dev/i18n/base/Common/hooks/templates/hooks.memory.json +62 -0
- package/Dev/i18n/base/Common/templates/AGENTS.md.template +1 -1
- package/Dev/i18n/base/Common/templates/settings.json.template +46 -0
- package/Dev/i18n/base/Flutter/rules/00-project-context.md.template +9 -9
- package/Dev/i18n/base/Laravel/checks/code-quality.md +1 -1
- package/Dev/i18n/base/Laravel/rules/00-project-context.md.template +2 -2
- package/Dev/i18n/base/Laravel/rules/06-tooling.md +10 -8
- package/Dev/i18n/base/Laravel/rules/07-testing-laravel.md +2 -0
- package/Dev/i18n/base/Laravel/rules/08-quality-tools.md +2 -2
- package/Dev/i18n/base/PHP/rules/00-project-context.md.template +2 -2
- package/Dev/i18n/base/Tauri/rules/02-architecture-tauri.md +1 -0
- package/Dev/i18n/base/Vercel/checks/all.md +1 -1
- package/Dev/i18n/base/Vercel/checks/architecture.md +1 -1
- package/Dev/i18n/base/Vercel/rules/02-architecture-vercel.md +4 -2
- package/Dev/i18n/base/Vercel/rules/06-tooling.md +7 -5
- package/Dev/i18n/base/Vercel/rules/11-security-vercel.md +1 -1
- package/Dev/i18n/base/Vite/rules/06-tooling.md +2 -1
- package/Dev/i18n/base/Vite/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/base/VueJS/rules/06-tooling.md +3 -3
- package/Dev/i18n/base/VueJS/rules/07-testing-vuejs.md +9 -8
- package/Dev/i18n/base/VueJS/rules/08-quality-tools.md +1 -1
- package/Dev/i18n/base/WordPress/checklists/new-feature.md +59 -0
- package/Dev/i18n/base/WordPress/checklists/pre-commit.md +125 -0
- package/Dev/i18n/base/WordPress/checks/all.md +257 -0
- package/Dev/i18n/base/WordPress/checks/architecture.md +157 -0
- package/Dev/i18n/base/WordPress/checks/code-quality.md +158 -0
- package/Dev/i18n/base/WordPress/checks/security.md +158 -0
- package/Dev/i18n/base/WordPress/checks/testing.md +157 -0
- package/Dev/i18n/base/WordPress/commands/check.md +28 -0
- package/Dev/i18n/base/WordPress/rules/00-project-context.md.template +169 -0
- package/Dev/i18n/base/WordPress/rules/02-architecture-wordpress.md +174 -0
- package/Dev/i18n/base/WordPress/rules/03-coding-standards.md +98 -0
- package/Dev/i18n/base/WordPress/rules/06-tooling.md +146 -0
- package/Dev/i18n/base/WordPress/rules/07-testing-wordpress.md +150 -0
- package/Dev/i18n/base/WordPress/rules/08-quality-tools.md +161 -0
- package/Dev/i18n/base/WordPress/rules/11-security-wordpress.md +175 -0
- package/Dev/i18n/base/WordPress/skills/woocommerce/REFERENCE.md +214 -0
- package/Dev/i18n/base/WordPress/skills/woocommerce/SKILL.md +40 -0
- package/Dev/i18n/base/WordPress/skills/woocommerce/checklist.md +66 -0
- package/Dev/i18n/base/WordPress/templates/block.md +235 -0
- package/Dev/i18n/base/WordPress/templates/plugin-bootstrap.md +215 -0
- package/Dev/i18n/base/WordPress/templates/rest-endpoint.md +246 -0
- package/Dev/i18n/de/Angular/CLAUDE.md.template +2 -1
- package/Dev/i18n/de/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/de/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/de/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/de/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/de/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/de/Common/hooks/HOOKS-QUICKSTART.md +33 -45
- package/Dev/i18n/de/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/de/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/de/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/de/Common/rules/11-security.md +12 -12
- package/Dev/i18n/de/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/de/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/de/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/de/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/de/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/de/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/de/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/de/Paperclip/README.md +1 -1
- package/Dev/i18n/de/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/de/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/de/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/de/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/de/Python/checks/security.md +2 -2
- package/Dev/i18n/de/Python/checks/testing.md +2 -2
- package/Dev/i18n/de/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/de/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/de/Python/templates/repository.md +2 -2
- package/Dev/i18n/de/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/de/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/de/React/templates/component.md +11 -9
- package/Dev/i18n/de/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/de/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/de/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/de/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/de/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/de/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/de/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/de/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/de/Symfony/adr/README.md +1 -1
- package/Dev/i18n/de/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/de/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/de/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/de/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/de/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/de/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/de/Symfony/templates/README.md +1 -1
- package/Dev/i18n/de/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/de/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/de/Vercel/checks/all.md +1 -1
- package/Dev/i18n/de/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/de/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/de/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/de/WordPress/checks/all.md +242 -0
- package/Dev/i18n/de/WordPress/commands/check.md +28 -0
- package/Dev/i18n/en/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/en/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/en/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/en/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/en/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/en/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/en/Common/hooks/HOOKS-QUICKSTART.md +31 -43
- package/Dev/i18n/en/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/en/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/en/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/en/Common/rules/11-security.md +12 -12
- package/Dev/i18n/en/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/en/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/en/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/en/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/en/Laravel/CLAUDE.md.template +1 -1
- package/Dev/i18n/en/Laravel/agents/laravel-reviewer.md +3 -3
- package/Dev/i18n/en/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/en/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/en/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/en/Paperclip/README.md +1 -1
- package/Dev/i18n/en/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/en/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/en/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/en/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/en/Python/checks/security.md +2 -2
- package/Dev/i18n/en/Python/checks/testing.md +2 -2
- package/Dev/i18n/en/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/en/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/en/Python/templates/repository.md +2 -2
- package/Dev/i18n/en/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/en/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/en/React/templates/component.md +11 -9
- package/Dev/i18n/en/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/en/ReactNative/rules/02-architecture.md +4 -4
- package/Dev/i18n/en/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/en/ReactNative/rules/07-testing-reactnative.md +1 -1
- package/Dev/i18n/en/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/en/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/en/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/en/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/en/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/en/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/en/Symfony/adr/README.md +1 -1
- package/Dev/i18n/en/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/en/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/en/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/en/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/en/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/en/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/en/Symfony/templates/README.md +1 -1
- package/Dev/i18n/en/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/en/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/en/Vercel/checks/all.md +1 -1
- package/Dev/i18n/en/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/en/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/en/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/en/WordPress/checks/all.md +241 -0
- package/Dev/i18n/en/WordPress/commands/check.md +28 -0
- package/Dev/i18n/es/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/es/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/es/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/es/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/es/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/es/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/es/Common/hooks/HOOKS-QUICKSTART.md +33 -45
- package/Dev/i18n/es/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/es/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/es/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/es/Common/rules/11-security.md +12 -12
- package/Dev/i18n/es/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/es/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/es/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/es/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/es/Laravel/agents/laravel-reviewer.md +2 -2
- package/Dev/i18n/es/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/es/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/es/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/es/Paperclip/README.md +1 -1
- package/Dev/i18n/es/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/es/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/es/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/es/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/es/Python/checks/security.md +2 -2
- package/Dev/i18n/es/Python/checks/testing.md +2 -2
- package/Dev/i18n/es/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/es/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/es/Python/templates/repository.md +2 -2
- package/Dev/i18n/es/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/es/React/templates/component.md +11 -9
- package/Dev/i18n/es/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/es/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/es/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/es/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/es/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/es/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/es/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/es/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/es/Symfony/adr/README.md +1 -1
- package/Dev/i18n/es/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/es/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/es/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/es/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/es/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/es/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/es/Symfony/templates/README.md +1 -1
- package/Dev/i18n/es/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/es/Vercel/agents/vercel-reviewer.md +2 -1
- package/Dev/i18n/es/Vercel/checks/all.md +1 -1
- package/Dev/i18n/es/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/es/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/es/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/es/WordPress/checks/all.md +241 -0
- package/Dev/i18n/es/WordPress/commands/check.md +28 -0
- package/Dev/i18n/fr/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/fr/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/fr/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/fr/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/fr/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/fr/Common/hooks/HOOKS-QUICKSTART.md +32 -44
- package/Dev/i18n/fr/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/fr/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/fr/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/fr/Common/rules/11-security.md +12 -12
- package/Dev/i18n/fr/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/fr/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/fr/Flutter/rules/02-architecture.md +4 -4
- package/Dev/i18n/fr/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/fr/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/fr/Laravel/CLAUDE.md.template +1 -1
- package/Dev/i18n/fr/Laravel/agents/laravel-reviewer.md +3 -3
- package/Dev/i18n/fr/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/fr/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/fr/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/fr/Paperclip/README.md +1 -1
- package/Dev/i18n/fr/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/fr/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/fr/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/fr/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/fr/Python/checks/security.md +2 -2
- package/Dev/i18n/fr/Python/checks/testing.md +2 -2
- package/Dev/i18n/fr/Python/commands/dependency-audit.md +1 -2
- package/Dev/i18n/fr/Python/commands/generate-endpoint.md +7 -11
- package/Dev/i18n/fr/Python/commands/generate-model.md +6 -6
- package/Dev/i18n/fr/Python/rules/02-architecture.md +9 -24
- package/Dev/i18n/fr/Python/rules/03-coding-standards.md +19 -7
- package/Dev/i18n/fr/Python/templates/repository.md +9 -10
- package/Dev/i18n/fr/React/commands/generate-component.md +52 -51
- package/Dev/i18n/fr/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/fr/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/fr/React/templates/component.md +11 -9
- package/Dev/i18n/fr/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/fr/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/fr/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/fr/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/fr/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/fr/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/fr/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/fr/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/fr/Symfony/adr/README.md +1 -1
- package/Dev/i18n/fr/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/fr/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/fr/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/fr/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/fr/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/fr/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/fr/Symfony/templates/README.md +1 -1
- package/Dev/i18n/fr/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/fr/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/fr/Vercel/checks/all.md +1 -1
- package/Dev/i18n/fr/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/fr/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/fr/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/fr/WordPress/checks/all.md +242 -0
- package/Dev/i18n/fr/WordPress/commands/check.md +28 -0
- package/Dev/i18n/pt/Angular/CLAUDE.md.template +3 -2
- package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +23 -7
- package/Dev/i18n/pt/Common/agents/devops-engineer.md +1 -1
- package/Dev/i18n/pt/Common/agents/migration-specialist.md +1 -1
- package/Dev/i18n/pt/Common/commands/ralph-run.md +3 -3
- package/Dev/i18n/pt/Common/commands/setup-rtk.md +2 -9
- package/Dev/i18n/pt/Common/hooks/HOOKS-QUICKSTART.md +33 -45
- package/Dev/i18n/pt/Common/rules/04-solid-principles.md +2 -2
- package/Dev/i18n/pt/Common/rules/09-git-workflow.md +7 -1
- package/Dev/i18n/pt/Common/rules/10-documentation.md +2 -2
- package/Dev/i18n/pt/Common/rules/11-security.md +12 -12
- package/Dev/i18n/pt/Common/rules/12-context-management.md +5 -3
- package/Dev/i18n/pt/Flutter/commands/analyze-performance.md +1 -1
- package/Dev/i18n/pt/Flutter/rules/06-tooling.md +6 -2
- package/Dev/i18n/pt/Flutter/rules/11-security-flutter.md +1 -1
- package/Dev/i18n/pt/Laravel/agents/laravel-reviewer.md +2 -2
- package/Dev/i18n/pt/PHP/rules/03-coding-standards.md +10 -0
- package/Dev/i18n/pt/PHP/rules/06-tooling.md +7 -3
- package/Dev/i18n/pt/Paperclip/CLAUDE.md.template +2 -2
- package/Dev/i18n/pt/Paperclip/README.md +1 -1
- package/Dev/i18n/pt/Paperclip/checks/security.md +1 -0
- package/Dev/i18n/pt/Paperclip/rules/11-security-paperclip.md +3 -1
- package/Dev/i18n/pt/Python/agents/python-reviewer.md +1 -1
- package/Dev/i18n/pt/Python/checks/code-quality.md +4 -4
- package/Dev/i18n/pt/Python/checks/security.md +2 -2
- package/Dev/i18n/pt/Python/checks/testing.md +2 -2
- package/Dev/i18n/pt/Python/rules/02-architecture.md +1 -8
- package/Dev/i18n/pt/Python/rules/03-coding-standards.md +16 -5
- package/Dev/i18n/pt/Python/templates/repository.md +2 -2
- package/Dev/i18n/pt/React/rules/02-architecture.md +17 -20
- package/Dev/i18n/pt/React/rules/03-coding-standards.md +15 -16
- package/Dev/i18n/pt/React/templates/component.md +12 -10
- package/Dev/i18n/pt/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/pt/ReactNative/rules/06-tooling.md +15 -14
- package/Dev/i18n/pt/ReactNative/rules/14-navigation.md +2 -0
- package/Dev/i18n/pt/Ruby/agents/ruby-reviewer.md +1 -1
- package/Dev/i18n/pt/Ruby/rules/06-tooling.md +2 -2
- package/Dev/i18n/pt/Ruby/rules/11-security-ruby.md +13 -1
- package/Dev/i18n/pt/Rust/rules/03-coding-standards.md +1 -1
- package/Dev/i18n/pt/Rust/rules/11-security-rust.md +1 -1
- package/Dev/i18n/pt/Symfony/adr/README.md +1 -1
- package/Dev/i18n/pt/Symfony/checks/code-quality.md +2 -2
- package/Dev/i18n/pt/Symfony/rules/03-coding-standards.md +15 -0
- package/Dev/i18n/pt/Symfony/rules/06-docker-hadolint.md +1 -1
- package/Dev/i18n/pt/Symfony/rules/08-quality-tools.md +1 -3
- package/Dev/i18n/pt/Symfony/rules/15-doctrine-extensions.md +5 -5
- package/Dev/i18n/pt/Symfony/rules/16-i18n.md +1 -1
- package/Dev/i18n/pt/Symfony/templates/README.md +1 -1
- package/Dev/i18n/pt/Tauri/agents/tauri-reviewer.md +3 -0
- package/Dev/i18n/pt/Vercel/agents/vercel-reviewer.md +1 -0
- package/Dev/i18n/pt/Vercel/checks/all.md +1 -1
- package/Dev/i18n/pt/Vite/agents/vite-reviewer.md +11 -11
- package/Dev/i18n/pt/WordPress/CLAUDE.md.template +100 -0
- package/Dev/i18n/pt/WordPress/agents/wordpress-reviewer.md +350 -0
- package/Dev/i18n/pt/WordPress/checks/all.md +241 -0
- package/Dev/i18n/pt/WordPress/commands/check.md +28 -0
- package/Dev/scripts/check-config.sh +1 -1
- package/Dev/scripts/install-common-rules.sh +65 -0
- package/Dev/scripts/install-from-config.sh +3 -0
- package/Dev/scripts/install-paperclip-rules.sh +1 -1
- package/Dev/scripts/install-wordpress-rules.sh +153 -0
- package/Dev/scripts/lib/merge-hooks.mjs +110 -0
- package/Dev/scripts/memory-lifecycle/README.md +10 -9
- package/Dev/scripts/memory-lifecycle/_db.sh +1 -1
- package/Dev/scripts/memory-lifecycle/post-tool.sh +1 -1
- package/Dev/scripts/memory-lifecycle/pre-compact.sh +5 -5
- package/Dev/scripts/memory-lifecycle/prompt-submit.sh +1 -1
- package/Dev/scripts/memory-lifecycle/session-end.sh +1 -1
- package/Dev/scripts/memory-lifecycle/session-start.sh +5 -4
- package/Dev/stack-profiles/wordpress/permissions.txt +10 -0
- package/Dev/stack-profiles/wordpress/quality.md +4 -0
- package/Dev/stack-profiles/wordpress/stack.txt +2 -0
- package/Infra/i18n/de/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/de/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/de/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/de/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/de/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/de/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/de/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/de/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/de/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/de/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/de/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/de/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/de/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/de/Hcloud/agents/hcloud-architect.md +16 -14
- package/Infra/i18n/de/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/de/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/de/Hcloud/agents/hcloud-security.md +1 -1
- package/Infra/i18n/de/Hcloud/commands/architecture.md +2 -2
- package/Infra/i18n/de/Hcloud/commands/debug.md +3 -3
- package/Infra/i18n/de/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/de/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/de/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/de/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/de/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/de/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/de/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/de/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/de/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/en/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/en/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/en/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/en/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/en/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/en/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/en/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/en/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/en/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/en/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/en/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/en/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/en/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/en/Hcloud/agents/hcloud-architect.md +10 -8
- package/Infra/i18n/en/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/en/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/en/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/en/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/en/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/en/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/en/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/en/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/en/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/en/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/en/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/es/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/es/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/es/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/es/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/es/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/es/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/es/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/es/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/es/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/es/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/es/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/es/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/es/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/es/Hcloud/agents/hcloud-architect.md +11 -9
- package/Infra/i18n/es/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/es/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/es/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/es/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/es/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/es/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/es/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/es/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/es/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/es/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/es/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/es/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/fr/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/fr/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/fr/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/fr/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/fr/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/fr/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/fr/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/fr/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/fr/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/fr/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/fr/Hcloud/agents/hcloud-architect.md +7 -5
- package/Infra/i18n/fr/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/fr/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/fr/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/fr/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/fr/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/fr/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/fr/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/fr/PgBouncer/commands/deploy-setup.md +1 -1
- package/Infra/i18n/pt/Ansible/agents/ansible-architect.md +3 -1
- package/Infra/i18n/pt/Ansible/agents/ansible-debug.md +1 -0
- package/Infra/i18n/pt/Ansible/agents/ansible-deployment.md +3 -0
- package/Infra/i18n/pt/Ansible/agents/ansible-security.md +2 -0
- package/Infra/i18n/pt/Ansible/commands/security-audit.md +1 -1
- package/Infra/i18n/pt/Coolify/agents/coolify-debug.md +1 -0
- package/Infra/i18n/pt/Coolify/agents/coolify-deployment.md +5 -1
- package/Infra/i18n/pt/Coolify/commands/coolify-debug.md +1 -0
- package/Infra/i18n/pt/Coolify/commands/coolify-deploy.md +1 -0
- package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-architect.md +4 -2
- package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-deployment.md +2 -2
- package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-security.md +1 -1
- package/Infra/i18n/pt/FrankenPHP/commands/deploy-setup.md +1 -1
- package/Infra/i18n/pt/Hcloud/agents/hcloud-architect.md +9 -7
- package/Infra/i18n/pt/Hcloud/agents/hcloud-cost.md +11 -9
- package/Infra/i18n/pt/Hcloud/agents/hcloud-deployment.md +1 -1
- package/Infra/i18n/pt/Hcloud/commands/architecture.md +1 -1
- package/Infra/i18n/pt/Hcloud/commands/debug.md +1 -1
- package/Infra/i18n/pt/Kubernetes/agents/kubernetes-architect.md +4 -0
- package/Infra/i18n/pt/Kubernetes/agents/kubernetes-deployment.md +31 -0
- package/Infra/i18n/pt/Kubernetes/agents/kubernetes-security.md +5 -1
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-architect.md +3 -1
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-deployment.md +2 -2
- package/Infra/i18n/pt/OpenTofu/agents/opentofu-security.md +5 -5
- package/Infra/i18n/pt/OpenTofu/commands/security-audit.md +1 -1
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-architect.md +1 -0
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-deployment.md +3 -3
- package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-monitoring.md +1 -1
- package/Infra/i18n/pt/PgBouncer/commands/deploy-setup.md +1 -1
- package/README.md +27 -15
- package/Tools/PluginExport/export-plugin.sh +15 -17
- package/Tools/Ralph/README.md +17 -7
- package/Tools/Ralph/hooks/lib/ralph-common.sh +101 -0
- package/Tools/Ralph/hooks/pre-tool-context.sh +28 -0
- package/Tools/Ralph/hooks/session-restore.sh +94 -0
- package/Tools/Ralph/hooks/stop-dod-gate.sh +60 -0
- package/Tools/Ralph/lib/hooks-generator.sh +109 -93
- package/bundles/cursor/.cursorrules +11 -10
- package/bundles/windsurf/.windsurfrules +11 -10
- package/cli/index.js +1 -0
- package/cli/lib/doctor.js +4 -3
- package/cli/lib/help.js +1 -0
- package/cli/lib/installer.js +1 -1
- package/cli/lib/parse-args.js +12 -0
- package/cli/lib/tech-registry.js +15 -5
- package/package.json +2 -1
- package/Dev/i18n/de/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/de/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/de/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/de/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/en/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/en/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/en/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/en/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/es/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/es/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/es/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/es/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/fr/Common/hooks/scripts/post-tool-failure.sh +0 -88
- package/Dev/i18n/fr/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/fr/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/fr/Common/templates/settings.json.template +0 -128
- package/Dev/i18n/pt/Common/hooks/scripts/post-tool-failure.sh +0 -89
- package/Dev/i18n/pt/Common/hooks/scripts/pre-compact.sh +0 -53
- package/Dev/i18n/pt/Common/hooks/scripts/session-end.sh +0 -98
- package/Dev/i18n/pt/Common/templates/settings.json.template +0 -128
- package/Tools/Ralph/.ralph/hooks/pre-tool-context.sh +0 -100
- package/Tools/Ralph/.ralph/hooks/session-restore.sh +0 -118
- package/Tools/Ralph/.ralph/hooks/status-injector.sh +0 -147
- package/Tools/Ralph/.ralph/hooks/stop-dod-gate.sh +0 -137
|
@@ -59,7 +59,7 @@ You are a **Senior FrankenPHP Deployment Engineer** specialized in `dunglas/fran
|
|
|
59
59
|
# docker-compose.yml
|
|
60
60
|
services:
|
|
61
61
|
app:
|
|
62
|
-
image: dunglas/frankenphp:1.13-php8.5-bookworm
|
|
62
|
+
image: dunglas/frankenphp:1.13.5-php8.5-bookworm
|
|
63
63
|
ports:
|
|
64
64
|
- "80:80"
|
|
65
65
|
- "443:443"
|
|
@@ -88,7 +88,7 @@ volumes:
|
|
|
88
88
|
|
|
89
89
|
```dockerfile
|
|
90
90
|
# Stage 1: Dependencies
|
|
91
|
-
FROM dunglas/frankenphp:1.13-php8.5-bookworm AS base
|
|
91
|
+
FROM dunglas/frankenphp:1.13.5-php8.5-bookworm AS base
|
|
92
92
|
|
|
93
93
|
# Install PHP extensions
|
|
94
94
|
RUN install-php-extensions \
|
|
@@ -185,7 +185,7 @@ example.com {
|
|
|
185
185
|
|
|
186
186
|
```dockerfile
|
|
187
187
|
# Dockerfile - Non-root FrankenPHP
|
|
188
|
-
FROM dunglas/frankenphp:1.13-php8.5-bookworm
|
|
188
|
+
FROM dunglas/frankenphp:1.13.5-php8.5-bookworm
|
|
189
189
|
|
|
190
190
|
# Install extensions
|
|
191
191
|
RUN install-php-extensions pdo_pgsql intl opcache
|
|
@@ -53,7 +53,7 @@ DEPLOYMENT STRATEGY
|
|
|
53
53
|
──────────────────────────────────────────────────────────────
|
|
54
54
|
|
|
55
55
|
Method: {Docker Compose / Kubernetes / Standalone Binary}
|
|
56
|
-
Image: dunglas/frankenphp:1.13-php8.5-bookworm
|
|
56
|
+
Image: dunglas/frankenphp:1.13.5-php8.5-bookworm
|
|
57
57
|
Worker mode: {yes/no}
|
|
58
58
|
|
|
59
59
|
| Decision | Choice | Rationale |
|
|
@@ -46,7 +46,7 @@ Extract and clarify:
|
|
|
46
46
|
- Storage needs (local SSD, block volumes, object storage)
|
|
47
47
|
|
|
48
48
|
2. **Target Architecture**
|
|
49
|
-
-
|
|
49
|
+
- Location preference (EU: fsn1, nbg1, hel1; US: ash, hil; APAC: sin)
|
|
50
50
|
- Network topology (public-only, private network, VPN)
|
|
51
51
|
- Expected traffic patterns and bandwidth requirements
|
|
52
52
|
|
|
@@ -85,7 +85,7 @@ Extract and clarify:
|
|
|
85
85
|
│ SERVERS │
|
|
86
86
|
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
87
87
|
│ │web-01 │ │app-01 │ │db-01 │ │
|
|
88
|
-
│ │
|
|
88
|
+
│ │CX23 │ │CPX32 │ │CCX33 │ │
|
|
89
89
|
│ │(web tier)│ │(app tier)│ │(database)│ │
|
|
90
90
|
│ └──────────┘ └──────────┘ └──────────┘ │
|
|
91
91
|
└─────────┼───────────────────────────────────────────────┘
|
|
@@ -100,8 +100,8 @@ Extract and clarify:
|
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
2. **Server Type Strategy**
|
|
103
|
-
- `
|
|
104
|
-
- `
|
|
103
|
+
- `CX23` / `CX33` -- Shared vCPU for web frontends, lightweight services
|
|
104
|
+
- `CPX32` / `CPX42` -- Shared vCPU (AMD) for application servers, CI runners
|
|
105
105
|
- `CAX21` / `CAX31` -- ARM (Ampere Altra) for 30-50% cost savings on compatible workloads
|
|
106
106
|
- `CCX23` / `CCX33` -- Dedicated vCPU for databases, high-performance workloads
|
|
107
107
|
- All types available with local NVMe SSD storage
|
|
@@ -187,7 +187,7 @@ hcloud load-balancer create --name lb-web --type lb11 --location fsn1
|
|
|
187
187
|
hcloud load-balancer add-target lb-web --label-selector role=web
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
### Multi-
|
|
190
|
+
### Multi-Location Setup
|
|
191
191
|
|
|
192
192
|
```bash
|
|
193
193
|
# Primary location (Falkenstein)
|
|
@@ -212,9 +212,11 @@ hcloud server create --name app-hel-01 --type cpx32 --image ubuntu-24.04 \
|
|
|
212
212
|
- Primary and Floating IPs must be unassigned before deletion: the API returns `must_be_unassigned` (since 2026-05-01)
|
|
213
213
|
- `dns_ptr` is required on change requests (Primary IPs, Floating IPs, Servers, Load Balancers) since 2026-09-30; `null` resets the pointer
|
|
214
214
|
- The server type `deprecated` field is removed on 2026-11-02: read `locations[].deprecation` instead (`null` = not deprecated)
|
|
215
|
-
- Terraform provider 1.69 drops Terraform 1.14 (1.16 added); keep `required_providers` hcloud at `>= 1.70.0`, hcloud CLI 1.70.
|
|
215
|
+
- Terraform provider 1.69 drops Terraform 1.14 (1.16 added); keep `required_providers` hcloud at `>= 1.70.0`, hcloud CLI 1.70.2
|
|
216
216
|
- Server types cx22/cx32/cx42/cx52 and cpx11-cpx51 are no longer orderable since 2026-01-01: use cx23/cx33/cx43/cx53 and cpx12/cpx22/cpx32/cpx42/cpx52/cpx62
|
|
217
|
-
- Ansible: use the `hetzner.hcloud` collection (7.2.0, requires a recent ansible-core, e.g. 2.
|
|
217
|
+
- Ansible: use the `hetzner.hcloud` collection (7.2.0, requires a recent ansible-core, e.g. 2.22.0) and pin it in `requirements.yml`
|
|
218
|
+
- hcloud CLI >= 1.70.0: `hcloud load-balancer create --primary-ipv4 <primary-ip> --primary-ipv6 <primary-ip>` assigns existing Primary IPs (omitted: a new one is allocated). Volume endpoints expose a generalised `assignee` property next to `server` (changelog 2026-10-27)
|
|
219
|
+
- Images: `ubuntu-26.04` is available (x86 and arm); `debian-11` is deprecated and cannot be used to create new servers after 2026-11-30: prefer `ubuntu-26.04`
|
|
218
220
|
|
|
219
221
|
## Architecture Checklist
|
|
220
222
|
|
|
@@ -222,7 +224,7 @@ hcloud server create --name app-hel-01 --type cpx32 --image ubuntu-24.04 \
|
|
|
222
224
|
- [ ] Server types matched to workload (CX for web, CPX/CCX for compute, CAX for cost savings)
|
|
223
225
|
- [ ] Private network with subnet-per-tier isolation
|
|
224
226
|
- [ ] Placement groups for critical services (spread policy)
|
|
225
|
-
- [ ]
|
|
227
|
+
- [ ] Location selected for latency and compliance (EU for GDPR)
|
|
226
228
|
- [ ] Labels applied consistently (env, role, team, service)
|
|
227
229
|
|
|
228
230
|
### Networking
|
|
@@ -28,14 +28,16 @@ You are a **Senior Hetzner Cloud Cost Optimization Engineer** specialized in ser
|
|
|
28
28
|
|
|
29
29
|
| Server Type | vCPU | RAM | Disk | Monthly (approx) | Use Case |
|
|
30
30
|
|-------------|------|-----|------|-------------------|----------|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
| CAX21 | 4 ARM | 8 GB | 80 GB | ~
|
|
36
|
-
| CAX31 | 8 ARM | 16 GB | 160 GB | ~
|
|
37
|
-
| CCX23 | 4 dedicated | 16 GB |
|
|
38
|
-
| CCX33 | 8 dedicated | 32 GB |
|
|
31
|
+
| CX23 | 2 shared | 4 GB | 40 GB | ~6€ | Dev, staging |
|
|
32
|
+
| CX33 | 4 shared | 8 GB | 80 GB | ~9€ | Small web apps |
|
|
33
|
+
| CPX22 | 2 shared | 4 GB | 80 GB | ~20€ | CI runners |
|
|
34
|
+
| CPX32 | 4 shared | 8 GB | 160 GB | ~36€ | App servers |
|
|
35
|
+
| CAX21 | 4 ARM | 8 GB | 80 GB | ~11€ | ARM-compatible apps |
|
|
36
|
+
| CAX31 | 8 ARM | 16 GB | 160 GB | ~21€ | ARM compute |
|
|
37
|
+
| CCX23 | 4 dedicated | 16 GB | 160 GB | ~73€ | Databases |
|
|
38
|
+
| CCX33 | 8 dedicated | 32 GB | 240 GB | ~118€ | Heavy workloads |
|
|
39
|
+
|
|
40
|
+
> Prices: EUR per month excl. VAT (FSN1/NBG1), as listed on hetzner.com/cloud on 2026-11-11; rates vary by location, check the official pricing page.
|
|
39
41
|
|
|
40
42
|
## Methodology
|
|
41
43
|
|
|
@@ -124,7 +126,7 @@ ARM (CAX) MIGRATION OPPORTUNITIES
|
|
|
124
126
|
|
|
125
127
|
| Server | Current | Proposed ARM | Savings | Compatible |
|
|
126
128
|
|--------|---------|-------------|---------|------------|
|
|
127
|
-
| {name} |
|
|
129
|
+
| {name} | CPX32 (~36€) | CAX31 (~21€) | {savings}€/mo | Yes/No |
|
|
128
130
|
```
|
|
129
131
|
|
|
130
132
|
ARM compatibility checklist:
|
|
@@ -32,6 +32,10 @@ You are a **Senior Kubernetes Architect** capable of designing complete cluster
|
|
|
32
32
|
| Multi-cluster | Large scale, DR | High |
|
|
33
33
|
| GitOps-driven | Automated delivery | Medium |
|
|
34
34
|
|
|
35
|
+
> kube-proxy: `ipvs` mode has been deprecated since Kubernetes 1.35 (a `KubeProxyIPVS` feature gate prepares its removal). On recent kernels prefer `nftables` (GA since 1.33) and set `mode` explicitly: kube-proxy warns when it is unset, and its Linux default will move from `iptables` to `nftables` in a future release.
|
|
36
|
+
|
|
37
|
+
> Kubernetes 1.37: DRA Device Taints and Tolerations are GA (`resource.k8s.io/v1`), `metrics.k8s.io` is promoted to `v1` (`kubectl top` supports it), and `scheduling.k8s.io/v1alpha2` is dropped (now `v1alpha3`, Workload/PodGroup in `v1beta1`): delete all `v1alpha2` objects before upgrading from 1.36.
|
|
38
|
+
|
|
35
39
|
## Methodology
|
|
36
40
|
|
|
37
41
|
### Phase 1 -- Discovery
|
|
@@ -22,6 +22,8 @@ You are a **Senior Kubernetes Deployment Engineer** specialized in GitOps workfl
|
|
|
22
22
|
| Progressive delivery | Expert | Argo Rollouts, Flagger |
|
|
23
23
|
| CI/CD integration | Expert | GitHub Actions, GitLab CI |
|
|
24
24
|
|
|
25
|
+
> Helm 4: `--atomic` is renamed `--rollback-on-failure` and `--force` becomes `--force-replace` (the old flags still work but emit a deprecation warning). Server-side apply is the default for new installs (upgrades and rollbacks keep the release's previous apply method; `--server-side` overrides it). Charts can be installed by OCI digest (`oci://registry.example.com/charts/app@sha256:...`). `--force-conflicts` forces server-side apply changes over field-ownership conflicts. `--wait` now takes `watcher` (kstatus-based readiness, implied by `--rollback-on-failure`), `hookOnly` (default) or `legacy`; plugins can be Wasm-based.
|
|
26
|
+
|
|
25
27
|
### Mastered Strategies
|
|
26
28
|
|
|
27
29
|
| Strategy | Usage | Risk |
|
|
@@ -147,6 +149,35 @@ spec:
|
|
|
147
149
|
retries: 3
|
|
148
150
|
```
|
|
149
151
|
|
|
152
|
+
#### Helm Release (Flux, OCI source pinned by digest)
|
|
153
|
+
|
|
154
|
+
```yaml
|
|
155
|
+
apiVersion: source.toolkit.fluxcd.io/v1
|
|
156
|
+
kind: OCIRepository
|
|
157
|
+
metadata:
|
|
158
|
+
name: my-app
|
|
159
|
+
namespace: app-prod
|
|
160
|
+
spec:
|
|
161
|
+
interval: 5m
|
|
162
|
+
url: oci://ghcr.io/org/charts/my-app
|
|
163
|
+
ref:
|
|
164
|
+
digest: "sha256:<digest>"
|
|
165
|
+
---
|
|
166
|
+
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
167
|
+
kind: HelmRelease
|
|
168
|
+
metadata:
|
|
169
|
+
name: my-app
|
|
170
|
+
namespace: app-prod
|
|
171
|
+
spec:
|
|
172
|
+
interval: 5m
|
|
173
|
+
chartRef:
|
|
174
|
+
kind: OCIRepository
|
|
175
|
+
name: my-app
|
|
176
|
+
upgrade:
|
|
177
|
+
remediation:
|
|
178
|
+
retries: 3
|
|
179
|
+
```
|
|
180
|
+
|
|
150
181
|
#### Argo Rollouts (Canary)
|
|
151
182
|
|
|
152
183
|
```yaml
|
|
@@ -22,6 +22,10 @@ You are a **Senior Kubernetes Security Engineer** specialized in cluster hardeni
|
|
|
22
22
|
| Image security | Expert | Trivy, Cosign, admission control |
|
|
23
23
|
| Compliance | Expert | CIS Benchmark, SOC2, PCI-DSS |
|
|
24
24
|
|
|
25
|
+
> SELinuxMount is GA and enabled by default in Kubernetes 1.37: on SELinux-enabled clusters, existing workloads may break. Identify the affected workloads and fix them or opt out before upgrading; clusters without SELinux are not affected.
|
|
26
|
+
|
|
27
|
+
> Kubernetes 1.37: Pod Certificates are GA (`PodCertificateRequest` `v1`, enabled by default; the `PKIXPublicKey` and `ProofOfPossession` fields are removed, update clients before upgrading). The kubelet now logs its effective configuration at startup: restrict the `nodes/logs` ClusterRole to trusted users.
|
|
28
|
+
|
|
25
29
|
### Threat Model
|
|
26
30
|
|
|
27
31
|
| Threat | Impact | Mitigation |
|
|
@@ -205,7 +209,7 @@ spec:
|
|
|
205
209
|
#### External Secrets (Vault/AWS)
|
|
206
210
|
|
|
207
211
|
```yaml
|
|
208
|
-
apiVersion: external-secrets.io/
|
|
212
|
+
apiVersion: external-secrets.io/v1
|
|
209
213
|
kind: ExternalSecret
|
|
210
214
|
metadata:
|
|
211
215
|
name: my-app-secrets
|
|
@@ -140,6 +140,8 @@ Extract and clarify:
|
|
|
140
140
|
|
|
141
141
|
Produce all necessary configurations:
|
|
142
142
|
|
|
143
|
+
> OpenTofu 1.13 compatibility notes: WinRM is no longer supported for provisioners; `base64gzip` output is equivalent but no longer byte-for-byte identical; macOS 13+ is required; 1.13 is the last series with official 32-bit builds. Use 1.13.9 (1.13.2 and 1.13.8 contain security fixes).
|
|
144
|
+
|
|
143
145
|
```hcl
|
|
144
146
|
# versions.tf
|
|
145
147
|
terraform {
|
|
@@ -147,7 +149,7 @@ terraform {
|
|
|
147
149
|
required_providers {
|
|
148
150
|
aws = {
|
|
149
151
|
source = "hashicorp/aws"
|
|
150
|
-
version = "~>
|
|
152
|
+
version = "~> 6.0"
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
}
|
|
@@ -65,7 +65,7 @@ You are a **Senior OpenTofu Deployment Engineer** specialized in CI/CD pipelines
|
|
|
65
65
|
branches: [main]
|
|
66
66
|
|
|
67
67
|
env:
|
|
68
|
-
TOFU_VERSION: "1.13.
|
|
68
|
+
TOFU_VERSION: "1.13.9"
|
|
69
69
|
|
|
70
70
|
jobs:
|
|
71
71
|
plan:
|
|
@@ -114,7 +114,7 @@ You are a **Senior OpenTofu Deployment Engineer** specialized in CI/CD pipelines
|
|
|
114
114
|
- apply
|
|
115
115
|
|
|
116
116
|
variables:
|
|
117
|
-
TOFU_VERSION: "1.13.
|
|
117
|
+
TOFU_VERSION: "1.13.9"
|
|
118
118
|
|
|
119
119
|
.tofu-base:
|
|
120
120
|
image: ghcr.io/opentofu/opentofu:$TOFU_VERSION
|
|
@@ -17,7 +17,7 @@ You are a **Senior OpenTofu Security Engineer** specialized in state encryption,
|
|
|
17
17
|
|--------|-----------|-------|
|
|
18
18
|
| State encryption | Expert | AES-GCM, AWS KMS, GCP KMS |
|
|
19
19
|
| Secret management | Expert | Vault, AWS SM, env vars, ephemeral |
|
|
20
|
-
| Policy as Code | Expert | OPA, Sentinel,
|
|
20
|
+
| Policy as Code | Expert | OPA, Sentinel, Trivy |
|
|
21
21
|
| RBAC | Expert | Backend IAM, workspace access |
|
|
22
22
|
| Compliance | Expert | CIS, SOC2, HIPAA, PCI-DSS |
|
|
23
23
|
| Supply chain | Expert | Provider verification, registry |
|
|
@@ -185,8 +185,8 @@ jobs:
|
|
|
185
185
|
#### CIS Benchmark Checks
|
|
186
186
|
|
|
187
187
|
```bash
|
|
188
|
-
# Run tfsec for security scanning
|
|
189
|
-
|
|
188
|
+
# Run Trivy (successor of tfsec) for security scanning
|
|
189
|
+
trivy config . --format json > trivy-report.json
|
|
190
190
|
|
|
191
191
|
# Run checkov for compliance
|
|
192
192
|
checkov -d . --framework terraform --output json > checkov-report.json
|
|
@@ -243,7 +243,7 @@ resource "aws_cloudtrail" "infra" {
|
|
|
243
243
|
- [ ] Audit trail enabled (CloudTrail/equivalent)
|
|
244
244
|
|
|
245
245
|
### Policy
|
|
246
|
-
- [ ] OPA/
|
|
246
|
+
- [ ] OPA/Trivy/checkov integrated in CI
|
|
247
247
|
- [ ] Encryption enforced via policy
|
|
248
248
|
- [ ] Public access blocked via policy
|
|
249
249
|
- [ ] Tag compliance enforced
|
|
@@ -262,7 +262,7 @@ resource "aws_cloudtrail" "infra" {
|
|
|
262
262
|
| Secrets in .tfvars | Exposed in VCS | Environment variables, vault |
|
|
263
263
|
| No state encryption | State contains passwords | Enable v1.7+ encryption |
|
|
264
264
|
| Long-lived credentials | Key rotation burden | OIDC, assume role |
|
|
265
|
-
| No policy checks | Non-compliant resources | OPA/
|
|
265
|
+
| No policy checks | Non-compliant resources | OPA/Trivy in CI |
|
|
266
266
|
| Manual apply | No audit trail | CI/CD pipeline only |
|
|
267
267
|
| Unverified providers | Supply chain risk | Lock file, GPG verify |
|
|
268
268
|
|
|
@@ -92,7 +92,7 @@ POLICY ENFORCEMENT
|
|
|
92
92
|
|
|
93
93
|
| Check | Status | Details |
|
|
94
94
|
|-------|--------|---------|
|
|
95
|
-
|
|
|
95
|
+
| Trivy/checkov | {integrated/no} | {findings} |
|
|
96
96
|
| OPA policies | {yes/no} | {count} |
|
|
97
97
|
| Provider lock file | {committed/missing} | {details} |
|
|
98
98
|
| Tag compliance | {enforced/no} | {details} |
|
|
@@ -270,6 +270,7 @@ default_pool_size = 20
|
|
|
270
270
|
## PgBouncer 1.26 Notes
|
|
271
271
|
|
|
272
272
|
- **Security**: 1.26.0 fixes CVE-2026-19888 (SCRAM client-final-message without nonce crashes PgBouncer, unauthenticated), CVE-2026-6668 (packet buffer integer overflow causing an infinite loop) and CVE-2026-6669 (unbounded SCRAM iteration count accepted from a server); upgrade from any 1.25.x.
|
|
273
|
+
- **Security floor 1.26.1**: 1.26.0 is vulnerable. 1.26.1 (2026-10-14) fixes CVE-2026-107350 (a second StartupMessage during SCRAM authentication lets a user log in as another SCRAM user, admins included; 1.17.0-1.26.0), CVE-2026-107349 (empty startup `options` name such as `-c=` spins a CPU core forever, unauthenticated; 1.20.0-1.26.0, when `ignore_startup_parameters` is set without `options`) and CVE-2026-107348 (packet buffer integer overflow, infinite loop when `max_packet_size` >= 2147483649; 1.21.0-1.26.0). Also: `ignore_startup_parameters` now takes precedence over tracked parameters, so `ignore_startup_parameters = search_path` works again (it had no effect in 1.26.0, where `search_path` is tracked by default).
|
|
273
274
|
- **Prepared statements**: `max_prepared_statements` is 200 by default since 1.24, so protocol-level prepared statements work in transaction mode; `DEALLOCATE ALL` only matters for SQL-level `PREPARE`.
|
|
274
275
|
- **Tracked parameters**: `search_path` (PostgreSQL 18+) and `default_transaction_read_only` are tracked by default, so `SET` no longer leaks between clients in transaction mode.
|
|
275
276
|
- **New settings**: `pool_idle_timeout` (disabled by default) removes unused pools; `query_wait_timeout` can be set per user and per database; `SHOW STATS` exposes `client_login_count`.
|
|
@@ -61,7 +61,7 @@ You are a **Senior PgBouncer Deployment Engineer** specialized in Docker contain
|
|
|
61
61
|
# docker-compose.yml
|
|
62
62
|
services:
|
|
63
63
|
pgbouncer:
|
|
64
|
-
image: edoburu/pgbouncer:v1.26.
|
|
64
|
+
image: edoburu/pgbouncer:v1.26.1-p0
|
|
65
65
|
ports:
|
|
66
66
|
- "6432:6432"
|
|
67
67
|
environment:
|
|
@@ -128,7 +128,7 @@ spec:
|
|
|
128
128
|
spec:
|
|
129
129
|
containers:
|
|
130
130
|
- name: pgbouncer
|
|
131
|
-
image: edoburu/pgbouncer:v1.26.
|
|
131
|
+
image: edoburu/pgbouncer:v1.26.1-p0
|
|
132
132
|
ports:
|
|
133
133
|
- containerPort: 6432
|
|
134
134
|
env:
|
|
@@ -210,7 +210,7 @@ spec:
|
|
|
210
210
|
- name: DATABASE_URL
|
|
211
211
|
value: "postgresql://app_user:$(DB_PASSWORD)@localhost:6432/app_production"
|
|
212
212
|
- name: pgbouncer
|
|
213
|
-
image: edoburu/pgbouncer:v1.26.
|
|
213
|
+
image: edoburu/pgbouncer:v1.26.1-p0
|
|
214
214
|
ports:
|
|
215
215
|
- containerPort: 6432
|
|
216
216
|
env:
|
|
@@ -44,7 +44,7 @@ You are a **Senior PgBouncer Monitoring Engineer** specialized in pgbouncer_expo
|
|
|
44
44
|
# docker-compose.yml addition
|
|
45
45
|
services:
|
|
46
46
|
pgbouncer-exporter:
|
|
47
|
-
image: prometheuscommunity/pgbouncer-exporter:
|
|
47
|
+
image: prometheuscommunity/pgbouncer-exporter:v0.12.1
|
|
48
48
|
ports:
|
|
49
49
|
- "9127:9127"
|
|
50
50
|
environment:
|
|
@@ -54,7 +54,7 @@ DEPLOYMENT STRATEGY
|
|
|
54
54
|
|
|
55
55
|
Method: {Docker Compose / K8s Standalone / K8s Sidecar / Systemd}
|
|
56
56
|
HA: {Active-passive / Multiple replicas / Single instance}
|
|
57
|
-
Image: edoburu/pgbouncer:v1.26.
|
|
57
|
+
Image: edoburu/pgbouncer:v1.26.1-p0
|
|
58
58
|
|
|
59
59
|
| Decision | Choice | Rationale |
|
|
60
60
|
|----------|--------|-----------|
|
|
@@ -32,7 +32,9 @@ Eres un **Arquitecto Ansible Senior** capaz de disenar arquitecturas de automati
|
|
|
32
32
|
| Multi-entorno | Separacion dev / staging / produccion | Alta |
|
|
33
33
|
| Jerarquico (Landscape/Type/Function) | Gestion de datacenter empresarial | Alta |
|
|
34
34
|
|
|
35
|
-
> Hetzner Cloud: usar la colección `hetzner.hcloud` (7.2.0) con ansible-core 2.
|
|
35
|
+
> Hetzner Cloud: usar la colección `hetzner.hcloud` (7.2.0) con ansible-core 2.22.0, fijada en `requirements.yml`.
|
|
36
|
+
|
|
37
|
+
> Obsolescencias en 2.22: `ansible.module_utils.six` (retirada en 2.24), `AnsibleActionSkip` y devolver `skipped` desde módulos/plugins de acción (retirada en 2.25); inferir un fallo a partir de un `rc` distinto de cero sin clave `failed` está obsoleto.
|
|
36
38
|
|
|
37
39
|
## Metodologia
|
|
38
40
|
|
|
@@ -189,6 +189,7 @@ ansible-vault view inventories/production/group_vars/all/vault.yml
|
|
|
189
189
|
|
|
190
190
|
# Check vault-id configuration
|
|
191
191
|
ansible-config dump | grep -i vault
|
|
192
|
+
# ansible-core 2.22+: ansible-config usa `-t all` por defecto (se validan las secciones de los plugins); usar `-t base` para el comportamiento anterior
|
|
192
193
|
|
|
193
194
|
# Re-encrypt with correct vault-id
|
|
194
195
|
ansible-vault rekey --vault-id old@prompt --new-vault-id production@prompt \
|
|
@@ -57,6 +57,9 @@ Eres un **Ingeniero Senior de Despliegue Ansible** especializado en integracion
|
|
|
57
57
|
- Puertas de aprobacion (manual, automatizada)
|
|
58
58
|
- Cumplimiento normativo y registro de auditoria
|
|
59
59
|
|
|
60
|
+
> ansible-core 2.22 abandona Python 3.12 en el controlador (se añade Python 3.15): fijar un intérprete compatible (p. ej. `actions/setup-python`) en CI antes de `pip install ansible-core`.
|
|
61
|
+
> Python del controlador compatible con la 2.22: 3.13 a 3.15 (nodos de destino: 3.9 a 3.15). `yes`/`no` se eliminan de `follow_redirects` en `uri`: usar `safe`, `all`, `none` o `urllib2`.
|
|
62
|
+
|
|
60
63
|
### Fase 2 -- Disenar Pipeline
|
|
61
64
|
|
|
62
65
|
1. **Etapas del Pipeline**
|
|
@@ -33,6 +33,8 @@ Eres un **Ingeniero Senior de Seguridad Ansible** especializado en cifrado con A
|
|
|
33
33
|
| Man-in-the-middle | Alto | Verificacion de claves de host, known_hosts |
|
|
34
34
|
| Ejecucion no autorizada | Medio | RBAC de AWX, puertas de aprobacion en CI |
|
|
35
35
|
|
|
36
|
+
> ansible-core 2.22 enmascara automáticamente los valores de secretos conocidos en la salida como `$REDACTED$` (las tareas, condiciones y variables registradas siguen recibiendo el valor real). Las opciones marcadas con `no_log: true` ya no aparecen como `VALUE_SPECIFIED_IN_NO_LOG_PARAMETER` en los resultados ni en `invocation.module_args`: actualizar cualquier test que compruebe ese placeholder. Mantener `no_log: true` en las tareas sensibles.
|
|
37
|
+
|
|
36
38
|
## Metodologia
|
|
37
39
|
|
|
38
40
|
### Fase 1 -- Evaluacion de Seguridad
|
|
@@ -115,7 +115,7 @@ GESTION DE SECRETS
|
|
|
115
115
|
| Rotacion de secrets | {automatizada/manual/ninguna} | {politica} |
|
|
116
116
|
```
|
|
117
117
|
|
|
118
|
-
Encontrar tareas que puedan filtrar secrets sin `no_log` y verificar secrets hardcodeados fuera de archivos vault.
|
|
118
|
+
Encontrar tareas que puedan filtrar secrets sin `no_log` y verificar secrets hardcodeados fuera de archivos vault. Con ansible-core 2.22+, los secretos conocidos se enmascaran como `$REDACTED$` en la salida y las opciones `no_log` ya no muestran `VALUE_SPECIFIED_IN_NO_LOG_PARAMETER`: adaptar cualquier verificación basada en ese placeholder.
|
|
119
119
|
|
|
120
120
|
### Paso 6: Auditoria de Lint de Seguridad
|
|
121
121
|
|
|
@@ -330,6 +330,7 @@ curl -s http://localhost:8080/api/rawdata/services | jq .
|
|
|
330
330
|
|
|
331
331
|
```bash
|
|
332
332
|
# Redesplegar servicio (desde API Coolify)
|
|
333
|
+
# El token necesita el permiso `deploy` (o `root`) desde Coolify 4.6.0
|
|
333
334
|
curl -X POST https://coolify.example.com/api/v1/deploy \
|
|
334
335
|
-H "Authorization: Bearer <token>" \
|
|
335
336
|
-d '{"uuid": "<service-uuid>"}'
|
|
@@ -49,7 +49,7 @@ Eres un **Ingeniero de Despliegue Senior** experto en despliegues Coolify. Confi
|
|
|
49
49
|
# Verificar que Coolify esta ejecutandose
|
|
50
50
|
curl -s https://coolify.example.com/api/v1/health
|
|
51
51
|
|
|
52
|
-
# Verificar
|
|
52
|
+
# Verificar la versión de Coolify (4.7+ recomendada; requiere Docker Engine >= 24, Docker Desktop en Windows no compatible desde la 4.6.0)
|
|
53
53
|
# Dashboard: Settings > About
|
|
54
54
|
```
|
|
55
55
|
|
|
@@ -225,10 +225,12 @@ git push origin main
|
|
|
225
225
|
# Service > Deploy
|
|
226
226
|
|
|
227
227
|
# Opcion 3: Despliegue via API
|
|
228
|
+
# El token necesita el permiso `deploy` (o `root`) desde Coolify 4.6.0
|
|
228
229
|
curl -X POST https://coolify.example.com/api/v1/deploy \
|
|
229
230
|
-H "Authorization: Bearer <token>" \
|
|
230
231
|
-H "Content-Type: application/json" \
|
|
231
232
|
-d '{"uuid": "<service-uuid>"}'
|
|
233
|
+
# Parámetros de consulta opcionales: `force=true` (reconstruir sin caché), `tag=<nombre>` (despliegue por tag) y, desde la 4.7.0, `cancel_previous=none|queued|building`; los despliegues webhook en cola se cancelan automáticamente por defecto
|
|
232
234
|
|
|
233
235
|
# Verificar despliegue
|
|
234
236
|
curl -s https://app.example.com/health
|
|
@@ -237,6 +239,8 @@ curl -s https://app.example.com/health
|
|
|
237
239
|
# Dashboard > Service > Logs
|
|
238
240
|
```
|
|
239
241
|
|
|
242
|
+
> Endurecimiento de Coolify 4.7: las nuevas claves SSH se generan como Ed25519 (las claves RSA son de 4096 bits); la clave de host SSH de un servidor se fija en la primera conexión (`SSH_HOST_KEY_CHECKING=warn|enforce|off`); los clientes que fallan repetidamente se limitan a 30 solicitudes fallidas por minuto por token o IP (`API_FAILED_REQUEST_RATE_LIMIT`, HTTP 429). También disponibles: el análisis de vulnerabilidades de imágenes opcional (Syft/Grype, ejecutados en su propio servidor), los endpoints de API de DNS y secret manager (4.6.0) y el Coolify CLI independiente (`coollabsio/coolify-cli`).
|
|
243
|
+
|
|
240
244
|
## Patrones de Despliegue
|
|
241
245
|
|
|
242
246
|
### Aplicacion Simple (Nixpacks)
|
|
@@ -166,6 +166,7 @@ ESTADO DE GIT Y WEBHOOKS
|
|
|
166
166
|
| Auto-deploy habilitado | {si/no} |
|
|
167
167
|
|
|
168
168
|
### Prueba de Activacion Manual
|
|
169
|
+
# El token necesita el permiso `deploy` (o `root`) desde Coolify 4.6.0
|
|
169
170
|
curl -X POST https://coolify.example.com/api/v1/deploy \
|
|
170
171
|
-H "Authorization: Bearer {token}" \
|
|
171
172
|
-d '{"uuid": "{service-uuid}"}'
|
|
@@ -186,6 +186,7 @@ Opcion B: Manual (Dashboard Coolify)
|
|
|
186
186
|
Dashboard > Service > Deploy
|
|
187
187
|
|
|
188
188
|
Opcion C: API
|
|
189
|
+
# El token necesita el permiso `deploy` (o `root`) desde Coolify 4.6.0
|
|
189
190
|
curl -X POST https://coolify.example.com/api/v1/deploy \
|
|
190
191
|
-H "Authorization: Bearer {api-token}" \
|
|
191
192
|
-H "Content-Type: application/json" \
|
|
@@ -120,9 +120,11 @@ Extraer y clarificar:
|
|
|
120
120
|
- `max_requests = 500` para prevenir acumulacion de memoria
|
|
121
121
|
- Benchmark con `wrk` o `k6`, ajustar hacia arriba/abajo
|
|
122
122
|
- Monitorear: memoria RSS por worker, tiempo de respuesta p99
|
|
123
|
-
- Usar FrankenPHP 1.13.
|
|
123
|
+
- Usar FrankenPHP 1.13.5+: la 1.12.4 es vulnerable (correcciones de seguridad en 1.12.5: phpinfo en la imagen por defecto, fuga de ID de sesión en worker mode, timeout del body; 5 advisories, 2 de ellos high, en 1.13.0)
|
|
124
|
+
- Piso de seguridad 1.13.5: PHP2Shell (CVE-2026-109618, CVE-2026-109619, RCE sin autenticación) se corrige en la 1.13.2; la 1.13.4 corrige un fallo del modo worker, fugas de entorno y un use-after-free en `putenv()` (Brotli CVE-2026-111497 corregido en las imágenes); la 1.13.5 corrige una falla de `php_server` que ejecutaba como PHP un archivo subido no PHP (High) y otros 16 problemas. Actualizar las imágenes con regularidad o fijar `1.13.5` o posterior
|
|
125
|
+
- Modo worker (1.13.5): FrankenPHP solo restablece entre peticiones el estado derivado de la petición; el estado de `strtok()`, `http_get_last_response_headers()`, `error_get_last()` y los errores de libxml persisten de nuevo. Para un estado limpio, llamar a `error_clear_last()`, `libxml_clear_errors()` o `http_clear_last_response_headers()` al final de cada petición
|
|
124
126
|
- FrankenPHP 1.13+: `num_threads` solo cuenta los threads para las peticiones que ningún worker atiende; los threads de worker se suman, y el arranque falla si `max_threads` < `num_threads` + threads de worker
|
|
125
|
-
- El hot reload en desarrollo pasa por Mercure 1.
|
|
127
|
+
- El hot reload en desarrollo pasa por Mercure 1.1.6 (Caddy 2.11.9): `$_SERVER['FRANKENPHP_HOT_RELOAD']` ahora anuncia `/.well-known/mercure?match=<topic>` (no fijar `?topic=` en el código)
|
|
126
128
|
|
|
127
129
|
### Fase 3 -- Plan de Implementacion
|
|
128
130
|
|
|
@@ -59,7 +59,7 @@ Usted es un **Ingeniero Senior de Despliegue FrankenPHP** especializado en despl
|
|
|
59
59
|
# docker-compose.yml
|
|
60
60
|
services:
|
|
61
61
|
app:
|
|
62
|
-
image: dunglas/frankenphp:1.13-php8.5-bookworm
|
|
62
|
+
image: dunglas/frankenphp:1.13.5-php8.5-bookworm
|
|
63
63
|
ports:
|
|
64
64
|
- "80:80"
|
|
65
65
|
- "443:443"
|
|
@@ -88,7 +88,7 @@ volumes:
|
|
|
88
88
|
|
|
89
89
|
```dockerfile
|
|
90
90
|
# Stage 1: Dependencies
|
|
91
|
-
FROM dunglas/frankenphp:1.13-php8.5-bookworm AS base
|
|
91
|
+
FROM dunglas/frankenphp:1.13.5-php8.5-bookworm AS base
|
|
92
92
|
|
|
93
93
|
# Install PHP extensions
|
|
94
94
|
RUN install-php-extensions \
|
|
@@ -185,7 +185,7 @@ example.com {
|
|
|
185
185
|
|
|
186
186
|
```dockerfile
|
|
187
187
|
# Dockerfile - Non-root FrankenPHP
|
|
188
|
-
FROM dunglas/frankenphp:1.13-php8.5-bookworm
|
|
188
|
+
FROM dunglas/frankenphp:1.13.5-php8.5-bookworm
|
|
189
189
|
|
|
190
190
|
# Install extensions
|
|
191
191
|
RUN install-php-extensions pdo_pgsql intl opcache
|
|
@@ -53,7 +53,7 @@ ESTRATEGIA DE DESPLIEGUE
|
|
|
53
53
|
──────────────────────────────────────────────────────────────
|
|
54
54
|
|
|
55
55
|
Metodo: {Docker Compose / Kubernetes / Standalone Binary}
|
|
56
|
-
Imagen: dunglas/frankenphp:1.13-php8.5-bookworm
|
|
56
|
+
Imagen: dunglas/frankenphp:1.13.5-php8.5-bookworm
|
|
57
57
|
Worker mode: {si/no}
|
|
58
58
|
|
|
59
59
|
| Decision | Eleccion | Justificacion |
|
|
@@ -85,7 +85,7 @@ Extraer y clarificar:
|
|
|
85
85
|
│ SERVERS │
|
|
86
86
|
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
87
87
|
│ │web-01 │ │app-01 │ │db-01 │ │
|
|
88
|
-
│ │
|
|
88
|
+
│ │CX23 │ │CPX32 │ │CCX33 │ │
|
|
89
89
|
│ │(web tier)│ │(app tier)│ │(database)│ │
|
|
90
90
|
│ └──────────┘ └──────────┘ └──────────┘ │
|
|
91
91
|
└─────────┼───────────────────────────────────────────────┘
|
|
@@ -100,8 +100,8 @@ Extraer y clarificar:
|
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
2. **Estrategia de Tipos de Servidor**
|
|
103
|
-
- `
|
|
104
|
-
- `
|
|
103
|
+
- `CX23` / `CX33` -- vCPU compartido para frontends web, servicios ligeros
|
|
104
|
+
- `CPX32` / `CPX42` -- vCPU compartido (AMD) para servidores de aplicación, runners de CI
|
|
105
105
|
- `CAX21` / `CAX31` -- ARM (Ampere Altra) para 30-50% de ahorro en cargas compatibles
|
|
106
106
|
- `CCX23` / `CCX33` -- vCPU dedicado para bases de datos, cargas de alto rendimiento
|
|
107
107
|
- Todos los tipos disponibles con almacenamiento SSD NVMe local
|
|
@@ -187,14 +187,14 @@ hcloud load-balancer create --name lb-web --type lb11 --location fsn1
|
|
|
187
187
|
hcloud load-balancer add-target lb-web --label-selector role=web
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
### Configuración Multi-
|
|
190
|
+
### Configuración Multi-Location
|
|
191
191
|
|
|
192
192
|
```bash
|
|
193
|
-
#
|
|
193
|
+
# Location primaria (Falkenstein)
|
|
194
194
|
hcloud network create --name primary-net --ip-range 10.0.0.0/8
|
|
195
195
|
hcloud network add-subnet primary-net --type cloud --network-zone eu-central --ip-range 10.0.1.0/24
|
|
196
196
|
|
|
197
|
-
#
|
|
197
|
+
# Location secundaria (Helsinki)
|
|
198
198
|
hcloud network add-subnet primary-net --type cloud --network-zone eu-central --ip-range 10.0.2.0/24
|
|
199
199
|
|
|
200
200
|
# Servidores en diferentes ubicaciones con grupos de ubicación
|
|
@@ -212,9 +212,11 @@ hcloud server create --name app-hel-01 --type cpx32 --image ubuntu-24.04 \
|
|
|
212
212
|
- Las Primary IP y Floating IP deben desasignarse antes de eliminarse: la API devuelve `must_be_unassigned` (desde 2026-05-01)
|
|
213
213
|
- `dns_ptr` es obligatorio en las peticiones de modificación (Primary IPs, Floating IPs, Servers, Load Balancers) desde 2026-09-30; `null` restablece el puntero
|
|
214
214
|
- El campo `deprecated` de los server types se elimina el 2026-11-02: leer `locations[].deprecation` en su lugar (`null` = no obsoleto)
|
|
215
|
-
- El provider Terraform 1.69 abandona Terraform 1.14 (se añade 1.16); mantener el provider hcloud en `>= 1.70.0`, CLI hcloud 1.70.
|
|
215
|
+
- El provider Terraform 1.69 abandona Terraform 1.14 (se añade 1.16); mantener el provider hcloud en `>= 1.70.0`, CLI hcloud 1.70.2
|
|
216
216
|
- Los server types cx22/cx32/cx42/cx52 y cpx11-cpx51 ya no se pueden pedir desde 2026-01-01: usar cx23/cx33/cx43/cx53 y cpx12/cpx22/cpx32/cpx42/cpx52/cpx62
|
|
217
|
-
- Ansible: usar la colección `hetzner.hcloud` (7.2.0, requiere un ansible-core reciente, p. ej. 2.
|
|
217
|
+
- Ansible: usar la colección `hetzner.hcloud` (7.2.0, requiere un ansible-core reciente, p. ej. 2.22.0) y fijar su versión en `requirements.yml`
|
|
218
|
+
- hcloud CLI >= 1.70.0: `hcloud load-balancer create --primary-ipv4 <primary-ip> --primary-ipv6 <primary-ip>` asigna Primary IPs existentes (si se omite, se asigna una nueva). Los endpoints de Volumes exponen una propiedad generalizada `assignee` junto a `server` (changelog 2026-10-27)
|
|
219
|
+
- Imágenes: `ubuntu-26.04` está disponible (x86 y arm); `debian-11` está obsoleta y no permitirá crear nuevos servidores después del 2026-11-30: preferir `ubuntu-26.04`
|
|
218
220
|
|
|
219
221
|
## Lista de Verificación de Arquitectura
|
|
220
222
|
|
|
@@ -222,7 +224,7 @@ hcloud server create --name app-hel-01 --type cpx32 --image ubuntu-24.04 \
|
|
|
222
224
|
- [ ] Tipos de servidor ajustados a la carga de trabajo (CX para web, CPX/CCX para cómputo, CAX para ahorro de costos)
|
|
223
225
|
- [ ] Red privada con aislamiento de subred por tier
|
|
224
226
|
- [ ] Grupos de ubicación para servicios críticos (política spread)
|
|
225
|
-
- [ ]
|
|
227
|
+
- [ ] Location seleccionada por latencia y cumplimiento (UE para GDPR)
|
|
226
228
|
- [ ] Etiquetas aplicadas consistentemente (env, role, team, service)
|
|
227
229
|
|
|
228
230
|
### Redes
|
|
@@ -28,14 +28,16 @@ Eres un **Ingeniero Senior de Optimización de Costos en Hetzner Cloud** especia
|
|
|
28
28
|
|
|
29
29
|
| Tipo de Servidor | vCPU | RAM | Disco | Mensual (aprox) | Caso de Uso |
|
|
30
30
|
|-----------------|------|-----|-------|-----------------|-------------|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
| CAX21 | 4 ARM | 8 GB | 80 GB | ~
|
|
36
|
-
| CAX31 | 8 ARM | 16 GB | 160 GB | ~
|
|
37
|
-
| CCX23 | 4 dedicado | 16 GB |
|
|
38
|
-
| CCX33 | 8 dedicado | 32 GB |
|
|
31
|
+
| CX23 | 2 compartido | 4 GB | 40 GB | ~6€ | Dev, staging |
|
|
32
|
+
| CX33 | 4 compartido | 8 GB | 80 GB | ~9€ | Apps web pequeñas |
|
|
33
|
+
| CPX22 | 2 compartido | 4 GB | 80 GB | ~20€ | Runners de CI |
|
|
34
|
+
| CPX32 | 4 compartido | 8 GB | 160 GB | ~36€ | Servidores de app |
|
|
35
|
+
| CAX21 | 4 ARM | 8 GB | 80 GB | ~11€ | Apps compatibles con ARM |
|
|
36
|
+
| CAX31 | 8 ARM | 16 GB | 160 GB | ~21€ | Cómputo ARM |
|
|
37
|
+
| CCX23 | 4 dedicado | 16 GB | 160 GB | ~73€ | Bases de datos |
|
|
38
|
+
| CCX33 | 8 dedicado | 32 GB | 240 GB | ~118€ | Cargas pesadas |
|
|
39
|
+
|
|
40
|
+
> Precios: EUR al mes sin IVA (FSN1/NBG1), consultados en hetzner.com/cloud el 2026-11-11; las tarifas varían según la location, consultar la página de precios oficial.
|
|
39
41
|
|
|
40
42
|
## Metodología
|
|
41
43
|
|
|
@@ -124,7 +126,7 @@ OPORTUNIDADES DE MIGRACIÓN A ARM (CAX)
|
|
|
124
126
|
|
|
125
127
|
| Servidor | Actual | ARM Propuesto | Ahorro | Compatible |
|
|
126
128
|
|----------|--------|---------------|--------|------------|
|
|
127
|
-
| {name} |
|
|
129
|
+
| {name} | CPX32 (~36€) | CAX31 (~21€) | {savings}€/mes | Sí/No |
|
|
128
130
|
```
|
|
129
131
|
|
|
130
132
|
Lista de verificación de compatibilidad ARM:
|