Rebuttal Leak Audit
Workflow
- Identify the public artifact to audit, usually
rebuttal.tex, reviewer reply.mdfiles, or pasted response text. - Run
scripts/audit_rebuttal_leaks.pyon the file or directory when local files are available. - Read flagged lines in context and classify each as:
Remove: private implementation detail, local path, tool output, TODO, internal comment, or non-public note.Rewrite: useful point expressed in internal language; convert to reviewer-facing prose.Keep: false positive or acceptable public wording.
- Check audience alignment even if the script finds nothing.
- Report findings with file/line references, severity, and exact replacement guidance.
Closed-Loop Gate Placement
Run this audit at three points in an adversarial rebuttal loop:
- Before reviewer-persona critique, so personas do not optimize text that should be deleted.
- After each patch, because local paths, tool outputs, and strategy language often enter during fast iteration.
- Before final submission, paired with PDF layout and reviewer-coverage checks.
- Before pasting into a platform text box, because copy/paste versions can expose placeholders, local Markdown links, or LaTeX-only commands that were invisible in the rendered PDF.
Treat any high-risk leak as a blocking P0 issue. Do not balance it against content gains; remove or rewrite it first.
What To Flag
Treat these as high-risk leakage in a reviewer/AC-facing response:
- Absolute or user-specific paths:
/home/...,/Users/...,/tmp/..., drive letters,.sock, local output folders. - Tool/process traces:
Ran,Running command,tmux,nvidia-smi,sleep,tail,pdflatex log, raw shell output, shard/partial status. - AI/developer traces:
Codex,ChatGPT,Claude,Opus,developer,system prompt,tool call,IDE setup,open tabs. - Advisor/internal traces:
teacher,advisor,PI suggested, draft-only comments, or non-public Chinese notes such as老师,备注,改分. - Meta-audience wording:
AC-facing,reviewer-specific,triage,borderline expert,score increase, or any phrasing that explains persuasion strategy rather than substance. - Private experiment logistics: raw log paths, output directories, server readiness, cache stages, merge stages, failed dataset files, local backup names.
- Informal uncertainty:
probably,maybe,I think,not sure, unless rewritten as a formal limitation or assumption.
Reviewer-Facing Rewrite Rules
Convert internal logistics into public evidence:
- Replace local paths with artifact names, appendix references, or anonymous repository references.
- Replace
we ran X and logs are at YwithWe will report the completed run and its resulting accuracy in Appendix A. - Replace
AC-facing mapwithRevision maporProtocol summary. - Replace
the dangerous reviewerwiththe protocol and cost concerns. - Replace advisor or AI attribution with no attribution; just state the improved scientific point.
- Keep only evidence reviewers can evaluate from the rebuttal, paper, supplement, or anonymized repository.
- Replace vague private-task language such as
fix lateroradd more experimentswith a bounded reviewer-facing revision promise that names the table, caption, appendix, artifact, or paper location.
Output Format
Start with the most severe leaks. For each issue, include:
- Severity:
High,Medium, orLow - Location: clickable file path and line number when available
- Problem: why this is not reviewer-facing
- Fix: delete or replacement text
End with a short readiness statement:
Ready: no public-facing leaks found.Needs cleanup: leaks remain, but fixes are straightforward.Do not submit yet: high-risk private notes or paths remain.
Script
Use the bundled scanner:
python3 /root/.codex/skills/rebuttal-leak-audit/scripts/audit_rebuttal_leaks.py path/to/rebuttal.tex
python3 /root/.codex/skills/rebuttal-leak-audit/scripts/audit_rebuttal_leaks.py path/to/rebuttal-dir --ext .tex .md .txt
python3 /root/.codex/skills/rebuttal-leak-audit/scripts/audit_rebuttal_leaks.py path/to/rebuttal.tex --fail-on High
The script is a first pass only. Always review context before deciding whether a flag is real.