Skip to content

Commit 6a108e9

Browse files
committed
chore(flow): ignore local ai dev artifacts
Ignore disposable .ai review, scratch, cache, trace, and generated buckets so local AI-assisted development can lean on .ai/ without polluting git. Document the intended tracked-vs-local split for .ai/ in the repo.
1 parent 639cdca commit 6a108e9

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
.cargo/
33
.ai/internal/
44
.ai/web/
5+
.ai/reviews/
6+
.ai/test/
7+
.ai/tmp/
8+
.ai/cache/
9+
.ai/artifacts/
10+
.ai/traces/
11+
.ai/generated/
12+
.ai/scratch/
513
.ai/skills/
614
# keep generated skills ignored by default, but track curated flow-default skills
715
!.ai/skills/

docs/ai-dev-layout.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# `.ai/` Dev Layout
2+
3+
Use `.ai/` aggressively for local AI-assisted development, but keep the split
4+
between tracked project intelligence and disposable local artifacts explicit.
5+
6+
Tracked in this repo:
7+
8+
- `.ai/docs/`
9+
- `.ai/recipes/`
10+
- `.ai/repos.toml`
11+
- curated `.ai/skills/` entries that are intentionally committed
12+
13+
Ignored local-dev buckets:
14+
15+
- `.ai/reviews/`
16+
- generated PR feedback packets and review snapshots
17+
- `.ai/test/`
18+
- AI scratch tests and local validation files
19+
- `.ai/tmp/`
20+
- throwaway intermediate files
21+
- `.ai/cache/`
22+
- cached derivations or precomputed local state
23+
- `.ai/artifacts/`
24+
- generated outputs worth inspecting locally but not committing
25+
- `.ai/traces/`
26+
- local trace dumps or trace export scratch
27+
- `.ai/generated/`
28+
- one-off generated code/docs that should be promoted elsewhere if kept
29+
- `.ai/scratch/`
30+
- free-form local notes, prompts, and experiments
31+
32+
Rules of thumb:
33+
34+
1. If it is canonical project knowledge, promote it out of the local bucket and
35+
track it intentionally.
36+
2. If it is generated, per-machine, or iteration-only, keep it under one of the
37+
ignored buckets above.
38+
3. Prefer `.ai/` over random top-level temp files so local AI/dev state stays
39+
contained and easy to clean up.

0 commit comments

Comments
 (0)