From a0ad146eebbcaa953aafc7876cdd8e531b1a6dc5 Mon Sep 17 00:00:00 2001 From: Roy Osherove <575051+royosherove@users.noreply.github.com> Date: Sun, 17 May 2026 20:02:26 +0000 Subject: [PATCH 1/2] chore: add MEMORY.md to gitignore - Exclude durable memory files from git - Prevents agent session state from being tracked - Aligns with pi-hard-no review scope (code review tool, not session data) --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 9203a2e..da8790f 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,7 @@ coverage/ # Secrets vault .psst/ + +# Memory / durable state +MEMORY.md +.MEMORY.md From fec794e856af1a127f50b9b5261a7afb714c26af Mon Sep 17 00:00:00 2001 From: Roy Osherove <575051+royosherove@users.noreply.github.com> Date: Sun, 17 May 2026 20:05:16 +0000 Subject: [PATCH 2/2] docs: add Files to Skip section + exclude MEMORY.md from review - Agent session state (MEMORY.md, .MEMORY.md) should not be code-reviewed - Skip auto-generated config files and dist directories - Clarifies review tool scope: code quality, not session data --- .hardno/ignore | 17 +++++++++++++++++ default-review-rules.md | 8 ++++++++ 2 files changed, 25 insertions(+) create mode 100644 .hardno/ignore diff --git a/.hardno/ignore b/.hardno/ignore new file mode 100644 index 0000000..0ecdd0a --- /dev/null +++ b/.hardno/ignore @@ -0,0 +1,17 @@ +# Files to skip from pi-hard-no review + +# Agent session state (not code to review) +MEMORY.md +.MEMORY.md + +# Auto-generated / user-specific +.env +.env.* +.vscode/settings.json +.idea/ + +# Build artifacts +dist/ +node_modules/ +*.js.map +coverage/ diff --git a/default-review-rules.md b/default-review-rules.md index c337d21..b64015c 100644 --- a/default-review-rules.md +++ b/default-review-rules.md @@ -1,3 +1,11 @@ +## Files to Skip + +- `MEMORY.md`, `.MEMORY.md` — agent durable session state (not code under review) +- Configuration files that are auto-generated or user-specific (e.g., `.env`, `.vscode/settings.json`) +- Lock files and dist directories (auto-generated, not code to review) + +--- + ## Correctness & Bugs - **Off-by-one errors**: wrong loop bounds (< vs <=, 0-indexed vs 1-indexed), fence-post errors in slicing/substring, incorrect range endpoints