Replication Package — Assemble, Anonymize, and Audit
Build publication-ready replication packages, optionally anonymize for double-blind review, or audit an existing package for reproducibility. The original project is never modified.
Modes
| Mode | What it does | Use case |
|------|-------------|----------|
| Assemble | Clean copy + AI trace removal + AEA-style README | Sharing, Zenodo deposit, journal supplementary |
| Blind | Everything in Assemble + identity anonymization | Double-blind conference/journal submission |
| Audit | Read-only 11-check reproducibility validation | Pre-deposit quality gate, self-check |
Default mode: Assemble. Infer Blind if the user says "anonymize", "double-blind", or "blind review". Infer Audit if the user says "audit", "check reproducibility", or "validate package".
When to Use
- Submitting supplementary materials or replication files to a journal
- Depositing a package on Zenodo, Dataverse, or ICPSR
- Sharing a project repo publicly (GitHub, institutional repository)
- Preparing for double-blind submission (Blind mode)
- Self-checking reproducibility before deposit (Audit mode)
When NOT to Use
- Quick one-off cleanup of a single file — do it manually
- Removing a single AI artifact — just delete it directly
- Projects with no empirical or computational component
Critical Rules
- Never modify the original project. All work happens on a copy in a sibling folder.
- Dry-run mandatory. Always show what will be removed/changed and get user confirmation before any deletions.
- Binary files are never modified. Warn the user to manually check PDFs (Document Properties), images (EXIF data), and datasets for embedded metadata.
- Self-citations are always interactive. Never auto-remove or auto-anonymize a citation. Flag each potential self-citation and let the user decide per citation. In Blind mode, surface every self-citation against the loaded submission author list and require a per-citation decision (third-person OK / blind the entry). When the cited paper's author list is a subset of the submission's, third-person is structurally insufficient and the bib entry MUST be blinded — see
_shared/double-blind-anonymity-checklist.md§P4–P5. - Resolve symlinks. Use
rsync -aLso symlinked content (e.g., Overleafpaper/symlinks) becomes real files in the copy. - Preserve compilability. The output must still compile/run — only infrastructure and identity are removed, not project functionality.
- Blind mode runs the structured-metadata field check (A2) before reporting clean.
pyproject.toml[project] authors,package.jsonauthor/contributors,Cargo.toml[package] authors,CITATION.cff,LICENSEholder, etc. — see_shared/double-blind-anonymity-checklist.md§"Structured-metadata field check (A2)" for the full target list. This was the CCS 2026 #1328 desk-reject trigger and is now non-skippable.
Assemble Mode (Non-Blind)
Phases 1-7: Scan → Copy → Scrub AI Traces → Generate README → Verify → Fresh Git → Report.