CLAUDE.md — WP-AI-0002: Human Text Reconstruction Transformer (HTR)
Can a Transformer reconstruct characteristics of pre-2018 human-authored scientific prose from LLM-rewritten
passages? Research home: UQO Research (Recherche-UQO/ia/wp-ai-0002). Language: English for code, docs,
paper. Identifier: AI-0002 (series "AI", after AI-0001). Status: see docs/STATUS.md.
The author's full mandate (mission, principles, RQ1–RQ6, phases 0–8, gates A–F, definition of done) is
reproduced verbatim in docs/MANDATE.md and binds every session. Author additions (2026-11-09): the corpus must
be large (target the "Medium" stage, ≥ 10 000 documents, ≥ 200 000 eligible passages), must include
economics and finance articles and English reference books published before 2018, and the released
model must be genuinely usable afterwards (model release is a first-class deliverable, not a by-product).
PyTorch may be installed on other MacLustr nodes if training needs them.
Operational rules that follow from the mandate:
- Never fabricate data, metrics, sources, licences or checkpoints. Every number in
docs/,artifacts/andpaper/traces to a run id inartifacts/runs/<run>/manifest.json(hashes, seeds, versions, costs). - Rights first. Open access ≠ open licence.
htr.licenses.policyis the single source of truth; a document is trained on only if its canonical licence code is in the configured training set, and released only if in the release set (CC0,PUBLIC-DOMAIN,CC-BYby default). Dates are verified from the document or an official metadata record, never inferred from upload timestamps. - Honest claims. Outputs are synthetic reconstructions. No claim of "restoring human authorship" or of AI detection. Separate verbatim reconstruction, stylistic distribution matching and factual fidelity. Test gains against identity (B0) and generic-paraphrase (B1) baselines; report null/negative findings.
- No leakage. Splits are by document, near-duplicate cluster and author group (
htr.data.splits); held-out discipline, period and rewriting prompt; originals of held-out items are never used at inference. - Spend is opt-in. The Anthropic adapter runs in
mock/dry-runby default; real calls need--liveand a budget ceiling; the pilot ceiling is inconfigs/rewriting/pilot.jsonanddocs/reproducibility/COMPUTE_BUDGET.md. Spend so far is indocs/STATUS.md(from the job ledgers). Ask before exceeding it, before mass acquisition beyond the planned stages, before any public upload. - Gates in order (A repository + governance + 100-paper smoke → B validated pairs → C splits/baselines →
D M1/M2/M3 pilot → E scale → F release + paper). Each gate writes
docs/gates/GATE_<X>.mdwith GO/NO-GO. - Remote
origin = gitsrv:srv/git/wpai0002_uqo.git(spbgit on M1M32). Commit after each deliverable. Raw data, pairs and checkpoints are never committed;paper/main.pdfis.
Quick start: .venv/bin/python -m pytest tests -q -m "not network" · scripts/vertical_slice.sh ·
.venv/bin/python scripts/discover_pmc.py --max-docs 100 · docs/REPRODUCIBILITY.md.