dragonlimited commited on
Commit
8d4e060
·
verified ·
1 Parent(s): 66ddce6

relaunch: status, lost scripts, index checkpoint repair

Browse files
Files changed (1) hide show
  1. workplan/RELAUNCH-STATUS.md +68 -0
workplan/RELAUNCH-STATUS.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # RELAUNCH STATUS — box relaunch, 2026-11-19 13:11:18
2
+
3
+ Written by the resuming agent after the container was relaunched and `/home/marimo`
4
+ (overlay filesystem) was lost. Read this before assuming anything below is available.
5
+
6
+ ## Restored
7
+
8
+ - `state/**` from this repo -> 48 files: `facts.duckdb`, both adapters, `tool_traces_v2.jsonl`,
9
+ `split.json`, `final_results.json`, `index_state.json`, the published scripts,
10
+ `workplan.json` **plus all 13 done-markers** (finished jobs stay retired).
11
+ - `dragon-harness/ops/{sync_state,check_resume,restore_state,supervisor}.py` and
12
+ `dragon-harness/training/*.py` -> copied into the workspace.
13
+ - Notebook re-run end to end: all 12 cells idle, 0 errors. blobs: LanceDB `chunks`
14
+ = 20,000 rows; probe "AMREP Corporation Schedule 13D" -> the AMREP filings (vec+kw).
15
+ - `facts.duckdb` verified: `num` 28,176,037 / consolidated 13,031,109 / `sub` 55,635 -
16
+ matches the documented numbers. `num` column is `val`, not `value`.
17
+
18
+ ## LOST FOREVER — never published to any repo
19
+
20
+ These existed only in `/home/marimo/dragon_fsds` and are not recoverable:
21
+
22
+ train_agent_metric.py bench_agent.py cpu_lane.py
23
+ merge_and_quant.py eval_sweep.py holdout_eval.py distill.py
24
+
25
+ Consequences:
26
+
27
+ - **24 of the 26 remaining workplan jobs have no script** — the whole SFT lane
28
+ (`sft_seed2`, `sft_lr_sweep_*`), the benchmark lane (`bench_*_300b`), `holdout_eval_all`,
29
+ `distill_traces`, and the entire CPU lane. The plan cannot be resumed as written.
30
+ - `tool_traces_all.jsonl` is also missing, so `sft_all_traces` / `sft_seed2` were already
31
+ unbuildable before the relaunch.
32
+ - `rlvr_sweep_c` / `rlvr_sweep_d` are the only jobs whose script survived, and they still
33
+ cannot run: they load `dragon-lora-v3/resume.pt`, which was **never published**
34
+ (only `adapter_best.pt` exists).
35
+ - **Do not start `run_workplan.py` as-is.** It has no retry cap: the two runnable-looking
36
+ jobs fail instantly, their pidfiles are reaped, and the manager re-admits them every
37
+ tick - a spawn loop that the file's own comments identify as the cause of the earlier
38
+ OOMs.
39
+
40
+ ## Index: the checkpoint lied
41
+
42
+ `index_state.json` claimed **3,665,826 rows / 184 shards**, but the LanceDB directory it
43
+ describes (the vectors) died with the box. `index_corpus.py` therefore took the
44
+ `open_table("corpus")` branch on a table that did not exist, logged FAILED and stopped.
45
+ The checkpoint was backed up and reset; the pre-relaunch copy is published here as
46
+ `state/index_state.json.prelaunch-backup` (evidence of work done, not a usable resume point).
47
+
48
+ Rebuild started detached, `DRAGON_TARGET_CHUNKS=6,000,000`:
49
+
50
+ 13:09:59 chunks-00001.jsonl +20,000 total 20,000 822 c/s
51
+ 13:10:23 chunks-00002.jsonl +20,000 total 40,000 839 c/s
52
+ 13:10:47 chunks-00003.jsonl +20,000 total 60,000 837 c/s
53
+ 13:11:10 chunks-00004.jsonl +20,000 total 80,000 845 c/s
54
+
55
+ current: rows=80,000 shards=4 (822 chunks/s measured = the documented rate).
56
+ `sync_state.py --watch` is running, so this checkpoint now travels with the account.
57
+
58
+ ## State manifest is reconstructed
59
+
60
+ `state_manifest.json` was **not** in this repo, so `sync_state.py` could not run at all.
61
+ A manifest has been written by hand from the file list this repo already holds.
62
+ `facts.duckdb` (1.3 GB, immutable, already published) is deliberately **excluded** from the
63
+ watch loop; `index_state.json.prelaunch-backup` is included so the record survives.
64
+
65
+ ## Token
66
+
67
+ A fine-grained token ("full access 1") was supplied to make this push. It has been used in
68
+ a chat transcript, so per §11 of `RESUME.md`: **rotate it** once the resume work is done.