From a99106551904b033cdbf7ffd361c3c4b38043e95 Mon Sep 17 00:00:00 2001 From: Ryan Kelly <94ryan.kelly@gmail.com> Date: Mon, 29 Jun 2026 22:27:49 +0100 Subject: [PATCH 1/2] chore: gitignore local todo.md (web-export CI/CD plan) Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index b77522c..48ef8a3 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,6 @@ test-results/ playwright-report/ blob-report/ playwright/.cache/ + +# Local scratch / planning notes +todo.md From e135ec0c17ce1e3f7e5461ecf88567a2e8d671df Mon Sep 17 00:00:00 2001 From: Ryan Kelly <94ryan.kelly@gmail.com> Date: Mon, 27 Jul 2026 21:54:33 +0100 Subject: [PATCH 2/2] =?UTF-8?q?chore(governance):=20repo=20conventions=20?= =?UTF-8?q?=E2=80=94=20AGENTS.md=20policy,=20gitignore=20temp/TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- .gitignore | 7 +++++++ AGENTS.md | 18 ++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/.gitignore b/.gitignore index 48ef8a3..e7f9a36 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,10 @@ 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.