Auto paper

From linzhe001/Harness-Research · View interactive version

Auto paper is an AI agent skill from the GitHub repository linzhe001/Harness-Research. Internal Harness instruction source for auto-paper. Route through visible Harness aliases instead of invoking directly.

How to use this skill

Skill file

Auto Paper

Use this as the auto-paper orchestrator, not a polishing tool. It routes

phases and checks artifacts without inventing paper state.

Boundaries

approved claim boundaries, and operator facts.

clinical meaning, data availability, citations, or source support.

unless the operator explicitly asks for an uncited opinion memo.

positioning, not author claims.

docs/30_evidence/Experiment_Evidence_Index.{json,md} and artifact paths

named there. Direct iteration_log.json reads are weak intent signals; paper

claims require reports, configs, logs, metrics, or run artifacts.

stable observations, run requests, assurance gaps, and open questions.

Legacy docs/45_discoveries/Research_Wiki.md is a fallback before

dynamic-context-v2 migration; neither file is approval.

controller state. Durable paper artifacts live under

auto_paper_output/<paper_id>/.

Required Config

Before the loop, establish paper_id, workflow, venue/target, draft path, TeX

roots, bibliography paths, figures, materials, references, artifact dir,

optional experiment evidence index, output language, citation target count,

figure/table requirement status, compile command, human gate policy, and

forbidden directions in auto_paper_output/<paper_id>/config.yaml or an intake

artifact. If missing, route to $auto-paper-intake or return USER_GATE.

After Grill establishes an Automation Policy, paper phases auto-proceed within

that policy. Use USER_GATE only for missing operator intent, explicit approval

tools, or irreversible external submit.

Use the deterministic checker when the operator requests an automatic paper

chain:

python tooling/auto_paper/scripts/auto_paper/artifact_check.py \
  auto_paper_output/<paper_id> --phase <phase> --json

The checker reports artifact readiness only; it does not invent manuscript

content or prove scientific claims.

Phase Route

Run in order unless an audit routes back: $auto-paper-research,

$auto-paper-argument, $auto-paper-citation, $auto-paper-layout,

$auto-paper-patch, $auto-paper-harden.

Optional branches: $auto-paper-response, $auto-paper-data,

$auto-paper-figure. Enter $auto-paper-figure when the operator asks for

figure work, TeX or source files mention needed figures/tables, or harden finds

figure/caption risk.

Artifacts

Durable decisions live under auto_paper_output/<paper_id>/.

intake_report.md, experiment_source_map.md, optional

figure_requirement_scan.md

claim register, citation support bank, section blueprints, rationale matrix,

citation and patch plans, figure contracts, patch ledgers, audits, and final

gate ledger

Use references/artifact-contract.md for identifiers and stale-artifact policy.

Gate And Routing

Do not patch around missing upstream artifacts. Every audit finding names

root_cause, owning_phase, required_artifact, fix_action, and

downstream_risk.

Decisions: NEXT_UNIT, REWORK_RESEARCH, REWORK_ARGUMENT,

REWORK_CITATION, REWORK_LAYOUT, REWORK_PATCH, RUN_REQUEST,

USER_GATE, COMPLETE, ABORT.

RUN_REQUEST means writing found missing experiment evidence for $run. Record

the blocking claim, needed evidence, minimum artifacts, suggested prompt, and

acceptance check in run_request_register.{json,md}.

When a draft introduces, narrows, or removes a result claim, record Claim Delta

Evidence in the phase artifact or Gate ledger. Unsupported claims become

RUN_REQUEST, not a default approval pause.

References

Load only active-phase references from references/: loop, auto-iterate

boundary, artifact contract, writing rationale, motivation thread, citation

support, and LaTeX source control.

Use deterministic helpers when available:

Output

Final responses report artifact manifest, modified files, guard/compile

results, remaining reviewer risks, and next human gates.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.