agentleFS
Ingar30Ingar30/reviewer/AGENTS.md

reviewer

AGENTS.md229 starsChanged 2 months agoMITView on GitHub

The normal workflow is: 1. Put source PDFs in inputs/. 2. Preprocess each paper into structured artifacts under work/<paper_id>/parsed/. 3. Render run-specific prompts under work/<paper_id>/prompts/. 4. Run parser-quality preflight before substantive review. 5. Route substantive reviewers around parser-quality warnings using deterministic artifacts. 6. Run the single conservative applicability router. The 8 universal review-stage auditors always run; conditional specialists are skipped only when their entire remit is clearly absent. Mixed, unknown, or lower-confidence classifications expand to every conditional specialist. 7. Store…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

21 rules. About 0 are common, 11 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Put source PDFs in inputs/.

    line 7
  2. Distinctive:

    Run parser-quality preflight before substantive review.

    line 10
  3. Distinctive:

    Run the single conservative applicability router.

    line 12
  4. Very specific:

    Run the selected reviewer agents on the parsed artifacts.

    line 15
  5. Very specific:

    Run the editor to author structured editorial decisions/prose, then validate and deterministically render the final Markdown under …

    line 19
  6. Very specific:

    If the user refers to a bare source PDF filename, first resolve it under inputs/.

    line 30
  7. Distinctive:

    Prefer project-relative paths over absolute paths when possible.

    line 31
  8. Distinctive:

    Do not assume a file is outside the repo unless the user explicitly says so.

    line 32
  9. Very specific:

    Never run reviewer agents directly on a raw PDF if parsed artifacts do not exist.

    line 35
  10. Distinctive:

    Only the editor authors substantive final-report prose.

    line 44
  11. Distinctive:

    If preprocessing artifacts are missing or clearly poor, fail clearly instead of guessing.

    line 45
  12. Distinctive:

    Never silently remove minus signs, decimal points, percent symbols, parentheses, or appendix labels.

    line 51
  13. Very specific:

    Never guess missing evidence.

    line 57
  14. Very specific:

    Keep reviewer outputs modular so failed reviewers can be rerun independently.

    line 60
  15. Distinctive:

    Prefer deterministic scripts for file handling, preprocessing, validation, and report assembly.

    line 64
  16. Distinctive:

    Use Codex for judgment-heavy auditing and synthesis tasks.

    line 65
  17. Distinctive:

    Keep the workflow reproducible, inspectable, and easy to rerun.

    line 66
  18. Very specific:

    When available locally, read .private/plugin-docs/docs/plugin_maintenance.md before changing shared behavior, packaging, or release tooling.

    line 69
  19. Very specific:

    Keep core Reviewer files authoritative.

    line 70
  20. Distinctive:

    When bundled sources change, regenerate the plugin, inspect the diff, and run relevant tests and the bundle drift check.

    line 71
  21. Very specific:

    Update the private .private/plugin-docs/docs/plugin_maintenance.md when available in the same change when source ownership, shared …

    line 72

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

Project purpose

This repository builds and runs a reproducible multi-agent reviewer for academic economics papers.

The normal workflow is:

  1. Put source PDFs in inputs/.
  2. Preprocess each paper into structured artifacts under work/<paper_id>/parsed/.
  3. Render run-specific prompts under work/<paper_id>/prompts/.
  4. Run parser-quality preflight before substantive review.
  5. Route substantive reviewers around parser-quality warnings using deterministic artifacts.
  6. Run the single conservative applicability router. The 8 universal review-stage auditors always run; conditional specialists are skipped only when their entire remit is clearly absent. Mixed, unknown, or lower-confidence classifications expand to every conditional specialist.
  7. Store applicability provenance and the active reviewer roster under work/<paper_id>/selection/.
  8. Rerender prompts for the selected reviewer roster with parser-quality guidance.
  9. Run the selected reviewer agents on the parsed artifacts.
  10. Store and validate reviewer JSON outputs under work/<paper_id>/reviews/.
  11. Conservatively normalize reviewer outputs into a precision-first, lossless editor bundle that preserves every source finding's details and avoids merging distinct concerns.
  12. Build editor input from a deterministic brief, the lossless normalized bundle, and a compact provenance index for the validated reviewer JSON files. Do not duplicate raw reviewer JSON or truncate evidence.
  13. Run the editor to author structured editorial decisions/prose, then validate and deterministically render the final Markdown under outputs/<paper_id>/report.md.
  14. Smoke-check the final report.

Canonical file locations

  • Source PDFs: inputs/
  • Parsed artifacts: work/<paper_id>/parsed/
  • Reviewer outputs: work/<paper_id>/reviews/
  • Reviewer selection: work/<paper_id>/selection/
  • Final reports: outputs/<paper_id>/

Path conventions

  • If the user refers to a bare source PDF filename, first resolve it under inputs/.
  • Prefer project-relative paths over absolute paths when possible.
  • Do not assume a file is outside the repo unless the user explicitly says so.

Workflow rules

  • Never run reviewer agents directly on a raw PDF if parsed artifacts do not exist.
  • Preprocessing comes before review.
  • Reviewer agents are configured through config/reviewers.json.
  • Fresh wrapper runs use one conservative applicability workflow. Eight universal review-stage auditors always run. Eleven conditional specialists, including the theory-logic auditor, run whenever their remit is plausibly material; only high-confidence single-type classifications may skip clearly inapplicable roles. Mixed, unknown, medium-confidence, and low-confidence classifications run all 19 substantive reviewers.
  • The quality-first default is gpt-6.1-sol with xhigh reasoning for substantive reviewers and the editor. Parser-quality preflight and applicability routing use high. Keep the limited full-paper evidence and historical GPT-6 Sol/Luna comparisons distinct; see docs/model_profiles.md.
  • Treat Codex and Claude Code as explicit CLI backend choices. An explicit choice on a new review is remembered locally for that workspace; existing papers retain their recorded backend, and no saved choice falls back to Codex for compatibility. Never switch providers automatically on authentication or quota failure. The experimental Claude backend uses subscription login and claude-opus-5-5. Preserve canonical prompts, schemas, validators and native-host behavior; see docs/claude_code.md for tool and validation limits. Do not claim Claude quality or quota equivalence without live evidence.
  • Users may explicitly override the model and reasoning through wrapper flags. gpt-6-luna with xhigh reasoning is the optional lower-cost alternative, not a replacement default. Selected reviewers have been compared on three papers, followed by one complete GPT-6 Sol/Luna pipeline comparison. Luna had material coverage gaps and required manual continuation after a sleep-related timeout; structural report checks did not establish semantic completeness. See docs/model_profiles.md for the limited evidence and credit estimates, not measured quota usage. Keep effective settings explicit in the run manifest and distinguish historical GPT-5.6 evidence from current comparisons.
  • Substantive reviewers must read the parser-quality output and route around unsafe deterministic artifacts. If no trustworthy deterministic fallback exists, use cannot_verify; never generate or infer repaired text, signs, cells, values, or formulas.
  • Internal reviewer agents return structured JSON only.
  • Only the editor authors substantive final-report prose; deterministic code validates and renders its editorial artifact and traceability.
  • If preprocessing artifacts are missing or clearly poor, fail clearly instead of guessing.
  • Editor-only refresh is allowed when parsed artifacts, all selected reviewer JSON files, and the selected reviewer config already exist. Revalidate the reviews, rebuild the precision-first lossless bundle and provenance-only editor input, rerun only the editor, and then smoke-check the final report.

Preprocessing rules

  • Preserve original page numbering.
  • Normalize whitespace carefully.
  • Never silently remove minus signs, decimal points, percent symbols, parentheses, or appendix labels.
  • Save page-level outputs and inventories so downstream reviewers can cite locations precisely.
  • The default workflow does not install or invoke OCR, an external document service, or an LLM-generated repair layer. When native extraction clearly fails or a page is scanned/image-only, retain the page image and mark OCR as recommended rather than inferring replacement content.

Reviewer rules

  • Literature and reference verification require web search when enabled.
  • Never guess missing evidence; use cannot_verify or equivalent failure labels.
  • Preserve exact source locations whenever possible.
  • A reviewer whose remit is genuinely absent should return run_status: ok with no findings. Absence of an empirical design, formal model, dataset, experiment, or other scope element is not itself a defect.
  • Keep reviewer outputs modular so failed reviewers can be rerun independently.
  • Final reports should keep canonical/source finding identifiers in the traceability appendix rather than repeated body footers.

Working style

  • Prefer deterministic scripts for file handling, preprocessing, validation, and report assembly.
  • Use Codex for judgment-heavy auditing and synthesis tasks.
  • Keep the workflow reproducible, inspectable, and easy to rerun.

Joint CLI and plugin maintenance

  • When available locally, read .private/plugin-docs/docs/plugin_maintenance.md before changing shared behavior, packaging, or release tooling. These private maintenance notes are not required for a public checkout to build or test.
  • Keep core Reviewer files authoritative. Never hand-edit generated plugin runtime copies or separately maintain plugin review methodology.
  • When bundled sources change, regenerate the plugin, inspect the diff, and run relevant tests and the bundle drift check. Consider compatibility with both the ordinary CLI and native-host adapter.
  • Update the private .private/plugin-docs/docs/plugin_maintenance.md when available in the same change when source ownership, shared interfaces, host exceptions, verification commands, release steps, or compatibility limits change. Do not duplicate routine prompt edits in the guide when the maintenance process is unchanged.
  • In the handoff, distinguish repository changes and local checks from installed-plugin updates and public releases. Do not install, tag, push, or publish without the user's authorization.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.