fix(project-bootstrap): шаблон AGENTS.md — Search rule (запрет grep -r по node_modules, прецедент 3701s vs rg 0s)
v3.0.1 → v3.0.2. Новые проекты наследуют запрет: '⛔ Never grep -r/find-walk trees containing node_modules — use rg (gitignore-aware)'. Инцидент .admin 2026-08-26 (task:1233).
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
name: project-bootstrap
|
||||
author: ours
|
||||
version: 3.0.1
|
||||
version: 3.0.2
|
||||
description: >
|
||||
Initializes or upgrades a project in the current folder: git, .gitignore, README.md,
|
||||
.wiki/ using Karpathy's method, .tasks/ for task tracking, AGENTS.md (canon) with
|
||||
|
||||
@@ -5,6 +5,13 @@
|
||||
# NOT files. This line opts the project into inbox delivery at session start:
|
||||
inbox monitor: raise on start
|
||||
|
||||
# Search rule
|
||||
|
||||
⛔ Never `grep -r`/`find`-walk trees containing node_modules/dist/build/.nuxt
|
||||
(measured: 3701s vs rg 0s, 2026-08-26) — use `rg` (gitignore-aware) instead.
|
||||
`grep --include` filters result file names, NOT directory traversal — it still
|
||||
walks every node_modules entry.
|
||||
|
||||
talk like a caveman
|
||||
use project wiki
|
||||
use task management system
|
||||
|
||||
Reference in New Issue
Block a user