Repository navigation
Expand file tree
/
Copy path.gitignore
More file actions
100 lines (89 loc) · 3.29 KB
/
Copy path.gitignore
File metadata and controls
100 lines (89 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Python
__pycache__/
*.pyc
*.pyo
*.pyd
*.egg-info/
.pytest_cache/
.coverage
.mypy_cache/
.ruff_cache/
.python-version
# Virtual envs
venv/
.venv/
env/
.env
# Checkpoints (270MB+ each; not for version control — use HF Hub or git-lfs)
*.pt
*.pth
*.safetensors
*.bin
*.ckpt
# Exported HF model dirs (re-generate from checkpoints with scripts/export_to_hf.py)
hf_export/
SmolLM2-134(base)/results/lm_eval/
# Jupyter intermediates (keep the canonical .ipynb, drop autosaves & checkpoints)
.ipynb_checkpoints/
*-checkpoint.ipynb
# IDE
.vscode/
.idea/
*.swp
*.swo
# Claude Code state (skills, settings, scheduled tasks, session caches)
.claude/
# Research-loop working tree. Durable SOURCE is tracked by rule; churning STATE
# and generated artifacts stay local-only.
#
# The previous blanket `research/` made backup depend on accident of history: a
# file was safe only if it happened to be committed BEFORE that line was added.
# Everything written after it — ~70 load-bearing, unit-tested .py/.sh files
# including posttrain_losses.py, scaling_ladder.py, boot_resume.sh, thermal_log.py,
# cce_*.py and 11 test modules — had NO backup anywhere, while their siblings
# (ledger.py, sentinel tests, eval_stats.py, CI) stayed tracked. It also silently
# overrode research/.gitignore, whose own stated policy is to "keep the durable
# record tracked; exclude only transient/runtime files". Source now follows that
# policy again; state does not.
#
# The DURABLE RECORD is now tracked too (2026-07-22 decision): ledger.json is the
# truth store and the runs/*.md + briefs/ + digests/ are the human-readable record —
# a one-disk truth store was the audit's #3 risk, and a branch switch already
# destroyed a ledger.json once (recovered from a git blob). Git history IS the
# off-box backup; commit the record before any branch switch. The single-generation
# .bak and the dated backups/ snapshots stay local (git history is the real trail).
#
# Deliberately still local-only: loop_state.json (churns every loop wake — a stale
# tracked copy is worse than none), generated non-record artifacts (pulse/, radar/,
# provenance/), prepared datasets, manuscript build output, checkpoints/logs, and
# harness-search's machine-GENERATED candidates (search output, not authored source).
research/**
# re-include directories so git descends and the rules below can match
!research/**/
!research/**/*.py
!research/**/*.sh
# the durable record (small text; the truth store + its human-readable trail)
!research/ledger/ledger.json
!research/ledger/runs/**/*.md
!research/briefs/**/*.md
!research/digests/**/*.md
# the held-out slice's burn record — the corpus and its manifest stay ignored
# (publishing either voids the unseen-ness argument), but the fact that the
# burn has already partially fired must travel with the repo.
!research/eval/private_heldout_v1/BURN_STATUS.md
# ...but never the churn/backup copies of the ledger
research/ledger/ledger.json.bak
research/ledger/backups/
research/harness_search/archive/
research/harness_search/targets/*/candidates/
# Skills showcase (Claude skill .md files + demo site) — kept local only
skills_showcase/
# Agent instruction docs — generated from the repo, kept local only
/CLAUDE.md
/AGENTS.md
# OS
.DS_Store
Thumbs.db
# HuggingFace local cache (some setups place it inside the repo)
.cache/
huggingface_cache/