phase 2: receiver tools, guide v3, encrypted chats + private archives (2026-11-30)
Browse filesFiles changed (7)
12345678910111213141516174 unmodified lines2223242526272829307 unmodified lines38394041424344454647484 unmodified lines53545556575859602 unmodified lines636465666768697071727374757677787980817 unmodified lines899091929394959697# Master prompt for Claude Code on the NEW server (version 2, 2026-11-27)Paste everything below the line into Claude Code on the new server. Start it from a directory on the 5 TB disk. This version replaces `RECEIVER_PROMPT.md`. If you already started with the old prompt, tell Claude: "this replaces your earlier instructions; keep what is already restored".---You are receiving a copy of a research project through the public Hugging Face dataset repo **`AurrieMartinez/sid-aritra-transfer`**. The repo is temporary and will be deleted once the copy is confirmed. The sender is a Claude Code session on another lab server. The user relays messages between the two servers by hand, so when the sender needs to know something, write a short message the user can forward.The copy arrives in **two phases**:- **Phase 1 (now):** restore and verify everything already on the hub. That is about 3.4 TB in about 430 shards, and more shards may appear while you work.- **Phase 2 (later, only when the user tells you):** the sender ships the files of the training runs that were still running, and publishes a **final file list** (the manifest). You then make the restored tree an **exact copy** of the source tree at that moment. That includes moving aside any file that was deleted or moved on the source after it reached you.## What the project isAn Indian Sign Language translation project at `/indian-slp/sid_aritra` on the source servers: the iSign 3.0 dataset paper plus cross-dataset sign-language translation (iSign 1.0, How2Sign, PHOENIX-2014T), targeting ACL 2027. Its job queue trains FLAN-T5 translators on cached video embeddings (CLIP-S2, V-JEPA 2.1, VideoMAE). This server will later **run experiments alongside** the source servers, which keep their own queue.## What is on the hub- `shards/<group>/<name>.tar`: uncompressed tar shards of ~10 GB. Tar members are the source's absolute paths without the leading `/`:4 unmodified lines- Shards over 20 GB are stored as 10 GB parts (`<name>.tar.part000`, ...), each with its own sha256.- `index/<name>.json`: shard metadata, including the shard's sha256. `index/<name>.sha256.gz`: sha256 and size of **every file** in the shard. `index/<name>.idx.gz`: tar listing.- **Delta shards** `delta<YYYYMMDDhhmmss>_<group>-NNNNN` are catch-up passes holding files that were new or changed since the previous pass. They must be applied **after** all base shards and **in timestamp order**, so that a newer version overwrites an older one. `restore.py` does this for you. Several delta passes exist already (`delta20261125123252_*`, `delta20261126194628_*`, ...), and one or more will come in phase 2.- `COMPLETE.json` does **not exist yet**. It appears only after the final pass, in phase 2.- `manifest/LATEST.json` plus `manifest/<id>.tsv.gz` also come in phase 2: the final list of every source file (path, size, mtime).- `reconcile.py` (repo root) is the phase 2 tool. You may download it early and read it, but run it only in phase 2.## How the data is protected against corruption (so you know what "verified" means)1. **Sender:** each shard's sha256 was computed from the tar as it was built. After upload, the sender checked that the hub's stored sha256 and size match. An independent audit of all shards on the hub reported ALL MATCH. A sample of ~16,700 source files was re-read from disk and compared with what was packed, with no differences.7 unmodified lines- **If a restore started from an older `restore.py` is already running:** download the newest file, stop the running copy (`kill <pid>`, so it can resume), check that it is gone, then start the new one with the same command. Older copies lack the type-change handling below.- It prefetches one shard while extracting the previous one, deletes each tar once that shard is verified, and polls every 5 minutes for new shards.- If a delta shard changes a path's type (for example a folder became a file or a symlink, or a symlink became a real folder), `restore.py` first moves the old path to `ROOT/.restore/replaced/<shard>/<time>/` (never deletes) and logs a `[type change]` line. That is expected; report the count.- Because `COMPLETE.json` does not exist yet, it will **never print `ALL DONE` in phase 1**. That is expected. **Leave it running** so it picks up the phase 2 shards by itself.3. **Phase 1 is done** when the number of `ROOT/.restore/done/*.json` equals the number of `index/*.json` on the hub (count with `HfApi().list_repo_files(...)`), the log shows no errors, and every shard passed its per-file re-hash. Report these numbers to the user. Do **not** tell anyone the repo can be deleted.4. **Make the absolute paths resolve.** Code, CSVs and manifests hard-code `/indian-slp/...`, `/DATA7/...` and `/DATA405/...`.- Preferred: ask the user for an admin to create the symlinks `/indian-slp -> ROOT/indian-slp`, `/DATA7 -> ROOT/DATA7` and `/DATA405 -> ROOT/DATA405`. Then nothing needs editing.- Only if that is impossible, propose path rewrites. Show the user the diff before changing anything, and remember the rule below about editing restored files.5. **Python environments.** `env/slt`, `env/spamo` and `env/unisign` were copied as-is: Python 3.10.12, and `env/slt` has torch 2.4.1+cu121. Copied venvs are usually not portable, because of interpreter symlinks and absolute shebangs. Test with `ROOT/indian-slp/sid_aritra/env/slt/bin/python -c "import torch; print(torch.cuda.is_available())"`. If it fails, build **new** venvs **outside** the restored tree (for example `ROOT/local_envs/<name>`) from `scripts/hf_transfer/env_freeze/<name>.txt`, using a torch build that matches this server's driver. Set `HF_HOME=ROOT/indian-slp/sid_aritra/env/hf_cache` (the weights are already there).6. **Learn the project before running anything.** Read:- `docs/MASTER_PLAN.md`, `docs/PLAN_ACL2027.md`, `docs/RECIPE_RUNS.md` (the run registry), `docs/SEED_PROTOCOL.md` and `docs/STATUS_runs.md`;4 unmodified lines1. Download the archive and its README:`hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "chats/*" --local-dir ROOT/chats_dl`If there are several `chats/*.enc`, use the newest.2. Ask the user to type this line in **their own terminal** (not through you), then paste the passphrase at the silent prompt. That way it never appears in your chat:`read -rs P && printf '%s' "$P" > ~/.isign_chats_pass && chmod 600 ~/.isign_chats_pass && unset P`3. Decrypt, check the checksum against the second sha256 line in `chats/README.md`, and unpack:`openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in ROOT/chats_dl/chats/<name>.tar.gz.enc -out ROOT/chats_dl/chats.tar.gz``sha256sum ROOT/chats_dl/chats.tar.gz`2 unmodified lines4. Tell the user to start `claude` in `/indian-slp/sid_aritra` (this needs the `/indian-slp` symlink from step 4) and run `claude --resume` to pick a chat.- If `/indian-slp` cannot exist, start `claude` once in `ROOT/indian-slp/sid_aritra` and note the new folder under `~/.claude/projects/`. Copy the `.jsonl` files, and their same-named subfolders, from `~/.claude/projects/-indian-slp-sid-aritra/` into that folder.- Paths, servers and running processes in the old chats describe the source servers, not this one.- A newer archive comes in phase 2. Repeat these steps with it then.8. **Private project files (encrypted).** A few project files are kept out of the plain shards because the repo is public: the ARR-submission material (`exact revieiws.txt`, `REVIEWER_BY_REVIEWER.md`, the submitted PDF) and the rebuttal scripts and logs (`scripts/ops`, `logs/ops`). They are in `private/*.tar.gz.enc`, with the same passphrase and cipher as the chats. Follow `private/README.md`: download, decrypt, check the sha256, then `tar -xzf private.tar.gz -C ROOT --no-same-owner`. If there are several archives, use the newest; a newer one may come in phase 2. `reconcile.py` never touches these paths, and they are not in the manifest. Never put their contents into anything public.## Rules between phase 1 and phase 2 (important for the exact copy)- **Treat the restored tree as read-only.** Later delta shards overwrite files in place, and the phase 2 cleanup judges every path that `restore.py` put there. Do not edit, move, rename or delete anything under `ROOT/indian-slp`, `ROOT/DATA7` or `ROOT/DATA405`.- **Never delete "extra" or "old" files on your own judgement**, even if they look stale. Examples are old checkpoints, or a job JSON that appears in both `queue/pending` and `queue/done`. Phase 2 handles exactly this.- **Put all of your own work outside the restored tree:** new venvs, scratch files, smoke-test outputs, a new queue directory (for example `ROOT/local/`). If a script insists on writing inside the project, ask the user first.- **The queue state in `queue/` is stale.** It holds the source servers' running claims, pids and host names. Do not start the `recipe/queue` schedulers on it; that would duplicate the source servers' jobs. Running alongside means this server gets its **own** queue directory with only the jobs the user assigns. Never reuse a run name or seed that already appears in `docs/RECIPE_RUNS.md` or in `queue/{running,pending,done}`.- **Smoke test only after the user agrees:** one short run (for example `recipe/run_ds.sh phoenix <new_name> <seed> 0 --steps 300`) with its output directory outside the restored tree. Use a run name that exists nowhere in the registry.## Phase 2: only when the user says the sender has published the final manifestThe sender will first ship the remaining files of the running trainings as new delta shards, then upload `COMPLETE.json`, then `manifest/LATEST.json` + `manifest/<id>.tsv.gz`. The user will tell you when this is there.1. Fetch the newest `restore.py` and `reconcile.py` from the repo, the same way as in phase 1. Stop the running `restore.py` (`kill <pid>`; it resumes), start the new one with the same command, and let it finish. It prints `ALL DONE: N shards, X files, Y TB`.2. Run nothing else in the restored tree until step 5 is done.3. **Dry run (changes nothing):** `python reconcile.py --repo AurrieMartinez/sid-aritra-transfer --root ROOT --rehash_sample 2000`. It:7 unmodified lines- Keep `ROOT/.restore/stale/` and `ROOT/.restore/replaced/` until the user says they can go.- **If it prints `RESULT: PROBLEMS`:** do not apply, do not fix files by hand. Send the `PROBLEM` lines (the first 20 are printed) to the sender through the user and wait.6. "Exact" does not cover: empty directories (never shipped), file owners (tar runs with `--no-same-owner`), and the few things the sender never scans: its `.hf_transfer` state folder, token files, and any file or folder whose name contains `.tmp`. A file that changed between the sender's scan and its packing was shipped in its packed version; reconcile re-hashes it against that version ("differ from the scan in size/mtime (re-hashed)"), so this is fine as long as there are 0 hash mismatches.7. **Report, as a short message for the user to forward to the sender:** "Receiver: restore ALL DONE (N shards, X files, Y TB), reconcile RESULT: EXACT against manifest <id> (0 problems, S stale paths moved aside, R re-hashed OK, T type-change moves). You can delete the public repo." Send it **only** after `RESULT: EXACT`. Do **not** delete the repo yourself.## Known gaps in the snapshot- Raw mp4s for iSign 1.0 and PHOENIX are **not** included, only their poses and cached features (which are complete). `data/features/isign3_hi/*` covers 85,853 of 85,960 clips, so 107 Hindi clips have no features.- `data/features/isign3_en/vjepa21` and `vjepa21_blocks4` were still being extracted during the upload. The delta passes carry their later progress. Check counts against the clip CSVs after phase 2 rather than assuming they are complete.- Runs still training at the final pass are a snapshot of that moment.1234567891011121314151617184 unmodified lines232425262728293031327 unmodified lines4041424344454647484950514 unmodified lines5657585960616263642 unmodified lines676869707172737475767778798081828384858687887 unmodified lines96979899100101102103104105106107108109110111112113114115116117# Master prompt for Claude Code on the NEW server (version 3, 2026-11-30)Paste everything below the line into Claude Code on the new server. Start it from a directory on the 5 TB disk. `RECEIVER_PROMPT.md` in the repo holds the same text. If you already started with an earlier version, tell Claude: "this replaces your earlier instructions; keep what is already restored".---You are receiving a copy of a research project through the public Hugging Face dataset repo **`AurrieMartinez/sid-aritra-transfer`**. The repo is temporary and will be deleted once the copy is confirmed. The sender is a Claude Code session on another lab server. The user relays messages between the two servers by hand, so when the sender needs to know something, write a short message the user can forward.The work comes in **three phases**:- **Phase 1:** restore and verify everything on the hub (about 3.5 TB in about 440 shards).- **Phase 2 (when the user says it is published):** the sender shipped the last files (the training runs it stopped on 2026-11-29, queue state, logs) and published a **final file list** (the manifest). You make the restored tree an **exact copy** of the source tree at that moment, which includes moving aside files that were deleted or moved on the source after they reached you.- **Phase 3 (after phase 2 is EXACT):** this server **takes over the training queue**. The old servers are paused for good and this server owns every unfinished job, under the same names, resuming each run from its exact checkpoint.## What the project isAn Indian Sign Language translation project at `/indian-slp/sid_aritra` on the source servers: the iSign 3.0 dataset paper plus cross-dataset sign-language translation (iSign 1.0, How2Sign, PHOENIX-2014T), targeting ACL 2027. Its job queue trains FLAN-T5 translators on cached video embeddings (CLIP-S2, V-JEPA 2.1, VideoMAE). On 2026-11-29 every running job on the three old servers was stopped right after a checkpoint save, the old servers' queue daemons were stopped and disabled, and the queue was handed to this server (`handoff/HANDOFF_20261129/`).## What is on the hub- `shards/<group>/<name>.tar`: uncompressed tar shards of ~10 GB. Tar members are the source's absolute paths without the leading `/`:4 unmodified lines- Shards over 20 GB are stored as 10 GB parts (`<name>.tar.part000`, ...), each with its own sha256.- `index/<name>.json`: shard metadata, including the shard's sha256. `index/<name>.sha256.gz`: sha256 and size of **every file** in the shard. `index/<name>.idx.gz`: tar listing.- **Delta shards** `delta<YYYYMMDDhhmmss>_<group>-NNNNN` are catch-up passes holding files that were new or changed since the previous pass. They must be applied **after** all base shards and **in timestamp order**, so that a newer version overwrites an older one. `restore.py` does this for you. Several delta passes exist already (`delta20261125123252_*`, `delta20261126194628_*`, ...), and one or more will come in phase 2.- `COMPLETE.json`: written by the sender's final pass; it lists every shard. `restore.py` prints `ALL DONE` only once it exists and every listed shard is restored.- `manifest/LATEST.json` plus `manifest/<id>.tsv.gz`: the final list of every source file (path, size, mtime). `LATEST.json` also carries the sha256 of the private paths that are kept out of the shards (`excluded_sha256`).- `reconcile.py` (repo root): the phase 2 tool.- `chats/*.tar.gz.enc` and `private/*.tar.gz.enc`: AES-256-encrypted archives (the repo is public); see phase 1 steps 7 and 8. The newest are `chats/isign3_claude_chats_20261130.tar.gz.enc` and `private/isign3_private_20261130.tar.gz.enc` (2026-11-30). Older ones are superseded.## How the data is protected against corruption (so you know what "verified" means)1. **Sender:** each shard's sha256 was computed from the tar as it was built. After upload, the sender checked that the hub's stored sha256 and size match. An independent audit of all shards on the hub reported ALL MATCH. A sample of ~16,700 source files was re-read from disk and compared with what was packed, with no differences.7 unmodified lines- **If a restore started from an older `restore.py` is already running:** download the newest file, stop the running copy (`kill <pid>`, so it can resume), check that it is gone, then start the new one with the same command. Older copies lack the type-change handling below.- It prefetches one shard while extracting the previous one, deletes each tar once that shard is verified, and polls every 5 minutes for new shards.- If a delta shard changes a path's type (for example a folder became a file or a symlink, or a symlink became a real folder), `restore.py` first moves the old path to `ROOT/.restore/replaced/<shard>/<time>/` (never deletes) and logs a `[type change]` line. That is expected; report the count.- If `COMPLETE.json` is not on the hub yet, it does not print `ALL DONE`; it keeps polling. **Leave it running** until it prints `ALL DONE`.3. **Phase 1 is done** when the number of `ROOT/.restore/done/*.json` equals the number of `index/*.json` on the hub (count with `HfApi().list_repo_files(...)`), the log shows no errors, and every shard passed its per-file re-hash. Report these numbers to the user. Do **not** tell anyone the repo can be deleted.4. **Make the absolute paths resolve.** Code, CSVs and manifests hard-code `/indian-slp/...`, `/DATA7/...` and `/DATA405/...`.- Ask the user for an admin to create the symlinks `/indian-slp -> ROOT/indian-slp`, `/DATA7 -> ROOT/DATA7` and `/DATA405 -> ROOT/DATA405`. Then nothing needs editing.- **Phase 3 needs at least `/indian-slp`**: the venv, every job command, the feature paths and `handoff/HANDOFF_20261129/RESUME.md` use the canonical path `/indian-slp/sid_aritra/...`. Without it, stop after phase 2 and tell the user.- Do not rewrite paths in restored files.5. **Python environments.** `env/slt`, `env/spamo` and `env/unisign` were copied as-is: Python 3.10.12, and `env/slt` has torch 2.4.1+cu121. Copied venvs are usually not portable, because of interpreter symlinks and absolute shebangs. Test with `ROOT/indian-slp/sid_aritra/env/slt/bin/python -c "import torch; print(torch.cuda.is_available())"`. If it fails, build **new** venvs **outside** the restored tree (for example `ROOT/local_envs/<name>`) from `scripts/hf_transfer/env_freeze/<name>.txt`, using a torch build that matches this server's driver. Set `HF_HOME=ROOT/indian-slp/sid_aritra/env/hf_cache` (the weights are already there).6. **Learn the project before running anything.** Read:- `docs/MASTER_PLAN.md`, `docs/PLAN_ACL2027.md`, `docs/RECIPE_RUNS.md` (the run registry), `docs/SEED_PROTOCOL.md` and `docs/STATUS_runs.md`;4 unmodified lines1. Download the archive and its README:`hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "chats/*" --local-dir ROOT/chats_dl`If there are several `chats/*.enc`, use the newest.2. Ask the user to type this line in **their own terminal** (not through you), then paste the passphrase at the silent `passphrase:` prompt. That way it never appears in your chat. It runs under bash on purpose (plain `sh`/dash has no silent `read -s`):`bash -c 'umask 077; IFS= read -rs -p "passphrase: " P && printf "%s" "$P" > ~/.isign_chats_pass; echo'`When both the chats and the private archive are unpacked, delete it: `shred -u ~/.isign_chats_pass`.3. Decrypt, check the checksum against the second sha256 line in `chats/README.md`, and unpack:`openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in ROOT/chats_dl/chats/<name>.tar.gz.enc -out ROOT/chats_dl/chats.tar.gz``sha256sum ROOT/chats_dl/chats.tar.gz`2 unmodified lines4. Tell the user to start `claude` in `/indian-slp/sid_aritra` (this needs the `/indian-slp` symlink from step 4) and run `claude --resume` to pick a chat.- If `/indian-slp` cannot exist, start `claude` once in `ROOT/indian-slp/sid_aritra` and note the new folder under `~/.claude/projects/`. Copy the `.jsonl` files, and their same-named subfolders, from `~/.claude/projects/-indian-slp-sid-aritra/` into that folder.- Paths, servers and running processes in the old chats describe the source servers, not this one.- Use the newest archive, `chats/isign3_claude_chats_20261130.tar.gz.enc` (2026-11-30). If you unpacked an older one before, repeat these steps with it; the rsync adds the newer chats.8. **Private project files (encrypted).** A few project files are kept out of the plain shards because the repo is public: some review-related files, the submitted PDF, the response drafts (at the project root and in their own folders), and two ops folders of scripts and logs. No shard contains any of them (the sender checked the hub's indices). They are in `private/isign3_private_20261130.tar.gz.enc`, with the same passphrase and cipher as the chats. Do this after `restore.py` printed `ALL DONE` (any time is safe, because no shard writes these paths; if you extracted an older bundle earlier, extract this one again over it):`hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "private/*" --local-dir ROOT/private_dl`then `cd ROOT/private_dl/private` and follow `private/README.md` there: decrypt, check the sha256, then `tar -xzf private.tar.gz -C ROOT --no-same-owner`. `reconcile.py` never touches these paths, and they are not in its file list. Never put their contents or names into anything public.## Rules between phase 1 and phase 2 (important for the exact copy)- **Treat the restored tree as read-only.** Later delta shards overwrite files in place, and the phase 2 cleanup judges every path that `restore.py` put there. Do not edit, move, rename or delete anything under `ROOT/indian-slp`, `ROOT/DATA7` or `ROOT/DATA405`.- **Never delete "extra" or "old" files on your own judgement**, even if they look stale. Examples are old checkpoints, or a job JSON that appears in both `queue/pending` and `queue/done`. Phase 2 handles exactly this.- **Put all of your own work outside the restored tree** (for example under `ROOT/local/`): new venvs, scratch files, smoke-test outputs. If a script insists on writing inside the project, ask the user first. This does not apply to the training queue: phase 3 runs it in the restored `queue/`, never in a copy.- **The queue stays untouched until phase 2 ends with `RESULT: EXACT`.** Do not start any `recipe/queue` scheduler, do not edit or move anything in `queue/`, and do not run training before then.- **After `RESULT: EXACT`, `queue/` plus `handoff/HANDOFF_20261129/` are authoritative.** The old servers are paused (`queue/PAUSE`, daemons stopped and their boot units disabled on 2026-11-30), so this server owns every job in `handoff/HANDOFF_20261129/manifest.json`, **under the same names**: those runs are continuations, not new runs. Take them over only as phase 3 says.- **Smoke test only after the user agrees**, and only with a run name and seed that appear nowhere in `docs/RECIPE_RUNS.md` or `queue/`, with its output outside the restored tree. It is optional: phase 3's `verify_handoff.py` already checks the checkpoints and features.## Phase 2: only when the user says the sender has published the final manifestThe sender shipped the remaining files as new delta shards, then uploaded `COMPLETE.json`, then `manifest/LATEST.json` + `manifest/<id>.tsv.gz`, then the newest `chats/` and `private/` archives.1. Fetch the newest `restore.py` and `reconcile.py` from the repo, the same way as in phase 1. Stop the running `restore.py` (`kill <pid>`; it resumes), start the new one with the same command, and let it finish. It prints `ALL DONE: N shards, X files, Y TB`.2. Run nothing else in the restored tree until step 5 is done.3. **Dry run (changes nothing):** `python reconcile.py --repo AurrieMartinez/sid-aritra-transfer --root ROOT --rehash_sample 2000`. It:7 unmodified lines- Keep `ROOT/.restore/stale/` and `ROOT/.restore/replaced/` until the user says they can go.- **If it prints `RESULT: PROBLEMS`:** do not apply, do not fix files by hand. Send the `PROBLEM` lines (the first 20 are printed) to the sender through the user and wait.6. "Exact" does not cover: empty directories (never shipped), file owners (tar runs with `--no-same-owner`), and the few things the sender never scans: its `.hf_transfer` state folder, token files, and any file or folder whose name contains `.tmp`. A file that changed between the sender's scan and its packing was shipped in its packed version; reconcile re-hashes it against that version ("differ from the scan in size/mtime (re-hashed)"), so this is fine as long as there are 0 hash mismatches.7. **Then** unpack the newest `private/` archive (phase 1 step 8) and the newest `chats/` archive (phase 1 step 7).8. **Report, as a short message for the user to forward to the sender:** "Receiver: restore ALL DONE (N shards, X files, Y TB), reconcile RESULT: EXACT against manifest <id> (0 problems, S stale paths moved aside, R re-hashed OK, T type-change moves); private and chats archives unpacked (sha256 OK)." Do **not** say the repo can be deleted yet: that waits until phase 3 has verified the hand-off. Do **not** delete the repo yourself.## Phase 3: take over the training queue (after phase 2 is EXACT, and only after the user says go)Follow `/indian-slp/sid_aritra/handoff/HANDOFF_20261129/RESUME.md` **exactly, in its order**. In short:1. The paths must resolve as `/indian-slp/sid_aritra/...` (phase 1 step 4), and the venv must work (phase 1 step 5). If the copied venv had to be rebuilt elsewhere, tell the user before going on: the job commands call `env/slt/bin/python`.2. `rm -f /indian-slp/sid_aritra/queue/.reqcache.json`; `/indian-slp/sid_aritra/queue/running/` must be empty (RESUME.md step 3 says what to do otherwise).3. `cd /indian-slp/sid_aritra && env/slt/bin/python handoff/HANDOFF_20261129/bin/verify_handoff.py` **must exit 0**. It checks every `last.pt` sha256 and step, every feature and file requirement, and every pending queue file. If it fails, stop and send its output to the sender through the user (RESUME.md explains the one accepted exception).4. Register this server: add a class (for example `new`) to `recipe/queue/qconf.py` (`HOSTS`, `ACCUM`, `MEMOPT`, `MAX_USED_FRAC`) and to the `IP`/`HN` maps in `recipe/queue/supervise.sh`, as RESUME.md step 5 says. Show the user the diff first.5. Retag: `env/slt/bin/python handoff/HANDOFF_20261129/bin/retag_for_new_server.py --cls new --mem-from a100 --dry-run`, show the user, then run it again without `--dry-run`.6. Start, after the user says go: `rm queue/PAUSE`, then `bash recipe/queue/supervise.sh start new`. Check each resumed run's log for `resumed at <resume_step>` (RESUME.md step 7).- **Never** run `supervise.sh watchdog`, `watchdog-once`, `watchdog-start` or `boot` on this server, and do not install `recipe/queue/slq-queue.service` unchanged: the watchdog reaches the **old** servers over ssh (their IPs are hard-coded) and would restart their daemons. For queue status use `env/slt/bin/python recipe/queue/qstat.py --no-ssh` (without `--no-ssh` it ssh's to the old servers).- Do not change `--steps`, `--eval_every`, `--seed` or run names, and do not delete any `last.pt`, `best*.pt` or `ck_step*.pt`.- When the first resumed runs print `resumed at <step>` and `verify_handoff.py` exited 0, tell the user (to forward to the sender): "Receiver: phase 3 started, verify_handoff OK, N jobs registered, first resumes OK (<names>). The public repo can be deleted when you agree." The sender deletes it only when the user says so.## Known gaps in the snapshot- Raw mp4s for iSign 1.0 and PHOENIX are **not** included, only their poses and cached features (which are complete). `data/features/isign3_hi/*` covers 85,853 of 85,960 clips, so 107 Hindi clips have no features.- `data/features/isign3_en/vjepa21` and `vjepa21_blocks4` were still being extracted during the upload. The delta passes carry their later progress. Check counts against the clip CSVs after phase 2 rather than assuming they are complete.- No run was training at the final pass: all were stopped right after a `last.pt` save on 2026-11-29 (see `handoff/HANDOFF_20261129/RESUME.md`). Resume is step-exact, not data-order-exact (RESUME.md, "Exactness note").
12345678910111213141516174 unmodified lines2223242526272829307 unmodified lines38394041424344454647484 unmodified lines53545556575859602 unmodified lines636465666768697071727374757677787980817 unmodified lines899091929394959697# Master prompt for Claude Code on the NEW server (version 2, 2026-11-27)Paste everything below the line into Claude Code on the new server. Start it from a directory on the 5 TB disk. This version replaces `RECEIVER_PROMPT.md`. If you already started with the old prompt, tell Claude: "this replaces your earlier instructions; keep what is already restored".---You are receiving a copy of a research project through the public Hugging Face dataset repo **`AurrieMartinez/sid-aritra-transfer`**. The repo is temporary and will be deleted once the copy is confirmed. The sender is a Claude Code session on another lab server. The user relays messages between the two servers by hand, so when the sender needs to know something, write a short message the user can forward.The copy arrives in **two phases**:- **Phase 1 (now):** restore and verify everything already on the hub. That is about 3.4 TB in about 430 shards, and more shards may appear while you work.- **Phase 2 (later, only when the user tells you):** the sender ships the files of the training runs that were still running, and publishes a **final file list** (the manifest). You then make the restored tree an **exact copy** of the source tree at that moment. That includes moving aside any file that was deleted or moved on the source after it reached you.## What the project isAn Indian Sign Language translation project at `/indian-slp/sid_aritra` on the source servers: the iSign 3.0 dataset paper plus cross-dataset sign-language translation (iSign 1.0, How2Sign, PHOENIX-2014T), targeting ACL 2027. Its job queue trains FLAN-T5 translators on cached video embeddings (CLIP-S2, V-JEPA 2.1, VideoMAE). This server will later **run experiments alongside** the source servers, which keep their own queue.## What is on the hub- `shards/<group>/<name>.tar`: uncompressed tar shards of ~10 GB. Tar members are the source's absolute paths without the leading `/`:4 unmodified lines- Shards over 20 GB are stored as 10 GB parts (`<name>.tar.part000`, ...), each with its own sha256.- `index/<name>.json`: shard metadata, including the shard's sha256. `index/<name>.sha256.gz`: sha256 and size of **every file** in the shard. `index/<name>.idx.gz`: tar listing.- **Delta shards** `delta<YYYYMMDDhhmmss>_<group>-NNNNN` are catch-up passes holding files that were new or changed since the previous pass. They must be applied **after** all base shards and **in timestamp order**, so that a newer version overwrites an older one. `restore.py` does this for you. Several delta passes exist already (`delta20261125123252_*`, `delta20261126194628_*`, ...), and one or more will come in phase 2.- `COMPLETE.json` does **not exist yet**. It appears only after the final pass, in phase 2.- `manifest/LATEST.json` plus `manifest/<id>.tsv.gz` also come in phase 2: the final list of every source file (path, size, mtime).- `reconcile.py` (repo root) is the phase 2 tool. You may download it early and read it, but run it only in phase 2.## How the data is protected against corruption (so you know what "verified" means)1. **Sender:** each shard's sha256 was computed from the tar as it was built. After upload, the sender checked that the hub's stored sha256 and size match. An independent audit of all shards on the hub reported ALL MATCH. A sample of ~16,700 source files was re-read from disk and compared with what was packed, with no differences.7 unmodified lines- **If a restore started from an older `restore.py` is already running:** download the newest file, stop the running copy (`kill <pid>`, so it can resume), check that it is gone, then start the new one with the same command. Older copies lack the type-change handling below.- It prefetches one shard while extracting the previous one, deletes each tar once that shard is verified, and polls every 5 minutes for new shards.- If a delta shard changes a path's type (for example a folder became a file or a symlink, or a symlink became a real folder), `restore.py` first moves the old path to `ROOT/.restore/replaced/<shard>/<time>/` (never deletes) and logs a `[type change]` line. That is expected; report the count.- Because `COMPLETE.json` does not exist yet, it will **never print `ALL DONE` in phase 1**. That is expected. **Leave it running** so it picks up the phase 2 shards by itself.3. **Phase 1 is done** when the number of `ROOT/.restore/done/*.json` equals the number of `index/*.json` on the hub (count with `HfApi().list_repo_files(...)`), the log shows no errors, and every shard passed its per-file re-hash. Report these numbers to the user. Do **not** tell anyone the repo can be deleted.4. **Make the absolute paths resolve.** Code, CSVs and manifests hard-code `/indian-slp/...`, `/DATA7/...` and `/DATA405/...`.- Preferred: ask the user for an admin to create the symlinks `/indian-slp -> ROOT/indian-slp`, `/DATA7 -> ROOT/DATA7` and `/DATA405 -> ROOT/DATA405`. Then nothing needs editing.- Only if that is impossible, propose path rewrites. Show the user the diff before changing anything, and remember the rule below about editing restored files.5. **Python environments.** `env/slt`, `env/spamo` and `env/unisign` were copied as-is: Python 3.10.12, and `env/slt` has torch 2.4.1+cu121. Copied venvs are usually not portable, because of interpreter symlinks and absolute shebangs. Test with `ROOT/indian-slp/sid_aritra/env/slt/bin/python -c "import torch; print(torch.cuda.is_available())"`. If it fails, build **new** venvs **outside** the restored tree (for example `ROOT/local_envs/<name>`) from `scripts/hf_transfer/env_freeze/<name>.txt`, using a torch build that matches this server's driver. Set `HF_HOME=ROOT/indian-slp/sid_aritra/env/hf_cache` (the weights are already there).6. **Learn the project before running anything.** Read:- `docs/MASTER_PLAN.md`, `docs/PLAN_ACL2027.md`, `docs/RECIPE_RUNS.md` (the run registry), `docs/SEED_PROTOCOL.md` and `docs/STATUS_runs.md`;4 unmodified lines1. Download the archive and its README:`hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "chats/*" --local-dir ROOT/chats_dl`If there are several `chats/*.enc`, use the newest.2. Ask the user to type this line in **their own terminal** (not through you), then paste the passphrase at the silent prompt. That way it never appears in your chat:`read -rs P && printf '%s' "$P" > ~/.isign_chats_pass && chmod 600 ~/.isign_chats_pass && unset P`3. Decrypt, check the checksum against the second sha256 line in `chats/README.md`, and unpack:`openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in ROOT/chats_dl/chats/<name>.tar.gz.enc -out ROOT/chats_dl/chats.tar.gz``sha256sum ROOT/chats_dl/chats.tar.gz`2 unmodified lines4. Tell the user to start `claude` in `/indian-slp/sid_aritra` (this needs the `/indian-slp` symlink from step 4) and run `claude --resume` to pick a chat.- If `/indian-slp` cannot exist, start `claude` once in `ROOT/indian-slp/sid_aritra` and note the new folder under `~/.claude/projects/`. Copy the `.jsonl` files, and their same-named subfolders, from `~/.claude/projects/-indian-slp-sid-aritra/` into that folder.- Paths, servers and running processes in the old chats describe the source servers, not this one.- A newer archive comes in phase 2. Repeat these steps with it then.8. **Private project files (encrypted).** A few project files are kept out of the plain shards because the repo is public: the ARR-submission material (`exact revieiws.txt`, `REVIEWER_BY_REVIEWER.md`, the submitted PDF) and the rebuttal scripts and logs (`scripts/ops`, `logs/ops`). They are in `private/*.tar.gz.enc`, with the same passphrase and cipher as the chats. Follow `private/README.md`: download, decrypt, check the sha256, then `tar -xzf private.tar.gz -C ROOT --no-same-owner`. If there are several archives, use the newest; a newer one may come in phase 2. `reconcile.py` never touches these paths, and they are not in the manifest. Never put their contents into anything public.## Rules between phase 1 and phase 2 (important for the exact copy)- **Treat the restored tree as read-only.** Later delta shards overwrite files in place, and the phase 2 cleanup judges every path that `restore.py` put there. Do not edit, move, rename or delete anything under `ROOT/indian-slp`, `ROOT/DATA7` or `ROOT/DATA405`.- **Never delete "extra" or "old" files on your own judgement**, even if they look stale. Examples are old checkpoints, or a job JSON that appears in both `queue/pending` and `queue/done`. Phase 2 handles exactly this.- **Put all of your own work outside the restored tree:** new venvs, scratch files, smoke-test outputs, a new queue directory (for example `ROOT/local/`). If a script insists on writing inside the project, ask the user first.- **The queue state in `queue/` is stale.** It holds the source servers' running claims, pids and host names. Do not start the `recipe/queue` schedulers on it; that would duplicate the source servers' jobs. Running alongside means this server gets its **own** queue directory with only the jobs the user assigns. Never reuse a run name or seed that already appears in `docs/RECIPE_RUNS.md` or in `queue/{running,pending,done}`.- **Smoke test only after the user agrees:** one short run (for example `recipe/run_ds.sh phoenix <new_name> <seed> 0 --steps 300`) with its output directory outside the restored tree. Use a run name that exists nowhere in the registry.## Phase 2: only when the user says the sender has published the final manifestThe sender will first ship the remaining files of the running trainings as new delta shards, then upload `COMPLETE.json`, then `manifest/LATEST.json` + `manifest/<id>.tsv.gz`. The user will tell you when this is there.1. Fetch the newest `restore.py` and `reconcile.py` from the repo, the same way as in phase 1. Stop the running `restore.py` (`kill <pid>`; it resumes), start the new one with the same command, and let it finish. It prints `ALL DONE: N shards, X files, Y TB`.2. Run nothing else in the restored tree until step 5 is done.3. **Dry run (changes nothing):** `python reconcile.py --repo AurrieMartinez/sid-aritra-transfer --root ROOT --rehash_sample 2000`. It:7 unmodified lines- Keep `ROOT/.restore/stale/` and `ROOT/.restore/replaced/` until the user says they can go.- **If it prints `RESULT: PROBLEMS`:** do not apply, do not fix files by hand. Send the `PROBLEM` lines (the first 20 are printed) to the sender through the user and wait.6. "Exact" does not cover: empty directories (never shipped), file owners (tar runs with `--no-same-owner`), and the few things the sender never scans: its `.hf_transfer` state folder, token files, and any file or folder whose name contains `.tmp`. A file that changed between the sender's scan and its packing was shipped in its packed version; reconcile re-hashes it against that version ("differ from the scan in size/mtime (re-hashed)"), so this is fine as long as there are 0 hash mismatches.7. **Report, as a short message for the user to forward to the sender:** "Receiver: restore ALL DONE (N shards, X files, Y TB), reconcile RESULT: EXACT against manifest <id> (0 problems, S stale paths moved aside, R re-hashed OK, T type-change moves). You can delete the public repo." Send it **only** after `RESULT: EXACT`. Do **not** delete the repo yourself.## Known gaps in the snapshot- Raw mp4s for iSign 1.0 and PHOENIX are **not** included, only their poses and cached features (which are complete). `data/features/isign3_hi/*` covers 85,853 of 85,960 clips, so 107 Hindi clips have no features.- `data/features/isign3_en/vjepa21` and `vjepa21_blocks4` were still being extracted during the upload. The delta passes carry their later progress. Check counts against the clip CSVs after phase 2 rather than assuming they are complete.- Runs still training at the final pass are a snapshot of that moment.1234567891011121314151617184 unmodified lines232425262728293031327 unmodified lines4041424344454647484950514 unmodified lines5657585960616263642 unmodified lines676869707172737475767778798081828384858687887 unmodified lines96979899100101102103104105106107108109110111112113114115116117# Master prompt for Claude Code on the NEW server (version 3, 2026-11-30)Paste everything below the line into Claude Code on the new server. Start it from a directory on the 5 TB disk. `RECEIVER_PROMPT.md` in the repo holds the same text. If you already started with an earlier version, tell Claude: "this replaces your earlier instructions; keep what is already restored".---You are receiving a copy of a research project through the public Hugging Face dataset repo **`AurrieMartinez/sid-aritra-transfer`**. The repo is temporary and will be deleted once the copy is confirmed. The sender is a Claude Code session on another lab server. The user relays messages between the two servers by hand, so when the sender needs to know something, write a short message the user can forward.The work comes in **three phases**:- **Phase 1:** restore and verify everything on the hub (about 3.5 TB in about 440 shards).- **Phase 2 (when the user says it is published):** the sender shipped the last files (the training runs it stopped on 2026-11-29, queue state, logs) and published a **final file list** (the manifest). You make the restored tree an **exact copy** of the source tree at that moment, which includes moving aside files that were deleted or moved on the source after they reached you.- **Phase 3 (after phase 2 is EXACT):** this server **takes over the training queue**. The old servers are paused for good and this server owns every unfinished job, under the same names, resuming each run from its exact checkpoint.## What the project isAn Indian Sign Language translation project at `/indian-slp/sid_aritra` on the source servers: the iSign 3.0 dataset paper plus cross-dataset sign-language translation (iSign 1.0, How2Sign, PHOENIX-2014T), targeting ACL 2027. Its job queue trains FLAN-T5 translators on cached video embeddings (CLIP-S2, V-JEPA 2.1, VideoMAE). On 2026-11-29 every running job on the three old servers was stopped right after a checkpoint save, the old servers' queue daemons were stopped and disabled, and the queue was handed to this server (`handoff/HANDOFF_20261129/`).## What is on the hub- `shards/<group>/<name>.tar`: uncompressed tar shards of ~10 GB. Tar members are the source's absolute paths without the leading `/`:4 unmodified lines- Shards over 20 GB are stored as 10 GB parts (`<name>.tar.part000`, ...), each with its own sha256.- `index/<name>.json`: shard metadata, including the shard's sha256. `index/<name>.sha256.gz`: sha256 and size of **every file** in the shard. `index/<name>.idx.gz`: tar listing.- **Delta shards** `delta<YYYYMMDDhhmmss>_<group>-NNNNN` are catch-up passes holding files that were new or changed since the previous pass. They must be applied **after** all base shards and **in timestamp order**, so that a newer version overwrites an older one. `restore.py` does this for you. Several delta passes exist already (`delta20261125123252_*`, `delta20261126194628_*`, ...), and one or more will come in phase 2.- `COMPLETE.json`: written by the sender's final pass; it lists every shard. `restore.py` prints `ALL DONE` only once it exists and every listed shard is restored.- `manifest/LATEST.json` plus `manifest/<id>.tsv.gz`: the final list of every source file (path, size, mtime). `LATEST.json` also carries the sha256 of the private paths that are kept out of the shards (`excluded_sha256`).- `reconcile.py` (repo root): the phase 2 tool.- `chats/*.tar.gz.enc` and `private/*.tar.gz.enc`: AES-256-encrypted archives (the repo is public); see phase 1 steps 7 and 8. The newest are `chats/isign3_claude_chats_20261130.tar.gz.enc` and `private/isign3_private_20261130.tar.gz.enc` (2026-11-30). Older ones are superseded.## How the data is protected against corruption (so you know what "verified" means)1. **Sender:** each shard's sha256 was computed from the tar as it was built. After upload, the sender checked that the hub's stored sha256 and size match. An independent audit of all shards on the hub reported ALL MATCH. A sample of ~16,700 source files was re-read from disk and compared with what was packed, with no differences.7 unmodified lines- **If a restore started from an older `restore.py` is already running:** download the newest file, stop the running copy (`kill <pid>`, so it can resume), check that it is gone, then start the new one with the same command. Older copies lack the type-change handling below.- It prefetches one shard while extracting the previous one, deletes each tar once that shard is verified, and polls every 5 minutes for new shards.- If a delta shard changes a path's type (for example a folder became a file or a symlink, or a symlink became a real folder), `restore.py` first moves the old path to `ROOT/.restore/replaced/<shard>/<time>/` (never deletes) and logs a `[type change]` line. That is expected; report the count.- If `COMPLETE.json` is not on the hub yet, it does not print `ALL DONE`; it keeps polling. **Leave it running** until it prints `ALL DONE`.3. **Phase 1 is done** when the number of `ROOT/.restore/done/*.json` equals the number of `index/*.json` on the hub (count with `HfApi().list_repo_files(...)`), the log shows no errors, and every shard passed its per-file re-hash. Report these numbers to the user. Do **not** tell anyone the repo can be deleted.4. **Make the absolute paths resolve.** Code, CSVs and manifests hard-code `/indian-slp/...`, `/DATA7/...` and `/DATA405/...`.- Ask the user for an admin to create the symlinks `/indian-slp -> ROOT/indian-slp`, `/DATA7 -> ROOT/DATA7` and `/DATA405 -> ROOT/DATA405`. Then nothing needs editing.- **Phase 3 needs at least `/indian-slp`**: the venv, every job command, the feature paths and `handoff/HANDOFF_20261129/RESUME.md` use the canonical path `/indian-slp/sid_aritra/...`. Without it, stop after phase 2 and tell the user.- Do not rewrite paths in restored files.5. **Python environments.** `env/slt`, `env/spamo` and `env/unisign` were copied as-is: Python 3.10.12, and `env/slt` has torch 2.4.1+cu121. Copied venvs are usually not portable, because of interpreter symlinks and absolute shebangs. Test with `ROOT/indian-slp/sid_aritra/env/slt/bin/python -c "import torch; print(torch.cuda.is_available())"`. If it fails, build **new** venvs **outside** the restored tree (for example `ROOT/local_envs/<name>`) from `scripts/hf_transfer/env_freeze/<name>.txt`, using a torch build that matches this server's driver. Set `HF_HOME=ROOT/indian-slp/sid_aritra/env/hf_cache` (the weights are already there).6. **Learn the project before running anything.** Read:- `docs/MASTER_PLAN.md`, `docs/PLAN_ACL2027.md`, `docs/RECIPE_RUNS.md` (the run registry), `docs/SEED_PROTOCOL.md` and `docs/STATUS_runs.md`;4 unmodified lines1. Download the archive and its README:`hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "chats/*" --local-dir ROOT/chats_dl`If there are several `chats/*.enc`, use the newest.2. Ask the user to type this line in **their own terminal** (not through you), then paste the passphrase at the silent `passphrase:` prompt. That way it never appears in your chat. It runs under bash on purpose (plain `sh`/dash has no silent `read -s`):`bash -c 'umask 077; IFS= read -rs -p "passphrase: " P && printf "%s" "$P" > ~/.isign_chats_pass; echo'`When both the chats and the private archive are unpacked, delete it: `shred -u ~/.isign_chats_pass`.3. Decrypt, check the checksum against the second sha256 line in `chats/README.md`, and unpack:`openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in ROOT/chats_dl/chats/<name>.tar.gz.enc -out ROOT/chats_dl/chats.tar.gz``sha256sum ROOT/chats_dl/chats.tar.gz`2 unmodified lines4. Tell the user to start `claude` in `/indian-slp/sid_aritra` (this needs the `/indian-slp` symlink from step 4) and run `claude --resume` to pick a chat.- If `/indian-slp` cannot exist, start `claude` once in `ROOT/indian-slp/sid_aritra` and note the new folder under `~/.claude/projects/`. Copy the `.jsonl` files, and their same-named subfolders, from `~/.claude/projects/-indian-slp-sid-aritra/` into that folder.- Paths, servers and running processes in the old chats describe the source servers, not this one.- Use the newest archive, `chats/isign3_claude_chats_20261130.tar.gz.enc` (2026-11-30). If you unpacked an older one before, repeat these steps with it; the rsync adds the newer chats.8. **Private project files (encrypted).** A few project files are kept out of the plain shards because the repo is public: some review-related files, the submitted PDF, the response drafts (at the project root and in their own folders), and two ops folders of scripts and logs. No shard contains any of them (the sender checked the hub's indices). They are in `private/isign3_private_20261130.tar.gz.enc`, with the same passphrase and cipher as the chats. Do this after `restore.py` printed `ALL DONE` (any time is safe, because no shard writes these paths; if you extracted an older bundle earlier, extract this one again over it):`hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "private/*" --local-dir ROOT/private_dl`then `cd ROOT/private_dl/private` and follow `private/README.md` there: decrypt, check the sha256, then `tar -xzf private.tar.gz -C ROOT --no-same-owner`. `reconcile.py` never touches these paths, and they are not in its file list. Never put their contents or names into anything public.## Rules between phase 1 and phase 2 (important for the exact copy)- **Treat the restored tree as read-only.** Later delta shards overwrite files in place, and the phase 2 cleanup judges every path that `restore.py` put there. Do not edit, move, rename or delete anything under `ROOT/indian-slp`, `ROOT/DATA7` or `ROOT/DATA405`.- **Never delete "extra" or "old" files on your own judgement**, even if they look stale. Examples are old checkpoints, or a job JSON that appears in both `queue/pending` and `queue/done`. Phase 2 handles exactly this.- **Put all of your own work outside the restored tree** (for example under `ROOT/local/`): new venvs, scratch files, smoke-test outputs. If a script insists on writing inside the project, ask the user first. This does not apply to the training queue: phase 3 runs it in the restored `queue/`, never in a copy.- **The queue stays untouched until phase 2 ends with `RESULT: EXACT`.** Do not start any `recipe/queue` scheduler, do not edit or move anything in `queue/`, and do not run training before then.- **After `RESULT: EXACT`, `queue/` plus `handoff/HANDOFF_20261129/` are authoritative.** The old servers are paused (`queue/PAUSE`, daemons stopped and their boot units disabled on 2026-11-30), so this server owns every job in `handoff/HANDOFF_20261129/manifest.json`, **under the same names**: those runs are continuations, not new runs. Take them over only as phase 3 says.- **Smoke test only after the user agrees**, and only with a run name and seed that appear nowhere in `docs/RECIPE_RUNS.md` or `queue/`, with its output outside the restored tree. It is optional: phase 3's `verify_handoff.py` already checks the checkpoints and features.## Phase 2: only when the user says the sender has published the final manifestThe sender shipped the remaining files as new delta shards, then uploaded `COMPLETE.json`, then `manifest/LATEST.json` + `manifest/<id>.tsv.gz`, then the newest `chats/` and `private/` archives.1. Fetch the newest `restore.py` and `reconcile.py` from the repo, the same way as in phase 1. Stop the running `restore.py` (`kill <pid>`; it resumes), start the new one with the same command, and let it finish. It prints `ALL DONE: N shards, X files, Y TB`.2. Run nothing else in the restored tree until step 5 is done.3. **Dry run (changes nothing):** `python reconcile.py --repo AurrieMartinez/sid-aritra-transfer --root ROOT --rehash_sample 2000`. It:7 unmodified lines- Keep `ROOT/.restore/stale/` and `ROOT/.restore/replaced/` until the user says they can go.- **If it prints `RESULT: PROBLEMS`:** do not apply, do not fix files by hand. Send the `PROBLEM` lines (the first 20 are printed) to the sender through the user and wait.6. "Exact" does not cover: empty directories (never shipped), file owners (tar runs with `--no-same-owner`), and the few things the sender never scans: its `.hf_transfer` state folder, token files, and any file or folder whose name contains `.tmp`. A file that changed between the sender's scan and its packing was shipped in its packed version; reconcile re-hashes it against that version ("differ from the scan in size/mtime (re-hashed)"), so this is fine as long as there are 0 hash mismatches.7. **Then** unpack the newest `private/` archive (phase 1 step 8) and the newest `chats/` archive (phase 1 step 7).8. **Report, as a short message for the user to forward to the sender:** "Receiver: restore ALL DONE (N shards, X files, Y TB), reconcile RESULT: EXACT against manifest <id> (0 problems, S stale paths moved aside, R re-hashed OK, T type-change moves); private and chats archives unpacked (sha256 OK)." Do **not** say the repo can be deleted yet: that waits until phase 3 has verified the hand-off. Do **not** delete the repo yourself.## Phase 3: take over the training queue (after phase 2 is EXACT, and only after the user says go)Follow `/indian-slp/sid_aritra/handoff/HANDOFF_20261129/RESUME.md` **exactly, in its order**. In short:1. The paths must resolve as `/indian-slp/sid_aritra/...` (phase 1 step 4), and the venv must work (phase 1 step 5). If the copied venv had to be rebuilt elsewhere, tell the user before going on: the job commands call `env/slt/bin/python`.2. `rm -f /indian-slp/sid_aritra/queue/.reqcache.json`; `/indian-slp/sid_aritra/queue/running/` must be empty (RESUME.md step 3 says what to do otherwise).3. `cd /indian-slp/sid_aritra && env/slt/bin/python handoff/HANDOFF_20261129/bin/verify_handoff.py` **must exit 0**. It checks every `last.pt` sha256 and step, every feature and file requirement, and every pending queue file. If it fails, stop and send its output to the sender through the user (RESUME.md explains the one accepted exception).4. Register this server: add a class (for example `new`) to `recipe/queue/qconf.py` (`HOSTS`, `ACCUM`, `MEMOPT`, `MAX_USED_FRAC`) and to the `IP`/`HN` maps in `recipe/queue/supervise.sh`, as RESUME.md step 5 says. Show the user the diff first.5. Retag: `env/slt/bin/python handoff/HANDOFF_20261129/bin/retag_for_new_server.py --cls new --mem-from a100 --dry-run`, show the user, then run it again without `--dry-run`.6. Start, after the user says go: `rm queue/PAUSE`, then `bash recipe/queue/supervise.sh start new`. Check each resumed run's log for `resumed at <resume_step>` (RESUME.md step 7).- **Never** run `supervise.sh watchdog`, `watchdog-once`, `watchdog-start` or `boot` on this server, and do not install `recipe/queue/slq-queue.service` unchanged: the watchdog reaches the **old** servers over ssh (their IPs are hard-coded) and would restart their daemons. For queue status use `env/slt/bin/python recipe/queue/qstat.py --no-ssh` (without `--no-ssh` it ssh's to the old servers).- Do not change `--steps`, `--eval_every`, `--seed` or run names, and do not delete any `last.pt`, `best*.pt` or `ck_step*.pt`.- When the first resumed runs print `resumed at <step>` and `verify_handoff.py` exited 0, tell the user (to forward to the sender): "Receiver: phase 3 started, verify_handoff OK, N jobs registered, first resumes OK (<names>). The public repo can be deleted when you agree." The sender deletes it only when the user says so.## Known gaps in the snapshot- Raw mp4s for iSign 1.0 and PHOENIX are **not** included, only their poses and cached features (which are complete). `data/features/isign3_hi/*` covers 85,853 of 85,960 clips, so 107 Hindi clips have no features.- `data/features/isign3_en/vjepa21` and `vjepa21_blocks4` were still being extracted during the upload. The delta passes carry their later progress. Check counts against the clip CSVs after phase 2 rather than assuming they are complete.- No run was training at the final pass: all were stopped right after a `last.pt` save on 2026-11-29 (see `handoff/HANDOFF_20261129/RESUME.md`). Resume is step-exact, not data-order-exact (RESUME.md, "Exactness note").
12345678910111213141516171819# iSign 3.0 Claude Code chats (encrypted)`chats/isign3_claude_chats_202611270057.tar.gz.enc` is the sender's Claude Code chat history for this project (`~/.claude/projects/-indian-slp-sid-aritra/` on the source: 10 chats with their subagent logs, plus the memory notes), as of 2026-11-27 00:57 IST.It is AES-256 encrypted because this repo is public. The passphrase is not in the repo: the user brings it by hand.- sha256 of the .enc file: bddbb8c6e4388d57bd8743110ff143d66795d0d7be60fed86aa84d297c74a9e1- sha256 of the decrypted .tar.gz: 00c61f030d19fc1e0907f07ece896af49c986c8378980948bb1da4dbea5a7b9a## Decrypt (needs OpenSSL 1.1.1 or newer)printf '%s' 'PASSPHRASE' > ~/.isign_chats_pass && chmod 600 ~/.isign_chats_passopenssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in isign3_claude_chats_202611270057.tar.gz.enc -out chats.tar.gzsha256sum chats.tar.gz # must match the second line abovemkdir -p ~/.claude/projects && tar -xzf chats.tar.gz -C ~/.claude/projects## Resume a chat on the new serverClaude Code finds chats by the folder you start it in. The archive restores them under `~/.claude/projects/-indian-slp-sid-aritra/`, which matches starting `claude` in `/indian-slp/sid_aritra`.- If you start it elsewhere (for example `ROOT/indian-slp/sid_aritra` without the `/indian-slp` symlink), start `claude` there once, look at the new folder name under `~/.claude/projects/`, and copy the .jsonl files and their same-named subfolders into it.- Then run `claude --resume` and pick a chat.- Paths, server names and running processes in the old chats describe the source servers, not this one.1234567891011121314151617181920# iSign 3.0 Claude Code chats (encrypted)`chats/isign3_claude_chats_20261130.tar.gz.enc` is the sender's Claude Code chat history for this project (`~/.claude/projects/-indian-slp-sid-aritra/` on the source: every chat with its subagent logs, plus the memory notes; 418 archive entries), as of 2026-11-30 17:08 IST. It supersedes the older `chats/*.enc`.It is AES-256 encrypted because this repo is public. The passphrase is not in the repo: the user brings it by hand.- sha256 of the .enc file: 9f8762585ca49d00d48bc3364cf491966298495fa103d0b909f76f5a816a9d39- sha256 of the decrypted .tar.gz: 639fa8c4328971b92f26260714ac9a42c4e67f33c0855f33a2379278682e4426## Decrypt (OpenSSL 1.1.1 or newer)The user types this in their own terminal (the passphrase never goes through a chat; bash on purpose, sh has no silent read):bash -c 'umask 077; IFS= read -rs -p "passphrase: " P && printf "%s" "$P" > ~/.isign_chats_pass; echo'When both archives are unpacked: shred -u ~/.isign_chats_passThen, in the folder that holds the .enc file (download: hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "chats/*" --local-dir DIR; cd DIR/chats):openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in isign3_claude_chats_20261130.tar.gz.enc -out chats.tar.gzsha256sum chats.tar.gz # must match the second line abovemkdir -p x && tar -xzf chats.tar.gz -C xmkdir -p ~/.claude/projects/-indian-slp-sid-aritra && rsync -a --exclude memory/ x/-indian-slp-sid-aritra/ ~/.claude/projects/-indian-slp-sid-aritra/## Resume a chat on the new serverStart `claude` in `/indian-slp/sid_aritra` and run `claude --resume`. The sender's memory notes stay in `x/-indian-slp-sid-aritra/memory/` for reference. Paths, server names and processes in the old chats describe the source servers.
123version https://git-lfs.github.com/spec/v1oid sha256:9f8762585ca49d00d48bc3364cf491966298495fa103d0b909f76f5a816a9d39size 13371784012345678910111213# Private project files (encrypted)`private/isign3_private_202611270106.tar.gz.enc` holds files of /indian-slp/sid_aritra that are kept out of the plain shards because this repo is public: the ARR-submission material ("exact revieiws.txt", REVIEWER_BY_REVIEWER.md, the submitted PDF) and the rebuttal job scripts and logs (scripts/ops, logs/ops). Snapshot of 2026-11-27 01:06 IST; a newer one may follow (use the newest).Same passphrase and cipher as chats/ (see chats/README.md).- sha256 of the .enc file: d2d0747d1730318f4e72ad989ddee4c62d27549fb4c8f0570438d8b20c10982f- sha256 of the decrypted .tar.gz: 7099eb035e6007c1948f447708b3706254529bff500edacc7177bed05d5ee98f## Restore into ROOT (members are paths without the leading /, like the shards)openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in isign3_private_202611270106.tar.gz.enc -out private.tar.gzsha256sum private.tar.gz # must match the second line abovetar -xzf private.tar.gz -C ROOT --no-same-ownerreconcile.py never touches these paths: they come from this archive, not from a shard.1234567891011121314# Private project files (encrypted)`private/isign3_private_20261130.tar.gz.enc` holds the files of /indian-slp/sid_aritra that are kept out of the public shards: some review-related files, the submitted PDF, the response drafts (at the project root and in their own folders), and two ops folders of scripts and logs (161 archive entries), as of 2026-11-30 17:08 IST. No shard contains any of these paths. It supersedes the older `private/*.enc`.Same passphrase and cipher as chats/ (see chats/README.md).- sha256 of the .enc file: 364217906c8d4b1564eaceb940e8aa88e76ef6e7754b487657dd28db94de8a48- sha256 of the decrypted .tar.gz: 9f7406dea3801151b1adc9fb1ac270e59fb679eb5ccb008db4c7ec7fb5c4bfd4## Restore into ROOT (members are paths without the leading /, like the shards), after restore.py printed ALL DONEDownload: hf download AurrieMartinez/sid-aritra-transfer --repo-type dataset --include "private/*" --local-dir DIR; then cd DIR/private and run:openssl enc -d -aes-256-cbc -pbkdf2 -iter 200000 -pass file:$HOME/.isign_chats_pass -in isign3_private_20261130.tar.gz.enc -out private.tar.gzsha256sum private.tar.gz # must match the second line abovetar -xzf private.tar.gz -C ROOT --no-same-owner # ROOT = the absolute path restore.py usedreconcile.py never touches these paths.
123version https://git-lfs.github.com/spec/v1oid sha256:364217906c8d4b1564eaceb940e8aa88e76ef6e7754b487657dd28db94de8a48size 1426400156 unmodified lines157158159160161162163156 unmodified linesproblem(p, f"size {p}: {stt.st_size} here, {x} shipped"); continueif (kind != "HARD" and int(x) != s) or int(stt.st_mtime) != m:recheck.append(p) # differs from the scan: hash it against the newest shipped version belowstale = sorted(p for p in latest if p not in want and here(root, p))stale = [p for p in stale if not os.path.isdir(os.path.join(root, p)) or os.path.islink(os.path.join(root, p))]sbytes = sum(os.lstat(os.path.join(root, p)).st_size for p in stale)hfiles = set(recheck)156 unmodified lines157158159160161162163164165166167168169156 unmodified linesproblem(p, f"size {p}: {stt.st_size} here, {x} shipped"); continueif (kind != "HARD" and int(x) != s) or int(stt.st_mtime) != m:recheck.append(p) # differs from the scan: hash it against the newest shipped version below# private paths (they come from the encrypted private/ bundle) are never stale. The manifest lists only the sha256# of each excluded canonical path (a directory with its trailing "/"): test the path and each of its ancestors.excl = set(meta.get("excluded_sha256", []))hs = lambda x: hashlib.sha256(x.encode()).hexdigest()isx = lambda p: bool(excl) and (hs(p) in excl or any(hs("/".join(p.split("/")[:k]) + "/") in exclfor k in range(1, p.count("/") + 1)))stale = sorted(p for p in latest if p not in want and not isx(p) and here(root, p))stale = [p for p in stale if not os.path.isdir(os.path.join(root, p)) or os.path.islink(os.path.join(root, p))]sbytes = sum(os.lstat(os.path.join(root, p)).st_size for p in stale)hfiles = set(recheck)
RECEIVER_MASTER_PROMPT.md+42-22
RECEIVER_PROMPT.md+42-22
chats/README.md+12-11
chats/isign3_claude_chats_20261130.tar.gz.encAdded+3
private/README.md+8-7
private/isign3_private_20261130.tar.gz.encAdded+3
reconcile.py+7-1