Skip to content

Commit dc16b10

Browse files
chore: untrack target/ build artifacts; expand .gitignore
Build artifacts under target/ were tracked at some point in the project's history, which has been polluting every commit with 1000+ lines of binary churn. Standard Rust-project hygiene: - target/ never belongs in git - .rs.bak / .rs.backup local rescue copies don't either - per-architecture target/{aarch64,x86_64}-* trees - omnimcode-ffi/.cargo/ tooling cache - omnimcode-core/test_*.omc local scratch files - examples/test_*.omc, examples/enemy_ai.omc one-offs Untracking via `git rm -r --cached target/` keeps the files on local disk (cargo build still works); it just stops tracking them in git. Each future commit will now have a clean diff that shows actual code/doc changes instead of fingerprint files and freshly-rebuilt binaries. Result: 1149 files removed from tracking, ~10K lines of build artifact noise out of the repo. .gitignore picks up the slack so they won't sneak back in. Three directories left for the user to triage separately: - examples/agent-decision-evolution/ (related to the GA arm) - examples/game-ai-demo/Assets/Editor/ (Unity asset content) - omnimcode-gdextension/ (Godot binding stub) These look like real new content rather than build artifacts; should probably be added or .gitignored intentionally rather than swept up in this cleanup pass. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 6e1b5f4 commit dc16b10

1,150 files changed

Lines changed: 17 additions & 10144 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,20 @@ examples/game-ai-demo/MemoryCaptures/
1313

1414
# OMC consolidation safety net (orphaned src/ tree, kept locally only)
1515
src.deleted.bak/
16+
17+
# Rust build artifacts — should never be tracked
18+
target/
19+
**/*.rs.bak
20+
**/*.rs.backup
21+
**/*.rs.backup2
22+
**/Cargo.lock.backup
23+
**/Cargo.toml.backup
24+
25+
# Local-only scratch / test files
26+
omnimcode-core/test_*.omc
27+
omnimcode-core/qwen_omc_enhanced*.omc
28+
examples/test_*.omc
29+
examples/enemy_ai.omc
30+
31+
# Tooling caches
32+
omnimcode-ffi/.cargo/

target/.rustc_info.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

target/CACHEDIR.TAG

Lines changed: 0 additions & 3 deletions
This file was deleted.

target/aarch64-apple-darwin/CACHEDIR.TAG

Lines changed: 0 additions & 3 deletions
This file was deleted.

target/aarch64-apple-darwin/release/.cargo-lock

Whitespace-only changes.

target/aarch64-apple-darwin/release/.fingerprint/cfg-if-52a9c1ec43b9d832/invoked.timestamp

Lines changed: 0 additions & 1 deletion
This file was deleted.

target/aarch64-apple-darwin/release/.fingerprint/cfg-if-52a9c1ec43b9d832/output-lib-cfg_if

Lines changed: 0 additions & 3 deletions
This file was deleted.

target/aarch64-apple-darwin/release/.fingerprint/libc-a444b9becdbe8b38/run-build-script-build-script-build

Lines changed: 0 additions & 1 deletion
This file was deleted.

target/aarch64-apple-darwin/release/.fingerprint/libc-a444b9becdbe8b38/run-build-script-build-script-build.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

target/aarch64-apple-darwin/release/.fingerprint/libc-b5a7c8d2c786aaf3/invoked.timestamp

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)