Skip to content

Commit 84ec7c6

Browse files
author
Witness Patrol
committed
Merge branch 'chore/claude-md-generic' into HEAD
# Conflicts: # .beads/issues.jsonl # .claude/skills/reset-caches/SKILL.md # .claude/skills/reset-caches/reset.sh
2 parents a360dc5 + 7781a2f commit 84ec7c6

11 files changed

Lines changed: 1495088 additions & 136 deletions

File tree

‎.beads/issues.jsonl‎

Lines changed: 134 additions & 130 deletions
Large diffs are not rendered by default.

‎.claude/skills/reset-caches/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ Run `.claude/skills/reset-caches/reset.sh` and report what was stopped and the b
1111
- `--other-scratch`: also remove other Claude sessions' scratch dirs untouched for a day.
1212
- Worktrees: removes every linked worktree that is clean and fully pushed; dirty or unpushed ones are listed and kept.
1313
- Docker: prunes unused images, build cache and unattached volumes after the kill phase.
14-
- Never deletes `~/go/pkg/mod` (module cache) or anything tracked in the repo.
14+
- Never deletes the module cache (`go env GOMODCACHE`) or anything tracked in the repo.

‎.claude/skills/reset-caches/reset.sh‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ done
2222

2323
GOCACHE_DIR=$(go env GOCACHE 2>/dev/null || true)
2424
GOTMP_DIR=$(go env GOTMPDIR 2>/dev/null || true)
25-
SCRATCH_ROOT=""
26-
[[ -n "$GOTMP_DIR" ]] && SCRATCH_ROOT="$GOTMP_DIR/claude-$(id -u)"
25+
SCRATCH_ROOT="${TMPDIR:-/tmp}/claude-$(id -u)"
2726
REPO=$(git -C "$(dirname "$0")" rev-parse --show-toplevel 2>/dev/null || pwd)
2827
STRAY_CACHES=()
2928
if [[ -n "${RESET_EXTRA_CACHE_DIRS:-}" ]]; then
@@ -68,7 +67,7 @@ fi
6867

6968
echo "== stale go-build temp dirs in ${GOTMP_DIR:-<GOTMPDIR unset>}"
7069
if [[ -n "$GOTMP_DIR" ]]; then
71-
find "$GOTMP_DIR" -maxdepth 1 -name 'go-build*' -mmin "+$AGE_MIN" -exec rm -rf {} + 2>/dev/null
70+
find "$GOTMP_DIR" "${TMPDIR:-/tmp}" -maxdepth 1 -name 'go-build*' -mmin "+$AGE_MIN" -exec rm -rf {} + 2>/dev/null
7271
fi
7372

7473
echo "== golangci-lint cache"

‎.gitattributes‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.ua/** linguist-generated=true -diff

‎.gitignore‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ checkpoint.md
100100
!/cmd/*/*/
101101
!/cmd/*/*.*
102102

103-
# Understand-Anything scratch
104-
.ua/intermediate/
103+
# Understand-Anything: keep graph + incremental baselines, ignore scratch
104+
.ua/.trash-*/
105+
.ua/tmp/
106+
.ua/intermediate/*
107+
!.ua/intermediate/scan-result.json
105108
.ua/diff-overlay.json

‎.ua/.understandignore‎

Lines changed: 180 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.ua/config.json‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)