@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
|
@@ -22,7 +22,7 @@ Scan code with Bandit to detect vulnerabilities:
|
|
|
22
22
|
- [ ] No shell command injection
|
|
23
23
|
- [ ] Secure cryptography (not MD5/SHA1)
|
|
24
24
|
|
|
25
|
-
**Command**: Run `docker run --rm -v $(pwd):/app python:3.
|
|
25
|
+
**Command**: Run `docker run --rm -v $(pwd):/app python:3.15 sh -c "pip install bandit && bandit -r /app -f json"`
|
|
26
26
|
|
|
27
27
|
**Reference**: `rules/06-tooling.md` section "Security Analysis"
|
|
28
28
|
|
|
@@ -67,7 +67,7 @@ Analyze dependencies for known vulnerabilities:
|
|
|
67
67
|
- [ ] Use of `pip-audit` or `safety`
|
|
68
68
|
- [ ] No obsolete dependencies
|
|
69
69
|
|
|
70
|
-
**Command**: Run `docker run --rm -v $(pwd):/app python:3.
|
|
70
|
+
**Command**: Run `docker run --rm -v $(pwd):/app python:3.15 sh -c "pip install pip-audit && pip-audit --requirement /app/requirements.txt"`
|
|
71
71
|
|
|
72
72
|
**Reference**: `rules/06-tooling.md` section "Dependency Management"
|
|
73
73
|
|
|
@@ -32,7 +32,7 @@ Measure test coverage:
|
|
|
32
32
|
- [ ] Critical files at 100%
|
|
33
33
|
- [ ] Coverage configuration in pyproject.toml
|
|
34
34
|
|
|
35
|
-
**Command**: Run `docker run --rm -v $(pwd):/app python:3.
|
|
35
|
+
**Command**: Run `docker run --rm -v $(pwd):/app python:3.15 sh -c "pip install pytest pytest-cov && pytest /app --cov=/app --cov-report=term-missing"`
|
|
36
36
|
|
|
37
37
|
**Reference**: `rules/07-testing.md` section "Code Coverage"
|
|
38
38
|
|
|
@@ -91,7 +91,7 @@ Analyze test performance:
|
|
|
91
91
|
- [ ] Pytest configuration in pyproject.toml
|
|
92
92
|
- [ ] CI/CD with automatic test execution
|
|
93
93
|
|
|
94
|
-
**Command**: Run `docker run --rm -v $(pwd):/app python:3.
|
|
94
|
+
**Command**: Run `docker run --rm -v $(pwd):/app python:3.15 sh -c "pip install pytest && pytest /app -v --duration=10"`
|
|
95
95
|
|
|
96
96
|
**Reference**: `rules/07-testing.md` section "Test Performance"
|
|
97
97
|
|
|
@@ -217,11 +217,8 @@ Entities are objects with a unique identity.
|
|
|
217
217
|
|
|
218
218
|
```python
|
|
219
219
|
# src/myproject/domain/entities/user.py
|
|
220
|
-
from __future__ import annotations
|
|
221
|
-
|
|
222
220
|
from dataclasses import dataclass, field
|
|
223
221
|
from datetime import datetime, timezone
|
|
224
|
-
from typing import Optional
|
|
225
222
|
from uuid import UUID, uuid4
|
|
226
223
|
|
|
227
224
|
from myproject.domain.value_objects.email import Email
|
|
@@ -242,7 +239,7 @@ class User:
|
|
|
242
239
|
name: str = field(default="")
|
|
243
240
|
is_active: bool = field(default=True)
|
|
244
241
|
created_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc))
|
|
245
|
-
updated_at:
|
|
242
|
+
updated_at: datetime | None = field(default=None)
|
|
246
243
|
|
|
247
244
|
# Domain events (Event Sourcing pattern)
|
|
248
245
|
_events: list = field(default_factory=list, init=False, repr=False)
|
|
@@ -314,8 +311,6 @@ Value objects are immutable and defined by their attributes.
|
|
|
314
311
|
|
|
315
312
|
```python
|
|
316
313
|
# src/myproject/domain/value_objects/email.py
|
|
317
|
-
from __future__ import annotations
|
|
318
|
-
|
|
319
314
|
from dataclasses import dataclass
|
|
320
315
|
from email_validator import validate_email, EmailNotValidError
|
|
321
316
|
|
|
@@ -359,8 +354,6 @@ class Email:
|
|
|
359
354
|
|
|
360
355
|
|
|
361
356
|
# src/myproject/domain/value_objects/money.py
|
|
362
|
-
from __future__ import annotations
|
|
363
|
-
|
|
364
357
|
from dataclasses import dataclass
|
|
365
358
|
from decimal import Decimal, ROUND_HALF_UP
|
|
366
359
|
from typing import Union
|
|
@@ -67,7 +67,7 @@ Use Google style docstrings for all public modules, classes, and functions.
|
|
|
67
67
|
def calculate_order_total(
|
|
68
68
|
items: list[OrderItem],
|
|
69
69
|
tax_rate: Decimal,
|
|
70
|
-
discount:
|
|
70
|
+
discount: Decimal | None = None
|
|
71
71
|
) -> Money:
|
|
72
72
|
"""
|
|
73
73
|
Calculate the total amount of an order.
|
|
@@ -103,7 +103,7 @@ Type all function parameters and return values.
|
|
|
103
103
|
### Basic Types
|
|
104
104
|
|
|
105
105
|
```python
|
|
106
|
-
from typing import
|
|
106
|
+
from typing import Union
|
|
107
107
|
from decimal import Decimal
|
|
108
108
|
from datetime import datetime
|
|
109
109
|
|
|
@@ -118,7 +118,7 @@ def process_user(
|
|
|
118
118
|
pass
|
|
119
119
|
|
|
120
120
|
# Optional (nullable)
|
|
121
|
-
def find_user(user_id: str) ->
|
|
121
|
+
def find_user(user_id: str) -> User | None:
|
|
122
122
|
"""Returns User or None if not found."""
|
|
123
123
|
pass
|
|
124
124
|
|
|
@@ -192,7 +192,7 @@ T = TypeVar('T')
|
|
|
192
192
|
class Repository(Generic[T]):
|
|
193
193
|
"""Generic repository."""
|
|
194
194
|
|
|
195
|
-
def find_by_id(self, entity_id: str) ->
|
|
195
|
+
def find_by_id(self, entity_id: str) -> T | None:
|
|
196
196
|
pass
|
|
197
197
|
|
|
198
198
|
def save(self, entity: T) -> T:
|
|
@@ -203,6 +203,18 @@ user_repo: Repository[User] = UserRepository()
|
|
|
203
203
|
product_repo: Repository[Product] = ProductRepository()
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
+
### Python 3.15 highlights
|
|
207
|
+
|
|
208
|
+
Python 3.15 (stable since October 9, 2026) adds, among others:
|
|
209
|
+
- **PEP 810**: explicit lazy imports (`lazy import json`, module level only).
|
|
210
|
+
- **PEP 814** (`frozendict`): built-in immutable dictionary.
|
|
211
|
+
- **PEP 661** (`sentinel`): built-in type for unique sentinel values (replaces ad hoc `_MISSING = object()`).
|
|
212
|
+
- **PEP 686 / PEP 798**: UTF-8 by default for `open()` without `encoding`; `*` / `**` unpacking in comprehensions.
|
|
213
|
+
- **PEP 799** (`profiling`): `profiling.tracing` (ex-`cProfile`, kept as an alias) and `profiling.sampling` (Tachyon sampling profiler); the `profile` module is deprecated (removal in 3.17).
|
|
214
|
+
- **`re.prefixmatch()`**: explicit name for `re.match()`, now soft deprecated.
|
|
215
|
+
|
|
216
|
+
Source: docs.python.org/3.15/whatsnew/3.15.html
|
|
217
|
+
|
|
206
218
|
## Error Handling
|
|
207
219
|
|
|
208
220
|
### Specific Exceptions
|
|
@@ -382,7 +394,6 @@ src/myproject/
|
|
|
382
394
|
import os
|
|
383
395
|
import sys
|
|
384
396
|
from datetime import datetime
|
|
385
|
-
from typing import Optional
|
|
386
397
|
|
|
387
398
|
# 2. Third-party
|
|
388
399
|
from fastapi import FastAPI
|
|
@@ -20,7 +20,7 @@ The Repository pattern:
|
|
|
20
20
|
# src/myproject/domain/repositories/[entity]_repository.py
|
|
21
21
|
"""Interface for [Entity] repository."""
|
|
22
22
|
|
|
23
|
-
from typing import
|
|
23
|
+
from typing import Protocol
|
|
24
24
|
from uuid import UUID
|
|
25
25
|
|
|
26
26
|
from myproject.domain.entities.[entity] import [Entity]
|
|
@@ -54,7 +54,7 @@ class [Entity]Repository(Protocol):
|
|
|
54
54
|
"""
|
|
55
55
|
...
|
|
56
56
|
|
|
57
|
-
def find_by_id(self, entity_id: UUID) ->
|
|
57
|
+
def find_by_id(self, entity_id: UUID) -> [Entity] | None:
|
|
58
58
|
"""
|
|
59
59
|
Find [entity] by ID.
|
|
60
60
|
|
|
@@ -272,33 +272,30 @@ export const Button: FC<ButtonProps> = ({
|
|
|
272
272
|
|
|
273
273
|
```typescript
|
|
274
274
|
// components/atoms/Input/Input.tsx
|
|
275
|
-
import {
|
|
275
|
+
import { InputHTMLAttributes, Ref } from 'react';
|
|
276
276
|
import { cn } from '@/utils/classnames';
|
|
277
277
|
|
|
278
278
|
export interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
279
279
|
error?: boolean;
|
|
280
280
|
fullWidth?: boolean;
|
|
281
|
+
ref?: Ref<HTMLInputElement>; // React 19: ref is a regular prop
|
|
281
282
|
}
|
|
282
283
|
|
|
283
|
-
export const Input =
|
|
284
|
-
(
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
}
|
|
299
|
-
);
|
|
300
|
-
|
|
301
|
-
Input.displayName = 'Input';
|
|
284
|
+
export const Input = ({ error, fullWidth, className, ref, ...props }: InputProps) => {
|
|
285
|
+
return (
|
|
286
|
+
<input
|
|
287
|
+
ref={ref}
|
|
288
|
+
className={cn(
|
|
289
|
+
'px-3 py-2 border rounded-md outline-none transition-colors',
|
|
290
|
+
'focus:ring-2 focus:ring-blue-500',
|
|
291
|
+
error && 'border-red-500 focus:ring-red-500',
|
|
292
|
+
fullWidth && 'w-full',
|
|
293
|
+
className
|
|
294
|
+
)}
|
|
295
|
+
{...props}
|
|
296
|
+
/>
|
|
297
|
+
);
|
|
298
|
+
};
|
|
302
299
|
```
|
|
303
300
|
|
|
304
301
|
#### 2. Molecules
|
|
@@ -512,30 +512,29 @@ export const UserCardCustom: FC<UserCardProps> = memo(
|
|
|
512
512
|
);
|
|
513
513
|
```
|
|
514
514
|
|
|
515
|
-
### 3. forwardRef
|
|
515
|
+
### 3. `ref` as a prop (React 19+; `forwardRef` is legacy)
|
|
516
|
+
|
|
517
|
+
In React 19, `ref` is a regular prop and `forwardRef` is no longer necessary (legacy, kept only for React 17/18 compatibility). Source: [react.dev/reference/react/forwardRef](https://react.dev/reference/react/forwardRef).
|
|
516
518
|
|
|
517
519
|
```typescript
|
|
518
|
-
import {
|
|
520
|
+
import { InputHTMLAttributes, Ref } from 'react';
|
|
519
521
|
|
|
520
522
|
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
521
523
|
label?: string;
|
|
522
524
|
error?: string;
|
|
525
|
+
ref?: Ref<HTMLInputElement>;
|
|
523
526
|
}
|
|
524
527
|
|
|
525
|
-
// Component with
|
|
526
|
-
export const Input =
|
|
527
|
-
(
|
|
528
|
-
|
|
529
|
-
<
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
}
|
|
536
|
-
);
|
|
537
|
-
|
|
538
|
-
Input.displayName = 'Input';
|
|
528
|
+
// Component with `ref` as a prop (React 19)
|
|
529
|
+
export const Input = ({ label, error, ref, ...props }: InputProps) => {
|
|
530
|
+
return (
|
|
531
|
+
<div>
|
|
532
|
+
{label && <label>{label}</label>}
|
|
533
|
+
<input ref={ref} {...props} />
|
|
534
|
+
{error && <span>{error}</span>}
|
|
535
|
+
</div>
|
|
536
|
+
);
|
|
537
|
+
};
|
|
539
538
|
|
|
540
539
|
// Usage
|
|
541
540
|
const MyForm = () => {
|
|
@@ -119,21 +119,25 @@ export const ComponentName: FC<ComponentNameProps> = ({
|
|
|
119
119
|
};
|
|
120
120
|
```
|
|
121
121
|
|
|
122
|
-
## With
|
|
122
|
+
## With `ref` as a prop (React 19)
|
|
123
123
|
|
|
124
124
|
```typescript
|
|
125
|
-
import {
|
|
125
|
+
import { ButtonHTMLAttributes, Ref } from 'react';
|
|
126
126
|
import { cn } from '@/utils/classnames';
|
|
127
127
|
|
|
128
128
|
interface ComponentNameProps
|
|
129
129
|
extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
130
130
|
variant?: 'primary' | 'secondary';
|
|
131
|
+
ref?: Ref<HTMLButtonElement>;
|
|
131
132
|
}
|
|
132
133
|
|
|
133
|
-
export const ComponentName =
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
export const ComponentName = ({
|
|
135
|
+
variant = 'primary',
|
|
136
|
+
className,
|
|
137
|
+
children,
|
|
138
|
+
ref,
|
|
139
|
+
...props
|
|
140
|
+
}: ComponentNameProps) => {
|
|
137
141
|
return (
|
|
138
142
|
<button
|
|
139
143
|
ref={ref}
|
|
@@ -143,9 +147,7 @@ export const ComponentName = forwardRef<
|
|
|
143
147
|
{children}
|
|
144
148
|
</button>
|
|
145
149
|
);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
ComponentName.displayName = 'ComponentName';
|
|
150
|
+
};
|
|
149
151
|
```
|
|
150
152
|
|
|
151
153
|
## Container/Presenter Pattern
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: reactnative-reviewer
|
|
3
|
-
description: React Native 0.
|
|
3
|
+
description: React Native 0.88 and Expo code review specialist — New Architecture, navigation, mobile performance, bundle analysis
|
|
4
4
|
model: haiku
|
|
5
5
|
effort: low
|
|
6
6
|
maxTurns: 6
|
|
@@ -10,11 +10,11 @@ permissionMode: default
|
|
|
10
10
|
skills: [solid-principles, testing-reactnative, security-reactnative, architecture, navigation]
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
# React Native 0.
|
|
13
|
+
# React Native 0.88 / Expo Audit Agent
|
|
14
14
|
|
|
15
15
|
## Identity
|
|
16
16
|
|
|
17
|
-
I am a specialist in React Native 0.
|
|
17
|
+
I am a specialist in React Native 0.88 and Expo code review. My approach focuses on mobile-specific issues: the New Architecture (JSI, Fabric, TurboModules), navigation with Expo Router, 60 FPS performance, bundle size management, and composition patterns adapted to mobile. I do not perform a generic audit -- I detect what breaks, slows down, or unnecessarily complicates a modern React Native application using the New Architecture by default.
|
|
18
18
|
|
|
19
19
|
## Scoring System (100 points)
|
|
20
20
|
|
|
@@ -411,7 +411,7 @@ import { format } from 'date-fns';
|
|
|
411
411
|
## Audit Report Format
|
|
412
412
|
|
|
413
413
|
```markdown
|
|
414
|
-
# React Native 0.
|
|
414
|
+
# React Native 0.88 / Expo Audit Report
|
|
415
415
|
|
|
416
416
|
## Project: [Project Name]
|
|
417
417
|
**Date:** [Date]
|
|
@@ -1254,11 +1254,11 @@ export default function ArticlesScreen() {
|
|
|
1254
1254
|
|
|
1255
1255
|
---
|
|
1256
1256
|
|
|
1257
|
-
## New Architecture Activation (Expo SDK
|
|
1257
|
+
## New Architecture Activation (Expo SDK 52+)
|
|
1258
1258
|
|
|
1259
1259
|
| Project type | Activation |
|
|
1260
1260
|
|--------------|-----------|
|
|
1261
|
-
| **New project (Expo SDK
|
|
1262
|
-
| **Existing project (bare RN 0.
|
|
1261
|
+
| **New project (Expo SDK 52+)** | New Architecture **on** by default. |
|
|
1262
|
+
| **Existing project (bare RN 0.88)** | Set `newArchEnabled=true` in `android/gradle.properties` AND `RCT_NEW_ARCH_ENABLED=1` on iOS pod install. |
|
|
1263
1263
|
|
|
1264
|
-
> Expo SDK
|
|
1264
|
+
> Expo SDK 52+ ships with New Architecture enabled by default. `npx create-expo-app` generates projects with JSI, TurboModules, and Fabric active out of the box.
|
|
@@ -8,9 +8,9 @@ Ce document couvre les outils essentiels pour le développement React Native ave
|
|
|
8
8
|
|
|
9
9
|
## System Requirements
|
|
10
10
|
|
|
11
|
-
### Node.js >= 22 LTS (required for RN 0.
|
|
11
|
+
### Node.js >= 22 LTS (required for RN 0.88)
|
|
12
12
|
|
|
13
|
-
React Native 0.
|
|
13
|
+
React Native 0.88 requires **Node.js 22.x LTS** minimum (RN 0.85 required Node 20). The recommended version is **Node.js 22.x active LTS**.
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
# Check version
|
|
@@ -22,7 +22,7 @@ nvm use 22
|
|
|
22
22
|
nvm alias default 22
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
> Node versions < 22 are no longer supported with RN 0.
|
|
25
|
+
> Node versions < 22 are no longer supported with RN 0.88. Upgrade before migrating.
|
|
26
26
|
|
|
27
27
|
### React Native Gesture Handler 3.0.0 — Breaking Changes
|
|
28
28
|
|
|
@@ -399,22 +399,23 @@ npx expo install expo-camera@latest
|
|
|
399
399
|
- [ ] Consistent package manager (npm)
|
|
400
400
|
- [ ] npm scripts configured
|
|
401
401
|
|
|
402
|
-
## React Native 0.
|
|
402
|
+
## React Native 0.88 and Expo SDK 58
|
|
403
403
|
|
|
404
|
-
**Expo SDK
|
|
404
|
+
**Expo SDK 58 ships RN 0.88** (0.88.1 `latest`, stable). An Expo project follows the RN version of its SDK.
|
|
405
405
|
|
|
406
|
-
-
|
|
407
|
-
-
|
|
406
|
+
- Expo Router (SDK 58): the navigation core was reworked (deterministic navigation state, most of the forked React Navigation API removed). If you have a custom navigator or import from `expo-router/react-navigation`, some APIs moved or were removed: follow the SDK 57-to-58 migration guide. `withLayoutContext` is deprecated in favor of `integrateWithRouter`
|
|
407
|
+
- Expo Router web: `web.output` defaults to `"server"` when unset (set `"static"` and enable the `apiRoutes` option of the config plugin to keep SDK 57 behavior); async routes are enabled by default on web (`asyncRoutes: { web: false }` to disable); web safe areas now use CSS `env(safe-area-inset-*)` instead of `react-native-safe-area-context`
|
|
408
|
+
- iOS: `npx expo prebuild` now generates `SceneDelegate.swift` and a `UIApplicationSceneManifest` entry in `Info.plist`; the `UIWindow` is created by the scene delegate instead of `didFinishLaunchingWithOptions`. A customized `AppDelegate.swift` that creates the window must be migrated (guide: https://expo.fyi/ios-scene-lifecycle)
|
|
409
|
+
- Android: R8 is enabled by default in release builds (`android.enableMinifyInReleaseBuilds=true`); libraries relying on reflection may need ProGuard keep rules; opt out with `android.enableMinifyInReleaseBuilds=false` via `expo-build-properties`
|
|
410
|
+
- Node.js: 22.13+ (22 line), 24.3+ (24 line) or 26+; odd-numbered releases (23, 25) are not supported
|
|
411
|
+
- RN 0.88 highlights: web-based event dispatching by default; `fontVariationSettings` (variable fonts) on `Text` and `TextInput`; SceneDelegate lifecycle support on iOS; `ArrayBuffer` support in Java TurboModules; experimental Swift Package Manager support; React 19.3.0 and Metro 0.87. No user-facing breaking changes
|
|
412
|
+
- Strict TypeScript API is the default in SDK 58: the `tsconfig.json` opt-out is slated for removal after RN 0.89
|
|
413
|
+
- Reanimated 4.7.x supports RN 0.86-0.88 (with `react-native-worklets` 0.13.x); Expo SDK 58 bundles Reanimated 4.7.1 and `expo-router` ~58.0.30
|
|
408
414
|
- Worklets bundle mode is experimental and unsupported: **do not use it in production**
|
|
409
415
|
- Prefer **development builds** over Expo Go when targeting the stores
|
|
410
416
|
- `expo prebuild` cleans and regenerates `android/` and `ios/` by default (`--no-clean` to keep them)
|
|
411
|
-
- iOS 27: `ios.enableSceneSupport` (`expo-build-properties`, `expo@57.0.23+`, opt-in; default in SDK 58)
|
|
412
417
|
- React Navigation 8 is in alpha: watch it, stay on 7.x in production
|
|
413
418
|
|
|
414
|
-
**RN 0.87 breaking changes:** strict TypeScript API by default (deep imports of `react-native/Libraries/*` forbidden, opt-out
|
|
419
|
+
**RN 0.87 breaking changes (still applicable):** strict TypeScript API by default (deep imports of `react-native/Libraries/*` forbidden, opt-out slated for removal after 0.89); `InteractionManager` removed (use `requestIdleCallback`); `ImageBackground` deprecated (absolute `Image` inside a `View`); `Modal.animated` and `StatusBar` `backgroundColor`/`translucent` props removed; Node 22.13+, Kotlin 2.0+; AGP 9 supported (`android.builtInKotlin=false` and `android.newDsl=false` keep the old behavior); experimental opt-in Swift Package Manager on iOS (CocoaPods stays the default).
|
|
415
420
|
|
|
416
|
-
**Sources:** [RN 0.
|
|
417
|
-
|
|
418
|
-
---
|
|
419
|
-
|
|
420
|
-
**Les bons outils rendent le développement plus efficace et agréable.**
|
|
421
|
+
**Sources:** [RN 0.88](https://reactnative.dev/blog/2026/10/19/react-native-0.88), [Expo SDK 58](https://expo.dev/changelog/sdk-58), [RN 0.87](https://reactnative.dev/blog/2026/08/11/react-native-0.87)
|
|
@@ -48,7 +48,7 @@ module.exports = {
|
|
|
48
48
|
};
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
> **Expo managed workflow projects:** use `jest-expo` instead of `@react-native/jest-preset`. `jest-expo` handles Expo transforms and remains the recommended preset for Expo SDK
|
|
51
|
+
> **Expo managed workflow projects:** use `jest-expo` instead of `@react-native/jest-preset`. `jest-expo` handles Expo transforms and remains the recommended preset for Expo SDK 52+.
|
|
52
52
|
>
|
|
53
53
|
> ```javascript
|
|
54
54
|
> // jest.config.js — Expo managed workflow
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Expo Router est le système de navigation recommandé pour Expo, basé sur le routing fichier (comme Next.js).
|
|
6
6
|
|
|
7
|
+
> **Expo SDK 58:** the Expo Router core was reworked. If you have custom navigators or imports from `expo-router/react-navigation`, some APIs moved or were removed (SDK 57-to-58 migration guide); `withLayoutContext` is deprecated in favor of `integrateWithRouter`. Source: [Expo SDK 58](https://expo.dev/changelog/sdk-58).
|
|
8
|
+
|
|
7
9
|
---
|
|
8
10
|
|
|
9
11
|
## Installation & Setup
|
|
@@ -230,7 +230,7 @@ Is the Ruby version pinned (.ruby-version) and supported (4.0.x, or 3.4 while su
|
|
|
230
230
|
|
|
231
231
|
| Topic | Guidance |
|
|
232
232
|
|-------|----------|
|
|
233
|
-
| Ruby version | 4.0 (4.0.0 released 2025-12-25). Pin in `.ruby-version` and the `Dockerfile` |
|
|
233
|
+
| Ruby version | 4.0 (4.0.9 current patch, released 2026-10-23; 4.0.0 released 2025-12-25). Pin in `.ruby-version` and the `Dockerfile` |
|
|
234
234
|
| JIT | YJIT remains available and enabled in production images; ZJIT is the new compiler, evaluate before relying on it |
|
|
235
235
|
| `Ruby::Box` | Experimental: do NOT use in production code |
|
|
236
236
|
| `Data.define` | Preferred for immutable value objects and service results |
|
|
@@ -108,7 +108,7 @@ source "https://rubygems.org"
|
|
|
108
108
|
|
|
109
109
|
ruby file: ".ruby-version"
|
|
110
110
|
|
|
111
|
-
gem "rails", "~> 8.1.
|
|
111
|
+
gem "rails", "~> 8.1.4", ">= 8.1.4.1"
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
Ruby 4.0 notes: YJIT remains available (`RUBY_YJIT_ENABLE=1`); ZJIT is the new compiler; `Ruby::Box` is experimental and must not be used in production.
|
|
@@ -136,7 +136,7 @@ docker compose exec app bundle lock --add-platform x86_64-linux # Add CI plat
|
|
|
136
136
|
source "https://rubygems.org"
|
|
137
137
|
ruby file: ".ruby-version"
|
|
138
138
|
|
|
139
|
-
gem "rails", "~> 8.1.
|
|
139
|
+
gem "rails", "~> 8.1.4", ">= 8.1.4.1"
|
|
140
140
|
gem "pg", "~> 1.5"
|
|
141
141
|
gem "puma", ">= 5.0"
|
|
142
142
|
gem "propshaft"
|
|
@@ -243,7 +243,7 @@ digest = hasher.create(password)
|
|
|
243
243
|
Argon2::Password.verify_password(password, digest)
|
|
244
244
|
```
|
|
245
245
|
|
|
246
|
-
Follow NIST SP 800-63B-4: minimum
|
|
246
|
+
Follow NIST SP 800-63B-4: minimum 15 characters (single-factor; 8 with MFA), no mandatory complexity rules, no periodic rotation, allow all printable characters, check against breached-password lists.
|
|
247
247
|
|
|
248
248
|
Use `User.authenticate_by(email_address:, password:)` (timing-safe) rather than `find_by` followed by `authenticate`.
|
|
249
249
|
|
|
@@ -534,6 +534,18 @@ end
|
|
|
534
534
|
- Scan files for malware when accepting uploads from untrusted users
|
|
535
535
|
- Keep Active Storage's variant processing (libvips) updated
|
|
536
536
|
|
|
537
|
+
### Rails Security Patch Level (8.1.4.1, 2026-11-04)
|
|
538
|
+
|
|
539
|
+
Require Rails 8.1.4.1 or later (`gem "rails", "~> 8.1.4", ">= 8.1.4.1"`): it fixes many GHSA advisories across Active Support, Action View, Action Pack, Active Storage and Action Mailbox. Behavior changes to check when upgrading:
|
|
540
|
+
- `cookies_same_site_protection` now applies to every session store, not only `CookieStore`
|
|
541
|
+
- rails-html-sanitizer 1.7.2 or later is required; `strip_tags` and `highlight` now output `"` and `'` for quotes
|
|
542
|
+
- Conflicting `Forwarded` and `X-Forwarded-For` client addresses raise `IpSpoofAttackError` when spoof checking is on: review the proxy chain
|
|
543
|
+
- Active Storage ships an ImageMagick policy (mini_magick 5.1 or later); apps rendering PostScript or PDF must re-allow the `gs` delegate and needed coders in their own `policy.xml`
|
|
544
|
+
- ffmpeg and ffprobe are limited to common audio and video formats (extend with `config.active_storage.ffmpeg_allowed_formats`); GCS direct uploads need `x-goog-content-length-range` in the bucket CORS `responseHeader`
|
|
545
|
+
- An unsafe `SafeBuffer` serialized with MessagePack can no longer be read by older Rails versions: upgrade every app instance sharing a cache before rolling out
|
|
546
|
+
|
|
547
|
+
Source: https://github.com/rails/rails/releases/tag/v8.1.4.1
|
|
548
|
+
|
|
537
549
|
---
|
|
538
550
|
|
|
539
551
|
## Security Tooling in CI
|
|
@@ -235,7 +235,7 @@ pub fn total(&self) -> Result<Money, DomainError> { /* ... */ }
|
|
|
235
235
|
|
|
236
236
|
- Rust API Guidelines: https://rust-lang.github.io/api-guidelines/
|
|
237
237
|
- Clippy lints: https://rust-lang.github.io/rust-clippy/master/
|
|
238
|
-
- Rust 1.99.
|
|
238
|
+
- Rust 1.99.1 release: https://blog.rust-lang.org/2026/10/01/Rust-1.99.1/ (edition 2024)
|
|
239
239
|
|
|
240
240
|
## Checklist
|
|
241
241
|
|
|
@@ -169,7 +169,7 @@ pub async fn register(Json(body): Json<CreateUserRequest>) -> Result<StatusCode,
|
|
|
169
169
|
- `#[serde(deny_unknown_fields)]` for strict DTOs; separate DTOs per use case to prevent mass assignment
|
|
170
170
|
- Limit sizes: `RequestBodyLimitLayer`, `DefaultBodyLimit`, string `max` lengths, pagination caps (`limit <= 100`)
|
|
171
171
|
- Wrap `Json` in an extractor that maps malformed-body rejections to the problem+json format without echoing internals
|
|
172
|
-
- Passwords: minimum
|
|
172
|
+
- Passwords: minimum 15 characters (single-factor; 8 with MFA), allow any printable character, no composition rules, no periodic rotation (NIST SP 800-63B-4)
|
|
173
173
|
|
|
174
174
|
---
|
|
175
175
|
|
|
@@ -11,7 +11,7 @@ An **Architecture Decision Record** (ADR) is a document that captures an importa
|
|
|
11
11
|
- The **consequences** both positive AND negative
|
|
12
12
|
- **Implementation** details
|
|
13
13
|
|
|
14
|
-
**Format used**: MADR
|
|
14
|
+
**Format used**: MADR 4.0.0 (Markdown Any Decision Records)
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -265,11 +265,11 @@ Exemples :
|
|
|
265
265
|
|
|
266
266
|
Outils à installer :
|
|
267
267
|
```bash
|
|
268
|
-
composer require --dev phpstan/phpstan ^
|
|
268
|
+
composer require --dev phpstan/phpstan ^2.3
|
|
269
269
|
composer require --dev phpstan/phpstan-symfony
|
|
270
270
|
composer require --dev phpstan/phpstan-doctrine
|
|
271
271
|
composer require --dev squizlabs/php_codesniffer ^3.7
|
|
272
|
-
composer require --dev friendsofphp/php-cs-fixer ^3.
|
|
272
|
+
composer require --dev friendsofphp/php-cs-fixer ^3.95
|
|
273
273
|
```
|
|
274
274
|
|
|
275
275
|
Configuration PHP CS Fixer (.php-cs-fixer.php) :
|
|
@@ -402,3 +402,18 @@ Voir `.claude/checklists/pre-commit.md` pour checklist complete.
|
|
|
402
402
|
- **Symfony Coding Standards** : https://symfony.com/doc/current/contributing/code/standards.html
|
|
403
403
|
- **PHP-CS-Fixer** : https://github.com/PHP-CS-Fixer/PHP-CS-Fixer
|
|
404
404
|
- **PHPStan** : https://phpstan.org/
|
|
405
|
+
|
|
406
|
+
## Symfony 8.1 Deprecations and BC Breaks
|
|
407
|
+
|
|
408
|
+
| Component | 8.1 change | Action |
|
|
409
|
+
|-----------|-----------|--------|
|
|
410
|
+
| DependencyInjection | Named autowiring aliases without `#[Target]` are deprecated | Add `#[Target]` to the constructor parameter |
|
|
411
|
+
| Messenger | Serializers return `Envelope<MessageDecodingFailedException>` instead of throwing; receivers no longer delete the message on decode failure | Adapt custom serializers; `$fetchSize` added to `ReceiverInterface::get()` / `QueueReceiverInterface::getFromQueues()`; `forceRetry()` added to `RecoverableExceptionInterface` |
|
|
412
|
+
| Messenger | `StopWorkerOnTimeLimitListener` is deprecated | Use the `time_limit` worker option |
|
|
413
|
+
| HttpKernel | `Bundle::registerCommands()` is deprecated | Use `#[AsCommand]` or the `console.command` tag |
|
|
414
|
+
| SecurityBundle | `security.erase_credentials` is deprecated (`eraseCredentials()` was removed in 8.0) | Remove the option |
|
|
415
|
+
| Validator | `ConstraintValidatorInterface::initialize()`/`validate()` are deprecated | Implement `validateInContext()` (nothing to do if extending `ConstraintValidator`) |
|
|
416
|
+
| HttpFoundation | Setting public properties of `Request`/`Response` directly is deprecated | Use setters or constructor arguments |
|
|
417
|
+
| HttpFoundation | `ParameterBag::getInt()`/`getBoolean()` throw `UnexpectedValueException` when the value cannot be converted (they used to return `0`/`false`) | Validate input or catch the exception |
|
|
418
|
+
|
|
419
|
+
Source: https://github.com/symfony/symfony/blob/8.1/UPGRADE-8.1.md
|
|
@@ -397,7 +397,7 @@ FROM php:8.2-fpm-alpine AS base
|
|
|
397
397
|
|
|
398
398
|
LABEL author="The Bearded CTO"
|
|
399
399
|
LABEL version="1.0.0"
|
|
400
|
-
LABEL description="Atoll Tourisme - Application Symfony
|
|
400
|
+
LABEL description="Atoll Tourisme - Application Symfony 8.1"
|
|
401
401
|
|
|
402
402
|
# ✅ Bonnes pratiques Hadolint
|
|
403
403
|
# 1. Utiliser une version spécifique
|
|
@@ -384,7 +384,6 @@ declare(strict_types=1);
|
|
|
384
384
|
use Rector\Config\RectorConfig;
|
|
385
385
|
use Rector\Doctrine\Set\DoctrineSetList;
|
|
386
386
|
use Rector\Symfony\Set\SymfonySetList;
|
|
387
|
-
use Rector\Symfony\Set\SymfonyLevelSetList;
|
|
388
387
|
use Rector\PHPUnit\Set\PHPUnitSetList;
|
|
389
388
|
use Rector\Set\ValueObject\LevelSetList;
|
|
390
389
|
use Rector\Set\ValueObject\SetList;
|
|
@@ -409,9 +408,8 @@ return RectorConfig::configure()
|
|
|
409
408
|
earlyReturn: true,
|
|
410
409
|
strictBooleans: true,
|
|
411
410
|
)
|
|
411
|
+
->withComposerBased(symfony: true) // version sets inferred from composer.json (SymfonyLevelSetList removed)
|
|
412
412
|
->withSets([
|
|
413
|
-
// ✅ Symfony 6.4
|
|
414
|
-
SymfonyLevelSetList::UP_TO_SYMFONY_64,
|
|
415
413
|
SymfonySetList::SYMFONY_CODE_QUALITY,
|
|
416
414
|
SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION,
|
|
417
415
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Doctrine Extensions (Gedmo)
|
|
2
2
|
|
|
3
|
-
> Version: stof/doctrine-extensions-bundle v1.
|
|
4
|
-
> Gedmo: doctrine-extensions v3.
|
|
5
|
-
> Compatibilite: Symfony ^6.4 || ^7.0, PHP ^8.1
|
|
3
|
+
> Version: stof/doctrine-extensions-bundle v1.15.3
|
|
4
|
+
> Gedmo: doctrine-extensions v3.22.2
|
|
5
|
+
> Compatibilite: Symfony ^6.4 || ^7.0 || ^8.0, PHP ^8.1
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -11,8 +11,8 @@ make composer CMD="require stof/doctrine-extensions-bundle"
|
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
**Dependances installees :**
|
|
14
|
-
- `stof/doctrine-extensions-bundle` v1.
|
|
15
|
-
- `gedmo/doctrine-extensions` v3.
|
|
14
|
+
- `stof/doctrine-extensions-bundle` v1.15.3
|
|
15
|
+
- `gedmo/doctrine-extensions` v3.22.2
|
|
16
16
|
|
|
17
17
|
## Configuration
|
|
18
18
|
|
|
@@ -175,7 +175,7 @@ Usage :
|
|
|
175
175
|
$this->translator->trans('client.created', [], 'messages', $locale);
|
|
176
176
|
```
|
|
177
177
|
|
|
178
|
-
Messages pluriels/genrés : ICU MessageFormat (MF1 via le domaine `+intl-icu` de Symfony) ; **MessageFormat 2.0** est stable dans CLDR 47 (mars 2025) — vérifier le support de la bibliothèque avant de migrer.
|
|
178
|
+
Messages pluriels/genrés : ICU MessageFormat (MF1 via le domaine `+intl-icu` de Symfony) ; **MessageFormat 2.0** est stable dans CLDR 47 (mars 2025, seules les fonctions `:string`, `:number`, `:integer` ; CLDR 49 est la version courante) — vérifier le support de la bibliothèque avant de migrer.
|
|
179
179
|
|
|
180
180
|
## Checklist i18n
|
|
181
181
|
|
|
@@ -11,7 +11,7 @@ Une **Architecture Decision Record** (ADR) est un document qui capture une déci
|
|
|
11
11
|
- Les **conséquences** positives ET négatives
|
|
12
12
|
- Les détails d'**implémentation**
|
|
13
13
|
|
|
14
|
-
**Format utilisé** : MADR
|
|
14
|
+
**Format utilisé** : MADR 4.0.0 (Markdown Any Decision Records) en français
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -327,6 +327,9 @@ Does the app target iOS/Android?
|
|
|
327
327
|
- `tauri.conf.json` bundle identifier, version and icons set; `gen/schemas/` not hand-edited
|
|
328
328
|
- Tauri crate, `tauri-build`, `@tauri-apps/api` and `@tauri-apps/cli` kept on matching minor versions
|
|
329
329
|
- Rust toolchain compatible with the Tauri MSRV (1.90 for 2.12.x)
|
|
330
|
+
- Multi-webview apps on Tauri 2.11.6 or later (2.12.x recommended): GHSA-w28w-mhc8-qvjv (Tauri 2.0.0 to 2.11.5) let a webview read another webview's queued `Channel` payloads and large invoke responses; the fix binds the queue to the owning webview
|
|
331
|
+
- 2.12 notes: Android Gradle 8.13 minimum (template on Gradle 9.6.1, Kotlin 2.2: rename `proguard-rules.pro` to `consumer-rules.pro` in plugins); `windows` 0.62 / `webview2-com` 0.39 drop Windows 7 support; `InvokeMessage::state` and `state_ref` are deprecated; runtime ACL deny rules are scoped to the capability's local or remote context; new `limitNavigationsToAppBoundDomains` webview option
|
|
332
|
+
- Source: https://github.com/tauri-apps/tauri/security/advisories/GHSA-w28w-mhc8-qvjv and the tauri crate CHANGELOG (2.12.0)
|
|
330
333
|
- Mobile commands (`tauri android init|dev|build`, `tauri ios init|dev|build`) used only when mobile is a declared target
|
|
331
334
|
- Releases publish updater artifacts together with their signatures
|
|
332
335
|
|