Skip to content

Commit c5708d3

Browse files
committed
chore(repo): move v1/ → archive/v1/ + add archive/README.md
The Rust port at v2/ has been the primary codebase since the rename in #427. The Python implementation at v1/ is no longer the active target; the only load-bearing path is the deterministic proof bundle at v1/data/proof/ (per ADR-011 / ADR-028 witness verification). Move the whole Python tree into archive/v1/ and document the policy in archive/README.md: no new features, bug fixes only when they affect a still-load-bearing path (currently just the proof), CI continues to verify the proof on every push and PR. Path references updated in 26 files via path-pattern sed (only matches v1/<known-child> patterns, never bare v1 or API URLs like /api/v1/). Two double-prefix typos (archive/archive/v1/) caught and hand-fixed in verify-pipeline.yml and ADR-011. Validated: - Python proof verify.py imports cleanly at archive/v1/data/proof/ (numpy/scipy still required; CI installs requirements-lock.txt from archive/v1/ now) - cargo test --workspace --no-default-features → 1,539 passed, 0 failed, 8 ignored (unaffected by Python tree relocation) - ESP32-S3 on COM7 untouched (no firmware paths changed) After-merge: contributors should re-run any local `python v1/...` commands as `python archive/v1/...` (CLAUDE.md and CHANGELOG already updated). Co-Authored-By: claude-flow <ruv@ruv.net>
1 parent 5bcb25b commit c5708d3

183 files changed

Lines changed: 290 additions & 216 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.

.github/workflows/verify-pipeline.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ on:
44
push:
55
branches: [ main, master, 'claude/**' ]
66
paths:
7-
- 'v1/src/core/**'
8-
- 'v1/src/hardware/**'
9-
- 'v1/data/proof/**'
7+
- 'archive/v1/src/core/**'
8+
- 'archive/v1/src/hardware/**'
9+
- 'archive/v1/data/proof/**'
1010
- '.github/workflows/verify-pipeline.yml'
1111
pull_request:
1212
branches: [ main, master ]
1313
paths:
14-
- 'v1/src/core/**'
15-
- 'v1/src/hardware/**'
16-
- 'v1/data/proof/**'
14+
- 'archive/v1/src/core/**'
15+
- 'archive/v1/src/hardware/**'
16+
- 'archive/v1/data/proof/**'
1717
- '.github/workflows/verify-pipeline.yml'
1818
workflow_dispatch:
1919

@@ -37,19 +37,19 @@ jobs:
3737
- name: Install pinned dependencies
3838
run: |
3939
python -m pip install --upgrade pip
40-
pip install -r v1/requirements-lock.txt
40+
pip install -r archive/v1/requirements-lock.txt
4141
4242
- name: Verify reference signal is reproducible
4343
run: |
4444
echo "=== Regenerating reference signal ==="
45-
python v1/data/proof/generate_reference_signal.py
45+
python archive/v1/data/proof/generate_reference_signal.py
4646
echo ""
4747
echo "=== Checking data file matches committed version ==="
4848
# The regenerated file should be identical to the committed one
4949
# (We compare the metadata file since data file is large)
5050
python -c "
5151
import json, hashlib
52-
with open('v1/data/proof/sample_csi_meta.json') as f:
52+
with open('archive/v1/data/proof/sample_csi_meta.json') as f:
5353
meta = json.load(f)
5454
assert meta['is_synthetic'] == True, 'Metadata must mark signal as synthetic'
5555
assert meta['numpy_seed'] == 42, 'Seed must be 42'
@@ -76,7 +76,7 @@ jobs:
7676
echo "=== Scanning for unseeded np.random usage in production code ==="
7777
# Search for np.random calls without a seed in production code
7878
# Exclude test files, proof data generators, and known parser placeholders
79-
VIOLATIONS=$(grep -rn "np\.random\." v1/src/ \
79+
VIOLATIONS=$(grep -rn "np\.random\." archive/v1/src/ \
8080
--include="*.py" \
8181
--exclude-dir="__pycache__" \
8282
| grep -v "np\.random\.RandomState" \

CHANGELOG.md

Lines changed: 2 additions & 2 deletions

CLAUDE.md

Lines changed: 11 additions & 11 deletions

README.md

Lines changed: 3 additions & 3 deletions

archive/README.md

Lines changed: 74 additions & 0 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)