From 904f211aba46cc84c24f860e6f4c5b4c263df814 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Wed, 6 May 2026 01:45:28 -0400 Subject: [PATCH] .gitignore: cover ad-hoc debug captures + Claude Code state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two patterns that have been polluting `git status` across recent debugging sessions: 1. Root-level capture files from manual asb-relay / trace runs: - rust-cs.txt, rust-sc.txt, rust.log (asb-relay TCP dumps, hex-prefixed C->S / S->C and the relay log) - rust-trace-*.txt (MX_ASB_TRACE_REPLY=1 captures, e.g. the trace-orig dump that surfaced the F33 InvalidConnectionId evidence) Anything worth keeping should be promoted into `captures/` or `analysis/` with a name describing what it captures; these transient root-level files are noise. 2. `.claude/` — Claude Code's project-local state directory (scheduled-task locks, agent state). User/host-specific. Removed the existing root-level rust-*.txt files in the same commit; future runs will be ignored automatically. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitignore b/.gitignore index a3fd58f..1cc5456 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,11 @@ Cargo.lock.bak *.bak *.tmp +# ---- Claude Code project-local state ---- +# `.claude/` holds per-project scheduled-task locks, agent state, etc. +# It's user/host-specific and not part of the codebase. +.claude/ + # ---- OS ---- Thumbs.db Desktop.ini @@ -43,6 +48,16 @@ Desktop.ini # design/60-roadmap.md M0; the actual symlink tree is not checked in. /rust/tests/fixtures/ +# ---- Ad-hoc debug captures from manual asb-relay / trace runs ---- +# These appear at the repo root when debugging live wire issues with +# `examples/asb-relay.rs` or `MX_ASB_TRACE_REPLY=1`. They're transient +# per-session evidence — promote anything worth keeping into +# `captures/` or `analysis/` instead. +/rust-cs.txt +/rust-sc.txt +/rust.log +/rust-trace-*.txt + # ---- Plan files (project-local Claude Code plan staging) ---- # These live under the user's ~/.claude/plans/ scope but appear at the # project root if accidentally created.