Exclude docs from ai-sources, mention ai-sources in CLAUDE.md

ai-sources now skips docs/ to avoid duplicating ai-docs output.
CLAUDE.md notes ai-sources as available for deep context on problems
with a large surface area.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-15 18:40:35 -07:00
commit d121006086
2 changed files with 2 additions and 0 deletions

View file

@ -15,6 +15,7 @@ blumeops is Erich Blume's GitOps repository for personal infrastructure, orchest
1. **Always run `mise run ai-docs` at session start**
This will refresh your context with important information you will be assumed to know and follow.
**Read the full output** — never truncate, pipe to `head`/`tail`, or skip sections.
For problems with a large surface area, ask the user if `mise run ai-sources` should also be run — it concatenates all non-doc source files (~270K tokens) for deep codebase context.
2. **Always use `--context=minikube-indri` with kubectl** (or `--context=k3s-ringtail` for ringtail services) - work contexts must never be touched
3. **Classify the change as C0/C1/C2 before starting** (see below) — this determines branching and PR requirements
4. **Feature branches + PRs for C1/C2** - checkout main, pull, create branch, open PR via `tea pr create`. C0 goes direct to main.

View file

@ -12,6 +12,7 @@ git -C "$ROOT" ls-files \
| grep -v '\.gitkeep$' \
| grep -v '\.gitattributes$' \
| grep -v '^LICENSE$' \
| grep -v '^docs/' \
| while read -r f; do
printf '=== %s ===\n' "$f"
cat "$ROOT/$f"