diff --git a/.gitignore b/.gitignore index b77522c..e7f9a36 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,13 @@ test-results/ playwright-report/ blob-report/ playwright/.cache/ + +# Local scratch / planning notes +todo.md + +# Temporary files, local databases, scratch files, and git worktrees +/temp/ +temp/ + +# Local TODO file +TODO.md diff --git a/AGENTS.md b/AGENTS.md index 0a7edd6..2efa721 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -205,3 +205,21 @@ cd benchmarks && dotnet run -c Release -- --filter "*ShortestPath*" -j short 2>& - `GrowingTreeAlgorithmLinkedList` - Uses `ElementAt()` which is O(n) on LinkedList - `DirectionsFlagParser.SplitDirectionsFromFlag` - Called frequently, allocates arrays - Maze generation algorithms - Main user-facing performance + + +## 🛑 Repository Conventions & Workflow Policy + +1. **Squash Merge Only**: All pull requests must be merged into `main` using **Squash and Merge** exclusively. +2. **Delete Branch on Merge**: Feature branches must be automatically deleted immediately upon merge into `main`. +3. **Linear History**: Maintain a strictly linear history. Rebase feature branches onto `main` before merging; no merge commits allowed. +4. **Direct Push Protection**: Non-force direct pushes to `main` are blocked; PR mechanism required (force pushes permitted when needed). + + +## 🛑 Repository Conventions & Workflow Policy + +1. **Squash Merge Only**: All pull requests must be merged into `main` using **Squash and Merge** exclusively. +2. **Delete Branch on Merge**: Feature branches must be automatically deleted immediately upon merge into `main`. +3. **Linear History**: Maintain a strictly linear history. Rebase feature branches onto `main` before merging; no merge commits allowed. +4. **Direct Push Protection**: Non-force direct pushes to `main` are blocked; PR mechanism required (force pushes permitted when needed). +5. **Local Temp & Worktree Directory**: All temporary files, local databases, scratch files, and git worktrees MUST go inside the root `/temp/` directory (gitignored). +6. **Gitignored Local TODO File**: A root `TODO.md` file MUST exist for local task tracking and be gitignored.