aboutsummaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-31 11:11:08 -0500
committerCraig Jennings <c@cjennings.net>2026-05-31 11:11:08 -0500
commit0f0905fe6635751edd9ad7e9e02b36e8b8e4dbc4 (patch)
tree13a202ea401239b38724c5f15ed2b3bf185674be /todo.org
parent58434f406068887291342dece24a55b0887dd86b (diff)
downloadrulesets-0f0905fe6635751edd9ad7e9e02b36e8b8e4dbc4.tar.gz
rulesets-0f0905fe6635751edd9ad7e9e02b36e8b8e4dbc4.zip
feat(aiignore): add .aiignore and the recursive-read convention
Agents (and any future inventory tool) doing a naive recursive read of a project pick up node_modules, __pycache__, build output, and token artifacts even when those are gitignored, because a recursive read sees the disk, not git. I added a gitignore-syntax .aiignore at the repo root with the default skip list, and a protocols.org "Recursive Reads" subsection documenting the convention, the defaults to assume absent a file, and the lockfile policy (skip on agent reads, independent of git-tracking). I did not wire the walking scripts (audit.sh, diff-lang.sh, sync-language-bundle.sh): they do targeted finds over .ai/.claude/bundle dirs, never whole-tree walks, so honoring .aiignore there would be dead code. That belongs in a future catalog tool.
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/todo.org b/todo.org
index 2535a36..218a1ba 100644
--- a/todo.org
+++ b/todo.org
@@ -1276,7 +1276,9 @@ Three wins: handoff is one paste not a re-read; forces specs to be implementable
If the spec lacks an =Implementation phases= section, the step is the prompt to ask the author to add one before =Ready=.
-** TODO [#C] Add =.aiignore= for agent inventory exclusions :chore:solo:
+** DONE [#C] Add =.aiignore= for agent inventory exclusions :chore:solo:
+CLOSED: [2026-05-31 Sun]
+Shipped a gitignore-syntax =.aiignore= at the rulesets root (deps, build output, language caches, editor cruft, token artifacts, lockfiles-as-agent-read-skip) and documented the convention + defaults + lockfile policy in protocols.org ("Recursive Reads"). Per Craig's scope call (2026-05-31): did NOT wire audit.sh / diff-lang.sh / sync-language-bundle.sh — they do targeted finds over .ai/.claude/bundle dirs, never naive whole-tree walks, so honoring .aiignore there would be dead code. Script-side honoring belongs in a future catalog/inventory tool if one ships; the real consumer today is agent recursive reads (the protocols guidance).
:PROPERTIES:
:CREATED: [2026-05-28 Thu]
:LAST_REVIEWED: 2026-05-28