====== Core Checklist ====== **Version:** 2.0 (Split)\\ **Applies to:** All repositories and all languages (Pascal/FPC, C#, VB.NET, Rust, PHP/DokuWiki) This file is the **Merge Gate**. Apply it **always**, then add relevant profiles. ===== Always Apply ===== * [ ] Project structure matches WvdS baseline (see: [[project:structure|Project Structure]]) * [ ] Build requirements met (see: [[project:build-configuration|Build Configuration]]) * [ ] Error handling meets baseline (see: [[code:error-handling|Error Handling]]) * [ ] Code quality reaches "production-ready" threshold (see: [[code:quality|Code Quality]]) * [ ] Documentation triad exists (see: [[infrastructure:documentation|Documentation]] and [[project:documentation|Project Documentation]]) ===== Production-Ready (ZERO TOLERANCE) ===== **All code MUST be 100% production-ready:** ^ Forbidden ^ Required ^ | ''%%// TODO:%%'' comments | Complete implementation | | ''%%// FIXME:%%'' comments | Fixed code | | Stub functions | Full implementations | | Mock implementations | Real implementations | | Placeholder values | Actual values | | ''raise ENotImplemented'' | Working code | * [ ] No TODO comments in production code * [ ] No FIXME comments in production code * [ ] No stub or placeholder functions * [ ] No mock implementations * [ ] Every function fully implemented * [ ] All error cases handled * [ ] All edge cases covered ==== General Quality ==== * [ ] No duplicate code (DRY principle) * [ ] No magic numbers (use named constants) * [ ] Consistent formatting throughout file * [ ] All public methods have proper error messages ===== Error Handling Baseline ===== * [ ] No empty catch/except blocks * [ ] Errors logged BEFORE handling * [ ] Specific exceptions before general * [ ] Stack trace preserved on re-throw * [ ] Resources cleaned up deterministically ===== Logging Baseline ===== * [ ] Logging format/verbosity follows policy (see: [[infrastructure:logging|Logging]]) * [ ] No secrets or sensitive data in logs (see: [[security:kritis|KRITIS/NIS2]]) ===== Security Baseline ===== * [ ] If change affects crypto/auth/network/exposed surfaces: apply [[security:kritis|KRITIS/NIS2]] * [ ] If change affects DokuWiki/PHP: apply [[stacks:dokuwiki-php|DokuWiki/PHP Security]] ---- //Version: 2.0 (Split)//\\ //Author: Wolfgang van der Stille// ~~DISCUSSION:off~~