# INVEETAIRE — Sprint 3

## TASK S3-001 — Pre-Implementation Checkpoint

You are joining an existing long-running software project.

This repository already has completed documentation.

You are NOT designing architecture.

You are NOT creating documentation.

You are NOT making assumptions.

Your responsibility is to prepare the repository for the first Sprint 3 implementation.

---

## Project Context

Project:
INVEETAIRE

Current Status:

* Sprint 0 ✅ Closed
* Sprint 1 ✅ Closed
* Sprint 2 ✅ Closed
* Sprint 3 Documentation ✅ Final
* Sprint 3 Implementation ❌ Not Started

Repository:

* Branch: main
* Working Tree should be clean
* Latest commits already pushed

Architecture:

* Native PHP 7.4
* Layered Architecture
* PSR-4
* PDO
* MariaDB
* Tailwind CSS
* Alpine.js

Framework Kernel is FROZEN.

Never modify:

* app/core/*
* Router
* BaseController
* MiddlewarePipeline

---

## Mandatory Reading

Read and understand:

* AI.md v1.1
* WORKFLOW.md
* AI_DEVELOPMENT_SYSTEM.md
* SPRINT3_PLANNING.md
* SPRINT3_EXECUTION_GUIDE.md

Do not continue if documentation conflicts exist.

---

## Task

Perform a complete Pre-Implementation Verification.

Verify the following:

### 1. Repository

* Working tree is clean.
* Current branch is main.
* No pending merge conflict.
* No uncommitted files.

### 2. Sprint Dependencies

Verify Sprint 0, Sprint 1 and Sprint 2 are fully completed.

Confirm no pending implementation memories.

### 3. Frozen Kernel

Verify these files remain untouched:

* app/core/*
* Router
* BaseController
* MiddlewarePipeline

Report if any modification exists.

### 4. Database Prerequisites

Verify required tables exist:

* workspaces
* users
* invitations
* invitation_sections
* retention_policies
* message_templates
* printer_configurations
* audit_logs

If any are missing,
STOP.

Do not create migrations.

### 5. Workspace Assumptions

Verify that current codebase does NOT already contain:

* WorkspaceMiddleware
* Workspace module
* WorkspaceService
* WorkspaceController
* WorkspaceModel

If partially implemented,
report exactly which files exist.

### 6. Task Dependency

Verify the first implementation task according to Sprint 3 Planning.

Confirm whether implementation order is:

1. Security Hardening
2. WorkspaceMiddleware
3. WS-001
4. WS-002
5. WS-003

If documentation differs,
identify the conflicting documents.

Do NOT decide yourself.

---

## Constraints

Do NOT:

* modify files
* generate code
* create new files
* create migrations
* commit
* push
* edit documentation

This is a verification-only task.

---

## Expected Output

Produce a detailed Pre-Implementation Report containing:

1. Repository Status
2. Dependency Verification
3. Frozen Kernel Verification
4. Database Verification
5. Existing Workspace Components
6. Implementation Order Verification
7. Documentation Conflicts (if any)
8. Recommendation:

* READY FOR IMPLEMENTATION

or

* NOT READY

If NOT READY,
explain every blocking issue.

Stop after the report.

Wait for further instructions.
