Final Review SPRINT2_PLANNING.md Perform one final editorial review only. This is NOT a planning rewrite. This is NOT an implementation task. Do NOT modify any PHP source code. Do NOT modify governance. Do NOT modify architecture. Do NOT modify Sprint scope. Do NOT create implementation prompts. Do NOT begin Sprint 2. --- Review the entire document once more. Apply ONLY the agreed editorial improvements below. --- ## 1. Login Route Consistency Review every occurrence of the login endpoint. Ensure the document consistently uses a single route. Current document contains references to both: - /login - /app/login Determine which route is correct according to the existing architecture and Sprint 0 routing conventions. Use only one throughout the document. Update every affected section consistently. Do not change any implementation scope. --- ## 2. Verify config/modules.php The planning document currently lists: config/modules.php as a modified file. Before keeping this entry: Verify that the file actually exists in the repository and is part of the current architecture. If it exists: keep it. If it does not exist: STOP assuming it exists. Replace the reference with the correct existing extension point or clearly document that this item requires architectural clarification before implementation. Do not invent new files. --- ## 3. Security Checklist Insert a new section immediately after: Testing Strategy Title: Security Checklist Include a concise implementation checklist covering: - password_hash() - password_verify() - session_regenerate_id() - Session::destroy() - hash_equals() - escape_html() - CsrfMiddleware - AuthMiddleware - RoleMiddleware - Logger::info() - Logger::warning() - Logger::error() - ErrorHandler - Secure session cookie flags This is a verification checklist only. Do not introduce new requirements. --- ## 4. Final Consistency Review Verify: - Section numbering - Cross references - Task numbering - Route names - Middleware names - Technical Debt references - Acceptance Criteria numbering - File paths - Grammar - Terminology - Version references Correct editorial issues only. No architecture changes. No planning changes. --- Output Provide only: 1. Summary of editorial improvements. 2. Any repository inconsistencies discovered. 3. Confirmation whether the document is now considered FINAL. Expected: SPRINT2_PLANNING.md Status: FINAL Version: 1.0 (Final) Ready for Sprint 2 Execution Guide No implementation started.