Files
ML-Porosity/AGENTS.md
Pham Huy fc15bf6510 Rewrite the abstract for outside readers; state the simulator assumption
Shorten the abstract from 458 to 231 words and remove internal codes
and verdict counts. State the synthetic result in one sentence with
its assumptions up front. The failed first comparison, the drift-free
gain and the misspecification failures remain disclosed in the body.

Add to the "One simulator" limitation that the nominal cells use the
model the registration assumes, so their gains are not field estimates.
No number, verdict or threshold changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:45:15 +07:00

177 lines
28 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AGENTS.md
Seismic-to-porosity learning on F3 when the well tie is uncertain (RML: training on labels drawn from a well-tie posterior). Paper deadline: **Sat 14/11/2026** (moved on 29/10/2026 from 31/10; Pivot 1, level B, `docs/plan.md` §12 item 22). Gate thresholds never change; only dates do.
Read first: `docs/plan.md` (plan, gates, decisions; §6 roadmap, §10 forbidden claims, §12 decision log), `README.md` (setup, scripts, logging), `docs/theory.md`. Progress page: `report.html`. These docs are in Vietnamese.
## Status (02/11/2026)
- P0, P1 done. P2 closed: gate G-B failed on 26/10 and the P2 verdict stands.
- **P2r** (P2 rerun on new realizations 8–15 under the new pre-registration `configs/protocol_p2r.yaml`) is done and committed (5a6fb2f). Summary in `outputs/p2r/summary/` (`verdict.json`, `summary.md`); details in `docs/plan.md` §12 items 11–14.
- H2a pass (R10, R0, Rm5). The secondary comparison against B3d holds only for R10. H2b pass (N = 16: 8/8, ρ = −0.85).
- σ_a arm fails: H2a depends on σ_a being set correctly. This is the main risk for G-C, because σ_a on F3 is unknown.
- H3 is descriptive only: every ensemble under-covers. No calibration claims.
- No Pivot 1. P2r is a deviation (designed after P2 failed). The paper's Methods must say so.
- No P2r jobs are running. Nothing needs resuming.
- **P3 F3 is complete** (28/10, 06:50 +07:00): 1,320 nested-LOWO trajectories,
diagnostics/ablations, 20 deployment models, and the full 649-interior-inline
volume. **G-C failed both conditions**: improvement at 1/4 wells; macro
coverage80 = 52.38%, coverage90 = 60.91%. Do not claim field superiority or
calibrated uncertainty. The original P2/P2r conclusions are unchanged.
- Frozen protocol: `configs/protocol_f3.yaml` + `.sha256` + `.lock.json`.
The lock includes code, environment and inputs; do not regenerate it after
results. Code changes require an explicitly documented new version.
- The first run stopped at 132/649 volume inlines because Windows locked
`outputs/p3/progress.js`. `operations/resume_f3_volume.py` recovered only
inference with dashboard retries, preserving registered code and completed
rows. Audit: `outputs/p3/volume_recovery.json`, `completion_checks.json`.
- Details: `docs/plan.md` §12 items 15–16 and
`docs/research/p3-code-review.md`. `report.html` contains the completed
status and G-C result even without the local output sidecar.
- **P4 Volve is complete** (29/10, 02:21 UTC) on the Linux server (H200, cuda:1
primary arm, cuda:0 σ_a arms in parallel), not on the Windows workstation.
Protocol `configs/protocol_volve.yaml` locked 01:17:42 UTC (`.lock.json`,
`.sha256`); driver `scripts/run_p4.sh`. **G-D: no consistent improvement, not
calibrated** (M2-Sa beats selected B3 at 2/6 wells lowo, 3/6 slot; coverage90
≈ 0.47). No method has blind-well skill on Volve (R² < 0 everywhere, PCC ≤ 0.24);
σ_a arms change nothing. Details: `docs/plan.md` §12 item 20,
`outputs/p4/summary/`. Do not rerun or redesign P4.
- Post hoc, outside the lock (`scripts/25_p4_posthoc.py` → `outputs/p4/posthoc/`):
a constant at the training-well PHIF mean beats every network (macro RMSE
6.03 lowo, 6.59 slot). Between-well level differences dominate the error, so
G-D had no power: Volve is evidence neither for nor against RML.
- **P4x exploratory is dropped** (decision of 29/10/2026). `exploratory/`
and `outputs/p4x/` stay on disk as a record only: do not summarise, cite,
or extend them (no V3). The last `exploratory/run_p4x.sh` job was stopped
at 670/921 (about 04:05 UTC) and killed to free cuda:0; B3d-Sa and V3
never ran. A partial summary generated at 04:07 UTC, before the
decision was seen, has been deleted (`outputs/p4x/summary/` no longer
exists). Do not restart the job or rerun its summarize stage. History: `docs/plan.md` §12 item 21.
- **Pivot 1 activated (29/10/2026)**: the paper is now a theory + synthetic
benchmark paper. Working title: *Label registration error in sparse-well
seismic property learning: theory, a registration-aware benchmark, and the
limits of field validation*. F3 and Volve are scope-bounding cases only.
Decisions (user fixed 1 and 5; agent fixed 2–4): (1) level B, deadline
14/11/2026; (2) misspecification axis S2 is mandatory, narrow scope, locked
in a new `configs/protocol_bench.yaml` before the first run, otherwise the
paper says "controlled synthetic study", not "benchmark"; (3) the mechanism
study T2 is exploratory on realizations 8–15, pre-declared in
`docs/research/t2-mechanism.md`, never confirmatory; (4) venue *Computers &
Geosciences*, fallback *Geophysical Prospecting*; (5) P4x dropped. Full
analysis and plan: `docs/research/pivot-theory-benchmark.md` (§6 has the
decisions and the day-by-day schedule); public field-dataset survey:
`docs/research/field-dataset-survey.md` (no dataset confirmed adequate; no
new field test in this paper).
- **Applicability conditions and a Teapot Dome attempt (29/10/2026,
exploratory; `docs/plan.md` §12 item 23).** Declared in
`docs/research/applicability-teapot.md` before any computation; results in
`docs/research/applicability-results.md`. Retrospective C1/C2
(`scripts/26_applicability.py`): F3 and Volve fail C1 (no blind-well skill
in the seismic band) and pass C2. T3 power (`scripts/27_t3_power.py`): with
an exact reference a sign test needs 5–18 blind wells in most cells; with
reference errors of 3 ms or more, 40 wells do not suffice. Teapot T0 failed
(at most 2 wells with an independent time–depth reference), and the pilot
P-a requested by the user failed (horizon–top knot error 6.75 ms against a
1.5 ms tolerance). Teapot is stopped; the user chose to return to the
level-B schedule. The raw Teapot data (`data/Teapot/`, 1.7 GB) are
gitignored.
- **Level A writing done early (29/10/2026; `docs/plan.md` §12 item 24).**
`paper/` now follows the Pivot 1 frame (55 pages, compiles cleanly):
Propositions 3–6 (classical/Berkson tie error, calibrated bank with a
fourth-order population gain, coverage, misregistered reference),
Corollaries 3–4, T4 (`scripts/30_t4_coverage.py`) and the post hoc H2b
bound check (`scripts/31_p2r_posthoc.py`) in Sec. 6.3, T3 in Sec. 6.5 (6.6 since 02/11),
field cases in Sec. 6.6 (6.7 since 02/11) with F3/Volve details moved to Appendix B. Red
TODOs remain for S1–S8, T2 and the authors' declarations. **Self-correction
(29/10, A6):** two earlier agent claims were wrong. The first was "the two
error structures give nearly the same bound (factor < 1.17)". In fact the
f⁴-weighted distortion sits at 67–72 Hz, where the Berkson integral is
1.5–4.6 times the classical one at σ = 1.5–2.5 ms. The second was "the bank
gain exceeds the population bound". That holds only for the registered
classical bound (7/8 wide cells at N = 16). Under the post hoc Berkson
bound, the natural one for posterior-mean labels, only 3/8 cells exceed it
(all at c = 1), and at most 1/8 at the measured warp error. Script 31 now
computes both bounds and reads the Oracle npz files (about 6 min). The paper
(Sec. 4.3, 6.3 with a 1/B_b column in `tab:h2b`, 6.4, 7, abstract,
introduction, conclusion) and the docs were corrected. **Length risk:**
the main text was about 14,750 words (crude count after A6; about 18,100 after the 02/11 results pass) against a Computers & Geosciences limit
of about 5,500 (secondary source; not yet checked on the official page).
The user dropped the length pass for the venue on 29/10/2026 (`docs/plan.md`
§12 item 25); the risk stays recorded as R9 with no mitigation.
- Committed and pushed on 29/10/2026 with the tag `protocol-volve` (the Volve
code hash recomputed from that tree matches `configs/protocol_volve.lock.json`):
the P4 code, `configs/protocol_volve.*`, scripts 26–31, the `docs/research/`
additions, the P4x record (`exploratory/`, `docs/research/p4-exploratory.md`),
`.gitignore`, and the 29/10 paper/docs edits. Run logs `logs/*.out` stay
untracked, as before (`docs/plan.md` §12 item 25).
- **P6 (level-B benchmark) started early on 29/10/2026; all main runs finished 02:16 UTC 30/10/2026** (`docs/plan.md` §12 item 26; code in commit 381b5ff). Subagents: Fable for reasoning-heavy work, Opus for routine work.
- p6-gen done: `misspec=` in `ml_porosity/data/synth_d2.py` (rock physics, wavelet, drift); `misspec=None` reproduces the P2r fingerprints bit for bit (`tests/test_d2_misspec.py`); presets in `configs/d2_synth_bench.yaml` are still PLACEHOLDER; QC in `scripts/33_bench_generator_qc.py`, notes in `docs/research/bench-generator.md`. The uniform rock-physics error is absorbed by the profiled-α likelihood (control only).
- T2 done (exploratory; declared and hashed before computing; results `docs/research/t2-results.md`, `outputs/t2/summary.md`). B3d-Sa's label error is Berkson at c = 1, so 1/B_b applies and the H2b gain does not exceed the population correction; a GP-noise bank with the posterior's mean and covariance gets most of the c = 1 gain (label augmentation); implicit re-registration is real (8/8 wide cells); no evidence for the multimodal mechanism; about a third of the PM–Oracle gap is training length. Never use T2 to reselect P2r budgets.
- Runner built (`ml_porosity/benchmark/`, `scripts/34_run_bench.py`, `35_bench_calibration.py`, `scripts/run_bench.sh`; design `docs/research/bench-protocol.md`); a P2r cell reproduces bit for bit through it. S2 levels chosen on dev 902–905. `configs/protocol_bench.yaml` is **locked** (29/10 14:39 UTC; sha256 aa763f0a…; TCN budgets 125 from dev; L1 levels above the declared band are disclosed). **Main runs started 29/10 14:43 UTC; all four drivers were SIGTERMed at 15:27 when the agent session ended** (setsid nohup is not enough). Relaunched in the user's tmux server (15:41 on cuda:0; resized at 16:07 UTC when the other project released both GPUs): `p6_s2` (S2, cuda:1, 6 workers), `p6_s1a` (S1 R10/Rm5/R0, cuda:0, 5 workers), `p6_s1b` (S1 R0h/R10tb, cuda:1, 2 workers), `p6_s348` (S3+S4+S8 train, cuda:0, 4 workers); logs `logs/bench_{s2_cuda1,s1a_cuda0,s1b_cuda1,s348_cuda0}.out`. Worker count is bounded by 40 CPUs (2 threads each). Since 16:22 UTC `operations/p6_supervisor.py` (tmux `p6_supervisor`, log `logs/p6_supervisor.out`, state `logs/p6_supervisor_state.json`) checks every 5 min: it relaunches dead unfinished drivers on the card with most free memory (keeping 2.5 GB free, at most 5 restarts each) and gives the workers of a finished driver to the one with most jobs left (21 workers total since 22:26 UTC, when S1 group B was boosted from 2 to 6 workers as the critical path). To change drivers by hand, stop the supervisor first and keep its state file consistent. The GPU co-tenant is the user's own `vinhnt` job (about 80 GB per card at 16:20 UTC); never touch it. Never run two drivers over the same study/regimes (the runner does not claim jobs). Drivers resume by fingerprint: restart a stopped driver with the same command; never edit locked code or inputs. New code files break the F3/Volve code-hash checks of the working tree; acceptable because P3/P4 are never rerun. **Final state (30/10):** S2 (224 posterior + 224 train) done 00:12 UTC, S3+S4+S8 train (384) done 00:58, S1 (560 train cells; posteriors done earlier) done 02:16 after a 01:02 split of group B into `p6_s1b_r0h` and `p6_s1b_r10tb` (36 workers, CPU-bound). The supervisor was stopped at 02:16; no P6 job is running and nothing needs resuming.
- **Summarize done (02/11/2026, 02:02 UTC; `docs/plan.md` §12 item 28).** Lock and the 8,799 synced `outputs/bench/` files checked first. Locked `scripts/34_run_bench.py summarize` → `outputs/bench/summary/` (`verdict.json`, `summary.md`, csv tables). Its verdict extraction differs from the locked statements in three places (S1-H1 needs exactly 2 rows but S1 has 4 N values → null; S2-H1 has no top-level `pass` → "not available"; S3-H1 adds the disclosed Ctl-GP to the stated competitor set). Locked code was not edited: `scripts/36_bench_verdicts.py` (outside the lock hash; checks the lock first) applies the statements as worded → `verdict_final.json`, `verdict_final.md`, `s3_h2a_stated.csv`. Report both readings; the paper's Methods must disclose this implementation deviation.
- **Verdicts (as worded): 9/11 pass.** S1-H1 pass (R10 c = 1.5: 0.853 / 0.796 at N = 4/16); S1-H2 pass (13/13 wide families, ρ = −0.47, p < 1e−4); **S2-H1 fails for rock physics (0.940 / 0.934) and wavelet (1.023 / 1.042; posterior overconfident, cov90 0.17 / 0.10), passes for drift (0.862 / 0.798)**; S2-H2 pass (14/14 ≤ 1.02); S3-H1 pass in R10, R0, Rm5 (as run with Ctl-GP: fail everywhere, because Ctl-GP nearly equals B3d-Sa); S4-H1, S4-H2, S8-H1, S8-H2 pass. S2 is complete, so the paper may say "benchmark"; never claim H2a is robust to misspecification in general (`docs/plan.md` §10).
- **S7 packaging done (02/11/2026; `docs/plan.md` §12 item 29), except the Zenodo deposit.** `scripts/37_bench_package.py` (outside the lock; `generate`/`tables` check it first): `generate` → 630 tasks (test 8–15, dev 900–905; 45 per realization: 5 nominal regimes × 5 c, 14 S2 settings, 6 S8 settings), hidden truth, inputs and `inputs/analyst.json` in `outputs/bench/package/` (845 MB, gitignored, the Zenodo payload); content hashes in `benchmark/MANIFEST.json` (git). A second `generate` reproduced all 1,260 content hashes, and `check` matches 1,265/1,265 files (with the 5 inputs). `tables` → 45,200 reference runs (21 methods), `benchmark/reference/{cells.csv,main_table.md}`. `score --pred DIR --name NAME` applies the locked H2a cell rule and `better` rule of `summary.py`. `selftest` passes (copies of saved B3d-Sa/BK2 predictions reproduce metrics to 5e-10 and the rule outputs, e.g. S1-H1 0.8529 / 0.7964). User docs: `benchmark/README.md` (English); `benchmark/zenodo_metadata.json` is a draft. **Do not upload to Zenodo without the user**: it needs their account, the author list, and a check of the licence (draft CC BY-SA 3.0, inherited from F3).
- **Results sections written (02/11/2026; `docs/plan.md` §12 item 30).** The paper now has Sec. 6.5 "Experiment 3: registration-aware benchmark": design and verdict tables, with both readings of D-13; S1 phase diagram; S2 table with the rock-physics and wavelet-phase failures; S3; S4; S8 table and figure; equal budgets. Sec. 6.4 (T2) replaces its todoblock. Sec. 3.2 gains the misspecification presets, Sec. 5 the TCN and the benchmark rows of `tab:methods`. The abstract, introduction, discussion and conclusion were updated, and the title todo was removed. F3 and Volve dataset citations (`dgb2023f3demo`, `equinor2018volve`) are in `paper/refs.bib`. Figures come from `scripts/38_bench_figures.py` (outside the lock); `--flipband` prints the post hoc S8 cos/cos² table. The locked S8-H2 statement calls BK2 "calibrated" only in the weak sense that the truth is a member. Under Corollary 3 (a), its λ → 0 transfer is cos²(πfΔ), while the measured value is 0.92–1.00 at N = 16. The paper says so; the verdict is unchanged. The paper compiles cleanly (66 pages); the main text is about 18,100 words (R9, no mitigation). Remaining todos: authors, author declarations, repository URL and DOI, Zenodo DOI and licence, Teapot licence, the Sec. 2 novelty todoblock.
- **Preliminary novelty scan for the Sec. 2 todoblock (02/11/2026; `docs/plan.md` §12 item 31).** Crossref, OpenAlex 2025–2026 and web search found no work that feeds tie uncertainty into the training of a property predictor, so "To our knowledge…" stands. Added, abstract only: Herrera & van der Baan 2014 (Geophysics; the 2012 preprint stays the version read), Autotie (da Costa Silva et al., Geophysics 2026; new row entry in `tab:positioning`) and Castagna, Kronberg & Gil (TLE 2026, tie and prediction quality metrics). Sukar et al. 2026 was rechecked in full (`refs/`): it trains on simulator-derived synthetic 4D maps, so "UQ→train = --" is fair, and Sec. 2 now says no tie places its labels. Still open for the submission-day rerun (13/11): the Palavicini Gurria et al. IMAGE 2026 abstract (no IMAGE 2026 expanded abstract indexed yet) and the Quesada 2024 DOI (otherwise keep the lab URL). The todoblock was shortened to these items. The paper compiles cleanly (66 pages).
- **Proof review and reproduction package (02/11/2026; `docs/plan.md` §12 item 32).** An independent subagent read Sec. 4, App. A and Lemma 5 and returned 15 findings; 14 were fixed and 1 partly (the registered names $B_a$/$B_b$ stay). No verdict or reported number changed. Main fixes: (A2) needs a bounded second moment; (B) is restricted to integer shifts up to β_max; Corollary 3's equal-weight two-member bank contains the true warp but is not calibrated, and cos²(πfΔ) is its λ → 0 transfer; Corollary 4's σ_r < σ/√2 is necessary at every frequency but not sufficient, and Sec. 6.6 now gives the simulated crossings 3.6/3.8/4.3 ms against σ/√2 = 3.0/4.1/5.1 ms; `docs/theory.md` synced. `scripts/39_repro_package.py` (outside every lock) builds five deterministic derived-data archives in `outputs/repro/` (gitignored; 11,112 files; F3 and synthetic CC BY-SA 3.0, Volve CC BY-NC-SA 4.0, Teapot CC0 unverified) with `repro/MANIFEST.json` (git), and `verify` reruns 12 stages in a clean room without raw data. The run of 02/11 (20 min, CPU) passes: 12/12 stages exit 0, no reads outside the clean room, 63 rewritten files identical in bytes (the 8 figures pixel-identical), 3 equal in value, none different; `tests/test_d2_misspec.py` passes 15/15 there (`repro/verify_report.md`). Reader docs: `repro/README.md`, `repro/requirements-linux.txt`; Sec. 8 has a derived-data sentence (DOI todo). **Not done, needs the user:** the deposit, the licence choice for the combined F3+Volve applicability tables, a code licence, and `39 code --rev` after a commit. The paper compiled cleanly then (67 pages).
- **Full texts of six abstract-only references (02/11/2026; `docs/plan.md` §12 item 33).** The user downloaded AWSM (`lim2025awsm`), BootNet (`lim2025bootnet`), P05 (`li2024bpinn`) and Guillon et al. 2020 (`guillon2020gtmetrics`) into `refs/`, renamed to their BibTeX keys; the two Rizzuti papers were obtained earlier that day. Every claim in Sec. 2 was checked against the full texts. The table classifications and "To our knowledge…" are unchanged. AWSM reports a time–depth posterior for 44 wells but keeps only the median- and minimum-misfit models, and no later step uses the posterior. Their ᵃ markers were removed, Sec. 2 now uses full-text wording, and the `refs.bib` annotes were updated. The paper compiles cleanly (68 pages). Still abstract-only: Autotie, Herrera 2014, Thiebaud, Cordoba, Mirza, Quesada, Huff, P04, P07, P09. **Closed by the user (02/11/2026):** no further full-text search; those entries keep their ᵃ marker. Castagna 2026 (CC BY) was then downloaded by the user (`refs/castagna2026quality.pdf`) and read in full. Its Discussion does address timing error: time–depth functions are never exact, time shifts mainly degrade the high frequencies, and their distribution-based measures are insensitive to small shifts. It does not model that error or use it in training. The earlier Sec. 2 sentence ("Their abstract does not consider error in the timing…") was therefore replaced; "To our knowledge…" stands.
- **Server move (30/10):** the repository folder is synced as a whole to a new server; `outputs/` stays out of git. About 600 MB of outputs force-added and pushed at 01:05–01:15 UTC were removed by a history rewrite and force-push at the user's request (`main` = 381b5ff). What is not in git, with sha256: `docs/research/server-migration.md`, `docs/research/unpushed_outputs.sha256`. tmux sessions do not move with the folder.
- Another project held about 125–142 GB on each H200 from about 13:00 to 16:00 UTC on 29/10 and released it by 16:06; if it returns, keep at least 2.5 GB free per card (about 1.56 GB per SMC worker, 0.7 GB per training worker).
- **Third machine (04/11/2026; `docs/plan.md` §12 item 34, `docs/research/server-migration.md` §4).** `outputs/` and `data/` come from the 30/10 snapshot (21,987/21,987 sha256 match). The 02/11 outputs outside git were regenerated and match byte for byte: `outputs/bench/summary/` (verdicts unchanged), `outputs/bench/package/` (1,260 hashes match `benchmark/MANIFEST.json`, selftest PASS), `outputs/repro/*.tar.gz` (`repro/MANIFEST.json` unchanged). `paper/main.pdf` was rebuilt (68 pages). `.venv` was aligned to the lock (numpy 2.5.4, tabulate 0.10.0, segyio 1.9.14). Still missing, the user must copy them: the 7 PDFs downloaded by hand on 02/11 in `refs/`, `outputs_thesis/`, and raw logs.
- **Technical overview restored (04/11/2026; `docs/plan.md` §12 item 35).** The 27/10 overview had been overwritten by the lecture in 0cfe202 (29/10). The lecture now lives in `docs/lecture.md`; `docs/technical_overview.md` was rebuilt from 9976abc and updated to 04/11 (Pivot 1 frame, SMC posterior, Propositions 3–6, P2r/P3/P4/P6 results, code map to script 39). No new results.
- **Hallucination audit and rewrite of the manuscript (04/11/2026; `docs/plan.md` §12 item 36, `docs/research/paper-audit.md`).** Done with the scientific-writing, literature-review, citation-management and academic-humanizer skills. Five subagents traced every number, citation and claim to `outputs/`, protocols, code and `refs/` texts and returned 87 findings; 4 were S1. (G1-01) Two TD models were conflated as "up to 36 ms". (G2-01) The warp prior was described as type-II ML, but the code uses MAP-II with σ_a = 7 and σ_b = 50 ms fixed, and σ_b = 19 ms is from a separate ML fit. (G3-01) The Exp. 1 protocol was described as tagged before its run; it was only hash-locked. (G5-01) PHIE_DT is linear in sonic at all four wells, not three. The main session verified the findings and applied 106 exact replacements in 10 sections and the highlights. A token guard confirms that only the approved numbers and citations changed: `tab:audit` follows `td_qc.csv`; prabowo/tao/DILATE are dropped from the intro; claims are scoped (σ_a arm one regime; extensions at R10; dr_L1 only; T3 exploratory); the 500-iteration arm is a trajectory record, not retraining; about 40 small number fixes. The academic-humanizer pass only split long sentences. No verdict, gate or threshold changed. `main.pdf` has 69 pages and builds cleanly. Open for the authors: G1-14 (Rizzuti/BootNet DL ✓), the 7 PDFs missing on this machine, the Volve licence wording (G2-10), the Rm5 "within the CI" null (G4-04), and the optional Kassis et al. 2026 citation.
- **Abstract rewritten (09/11/2026; `docs/plan.md` §12 item 37).** Shortened to 241 words for outside readers: no internal codes (R10 is now "10 dB"), no verdict counts. The synthetic result is one sentence with its assumptions stated up front (correct tie model, dense anchors of known uncertainty). At the user's request the abstract no longer mentions the failed first comparison, the drift-free gain or the misspecification failures; these remain disclosed in the body (C2, Secs. 6, 7, 8). The field failures stay. No new numbers; `main.pdf` builds cleanly (69 pages). Sec. 7 ("One simulator") now states that the nominal cells use the model the registration assumes, so their gains are not field estimates. Sec. 1 findings paragraph and Sec. 8 still use the internal notation.
## Next
Schedule: `docs/plan.md` §6.1 (level B, 29/10 → 14/11/2026). Cut-scope order
if late is given there; never cut thresholds.
1. **Dataset citations: done 02/11/2026** (plan §12 item 30). The length pass
for the venue was dropped by the user on 29/10/2026 (plan §12 item 25): do
not schedule it.
2. **T2 mechanism study: done on 29/10/2026; written into Sec. 6.4 on 02/11/2026** (plan §12 item 30).
3. **protocol_bench: done early (locked 29/10 14:39 UTC).** See Status.
4. **Runs: done early (29/10 14:43 → 30/10 02:16 UTC). Summarize and the 11
verdicts: done 02/11/2026** (see Status; `outputs/bench/summary/verdict_final.md`).
5. **S7 packaging: done 02/11/2026** except the Zenodo deposit (user's account; fill the TODOs of
`benchmark/zenodo_metadata.json` first, then put the DOI into `benchmark/README.md` and Sec. 8).
**Results sections: done 02/11/2026** (plan §12 item 30). **Proof appendix review and reproduction
package: done 02/11/2026** (plan §12 item 32) except the deposit of `outputs/repro/*.tar.gz` (user's account and licence decisions).
6. **Next: review and submission (11–14/11; can start early):** internal review (hallucination audit done 04/11, plan §12 item 36; open author items listed there), figures, final
proofread of the proof appendix (reviewed 02/11), final novelty scan (Sec. 2 todoblock; preliminary scan done 02/11, plan §12 item 31), quartile check, preprint, submit to
*Computers & Geosciences*. The authors must fill the author list and declarations.
## Conventions
- **Naming:** `protocol_p2r` = the D2 rerun of P2. "P3" in the plan means the F3 field phase (`protocol_f3`). Do not reuse the name `protocol_p3`.
- **Locked protocols:** `configs/protocol*.yaml` are locked by SHA-256 files and git tags. Never edit a locked protocol or relax a threshold. New decisions go in a new protocol with a recorded deviation. Report results as they come out, including failures.
- **No test-label leakage:** nothing (shift, checkpoint, hyperparameter) may be chosen using test labels. Design choices come from dev only (realizations 900/901).
- **Git:** work on `main`. Do not create branches unless the user explicitly asks. End commit messages with a co-author line for the agent.
- **Language:** code, figures, paper text and commit messages in academic English. Explanations to the user in Vietnamese.
- **Decisions:** decide from evidence and proceed. Do not block on supervisor (GVHD) sign-off.
- **Keep docs in sync (every task):** whenever you change anything (a run starts, finishes, fails or is stopped; a result, decision, deadline, protocol, script or file is added or changed), update in the same turn every file that states it: `report.html` (task status and notes, result cards, FINDS, DECISIONS, LOG), `docs/plan.md` (§0, §6 roadmap, §12 decision log), `AGENTS.md` (Status, Next), and where relevant `README.md` (scripts, run commands), `paper/README.md` (number sources), `docs/technical_overview.md` and `docs/research/*.md`. Before ending the turn, grep these files for older statements about the same item (for example "running", old counts or dates) and correct them, so no two files disagree. After editing `report.html`, check that its data block still parses (balanced brackets and quotes).
- **GPU (shared server):** choose cuda:0 or cuda:1 by free memory and load. Never touch other users' jobs. Set `OMP_NUM_THREADS`, `MKL_NUM_THREADS` and `OPENBLAS_NUM_THREADS` explicitly when running by hand (the machine default is 40).
- **Long runs:** start multi-hour runs inside the user's tmux server (`tmux new-session -d -s <name> -c <repo> "<cmd> >> logs/<name>.out 2>&1"`) so they survive the agent session; on 29/10 `setsid nohup` runs were killed when the session ended. Wrap runs with `scripts/runlog.sh` or the `run_p*.sh` drivers. Scripts 11/14/15 resume by skipping finished cells.
- `code_thesis/` is the unchanged thesis-code archive (renamed from `test 2/`): do not modify its contents.
- **User constraint:** do not rerun `04_wavelet_tie.py` or
`09_fit_warp_prior_f3.py`, or overwrite their historical artifacts. P3 uses
its own training-fold-local estimates and checks the old artifacts' hashes.
- **This Windows workstation:** RTX 3060 12 GB, driver 577.00, Python 3.12.16,
torch 2.11.0+cu128; versions in `requirements-windows-rtx3060.txt`. Linux's
environment lock is separate. The native driver is `scripts/run_p3.ps1`;
use process-local `-ExecutionPolicy Bypass`, four workers and two CPU threads
per worker. Do not launch another P3 run just because historical logs show a
failure: the volume recovery has already completed and passed its audit.
## Not in git (other machines)
`outputs/`, `logs/runs/`, the large SEG-Y/F3/Volve data, `refs/*.pdf` and the `.venv` are gitignored. Sync `data/` and `outputs/` from the GPU server before running anything that depends on them. Check data with `scripts/00_data_manifest.py --check`. The protocol hash checks will refuse inputs that do not match.
## Skills
Agent skills live in `.agents/skills/` (sources in `skills-lock.json`): scikit-learn, pymc, statistical-analysis, scientific-visualization, scientific-writing, scientific-critical-thinking, literature-review, citation-management, academic-humanizer, mlflow.