researcher
Skill0 starsChanged 4 days agoMITView on GitHub
Take an idea to results and a paper. novelty: a page of closest prior work, verdicts per claim. idea: README questions and claims. research: six stages, SLURM jobs, to results and a resumable README; adopt for one underway. readme: README and code README redrafted for a newcomer. full: idea, research, manuscript. integrity: checks of references, claims, numbers, figures, ethics. manuscript: writing, review, revision. revision: referees' new results, then revision. The last three keep a run folder. Triggers on: /researcher novelty|idea|research|readme|full|integrity|manuscript|revision, is this idea new, sharpen my research idea, from a sketch to a research question, take my idea to results, run the experiments of my project, continue my research project, adopt a project underway, update my project's README, from an idea to a paper, check the integrity of my manuscript, ethics check of a paper, take my draft through review and revision, the referees asked for more experiments, revise with new results.
- Reads credentials
43 other projects use a version of this.
Adopted by
Most recently taken up by
- LudaLunizz/the-researchertheir own version, first seen Nov 22, 2026
- bitwize-music-studio/claude-ai-music-skillstheir own version, first seen Nov 20, 2026
- timscheuerai/gtm-architecture-templatetheir own version, first seen Nov 19, 2026
- sphnx-io/Claude-Skillstheir own version, first seen Nov 16, 2026
- jasoncg8/claude-skillstheir own version, first seen Nov 16, 2026
- Mazalucas/El-DT-Lightweight-Armytheir own version, first seen Nov 13, 2026
Used with
Projects with it also use cost-reducer, albert-dm and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
huyvpSkillcost-reducer
Reduce cloud, infrastructure, and operational costs while maintaining performance. Use when writing database queries, configuring cloud resources, optimizing bundles, setting up caching, choosing between services, sizing instances, configuring CDN, managing storage, or reviewing code for cost inefficiencies. Covers AWS/GCP/Vercel pricing, database optimization, serverless tuning, image pipelines, observability costs, and FinOps practices.
Also in 12 projects that use this
yawningwhaleAISkillalbert-dm
Reply to DMs and messages the way Albert would. Use when the user asks "how would Albert reply to this", pastes a conversation and wants an Albert-style response, or asks you to draft/write a DM in Albert's voice. Albert sells AI voice agents / automations to local service businesses (Go High Level, lead follow-up, bookings).
Also in 7 projects that use this
yawningwhaleAISkillbuild-premium-website
Build a premium, animated marketing website (React + Vite + Tailwind + GSAP) for any industry. Use when the user asks to "build a website", "make a landing page for [business]", "build a marketing site", or wants a high-end animated company website. Adapts color, copy, services, and signature animation to the industry.
Also in 9 projects that use this
RoxenRobloxSkillyoutube-broll-maker
Generate 10-second B-roll footage of yourself doing an action using the Higgsfield MCP (Seedance 2.0). Upload one photo of yourself, describe the action ("typing on laptop", "walking at night"), pick from 5 cinematography style presets, get an MP4. Use when the user wants B-roll, cutaway footage, "me doing X" video, YouTube B-roll, or any image-to-video of themselves performing an action.
Also in 4 projects that use this
RoxenRobloxSkillyoutube-popup-graphic
Generate stunning Adobe-Premiere-Pro-style UI popup motion graphics for YouTube videos using the Higgsfield MCP. The user uploads a style reference image (any UI mockup, dashboard, glass card, design they love), names one skill/feature/item, and the skill produces an MP4 of a single card popping in styled to match the reference. Use when the user wants a "popup graphic", "popup animation", "card popup", "skill popup", "AE/Premiere-style animation", "stunning UI animation for YouTube", or says "make me a popup for <skill/feature/item> styled like <reference>".
Also in 4 projects that use this
ffsshhttiikkSkillscalability
Core foundational concepts and principles for Scalability
Also in 12 projects that use this
- +4 more from yawningwhaleAI
Other versions43 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 43
- keli-wen/agy-staff★ 944same name
- bitwize-music-studio/claude-ai-music-skills★ 723same name
- understudy-ai/understudy★ 461same name
- krzysztofdudek/ResearcherSkill★ 269same name
- antonbabenko/deliberation★ 188same name
- svy04/ballast★ 73same name
- timscheuerai/content-vault★ 38same name
- Jakeschincariol/closer-skill★ 33same name
- timscheuerai/gtm-architecture-template★ 20same name
- AlekseiUL/heisenberg-team★ 17same name
33 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- grantSkill
- paper-review-panelSkill
- paperSkill
- refereeSkill
- submitSkill
- writingSkill
- codebase-designSkill
- code-commentsSkill
- diagnoseSkill
- handbookSkill
- wizardSkill
- tutorSkill
- wait-whatSkill
- grillSkill
- landSkill
- plan-orchestrationSkill
- plan-retroSkill
- planSkill
- refuteSkill
- roadmapSkill
- specSkill
- ordo-helpSkill
- ordo-initSkill
- session-retroSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
119 rules. 0 are common, 29 are distinctive, and 90 are very specific to this project.
0
Common
Most of the 39 edited versions we read keep these.
29
Distinctive
This author's own choices. Worth a look.
90
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 87
Read the call and settle the mode, the depth and the entry stage.
- Distinctive: line 89
Check the folders and the file of "What it reads" 5 to 7 first, before anything is written.
- Distinctive: line 90
Check the arguments as "What it reads" 1 gives them.
- Distinctive: line 111
Look for an unfinished run of "What it reads" 15.
- Very specific: line 118
When that folder exists, the run takes <mode>-<date>-2, then -3, and so on.
- Very specific: line 120
Write state.json in the run folder, in the structure agents/state_tracker_agent.md, "Tracked State Structure", gives, with entry_point, …
- Very specific: line 121
Write manuscript_folder into state.json with them: the manuscript's folder of the call relative to the project folder, such as manuscript/ …
- Very specific: line 123
Write material-passport.yaml in the run folder, in the form of Schema 9 of references/handoff_schemas.md: origin_skill: researcher, …
- Distinctive: line 126
Read the record of the experiments of "What it reads" 4.
- Very specific: line 128
When the paper has experiments, build the record with the user from the project's result files, one entry per experiment in the form of …
- Very specific: line 129
When it has none, write experiment-record.yaml with experiment_intake_declaration.status: no_experiments_declared and an empty …
- Very specific: line 142
Ask, for the compliance agent, the AI tools used, each with its name, version, developer, stage and purpose, and the intended venue, the …
- Very specific: line 152
Read the idea as "What it reads" 1 gives it, or, inside idea, take the candidate claims of the round of the interview ("idea" item 5).
- Distinctive: line 153
Write each claim as one sentence that says what the idea holds to be new: a method, a result, or a use of a known method on a new problem.
- Distinctive: line 157
Search for the closest prior work on each claim, three searches per claim.
- Very specific: line 158
Run <lookup.py> search '<the claim's own key terms>', three to six terms and never a sentence, since arXiv reads a sentence as its words …
- Very specific: line 159
Run <lookup.py> search '<the key terms a paper that had done it would use>': the field's own names for the method, the task and the result.
- Very specific: line 161
Write down each query with where it ran, how many records it gave, and each index lookup.py left out with the reason it printed, for the …
- Very specific: line 166
Read the abstract, or the passage that bears on the claim, of each nearest work in this run: from <lookup.py> index-abstract '<DOI or arXiv …
- Very specific: line 179
Write the page in the form of references/novelty_page.md, and the .bib of its confirmed works beside it.
- Very specific: line 181
When that file exists, the page takes novelty-<YYYY-MM-DD>-2.md, then -3, and so on.
- Very specific: line 185
Remove the temporary folder of item 3 with rm -r '<folder>', when item 3 made one.
- Distinctive: line 197
Look for an interview left unfinished: the newest progress file of "What it reads" 19, when it holds a choice still open.
- Distinctive: line 201
Look for a reopening: a README.md whose section "Research questions and claims" holds research questions and claims, when the newest …
- Distinctive: line 211
Look up each fact a choice needs, as the paragraph above says, before the choice is drawn: a dataset or a baseline the project's files …
- Very specific: line 214
Check the candidate claims of the next round of the interview: run novelty once over them, as "novelty" items 1 to 6 give it, one page for …
- Very specific: line 223
Add each page's path to the progress file, and record each claim found done with the page that shows it.
- Distinctive: line 227
Ask the round of the interview, in one message, the stop "A round of the interview".
- Distinctive: line 233
Read the answers and write each one into the progress file as it settles, with the choices still open.
- Distinctive: line 245
Write the section into the project's README.md and close the progress file.
- Distinctive: line 248
Every other section of the README stays as it stands.
- Very specific: line 250
Write The interview ended: <date> into the progress file, with the README named.
- Distinctive: line 257
Read the project folder and settle where the run starts, before anything is written.
- Very specific: line 265
Read the README whole, then the files its ### The stage and campaign that stand names: the brief and the two reports of the piece of code …
- Very specific: line 271
Write code/attic/README.md with a title line, only when it does not exist.
- Very specific: line 272
Write code/README.md with the title and the seven sections of references/project_layout.md, "The code README", in their order, each section …
- Very specific: line 273
Write code/.depositignore with the lines of references/project_layout.md, "The deposit", only when it does not exist.
- Very specific: line 274
Write every section of references/project_layout.md, "The README", in its order, each section and each fixed ### heading its item names …
- Very specific: line 275
Leave out the placeholder headings ### <dataset>, ### <result> and ### <method>: ## Data, ## Results and how to reproduce and ## Dead ends …
- Very specific: line 279
Write each folder of the tree into ### Where things live.
- Very specific: line 280
Write Frame as the stage that stands in ### The stage and campaign that stand, so that a new session resumes at Frame.
- Distinctive: line 284
Ask what counts as good enough, and the limits on storage, compute, time and access.
- Very specific: line 286
Ask the cluster's facts when ### Cluster facts holds none: whether the work runs on a cluster, and for a cluster its scheduler, its …
- Distinctive: line 287
Ask what the project is, its problem, why it matters (for a method applied to a clinical dataset, its clinical relevance), what it does and …
- Very specific: line 289
Write the answers into ## Research questions and claims, in the form idea writes it ("idea" item 10) when idea did not, into ## Constraints …
- Very specific: line 290
Write the line under the title, ## In short and ## What it is and why with its three ### headings, from the research questions and claims …
- Very specific: line 291
Write ### The closest prior work from the project's novelty pages in notes/, each page linked, when the project has one.
- Very specific: line 296
Write the user's choice into ## Data, as a ### <dataset> with its source, its version, its access, where its raw inputs stand, by their …
- Very specific: line 298
Write the brief of one piece of code, in the form of references/research_brief.md, to notes/code/<piece>-brief-<n>.md.
- Very specific: line 303
Start the builder of agents/research_builder_agent.md as a fresh agent through the Agent tool, on the runner's general-purpose agent with …
- Very specific: line 306
Write its report, which it returns as its final message, to notes/code/<piece>-builder-<n>.md, linked from the README.
- Very specific: line 308
Start the reviewer of agents/research_reviewer_agent.md as a fresh agent through the Agent tool, on the runner's general-purpose agent with …
- Very specific: line 321
Run each job of a stage, as references/slurm.md gives it.
- Very specific: line 326
After submitting, write each job id to ### The stage and campaign that stand.
- Distinctive: line 329
Stop polling when the user asks.
- Very specific: line 333
Write its result to code/results/ with the command that made it, and its entry, a ### <result>, into ## Results and how to reproduce.
- Very specific: line 336
Write each campaign's method into ### The approach of ## Method when the campaign starts.
- Very specific: line 340
Write each result to code/results/ with the command that made it, and its entry into ## Results and how to reproduce.
- Very specific: line 343
Write in ## Results and how to reproduce, for each result, whether it beats the baseline and whether it reaches what was set.
- Very specific: line 344
Write into ### What is not claimed, with each result's comparison, what the project does not claim from it, such as a dataset or a setting …
- Very specific: line 345
Write into ### What this project adds, with each result's comparison, what a result that beats the baseline adds beyond the closest prior …
- Distinctive: line 349
Write a proposal: a new method, which is a change of objective, of optimisation or of model structure.
- Very specific: line 350
Write the diagnosis and the proposal into the README, or into a file notes/diagnosis-<campaign>-<YYYY-MM-DD>.md that the README links.
- Distinctive: line 368
When Compare's completion criterion holds, the README names Consolidate as the stage that stands.
- Very specific: line 374
Run '<copy>/run_all.sh' '<the folder of the raw inputs>' once, through the scheduler on a cluster as item 10 gives a job.
- Distinctive: line 376
Call a number reproduced only after this run shows it equal to the reported one.
- Very specific: line 383
Write experiment_intake_declaration with status: experiments_declared, declared_at and declared_by: scholar.
- Very specific: line 384
Write one entry of experiment_provenance[] for each experiment of ## Results and how to reproduce: its experiment_id, its title, its …
- Very specific: line 389
Write ## Next with the next actions, as a short numbered list.
- Very specific: line 390
Write ## Papers with each paper the results serve.
- Distinctive: line 400
Read the README first, when it is usable, and check each stage it calls done.
- Very specific: line 402
Check each stage the README calls done, in stage order, against its completion criterion in references/research_stages.md, in the project's …
- Very specific: line 427
when neither holds it, the folder of the project's files that holds its code, its run_all.sh, its job scripts or its source files, noted …
- Distinctive: line 430
Read no file of another tool, such as a project manifest, as the Rules bullet on other tools' files says.
- Very specific: line 433
Put each fact of the old README under the section of the layout it belongs to, and for a README in the old layout as …
- Very specific: line 434
Put a fact that no section of the layout holds in its form, such as a dated log, in a file notes/<slug>.md named as …
- Distinctive: line 439
Write what no file holds as a question in the draft, under its section, for the user to answer at item 4.
- Very specific: line 440
Write None yet. in a section with nothing to hold yet, such as ## Papers in a project with no paper.
- Distinctive: line 458
Write the approved drafts.
- Very specific: line 459
Write each notes/ file of the drafts under its name, never over a file that exists, as references/project_layout.md, "The README", names it.
- Distinctive: line 462
Write no file that the approved drafts do not hold.
- Very specific: line 473
Read the README's ## Next, when the project has a README.
- Very specific: line 474
When it records the modes of full, go on from the mode that stands: at item 4 for research or research adopt, at item 5 after it, and at …
- Very specific: line 476
Run idea as "idea" gives it, with the call's sketch: its <sketch file>, or its text when "What it reads" 1 reads it as the sketch.
- Very specific: line 479
Leave research out for a review paper, and when results exist that the adopt mode's reading ("research adopt" items 1 and 2) counts as …
- Very specific: line 481
Run research on a project that holds only what idea, novelty and full write, and on a project research started ("research" item 1).
- Very specific: line 482
Run research adopt on a project underway that research did not start.
- Very specific: line 483
Write the modes, in order, with the mode that stands, into ## Next.
- Very specific: line 485
Run research or research adopt, when the modes hold it, as its subsection gives it.
- Very specific: line 487
Write the mode that stands into ## Next.
- Very specific: line 489
Check the results before manuscript, when research or research adopt ran.
- Very specific: line 495
Run manuscript as "manuscript" gives it, for /researcher manuscript <project folder>, with Steps 2 to 5 first.
- Very specific: line 497
Write manuscript as the mode that stands into ## Next.
- Very specific: line 502
Run the integrity check of references/integrity_check.md once on the manuscript: as Stage 4.5 at the full depth, or as Stage 2.5 for …
- Very specific: line 508
Write pipeline_state: completed in state.json.
- Very specific: line 513
Before the first stage, read the worked runs of "What it reads" 14 and the stages and transitions of references/pipeline_state_machine.md.
- Very specific: line 515
Every stage is followed by its checkpoint (references/checkpoints.md) and, after the user's confirmation, by its transition (item 2), …
- Very specific: line 520
Check the stage's output against its schema in references/handoff_schemas.md, as agents/pipeline_orchestrator_agent.md, "4.
- Very specific: line 521
Check that material-passport.yaml carries the version label of the stage's output, as step 3 of that page's "Schema validation step", under …
- Very specific: line 523
Write the transition in state.json, as that page's "Writing the run's state" gives.
- Very specific: line 539
Write material-passport.yaml when a stage ends, before its checkpoint.
- Very specific: line 547
When the project's README holds ## Papers, add the paper's folder to it, with the results the paper reports.
- Very specific: line 555
Read the seven dimension scores and the overall score from the "Dimension Scores" of the Editorial Decision, and write them to …
- Very specific: line 558
After Stage 3, invoke /paper revision '<main.tex>' '<comments file>' through the Skill tool, with its own stops, with the Revision Roadmap …
- Very specific: line 561
Write the structured comments of Step 1 to external-comments.md in the run folder.
- Very specific: line 564
Write the round in revision_history of state.json, with the decision it answers, the items addressed and the items left.
- Very specific: line 570
Read the seven dimension scores and the overall score of Stage 3' from the "Dimension Scores" of the re-review report, and write them to …
- Very specific: line 583
Write the minor items of the re-review report to minor-revision-comments.md in the run folder.
- Very specific: line 587
Write the new Revision Roadmap and the R&R Traceability Matrix (Schema 11) of the re-review into one comments file in the run folder, …
- Distinctive: line 593
Start a fresh integrity agent for it, never the agent of Stage 2.5, since Stage 4.5 verifies every reference from scratch.
- Very specific: line 596
Write the audit trail of references/reproducibility_audit.md, "Audit Trail", to audit-trail.md in the run folder.
- Very specific: line 628
Read the parsed comments with their commitments, the output of Step 3.5 of the paper skill's agents/revision_coach_agent.md, from the run …
- Very specific: line 632
Write the split into revision_comments with split_confirmed: true (item 1), and each results comment, by its id and as quoted lines, into …
- Distinctive: line 634
Run each results comment as one campaign of the project's Experiments stage, by "research" items 6 to 15, one comment at a time.
- Very specific: line 640
Write state: in_campaign and the campaign's folder name into the comment's entry of revision_comments when its campaign starts.
- Distinctive: line 647
Stop at a results comment that the results do not answer yet: the stop "A comment the results do not answer yet".
- Very specific: line 663
Write revision-comments.md in the run folder.
- Very specific: line 677
Before the message of "manuscript" item 13, write into the README's ## Papers, beside the paper's folder, the results the revision added.
- Very specific: line 678
Write the end of the revision, with its run folder and its comments file, into ### The stage and campaign that stand, beside the end of …
“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
From a research idea to results and a manuscript
/researcher novelty leaves a page of the closest prior work on each claim of an idea, with a verdict per claim, and a .bib of the works it confirmed, both in the project's notes/, and /researcher idea takes a rough sketch to research questions and claims in rounds of the interview and leaves a progress file and a novelty page per round in notes/ and the questions and claims in the project's README.md. /researcher research takes the project through the stages Frame, Build, Baseline, Experiments, Compare and Consolidate, with a builder and a reviewer for each piece of code and every job on a cluster through the scheduler, and leaves the code, the results, the logs, the record of the experiments and a README.md from which a new session resumes, in the layout of references/project_layout.md; /researcher research adopt continues a project underway the same way, /researcher readme brings a project's README.md and the README.md and .depositignore of its code folder to that layout and leaves them as the user approved their drafts, and /researcher full runs idea, then research and manuscript, leaving what each of them leaves. /researcher integrity checks a finished manuscript with a fresh integrity agent and a compliance agent, and /researcher manuscript takes a manuscript through the stages from the writing on: Stage 2 the writing, Stage 2.5 the first integrity check, Stage 3 the review, Stage 4 the revision, Stage 3' the re-review, Stage 4' the re-revision and Stage 4.5 the final integrity check, and a run of either leaves behind the run's state, each integrity record and each compliance report, each a file of its own in its run folder (Rules). /researcher revision answers the referee comments on a paper of a project: each comment that needs new results is run as a campaign of the stages of research, and then /paper revision and the stages of manuscript for comments in hand run with the new results, leaving the new results in the project as research leaves them, the revised paper with its response letter, and a run folder as manuscript leaves it.
Quick start
/researcher full <project folder> [<sketch file>] take a rough idea to a paper: idea, then research and manuscript as it shows them and you confirm
/researcher full <sketch, more than two words> take a rough idea typed in the call to a paper, as the line above; the first message asks for the project folder
/researcher idea <project folder> [<sketch file>] take a rough sketch to research questions and claims in rounds of the interview, and write them into the project's README.md
/researcher idea <sketch, more than two words> take a rough sketch typed in the call through the interview, as the line above; the first message asks for the project folder
/researcher novelty <idea> [<project folder>] search the closest prior work on each claim of an idea, a sentence in quotes or a file, and write a page with a verdict per claim and a .bib
/researcher research <project folder> take the project's research questions to results through six stages, or resume it from its README.md at the stage that stands
/researcher research adopt <project folder> read a project underway that research did not start, and continue it from the first stage not done
/researcher readme <project folder> draft the project's README.md and its code README in the newcomer's layout, and write them after you approve the drafts
/researcher manuscript <project folder> write the paper from the project's materials, then check it, review it, revise it and check it again
/researcher manuscript <project folder> --manuscript <name> write a further paper of the project in manuscript-<name>/, with the same checks, review and revision
/researcher manuscript <main.tex> take a draft that exists from the first integrity check through review, revision and the final check
/researcher manuscript <main.tex> <comments file> take a draft with review comments in hand: the first integrity check, then the revision for the comments
/researcher revision <project folder> <comments file> [--manuscript <name>] answer referee comments on a paper of the project: new results by campaigns of research, then the revision, its response letter and the checks
/researcher integrity <main.tex> check a finished manuscript at the full depth: references, citations, data, originality, claims, the ethics check last
/researcher integrity pre-review <main.tex> the same check at the sampled depth of the check before a reviewUse instead
| When | Use |
| A paper to write, with no integrity check and no review stage | /paper full |
| A paper to plan chapter by chapter before it is written | /paper plan |
| A literature search or a literature review only | /paper lit-review |
| A manuscript's citations to check against their sources, with no review stage | /paper citation-check |
| A manuscript to convert to another format or citation style | /paper format-convert |
| A one-page abstract, for which the stages cost more than they give | /paper abstract-only |
| A review of the author's own paper by a panel of reviewers and an editor, with no integrity check | /paper-review-panel |
| A revision for comments in hand, with no new results to make and no integrity check | /paper revision |
A run already under way in a mode of paper or paper-review-panel, whose entry the user keeps | that mode of that skill |
| Someone else's paper to review as its referee | /referee |
| The prose of a draft to check | /writing |
| A design decision of a roadmap entry to settle before its plan opens | /grill |
| Code work on a tool or a product that has a roadmap, built step by step in worktrees | /plan-orchestration |
What it reads
- The call, as Quick start gives it: the mode, the depth of
integrityand the arguments.<idea>is a sentence in quotes, or the path of a file that holds it, and is read from the file when it names a file that exists; every other argument is a path, except in a call ofideaorfullwith more than two words after the mode, which reads the whole text after the mode as its sketch, a first word that looks like a path included, makes no folder from it, and in place of the refusal "No project folder" asks in its first message for the<project folder>, the stop "The project folder", before the mode's first item. A call ofnoveltywith no<idea>, or with one that holds no word, is the refusal "No idea given". A call ofideawith no argument is the refusal "No project folder", and its<project folder>that does not exist is made, a new project (Steps, "idea" item 3). A<sketch file>that does not exist is the refusal "No sketch file". A call whose<main.tex>is missing or does not exist is the refusal "No manuscript". Formanuscript,noveltyandrevision, a<project folder>that does not exist is the refusal "No project folder". A<comments file>that does not exist, or a call ofrevisionwith no<comments file>, is the refusal "No comments file". A call ofresearch,research adopt,readmeorrevisionwith no<project folder>, or offullwith no argument, is the refusal "No project folder". Forreadme, a<project folder>that does not exist or is empty is the refusal "No project folder". Forresearchandfull, a<project folder>that does not exist is made, a new project ("research" item 3, "idea" item 3). Forresearch adopt, a<project folder>that does not exist or is empty is the refusal "Nothing to adopt". The<name>of--manuscriptis one folder name of letters, digits,-and_, and any other<name>, or a--manuscriptwith no<name>, is the refusal "No manuscript name". - The manuscript: the main
.tex, the files it inputs and includes, and its.bib, read by the integrity agent and the compliance agent. - The project folder: the
<project folder>of the call, for a call given a<main.tex>the parent of the manuscript's folder, and fornoveltywith no<project folder>the folder the session runs in. Forintegrityandmanuscriptit holds the record of the experiments and the run folders, fornoveltyandideaits foldernotes/holds the novelty pages, the.bibbeside each page and the progress files they write, and forresearch,research adopt,readme,fullandrevisionit holds the layout ofreferences/project_layout.md, or a project's own folders that its README records.- For
revision, the project folder holds aREADME.mdwhose### The stage and campaign that standunder## Working statenames a stage ofresearch, or the end ofresearchthat "research" item 17 writes, the README thatresearchandresearch adoptwrite, and a project folder with no such README is the refusal "No project of research", which namesresearch adoptandresearchas the modes to run first. - For
revision, the manuscript's folder is<project folder>/manuscript/, or<project folder>/manuscript-<name>/with--manuscript <name>, and the manuscript is themain.texof that folder, and a manuscript's folder with nomain.texis the refusal "No paper to revise", which namesmanuscriptas the mode to run first.
- For
- The record of the experiments, the file
experiment-record.yamlin the project folder: theexperiment_intake_declarationand theexperiment_provenance[]of Schema 9 inreferences/handoff_schemas.md, "Experiment Provenance Intake". Theresearchmode writes it at its last stage. A project with no such file gets the stop "The record of the experiments". - The
paperskill's folder, with itsSKILL.md, found from this skill's folder with every link resolved: the folder of that name beside it, and otherwise the folder of that name in a group folder beside this skill's group folder. A folder found in neither place, or that holds noSKILL.md, is the refusal "A skill not installed" forintegrity,manuscript,research,research adopt,fullandrevision, and the refusal "No paper for the novelty check" fornoveltyandidea, each naming both paths. - The
paperskill'stemplates/lookup.py, in the folder of item 5, run aspython3 '<the paper skill's folder>/templates/lookup.py'by the integrity agent inintegrity,manuscriptandrevision, by the session innovelty, a run ofnoveltyinsideideaincluded, and by the session for the dataset of Frame inresearch. A folder that holds no such file is the refusal "lookup.py not found" forintegrity,manuscript,research,research adopt,fullandrevision, and the refusal "No lookup.py for the novelty check" fornoveltyandidea. - For
manuscriptandfullonly, thepaper-review-panelskill's folder, with itsSKILL.md, found as item 5 finds thepaperskill's folder. A folder found in neither place, or that holds noSKILL.md, is the refusal "A skill not installed". - The environment variables
S2_API_KEY,OPENALEX_API_KEYandCROSSREF_POLITE_EMAIL, each optional and never printed, read bylookup.py. - For
integrity,manuscriptandrevision, the two role pages the session reads and follows:agents/pipeline_orchestrator_agent.mdfor directing the stages, andagents/state_tracker_agent.mdfor the structure of the run's state. - The two role pages of the agents the session starts:
agents/integrity_verification_agent.md, read by the integrity agent, andagents/compliance_agent.md, read by the compliance agent. - The pages the integrity agent is given with its role page:
references/integrity_review_protocol.md,references/plagiarism_detection_protocol.md,references/claim_verification_protocol.md,references/ai_research_failure_modes.md,references/ethics.mdandreferences/handoff_schemas.md. - The pages the compliance agent is given with its role page:
references/compliance_checkpoint_protocol.md,references/prisma_trAIce_protocol.md,references/raise_framework.md,references/ai_research_failure_modes.mdandreferences/handoff_schemas.md. - The pages the session reads at the step that names them:
references/pipeline_state_machine.md,references/mode_advisor.md,references/two_stage_review_protocol.md,references/external_review_protocol.md,references/score_trajectory_protocol.md,references/reinforcement_content.md,references/compliance_checkpoint_protocol.md,references/ai_research_failure_modes.md,references/ethics.md,references/reproducibility_audit.md,references/artifact_reproducibility_pattern.md,references/progress_dashboard_template.md,references/team_collaboration_protocol.md,templates/pipeline_status_template.md,references/integrity_check.mdandreferences/checkpoints.md, and fornoveltyand foridea, which runs it,references/novelty_page.md. - The worked runs the session reads before its first stage:
examples/full_pipeline_example.md, a run from Stage 2,examples/mid_entry_example.md, a run from Stage 2.5, andexamples/integrity_failure_recovery.md, a failed first check and its correction round. - An unfinished run of the same mode for the same manuscript: a run folder in the project folder whose
state.jsonholds apipeline_stateofrunning,awaiting_confirmationorpaused. Thatstate.jsonnames the same manuscript's folder inmanuscript_folder, and a run whosestate.jsonnames none counts asmanuscript/. Its mode is themodeitsstate.jsonnames, which a run ofrevisionwrites (Steps 3), and for astate.jsonthat names none the<mode>of its folder's nameresearcher-runs/<mode>-<date>/. - For
novelty, thepaperskill'sagents/citation_compliance_agent.md, "Looking a reference up", which the Rules bullet onlookup.py resolvenames, read by the session before its firstresolve. - For
idea, the sketch: the<sketch file>of the call, the call's text when item 1 reads it as the sketch, or else the words the user gives when the first message asks for them. - For
idea, the project'sREADME.md, when it exists: its section "Research questions and claims", read for a reopening, and its other sections, left as they stand, a README in the old layout being the stop of Steps 1. - For
idea, the progress filesnotes/idea-<YYYY-MM-DD>.mdof the project folder,-2,-3and so on included, of which only the newest is read, for the choices it holds still open. - For
research,research adopt,fullandrevision, the project'sREADME.md, its entry file, read first, in the sections ofreferences/project_layout.md, "The README": its### The stage and campaign that standunder## Working state, which names the stage that stands for a projectresearchstarted, and its### Cluster facts, the cluster's facts as the README records them, which Frame asks once and no later run asks again; a README in the old layout is the stop of Steps 1. - For
research,research adoptandrevision, the files of the project that the completion criteria of the stages name:code/,code/results/,code/attic/README.md,logs/and the briefs and reports ofnotes/code/, or the project's own folders that### Where things livenames. - For
research,research adopt,readmeandrevision, the pages the session reads:references/research_stages.mdat each stage ("research" items 4 to 17, "research adopt" items 1 and 2),references/project_layout.md("research" items 1, 3, 14 and 16, "research adopt" item 3, "readme" items 1 to 5),references/research_brief.md("research" item 6),references/slurm.mdat each job ("research" item 10), andreferences/handoff_schemas.md, Schema 9, withreferences/artifact_reproducibility_pattern.mdfor the record of the experiments ("research" item 17), each read inrevisionat the item of "research" that "revision" items 3 to 5 run. - The two role pages of the agents
researchand the campaigns ofrevisionstart:agents/research_builder_agent.md, read by the builder, andagents/research_reviewer_agent.md, read by the reviewer, each givenreferences/slurm.mdwith it ("research" items 7 and 8). - For
full, the README's section## Next, which records the modesfullruns, in order, with the mode that stands ("full" item 1). - For
readme, and forresearch adoptat its item 3, the files the rewrite drafts from ("readme" item 1):- The project's
README.md, when it exists. - The
README.mdand the.depositignoreof the project's code folder, found as "readme" item 1 gives it, when they exist. - The project's files: the code, the results,
code/attic/README.md, the notes with the novelty pages, and the manuscript of each manuscript's folder.
- The project's
Steps
Steps 1 to 6 run in order for integrity, manuscript and revision, which needs Steps 4 and 5 for its integrity checks. A run of novelty, idea, research, research adopt or readme runs Steps 1 and then Steps 6, and skips Steps 2 to 5, since it has no run folder, no record of the experiments to read, no state.json and no compliance questions. A run of full runs Steps 1 and then Steps 6, and runs Steps 2 to 5 for its run of manuscript when it reaches it ("full" item 6).
- Read the call and settle the mode, the depth and the entry stage.
- The call's first word after
/researcheris the mode:novelty,idea,research,readme,full,integrity,manuscriptorrevision, andresearch adoptis the adopt mode ofresearch. - Check the folders and the file of "What it reads" 5 to 7 first, before anything is written.
- Check the arguments as "What it reads" 1 gives them.
- For
idea,research,research adopt,fullandrevision, a project'sREADME.mdin the old layout ofreferences/project_layout.md, "A README in the old layout", is the stop "A README in the old layout", once the project folder is known, before any item of the mode and before the next bullet's checks. - For
revision, check the project folder and the manuscript's folder as "What it reads" 3 gives them. /researcher integrity <main.tex>runs the check at the depth of Mode 2 ofagents/integrity_verification_agent.md, the full depth of the final check./researcher integrity pre-review <main.tex>runs the check at the depth of Mode 1, the sampled depth of the check before a review./researcher manuscript <project folder>enters at Stage 2, and/researcher manuscript <project folder> --manuscript <name>enters at Stage 2 for the paper in<project folder>/manuscript-<name>/./researcher manuscript <main.tex>enters at Stage 2.5, which a draft that enters midway never skips./researcher manuscript <main.tex> <comments file>enters at Stage 2.5 and goes on to Stage 4 with the comments file, as the row "INIT, Stage 4" ofreferences/pipeline_state_machine.md, "Normal Flow Transitions", gives./researcher revision <project folder> <comments file> [--manuscript <name>]runs its subsection, "revision", on themain.texof the manuscript's folder of "What it reads" 3, with the split of the comments ("revision" item 2) as its entry stage./researcher novelty <idea> [<project folder>]and/researcher idea <project folder> [<sketch file>]or/researcher idea <sketch, more than two words>run their subsections, with no depth and no entry stage./researcher research <project folder>,/researcher research adopt <project folder>,/researcher readme <project folder>and/researcher full <project folder> [<sketch file>]or/researcher full <sketch, more than two words>run their subsections, "research", "research adopt", "readme" and "full", with no depth and no entry stage.- A call with no mode word that asks whether an idea, a claim or a method is new, or for the closest prior work to one, is the stop "The entry point" with the line of
noveltyand the idea taken from the call. - A call with no mode word that asks to shape a sketch or a rough idea into a research question or claims is the stop "The entry point" with the line of
idea. - A call with no mode word that asks to take an idea to results, or to run the experiments of a project, is the stop "The entry point" with the line of
research. - A call with no mode word that asks to continue a research project is the stop "The entry point" with the line of
researchwhen the project's README names a stage ofresearchin### The stage and campaign that standunder## Working state, and with the line ofresearch adoptotherwise. - A call with no mode word that asks to bring a project's README up to date, or to rewrite it or its code README for a newcomer, is the stop "The entry point" with the line of
readme. - A call with no mode word that asks to go from an idea to a paper is the stop "The entry point" with the line of
full. - A call with no mode word that asks for new experiments, new analyses, another dataset or another baseline that referees asked for, such as "the referees asked for more experiments", is the stop "The entry point" with the line of
revision. - Any other call that matches no line of Quick start is read against
agents/pipeline_orchestrator_agent.md, "1. Intent Detection", andreferences/mode_advisor.md, and the line it matches is the stop "The entry point". - A request that only one function fits, such as a citation check alone, is answered with the skill of its row in "Use instead", and no run starts.
- Done when the mode, its depth or its entry stage where the mode has one, and its inputs are known, or a refusal is raised.
- The call's first word after
- Look for an unfinished run of "What it reads" 15.
- Such a run is the stop "An unfinished run", with its Progress Dashboard.
- Offer only a run of the same mode whose
manuscript_folderis the manuscript's folder of the call:manuscript/,manuscript-<name>/for a call with--manuscript <name>, or the folder of the<main.tex>. - A run the user continues writes into its own run folder, goes on from the stage its state names, and skips Steps 3 to 6.
- Done when no unfinished run stands, or the user has chosen to continue it or to start a new run.
- Make the run folder and the run's state.
- The run folder is
researcher-runs/<mode>-<date>/in the project folder, beside the manuscript's folder, with<date>the local date,date +%Y-%m-%d. - When that folder exists, the run takes
<mode>-<date>-2, then-3, and so on. - Both depths of
integrityuse the mode nameintegrity. - Write
state.jsonin the run folder, in the structureagents/state_tracker_agent.md, "Tracked State Structure", gives, withentry_point,current_stage,pipeline_state: initializingandpipeline_versionset to this skill'smetadata.version. - Write
manuscript_folderintostate.jsonwith them: the manuscript's folder of the call relative to the project folder, such asmanuscript/ormanuscript-<name>/. - For
revision, writemode: revisionintostate.jsonwith them. - Write
material-passport.yamlin the run folder, in the form of Schema 9 ofreferences/handoff_schemas.md:origin_skill: researcher,origin_modethe mode,origin_date,verification_status: UNVERIFIED, aversion_label, therepro_lockkey and an emptycompliance_history[]. - For a draft that enters midway, run the check of
agents/pipeline_orchestrator_agent.md, "Mid-Entry Material Passport Check", on the draft, and write intomaterial-passport.yamlwhat it finds: the fields of a passport the draft carries, and theverification_statusandversion_labelthe check gives. - Done when the run folder holds
state.jsonandmaterial-passport.yaml.
- The run folder is
- Read the record of the experiments of "What it reads" 4.
- A project folder with no
experiment-record.yamlis the stop "The record of the experiments", asked once for the run. - When the paper has experiments, build the record with the user from the project's result files, one entry per experiment in the form of Schema 9,
experiment_intake_declaration.status: experiments_declared, and write it toexperiment-record.yamlin the project folder. - When it has none, write
experiment-record.yamlwithexperiment_intake_declaration.status: no_experiments_declaredand an emptyexperiment_provenance[]. - Copy its
experiment_intake_declarationand itsexperiment_provenance[]intomaterial-passport.yaml, where Schema 9 carries them. - Done when
experiment-record.yamlstands in the project folder andmaterial-passport.yamlholds its two fields.
- A project folder with no
- Show the run's configuration and its budget: the stop "The run's configuration".
- For
manuscript, show the configuration in the formagents/pipeline_orchestrator_agent.md, "Communication format when recommending", gives: the entry stage and the run of each stage, Stage 2/paper full, Stage 3/paper-review-panel full, Stage 4 and Stage 4'/paper revisionand Stage 3'/paper-review-panel re-review. - For
revision, show the order of "revision" with the run of each part:/paper revision-coachfor the split, a builder and a reviewer for each piece of code and the jobs of each campaign, Consolidate, Stage 2.5, the coaching, Stage 4/paper revision, the completeness check and Stage 4.5. - Explain the difference between the depths and between the runs, as the mode recommendation of that page asks, and say that the integrity checks cannot be skipped.
- For a draft that enters midway, show the prerequisites of its entry stage as
agents/state_tracker_agent.md, "6. check_prerequisites" and "Material Gap Detection", give them, and the result of the passport check of Steps 3: a prior integrity report informs the first check and never replaces it. - Estimate the token cost of the run from the manuscript's length and the mode.
- Beside it, give the interaction-count budget: the round-trip caps the run enforces and the worst-case round-trip total they imply for the mode.
- The caps are 2 full revision loops (Stage 4 and Stage 4'), one revision run for the minor items of a Minor decision at Stage 3', 8 coaching rounds after Stage 3, 5 after Stage 3', 8 coaching rounds of an external review, and 3 correction rounds at each integrity check.
- For
revision, writepipeline_state: runningintostate.jsononce the user confirms, asagents/pipeline_orchestrator_agent.md, "Writing the run's state", gives for a checkpoint passed. - For
revision, the caps are one/paper revisionrun for the comments file, 8 coaching rounds of an external review, 3 correction rounds at each integrity check, and for each campaign the counts ofresearch: 3 returns of a campaign to its own start, 2 returns of a piece of code to a builder after its first review, 2 implementation causes for one result, and the count of methods of the setting. - Ask, for the compliance agent, the AI tools used, each with its name, version, developer, stage and purpose, and the intended venue, the
user_metadataofagents/compliance_agent.md, "Input contract". - Done when the user has confirmed the configuration, with each setting the user adjusted and the answers to the compliance questions written in
state.json.
- For
- Go on with the subsection of the mode: "novelty", "idea", "research", "research adopt", "readme", "full", "integrity", "manuscript" or "revision".
- Done when that subsection's last item is done.
novelty
The session does every item of this subsection itself, with no agent (Rules). <lookup.py> below is python3 '<the paper skill's folder>/templates/lookup.py' ("What it reads" 6).
- State the claims of the idea.
- Read the idea as "What it reads" 1 gives it, or, inside
idea, take the candidate claims of the round of the interview ("idea" item 5). - Write each claim as one sentence that says what the idea holds to be new: a method, a result, or a use of a known method on a new problem.
- Number the claims
C1,C2and so on, and show them before any search. - An idea that holds no claim the session can state is the stop "No claim to check", which asks the user for one.
- Done when each claim is shown as one numbered sentence.
- Read the idea as "What it reads" 1 gives it, or, inside
- Search for the closest prior work on each claim, three searches per claim.
- Run
<lookup.py> search '<the claim's own key terms>', three to six terms and never a sentence, since arXiv reads a sentence as its words joined by AND and can answer "not found" for it. - Run
<lookup.py> search '<the key terms a paper that had done it would use>': the field's own names for the method, the task and the result. - Make one web search with the claim's key terms.
- Write down each query with where it ran, how many records it gave, and each index
lookup.pyleft out with the reason it printed, for the page. - A claim whose two
lookup.py searchruns left out every index and whose web search found nothing is the stop "The searches did not run", which shows the reasons and asks the user to run the check again; such a claim gets no verdict. - Done when each claim has its three searches, each with its query, where it ran, its count and the indexes left out, or the stop is raised.
- Run
- Pick the nearest works of each claim, at most five per claim, and read each one.
- The nearest works are the records whose method, task or result comes closest to the claim, judged from their titles and then from the text read.
- Read the abstract, or the passage that bears on the claim, of each nearest work in this run: from
<lookup.py> index-abstract '<DOI or arXiv ID>' --into '<folder>',<folder>a temporary folder made withmktemp -dbefore the firstindex-abstractof the run, or from the page the web search found. - A statement of what a work does rests on the text read in this run, and a work with no text read is not a nearest work.
- Done when each claim has at most five nearest works, each with the text read for it.
- Confirm each nearest work as the Rules bullet on
lookup.py resolvesays.- A confirmed work keeps the record
resolveprinted: its authors, year, title, venue and DOI or arXiv ID. - A work that is not confirmed is not cited as a reference: it moves to the list of works found and not confirmed, with what was searched and what
resolveprinted, and no verdict rests on it alone. - Done when each nearest work is confirmed with its record, or is on the list of works not confirmed.
- A confirmed work keeps the record
- Give each claim its verdict,
new,partly doneordone, with the reason, from the confirmed works alone.done: a confirmed work already does what the claim says.partly done: confirmed works do part of what the claim says, and the reason names the part the idea adds.new: the reason says, in the same sentence, that no closer work was found by these searches, and names each index a search of the claim left out.- The reason of a
newor apartly doneverdict names each work found and not confirmed for that claim, so that a reader checks it. - Done when each claim has its verdict and its reason.
- Write the page in the form of
references/novelty_page.md, and the.bibof its confirmed works beside it.- The page is
notes/novelty-<YYYY-MM-DD>.mdin the project folder ("What it reads" 3), with<YYYY-MM-DD>the local date,date +%Y-%m-%d, andnotes/made withmkdir -p '<project folder>/notes'when it is missing. - When that file exists, the page takes
novelty-<YYYY-MM-DD>-2.md, then-3, and so on. - Per claim, the page gives the nearest works with their records, what each already does, what the idea adds beyond them and the verdict with its reason, then the works found and not confirmed, then the searches made with the indexes left out.
- The
.bibisnotes/novelty-<YYYY-MM-DD>.bib, with the page's suffix, holding one entry per confirmed work, a work that is a nearest work of several claims written once: the standard output of<lookup.py> bibtex '<DOI or arXiv ID>', appended when the command exits 0. - A confirmed work for which
bibtexprints no entry, or that has no DOI and no arXiv ID, is named on the page as having no entry, with whatbibtexprinted. - Remove the temporary folder of item 3 with
rm -r '<folder>', when item 3 made one. - Done when the page, read back, holds every claim with its verdict and every search with its query, the
.bibholds an entry for each work the page does not name as having none, and no temporary folder of the run is left.
- The page is
- End the run.
- Name the page and its
.bibby their paths, and give each claim with its verdict. - Say how the page reaches
paper: the user names the.bibin the Existing Materials row atpaper's intake, so that the literature strategist starts from the confirmed works and still runs its own search (Phase 1); the page is not given as the user's own sources that let Phase 1 be skipped. - Inside
idea, this item is left out, and the verdicts go into the next round of the interview ("idea" item 7). - Done when the message is sent.
- Name the page and its
idea
The session holds the interview itself, in rounds of the interview, with no skill invoked and no agent started (Rules): a fact a file of the project, lookup.py or a web search gives is looked up by the session and not asked. The choices of the idea are the problem, the claim, the baseline, the metric, and the result that would show it works. The claim waits on the problem, the baseline and the metric wait on the claim, and the result that would show it works waits on the baseline and the metric.
- Look for an interview left unfinished: the newest progress file of "What it reads" 19, when it holds a choice still open.
- Such a file is continued: its settled answers stand, its open choices are drawn again (item 4), and the first round of the interview says that it continues from that file and that answers to an earlier round of the interview are given again against this one.
- An interview continued skips items 2 and 3.
- Done when the newest progress file holds no choice still open, or none exists, or the interview continues from it at item 4.
- Look for a reopening: a
README.mdwhose section "Research questions and claims" holds research questions and claims, when the newest progress file holds no choice still open, or none exists.- The reopening evidence is what changes the research questions: the result of the Compare stage of
research, when that stage sends the work here, or else what the user gives at the stop "A reopening", which shows the research questions and claims that stand. - The choices the reopening evidence bears on are open again, each with the reopening evidence beside it, and the other choices stand as the section gives them.
- Done when no reopening stands, or the reopened choices and the reopening evidence are known.
- The reopening evidence is what changes the research questions: the result of the Compare stage of
- Take the sketch and write the progress file.
- The sketch is the
<sketch file>of the call, or the call's text when "What it reads" 1 reads it as the sketch; with neither, ask for it in the first message, the stop "The sketch". A reopening takes the section that stands and the reopening evidence in place of a sketch. - Make the project folder with
mkdir -p '<project folder>/notes'when it does not exist, a new project. - Write the progress file
notes/idea-<YYYY-MM-DD>.md, with<YYYY-MM-DD>the local date and-2,-3and so on when that file exists: the sketch, or the reopened section with the reopening evidence, as quoted text, then one line per choice of the idea,openorsettled: <the answer>, then a list of the novelty pages of the interview, empty at the start. - Done when the progress file, read back, holds the sketch and every choice of the idea.
- The sketch is the
- Draw the choices: each choice of the idea settled or open, each open one with the choices it waits on.
- Look up each fact a choice needs, as the paragraph above says, before the choice is drawn: a dataset or a baseline the project's files name, a work in the literature.
- Draw the options of each choice to ask, the claim choice's options among them.
- Done when every choice is marked settled or open, and the choices to ask in the next round of the interview are every open choice whose prerequisites are settled, each with its options.
- Check the candidate claims of the next round of the interview: run
noveltyonce over them, as "novelty" items 1 to 6 give it, one page for the round.- The candidate claims are each option of the claim choice the next round will ask, and the claim a round settled that no novelty page of the interview has checked.
- A settled claim the page finds
doneis the stop "A claim found done": the claim choice is open again, never with that claim as it stands. - An option found
doneis sharpened beyond the works the page names, or it is dropped. - Each sharpened option, and each option of a claim choice that this item opened again, drawn as item 4 draws options, is checked in one more run of
novelty, with its own page. - A sharpened option found
donein that run is dropped. - A candidate claim that a run of
noveltygave no verdict, at the stop "The searches did not run", stays a candidate claim, unchecked, and this item checks it again after the user's answer. - A round with no candidate claim, such as a first round whose claim choice waits on the problem, runs no check.
- Each page gives its section "The idea" as
references/novelty_page.mdgives it for a page made byidea. - Add each page's path to the progress file, and record each claim found
donewith the page that shows it. - Done when each candidate claim has its verdict on a page the progress file names, or the round has no candidate claim.
- Go to item 10 when no choice is open and the settled claim has a verdict other than
doneon a page of the interview; a settled claim with no verdict goes back to item 5.- Done when the interview goes on to item 7 or to item 10.
- Ask the round of the interview, in one message, the stop "A round of the interview".
- The message opens with the pages of item 5, each named, and a settled claim found
donecomes first as a choice of its own: a sharpened claim, another claim, or the claim dropped. - Each choice of the round of the interview has its lettered options, the pros and the cons of each, one recommendation with its reason, and the lazy option named, or "none" with the reason.
- Each option of the claim choice is shown with its verdict and its page, or as unchecked with the stop "The searches did not run" named.
- The message ends with the answer form:
<n> => <letter or text>one line per choice, and<n> Agreeto take the recommendation. - Done when the message is sent and the turn has ended.
- The message opens with the pages of item 5, each named, and a settled claim found
- Read the answers and write each one into the progress file as it settles, with the choices still open.
- An answer that cannot be read as one of the options is asked again in the next round of the interview.
- The user may answer part of a round of the interview, and the choices left open stay open.
- A claim the user writes in place of an option is a settled claim that item 5 checks before the next round of the interview.
- Done when the progress file, read back, holds each settled answer and marks each other choice
open.
- Go back to item 4.
- Done when item 6 sends the interview on to item 10.
- Show the section the README will hold, the stop "The end of the interview".
- The section is
## Research questions and claims: each research question, formed from the problem and the claims settled, then each claim with the result that would show it, the baseline and the metric, and the novelty page that covers it. - In a reopening, each changed research question is written with the reopening evidence that changed it and the progress file that records it.
- The user's words go into the section as the Rules bullet on the user's words says.
- Done when the user has confirmed the section, or corrected it and the corrected section is shown.
- The section is
- Write the section into the project's
README.mdand close the progress file.- In a
README.mdthat exists, the section takes the place of the section of that heading where it stands. - In a
README.mdwith no section of that heading, the section stands at its place in the order ofreferences/project_layout.md, "The README": after the title and after## In shortand## What it is and whywhere the README holds them, and before every other section. - Every other section of the README stays as it stands.
- A project with no
README.mdgets one: a title line# <the project folder's name>and the section. - Write
The interview ended: <date>into the progress file, with the README named. - Done when the README, read back, holds the section, and the progress file holds the end line.
- In a
research
The session directs the work through the six stages of references/research_stages.md, each with its completion criterion there, and builds nothing itself (Rules). <lookup.py> below is python3 '<the paper skill's folder>/templates/lookup.py' ("What it reads" 6). Each stage ends with the README written and the stage that stands named in ### The stage and campaign that stand (Rules).
- Read the project folder and settle where the run starts, before anything is written.
- A folder that does not exist or is empty is a new project, which starts at item 3.
- A folder that holds only what
idea,noveltyandfullwrite is a new project too, which starts at item 3. - What those modes write is a
README.mdwhose##sections are## Research questions and claims, with or without a## Nextthat records the modes offull, and anotes/that holds only progress files, novelty pages and their.bibfiles. - A
README.mdwhose### The stage and campaign that standunder## Working statenames a stage ofresearchis a projectresearchstarted, which resumes at item 2. - Any other folder is the stop "A project underway", which offers
/researcher research adopt <project folder>. - Done when the run goes on at item 2 or item 3, or the stop is raised.
- Resume a project
researchstarted from its README alone.- Read the README whole, then the files its
### The stage and campaign that standnames: the brief and the two reports of the piece of code that stands, and the log and the result file of each job id it holds. - A job whose log in
logs/does not show its end has not ended: name it with its id at the stop "The jobs submitted", and poll only when the user asks for it, asreferences/slurm.md, "Submitting", gives. - The item of each stage is 4 for Frame, or 5 when the README holds each answer of item 4, 9 for Build, 11 for Baseline, 12 for Experiments, 13 for Compare and 16 for Consolidate.
- Done when the stage and the campaign that stand and the state of each job are known, and the run goes on at the item of that stage.
- Read the README whole, then the files its
- Make the layout of a new project, as
references/project_layout.md, "The tree", gives it.- Make each folder with
mkdir -p '<project folder>/<folder>'. - Write
code/attic/README.mdwith a title line, only when it does not exist. - Write
code/README.mdwith the title and the seven sections ofreferences/project_layout.md, "The code README", in their order, each section holdingNone yet., only when it does not exist. - Write
code/.depositignorewith the lines ofreferences/project_layout.md, "The deposit", only when it does not exist. - Write every section of
references/project_layout.md, "The README", in its order, each section and each fixed###heading its item names holdingNone yet., except the two sections the next bullets keep. - Leave out the placeholder headings
### <dataset>,### <result>and### <method>:## Data,## Results and how to reproduceand## Dead ends (do not retry)holdNone yet.until their writer adds the first###. - A
## Research questions and claimsthatideawrote stays as it stands, at its place in that order, after## What it is and whyand before## Data. - A
## Nextthat records the modes offullstays as it stands, at its place in that order, after## Dead ends (do not retry)and before## Working state. - A project with no README gets the title line
# <the project folder's name>. - Write each folder of the tree into
### Where things live. - Write
Frameas the stage that stands in### The stage and campaign that stand, so that a new session resumes at Frame. - Done when each folder of the tree exists,
code/README.mdholds its eight headings,code/.depositignoreholds its lines, and the README, read back, holds every section in order and names Frame as the stage that stands.
- Make each folder with
- Frame: ask what the run needs, the stop "Frame's questions", in one message.
- Take the research questions and claims, each claim with its baseline and its metric, from
## Research questions and claimswhenideawrote it, and ask for them when it did not. - Ask what counts as good enough, and the limits on storage, compute, time and access.
- Ask the setting, manual or automatic. Under manual the run stops at each result that does not beat the baseline or does not reach what was set. Under automatic it tries methods by itself until a result beats the baseline or the count of methods the user gives is reached.
- Ask the cluster's facts when
### Cluster factsholds none: whether the work runs on a cluster, and for a cluster its scheduler, its partitions, its account, its modules, its scratch storage and its time limits. - Ask what the project is, its problem, why it matters (for a method applied to a clinical dataset, its clinical relevance), what it does and its venue, where the project's files do not hold them.
- Give each question its options and a recommendation, from what the project's files and a lookup show.
- Write the answers into
## Research questions and claims, in the formideawrites it ("idea" item 10) whenideadid not, into## Constraints and limitsand into### Cluster facts. - Write the line under the title,
## In shortand## What it is and whywith its three###headings, from the research questions and claims and the user's answers. - Write
### The closest prior workfrom the project's novelty pages innotes/, each page linked, when the project has one. - Done when the README, read back, holds each answer and each section this item writes.
- Take the research questions and claims, each claim with its baseline and its metric, from
- Frame: the dataset, the stop "The dataset".
- Find candidate datasets with a web search, and the published works that report on each with
<lookup.py> search '<the dataset's name> <the task's key terms>'. - Show each candidate with its size, its licence, how it is obtained, the published works that report on it and whether it fits each limit of
## Constraints and limits, with one recommendation and its reason. - Write the user's choice into
## Data, as a### <dataset>with its source, its version, its access, where its raw inputs stand, by their local path and on a cluster their cluster path, and the reason it was chosen. - Done when Frame's completion criterion holds and the README names Build as the stage that stands.
- Find candidate datasets with a web search, and the published works that report on each with
- Write the brief of one piece of code, in the form of
references/research_brief.md, tonotes/code/<piece>-brief-<n>.md.- A piece of code is a unit a stage needs: in Build each piece the baseline needs, in Experiments a campaign's method, in Compare a dead end to keep or the fault an implementation cause names.
- The research question and the user's words reach the brief as quoted lines, as the Rules bullet on the user's words says.
- Link the brief from
### The stage and campaign that stand. - Done when the brief, read back, holds each section of the form.
- Start the builder of
agents/research_builder_agent.mdas a fresh agent through the Agent tool, on the runner's general-purpose agent with the runner's defaults.- Give it its role page, the brief, the README and
references/slurm.md. - It works in the project's
code/, with no worktree, no landing and no ledger. - Write its report, which it returns as its final message, to
notes/code/<piece>-builder-<n>.md, linked from the README. - Done when the builder's report stands.
- Give it its role page, the brief, the README and
- Start the reviewer of
agents/research_reviewer_agent.mdas a fresh agent through the Agent tool, on the runner's general-purpose agent with the runner's defaults.- Give it its role page, the brief, the builder's report, the README and
references/slurm.md. - Write its report, which it returns as its final message, to
notes/code/<piece>-review-<n>.md, linked from the README. - Send each finding of the report back to a builder through a new brief with
<n>one more, which quotes it (item 6), and run items 7 and 8 again. - A piece goes back to a builder at most twice after its first review.
- A third review that still reports a finding that makes a result false is the stop "A piece of code that does not pass its review".
- Submit no job of the baseline or of the experiments from the piece before its first reviewer's report, or while its newest reviewer's report holds a finding that makes a result false; on a cluster the small local test is the one job of the piece submitted before the review, since nothing may compute on the login node and the test produces no result (
references/slurm.md, "A small local test"). - Done when the newest reviewer's report holds no finding that makes a result false, or the stop is raised.
- Give it its role page, the brief, the builder's report, the README and
- Build: have each piece of code the baseline needs built and read, by items 6 to 8 for each piece.
- The pieces are the loading and the split of the dataset, the metric, the baseline method,
code/run_all.shandcode/paper.py, the last two asreferences/project_layout.md, "The tree", gives them. - The brief of
code/run_all.shholds the case of a raw input missing, which names that input before any work. - A later piece that adds a result, a table or a figure brings
code/run_all.shandcode/paper.pyin line with it in its own brief, so that both stay true as results are added. - Done when Build's completion criterion holds and the README names Baseline as the stage that stands.
- The pieces are the loading and the split of the dataset, the metric, the baseline method,
- Run each job of a stage, as
references/slurm.mdgives it.- On a cluster, run each job from its script in
code/hpc/, submitted withsbatchfrom that folder. - On a cluster, compute nothing on the login node.
- Make
logs/withmkdir -p '<project folder>/logs'before the first submission, since the scheduler makes no folder for a job's output. - Off a cluster, run the job's command where the session runs, with its output and its error file in
logs/. - After submitting, write each job id to
### The stage and campaign that stand. - Once the job ids are written, stop at "The jobs submitted".
- Poll only when the user asks for it in the run.
- Stop polling when the user asks.
- A job whose log shows an error, or whose result file lacks a value the metric asks for, is the stop "A job that fails".
- Done when each job id stands in the README and the run has stopped, or each job has ended and its log and its result file are read.
- On a cluster, run each job from its script in
- Baseline: run the baseline under the conditions of Frame, as item 10 gives a job.
- Write its result to
code/results/with the command that made it, and its entry, a### <result>, into## Results and how to reproduce. - Done when Baseline's completion criterion holds and the README names Experiments as the stage that stands.
- Write its result to
- Experiments: run each campaign, each with its own method and its own section in
### The stage and campaign that stand.- Write each campaign's method into
### The approachof## Methodwhen the campaign starts. - Have each campaign's code built and read by items 6 to 8, and run its jobs by item 10.
- A campaign can send the work back to its own start, with the reason in its section, at most 3 times, after which its results go on to Compare.
- A new campaign is added with a section of its own.
- Write each result to
code/results/with the command that made it, and its entry into## Results and how to reproduce. - Done when Experiments' completion criterion holds,
### The approachnames the method of each campaign, and the README names Compare as the stage that stands.
- Write each campaign's method into
- Compare: read each result against the baseline and against what Frame set as good enough.
- Write in
## Results and how to reproduce, for each result, whether it beats the baseline and whether it reaches what was set. - Write into
### What is not claimed, with each result's comparison, what the project does not claim from it, such as a dataset or a setting the result does not cover. - Write into
### What this project adds, with each result's comparison, what a result that beats the baseline adds beyond the closest prior work. - Done when each result of the campaigns that stand has its entry, and the two sections hold what its comparison shows.
- Write in
- Diagnose each result that does not beat the baseline or does not reach what was set.
- Name the cause as the dataset, the method, the implementation or the research question, with the evidence from the result files, the logs and the code.
- Write a proposal: a new method, which is a change of objective, of optimisation or of model structure; a change of the method; or another dataset.
- Write the diagnosis and the proposal into the README, or into a file
notes/diagnosis-<campaign>-<YYYY-MM-DD>.mdthat the README links. - A method that did not beat the baseline is a dead end: have it moved into
code/attic/by items 6 to 8, indexed incode/attic/README.mdand listed in## Dead ends (do not retry)with why it failed, asreferences/project_layout.md, "The dead ends", gives. - Record each such result as guidance for the next method, as the Rules bullets on a result that does not beat the baseline say.
- Done when each such result has its diagnosis with its cause and its proposal, and each dead end stands in
code/attic/and in## Dead ends (do not retry).
- Send the work on, by the setting of
## Constraints and limits, which the user can change at any time in words.- Manual: a result that does not beat the baseline is the stop "A result that does not beat the baseline", which shows its diagnosis with what was tried and the proposal.
- Manual: a result that beats the baseline and does not reach what was set is the stop "A result short of what was set, in
research", which shows its diagnosis with what was tried and the proposal. - Automatic: go on by itself with each proposal, one method at a time with its diagnosis written.
- Automatic: stop trying methods when a result beats the baseline, which goes on to Consolidate, or when the count of methods is reached, the stop "The count of methods reached".
- A result that beats the baseline and does not reach what was set goes on to Consolidate in the automatic setting, and in the manual setting on the user's word at its stop.
- Such a result is named in
## Results and how to reproduceas below what was set, and item 18's message names it the same way. - The causes below send on each result that does not go to Consolidate, and each proposal the user takes at a stop.
- A dataset cause reopens Frame's choice of the dataset at item 5, the stop "The dataset", in either setting.
- A research question cause reopens
ideawith the diagnosis as the reopening evidence, as "idea" item 2 gives it, in either setting, and Frame then runs again at item 4 on the research questionsideawrites. - An implementation cause sends the work to Build with a brief for the fault (items 6 to 8), at most twice for one result.
- A third implementation cause for one result is the stop "A result that does not beat the baseline", in either setting.
- A method cause sends the work to Experiments with the new method as a campaign (item 12).
- A stop and the end of the count show what was tried and the next proposal, and never propose to drop the idea after one method.
- When Compare's completion criterion holds, the README names Consolidate as the stage that stands.
- Done when the README names the stage the work goes to, or a stop is raised.
- Consolidate: run
code/run_all.shonce from the raw inputs in a clean copy ofcode/, and compare what it yields with what is reported.- Make the clean copy with
rsync -a --exclude '/data/' --exclude '/results/' --exclude '/figures/' --exclude '/attic/' '<project folder>/code/' '<copy>/', which copies none of the four folders. <copy>is the foldercodeinside a foldermktemp -dmakes, on the scratch storage### Cluster factsnames on a cluster.- Make
logs/beside<copy>withmkdir -p, so that the job scripts'../../logs/ofreferences/slurm.mdwrites there. - Run
'<copy>/run_all.sh' '<the folder of the raw inputs>'once, through the scheduler on a cluster as item 10 gives a job. - Compare each number and each table it yields by its values, and each figure by the values
paper.pydraws it from, with the reported one incode/results/andcode/figures/, and write the comparison tonotes/reproduction-<YYYY-MM-DD>.md, linked from the README. - Call a number reproduced only after this run shows it equal to the reported one.
- A difference sends the work back to the stage that made the number, the table or the figure, Baseline or Experiments, and Consolidate then makes one more reproduction run.
- A second reproduction run that still differs is the stop "A number that does not reproduce".
- Copy the reproduction run's logs into the project's
logs/withcp, then remove the foldermktemp -dmade withrm -ronce the comparison is written. - Bring
code/README.mdto the layout ofreferences/project_layout.md, "The code README", from the code the reproduction run ran, its command and the files it yielded, once the comparison shows no difference. - Done when the comparison shows no difference and
code/README.md, read back, holds the eight headings of that layout, or the stop is raised.
- Make the clean copy with
- Consolidate: write the record of the experiments,
experiment-record.yamlin the project folder, in the form of Schema 9 ofreferences/handoff_schemas.md, "Experiment Provenance Intake".- Write
experiment_intake_declarationwithstatus: experiments_declared,declared_atanddeclared_by: scholar. - Write one entry of
experiment_provenance[]for each experiment of## Results and how to reproduce: itsexperiment_id, itstitle, itsrepro_lockin the shape ofreferences/artifact_reproducibility_pattern.md, itsplanned_vs_executed[]with each result file, metric and value, and itsknown_limitations[]. - Fill each entry's
negative_results[]from the dead ends of## Dead ends (do not retry)for that experiment: a list the integrity check holds claims against, which is never manuscript content. - Load the file as YAML after the write, and check that it holds one entry for each experiment of
## Results and how to reproduce. - Done when Consolidate's completion criterion holds, so that the stop "The record of the experiments" does not arise for this project, and the README names the end of
researchas the stage that stands.
- Write
- End the run.
- Write
## Nextwith the next actions, as a short numbered list. - Write
## Paperswith each paper the results serve. - Name the results,
experiment-record.yamland the comparison of item 16 by their paths, each result below what was set named as such, and give the line/researcher manuscript <project folder>for the first paper and/researcher manuscript <project folder> --manuscript <name>for a further one. - A further paper the user asks for in words is written in
manuscript-<name>/, or as a new project that copies the code it needs when the user asks for that, asreferences/project_layout.md, "Several papers", gives. - Inside
full, this item is left out, andfullgoes on at its item 5. - Done when the message is sent.
- Write
research adopt
The adopt mode reads a project underway that research did not start, moves nothing, and then goes on as research.
- Read the README first, when it is usable, and check each stage it calls done.
- A usable README holds the section
### The stage and campaign that standunder## Working state. - Check each stage the README calls done, in stage order, against its completion criterion in
references/research_stages.md, in the project's files. - A result that is partial, unfinished or below what Frame set as good enough counts as not done.
- The first stage whose completion criterion fails is where the run continues.
- Done when that stage is known, or the README is not usable.
- A usable README holds the section
- With no usable README, read the project against each stage in order, the stop "What the adopt mode found".
- Show, for each stage, what the files show of it, with the file that shows it, and whether its completion criterion holds, a result that is partial, unfinished or below what was set counted as not done.
- The first stage whose completion criterion fails is where the run continues.
- Done when the user has confirmed what was found, once, with each correction the user gives.
- Bring the README to the layout of
references/project_layout.md, "The README", by the readme mode's rewrite, "readme" items 1 to 5, with its stop "The README drafts".- The rewrite records the project's own folder names in
### Where things live("readme" item 2). - The rewrite moves no file of the project ("readme" item 5).
- The draft names the stage of item 1 or item 2 in
### The stage and campaign that stand. - A project with no README gets its README drafted by the rewrite, from the project's files and what item 2 found.
- Done when the README, read back, is the draft the user approved, and names the stage of item 1 or item 2.
- The rewrite records the project's own folder names in
- Go on as
researchfrom that stage, at the item "research" item 2 names for it.- Done when the last item of "research" is done.
readme
The readme mode drafts a project's README.md, and the README.md and .depositignore of its code folder, whole in the layouts of references/project_layout.md, and writes them only after the user approves the drafts. "research adopt" item 3 runs items 1 to 5.
- Find the files the drafts are made from, as "What it reads" 25 gives them.
- The code folder is the first of these that holds the project's code:
- the project's own code folder that the README names, in
### Where things liveor, in a README of another layout, where it says the code stands; code/;- when neither holds it, the folder of the project's files that holds its code, its
run_all.sh, its job scripts or its source files, noted with the files it was found by, which item 4 shows.
- the project's own code folder that the README names, in
- The code folder is a folder inside the project folder, never the project folder itself: code that stands at the project's root gives no code folder, and the draft asks the user, as a question, which folder is the project's code folder.
- A project whose files hold no code has no code folder: the readme mode drafts its README alone and makes no code folder.
- Read no file of another tool, such as a project manifest, as the Rules bullet on other tools' files says.
- Done when each file of "What it reads" 25 that exists is read, and the code folder is known or known to be absent.
- The code folder is the first of these that holds the project's code:
- Draft the README whole, in the order of
references/project_layout.md, "The README".- Put each fact of the old README under the section of the layout it belongs to, and for a README in the old layout as
references/project_layout.md, "A README in the old layout", gives. - Put a fact that no section of the layout holds in its form, such as a dated log, in a file
notes/<slug>.mdnamed asreferences/project_layout.md, "The README", gives, and keep a link to it in the section. - A made-up example: a
## Nextthat holds a dated log of forty lines becomes a short numbered list of the next actions, and the log goes tonotes/next.md, or tonotes/next-2.mdwhennotes/next.mdexists. - Move a section past 200 lines to its
notes/<slug>.mdin the same way. - Fill each section the old README lacks from the project's files: the results from
code/results/and their commands, the dead ends fromcode/attic/README.md, the closest prior work from the novelty pages, the papers from each manuscript's folder. - Draft a section the files cannot fill from the old README, the manuscript and the notes, with the source of each sentence, its file and its section, named in the draft.
- Write what no file holds as a question in the draft, under its section, for the user to answer at item 4.
- Write
None yet.in a section with nothing to hold yet, such as## Papersin a project with no paper. - Once a paper is the canonical record, give
## Methodand## Related worka pointer to it and what the paper does not hold. - Record in
### Where things livethe project's own folder for each folder of the tree, asreferences/project_layout.md, "A project underway", gives, the code folder of item 1 among them. - Done when the draft holds every section of the layout in its order, and each fact of the old README stands in a section of the draft or in a
notes/file it links.
- Put each fact of the old README under the section of the layout it belongs to, and for a README in the old layout as
- Draft the code folder's
README.mdand.depositignore, when the project has a code folder.- Draft
<code folder>/README.mdwhole in the order ofreferences/project_layout.md, "The code README", from the old code README and the code, its facts kept as item 2 keeps those of the README, its sources named and what no file holds a question. - A made-up example: a project whose README names
src/as its code folder, or whose code stands insrc/and that has no README, gets its code README drafted atsrc/README.mdand its.depositignoreatsrc/.depositignore,### Where things livenamessrc/, and no foldercode/is made. - Draft
<code folder>/.depositignoreasreferences/project_layout.md, "The deposit", gives it: the section's lines for a new file, and its rules for adding them to a file that exists. - Done when both drafts stand, or the project has no code folder.
- Draft
- Show the drafts, the stop "The README drafts".
- Show each draft whole, with every change from the file it replaces, and each
notes/file it writes, with its name. - Show, for each fact of the old text, the section or the
notes/file it went to. - Show each sentence's source and each question of the drafts.
- Show the code folder and, when no README named it, the files it was found by, for the user to confirm or correct.
- A code folder the user corrects, or names in answer to the question of item 1, gets its two files drafted again in that folder, and the draft's
### Where things livenames that folder. - A user who answers that the project has no code folder gets the README alone, and no code folder's files are drafted or written.
- A draft the user corrects is shown again with the corrections, and each answer to a question goes into its section.
- Done when the user has approved each draft.
- Show each draft whole, with every change from the file it replaces, and each
- Write the approved drafts.
- Write each
notes/file of the drafts under its name, never over a file that exists, asreferences/project_layout.md, "The README", names it. - Then write the README and, when the project has a code folder, its
README.mdand.depositignore. - Move no file and no folder of the project.
- Write no file that the approved drafts do not hold.
- Done when each file, read back, is the draft the user approved.
- Write each
- End the run.
- Name each file written by its path.
- Inside
research adopt, this item is left out, and the adopt mode goes on at its item 4. - Done when the message is sent.
full
full runs idea, then research and manuscript, each as its subsection gives it, with its own stops.
- Read the README's
## Next, when the project has a README.- When it records the modes of
full, go on from the mode that stands: at item 4 forresearchorresearch adopt, at item 5 after it, and at item 6 formanuscript. - Done when the run goes on from the mode that stands, or no modes of
fullare recorded.
- When it records the modes of
- Run
ideaas "idea" gives it, with the call's sketch: its<sketch file>, or its text when "What it reads" 1 reads it as the sketch.- Done when the last item of "idea" is done.
- Show the modes it will run and the ones it leaves out, each with its reason, the stop "The modes of full".
- Leave
researchout for a review paper, and when results exist that the adopt mode's reading ("research adopt" items 1 and 2) counts as done, withmanuscriptrun on them. - Count results that exist but are partial, unfinished or below what Frame set as not done.
- Run
researchon a project that holds only whatidea,noveltyandfullwrite, and on a projectresearchstarted ("research" item 1). - Run
research adopton a project underway thatresearchdid not start. - Write the modes, in order, with the mode that stands, into
## Next. - Done when the user has confirmed, once, and
## Nextholds the modes.
- Leave
- Run
researchorresearch adopt, when the modes hold it, as its subsection gives it.- Say which mode ends and which begins.
- Write the mode that stands into
## Next. - Done when "research" item 17 is done, or the run has stopped at one of its stops.
- Check the results before
manuscript, whenresearchorresearch adoptran.- Name each result that is partial, unfinished or below what Frame set as good enough as such, at the stop "A result short of what was set".
- Go on to
manuscripton such a result only with the user's word. - The stop offers
manuscriptonly for a result that beats the baseline. - For a result that does not beat the baseline, the stop offers the next proposal of Compare and the way back to Experiments ("research" item 15), and never
manuscript. - Done when each result the paper reports beats the baseline and reaches what was set, the user's word sends a result that beats the baseline on to
manuscript, or the run has gone back to Experiments.
- Run
manuscriptas "manuscript" gives it, for/researcher manuscript <project folder>, with Steps 2 to 5 first.- Say that the mode before ends and
manuscriptbegins. - Write
manuscriptas the mode that stands into## Next. - Done when the last item of "manuscript" is done, and
## Nextrecords that the modes offullhave run.
- Say that the mode before ends and
integrity
- Run the integrity check of
references/integrity_check.mdonce on the manuscript: as Stage 4.5 at the full depth, or as Stage 2.5 forpre-review.- Hold each stop the check raises as a checkpoint, as
references/checkpoints.mdgives it. - Done when the check ends with PASS or PASS WITH NOTES, or the user has decided at the stop "The third correction round failed".
- Hold each stop the check raises as a checkpoint, as
- End the run.
- Hold the MANDATORY checkpoint of the result as
references/checkpoints.mdgives it, and show the result in the MANDATORY checkpoint template ofagents/pipeline_orchestrator_agent.md, "MANDATORY Checkpoint Template (Integrity)", without its "Next step" line. - Name each integrity record and each compliance report of the run folder by its path.
- Write
pipeline_state: completedinstate.json. - Done when the message is sent.
- Hold the MANDATORY checkpoint of the result as
manuscript
- Before the first stage, read the worked runs of "What it reads" 14 and the stages and transitions of
references/pipeline_state_machine.md.- The stages run in the order of that page, from the entry stage of Steps 1, as items 4 to 12 give them.
- Every stage is followed by its checkpoint (
references/checkpoints.md) and, after the user's confirmation, by its transition (item 2), before the next stage begins. - Done when the entry stage is about to begin.
Make each transition between two stages.
- Say which stage is about to begin.
- Show the reinforcement below, filled from the row of
references/reinforcement_content.mdfor the transition. - Check the stage's output against its schema in
references/handoff_schemas.md, asagents/pipeline_orchestrator_agent.md, "4. Transition Management", gives, and pass on the materials its handoff table names for the transition. - Check that
material-passport.yamlcarries the version label of the stage's output, as step 3 of that page's "Schema validation step", under "4. Transition Management", asks. - Pass on the stage's declared inputs and the path of
material-passport.yamlonly, as that page's "Context Hygiene at dispatch" says. - Write the transition in
state.json, as that page's "Writing the run's state" gives. - Done when the next stage has its inputs and
state.jsonnames itin_progress. The reinforcement, adapted to the next stage:
--- STAGE TRANSITION: [Current] -> [Next] --- Core Principles Reinforcement: 1. [Most relevant IRON RULE for the next stage] 2. [Most relevant Anti-Pattern to avoid in the next stage] 3. Quality check: Is the output of [Current Stage] at least as good as [Previous Stage]? If not, PAUSE. Checkpoint: [MANDATORY/ADVISORY] - [What user needs to confirm] ---- Write
material-passport.yamlwhen a stage ends, before its checkpoint.- Give the stage's output a new
version_label, monotonically increasing within the run, as Schema 9 and "Validation Rules" 4 ofreferences/handoff_schemas.mdgive it, withorigin_dateandupstream_dependencies. - Set
verification_status: UNVERIFIEDafter a stage that changed the manuscript, andVERIFIEDwithintegrity_pass_dateafter an integrity check that passed (references/integrity_check.md3). - Carry forward the aggregates
agents/pipeline_orchestrator_agent.md, "4. Transition Management", names,experiment_alignment_results[]among them. - Done when
material-passport.yamlnames the stage's output by its version label.
- Give the stage's output a new
- Stage 2, the writing, for a call given a
<project folder>.- Invoke
/paper full '<project folder>'through the Skill tool, with its own stops, and for a call with--manuscript <name>,/paper full '<project folder>' --manuscript '<name>'. - When the project's README holds
## Papers, add the paper's folder to it, with the results the paper reports. - Done when
/paper fullhas ended and<project folder>/manuscript/, or<project folder>/manuscript-<name>/for a call with--manuscript <name>, holds the main.texand its.bib.
- Invoke
- Stage 2.5, the first integrity check: run the integrity check of
references/integrity_check.mdon the draft as Stage 2.5, at the depth of Mode 1.- Done when the check ends with PASS or PASS WITH NOTES, or the user has decided at the stop "The third correction round failed".
- Stage 3, the review, after Stage 2.5 for a call with no comments file.
- Invoke
/paper-review-panel full '<main.tex>'through the Skill tool, with its own stops. - Its stops hold the revision coaching after a Minor or Major Revision, as
references/two_stage_review_protocol.md, "Stage 3: First Review (Full Review)" and "Stage 3 to 4 Transition: Revision Coaching", andagents/pipeline_orchestrator_agent.md, "Post-Review Socratic Revision Coaching", give. - The decision goes on as the stop "The review decision" says: Accept to Stage 4.5, Minor or Major Revision to Stage 4, Reject to the user's choice.
- Read the seven dimension scores and the overall score from the "Dimension Scores" of the Editorial Decision, and write them to
score_trajectory.baselineofstate.json, the baseline ofreferences/score_trajectory_protocol.md, "At Stage 3 (REVIEW)". Never make a score up. - Done when the Editorial Decision and the Revision Roadmap stand in that run's folder and
state.jsonholds the baseline.
- Invoke
- Stage 4, the revision.
- After Stage 3, invoke
/paper revision '<main.tex>' '<comments file>'through the Skill tool, with its own stops, with the Revision Roadmap as the comments file, or the reprioritized Revision Roadmap when the coaching wrote one. - With review comments in hand, follow
references/external_review_protocol.md: the session parses the comments and confirms the parse with the user, as "Step 1: Intake and Structuring" gives it, at the stop "The parsed comments". - Hold the strategic coaching of "Step 2: Strategic Revision Coaching (External Revision Coaching)", within its 8 rounds, unless the user says "just fix it".
- Write the structured comments of Step 1 to
external-comments.mdin the run folder. - Then invoke
/paper revision '<main.tex>' '<run folder>/external-comments.md', as "Step 3: Revision and Response to Reviewers" gives it. - A revision that leaves items unaddressed is the stop "An incomplete revision".
- Write the round in
revision_historyofstate.json, with the decision it answers, the items addressed and the items left. - Done when
/paper revisionhas ended and the revised draft stands.
- After Stage 3, invoke
- Stage 3', the re-review, after a Stage 3.
- Invoke
/paper-review-panel re-review '<main.tex>' '<revision roadmap>' '<response to reviewers>'through the Skill tool, with its own stops. - Its stops hold the residual coaching after a Major decision, as
references/two_stage_review_protocol.md, "Stage 3': Second Review (Verification Review)" and "Stage 3' to 4' Transition: Residual Coaching", give. - The response to reviewers is the response letter the revision wrote, and is left out when it wrote none.
- Read the seven dimension scores and the overall score of Stage 3' from the "Dimension Scores" of the re-review report, and write them to
score_trajectory.re_reviewofstate.json, take those of Stage 3 fromscore_trajectory.baseline(item 6), and never make a score up. - Compute the score deltas of
references/score_trajectory_protocol.md, "At Stage 3' (RE-REVIEW)", from those scores, and write them toscore_trajectory.deltasofstate.json. - A delta below -3 on any dimension is the stop "A regression after the re-review".
- An overall delta below 3 points on the 0-100 rubric, with no P0 issue left, is the stop "The early-stopping suggestion".
- The decision goes on as the stop "The re-review decision" says: Accept to Stage 4.5, Minor to the minor-items run of item 10, Major to Stage 4'.
- Done when the re-review report stands and the user has answered at "The re-review decision".
- Invoke
- Stage 3', the completeness check, after a Stage 4 for review comments in hand.
- The session makes the comparison of
references/external_review_protocol.md, "Step 4: Self-Verification (Completeness Check)", itself, fromexternal-comments.mdand the response letter the revision wrote: every comment answered, each answer matching the change, each claimed change made. - It reassesses no quality, issues no Editorial Decision and raises no revision request, as that step says, and
/paper-review-panel re-reviewis not invoked. - Show the result at the stop "The checkpoint after the completeness check".
- A comment left unanswered is the stop "An incomplete revision".
- Done when the user has confirmed the result, and the run goes on to Stage 4.5.
- The session makes the comparison of
- The minor items of a Minor decision at Stage 3', once.
- Write the minor items of the re-review report to
minor-revision-comments.mdin the run folder. - Invoke
/paper revision '<main.tex>' '<run folder>/minor-revision-comments.md'through the Skill tool, with its own stops. - Done when
/paper revisionhas ended, and the run goes on to Stage 4.5.
- Write the minor items of the re-review report to
- Stage 4', the re-revision, once, after a Major decision at Stage 3'.
- Write the new Revision Roadmap and the R&R Traceability Matrix (Schema 11) of the re-review into one comments file in the run folder,
re-revision-comments.md. - Invoke
/paper revision '<main.tex>' '<run folder>/re-revision-comments.md'through the Skill tool, with its own stops. - Mark each issue it leaves unresolved as an Acknowledged Limitation in
revision_historyofstate.json. - Done when
/paper revisionhas ended.
- Write the new Revision Roadmap and the R&R Traceability Matrix (Schema 11) of the re-review into one comments file in the run folder,
- Stage 4.5, the final integrity check: run the integrity check of
references/integrity_check.mdon the revised draft as Stage 4.5, at the depth of Mode 2.- Any verdict other than PASS with zero issues goes to the correction round, a PASS WITH NOTES with its notes as the list, within the same 3 rounds (
references/integrity_check.md6). - Start a fresh integrity agent for it, never the agent of Stage 2.5, since Stage 4.5 verifies every reference from scratch.
- Done when the check ends with PASS and zero issues, or the user has decided at the stop "The third correction round failed".
- Any verdict other than PASS with zero issues goes to the correction round, a PASS WITH NOTES with its notes as the list, within the same 3 rounds (
- End the run.
- Write the audit trail of
references/reproducibility_audit.md, "Audit Trail", toaudit-trail.mdin the run folder. - Show the full Progress Dashboard, with every detail and the audit trail, as
agents/state_tracker_agent.md, "Dashboard Output Rules" 3, gives. - Deliver the final verified draft: name the main
.tex, its.bib, each integrity record and each compliance report by its path, with the cumulative revision history: each round's decision, the items addressed and the items left as Acknowledged Limitations. - Write
pipeline_state: completedinstate.json. - Done when the message is sent.
- Write the audit trail of
revision
revision answers one comments file of referee comments on the paper of the manuscript's folder ("What it reads" 3), in this order: the split of the comments, a campaign for each results comment, one Consolidate, Stage 2.5 the first integrity check, the coaching, revision-comments.md, one /paper revision as Stage 4, the completeness check, and Stage 4.5 the final integrity check. The campaigns and Consolidate run the items of "research" that the items below name, the stages from Stage 2.5 on run the items of "manuscript" that they name, each item as its subsection gives it, and Frame is not run again, except its choice of a dataset for a results comment that needs a dataset the project does not hold (item 3).
- Settle where the run stands, and keep it in
state.jsonat each item, in the structure ofagents/state_tracker_agent.md, "Tracked State Structure", with the keys below, which the other items name.current_stagenames the part that stands:splitfor item 2,campaignsfor items 3 and 4,consolidatefor item 5, and then2.5,4,3pand4.5, the stages of "manuscript" that items 6 to 10 run.split,campaignsandconsolidateare three stage ids thatrevisionadds to thestage_idlist of that page'supdate_stage, before2.5,4,3pand4.5, which items 6 to 10 write as "manuscript" writes them.stages.split,stages.campaignsandstages.consolidateeach holdname(SPLIT,CAMPAIGNSorCONSOLIDATE),status,outputs,started_atandcompleted_at.statustakes the values of that page'supdate_stage:pending,in_progress,completedorskipped.- In
revision,skippedalso marks Consolidate for a run with no results comment left (item 5), which the user did not choose. stages.splitalso holdsskill: paperandmode: revision-coach.split_confirmedistrueonce the user has confirmed the split at its stop (item 2), andfalsebefore.revision_commentsholds one entry per comment of the parsed list, in its order, with these keys:id: the coach's id, such asR1-1.kind:resultsortext, as the split stands.state:open,in_campaign,answered_by_resultsoranswered_in_text.campaign: the campaign's folder name undercode/experiments/, ornull.results: the entries of## Results and how to reproducethat answer it, or an empty list.
pipeline_stateisawaiting_confirmationat each stop of items 2 to 5 that waits on the user's answer, asagents/pipeline_orchestrator_agent.md, "Writing the run's state", gives for a checkpoint.pipeline_stateispausedat the stop "The jobs submitted", where the session ends while the jobs run; inrevisionit marks that stop as well as a pause the user asks for.pipeline_stateisrunningagain once the user answers or the run is continued, so that Steps 2 offers the run after any of these stops.- A run continued at Steps 2 goes on at the item its
current_stagenames, and withincampaignsat the campaign that stands, which "research" item 2 reads from the README's### The stage and campaign that stand. - One run answers one comments file, and the referee comments of a later round are a new run,
/researcher revisionwith their own comments file, once this run has ended. - Done when the item the run goes on at is known and
state.jsonnames it.
- Split the comments: invoke
/paper revision-coach '<comments file>' '<main.tex>'through the Skill tool, with its own stops.- Its stop "The parsed comments" is where the user confirms the parse, so "manuscript" item 7 does not parse the comments again.
- Read the parsed comments with their commitments, the output of Step 3.5 of the
paperskill'sagents/revision_coach_agent.md, from the run folder that run made underpaper-runs/in the parent of the comments file's folder, since the Revision Roadmap holds no commitment type. - A comment with a commitment of type
add_experimentoradd_analysisis a results comment, and every other comment is a text comment: the types the coach gave decide, never the session's own reading of a comment. - Show the split at the stop "The split of the comments": each comment with its id, its commitments and their types, under results comments or under text comments.
- A comment the user moves to the other side counts as a comment of that side from then on, so a text comment moved to results work gets its campaign at item 3.
- Write the split into
revision_commentswithsplit_confirmed: true(item 1), and each results comment, by its id and as quoted lines, into### The stage and campaign that stand. - Done when the user has confirmed the split and the README names each results comment.
- Run each results comment as one campaign of the project's Experiments stage, by "research" items 6 to 15, one comment at a time.
- A results comment that needs a dataset the project does not hold first has that dataset chosen by "research" item 5, the stop "The dataset" with its candidates, their size, licence and fit to
## Constraints and limits, for that comment only. - The dataset chosen is written into
## Databeside the project's dataset, as a### <dataset>of its own. - Frame's questions of "research" item 4 are not asked again.
- A results comment that needs a new dataset or a new baseline then has the pieces of code it needs built and read in Build, by "research" item 9 for those pieces only, and the runs of the new baseline are then that comment's campaign.
- Each brief of a campaign quotes, beside the research question, the results comment the campaign answers, as quoted lines,
>, so that the builder and the reviewer read the code against the comment. - Write
state: in_campaignand the campaign's folder name into the comment's entry ofrevision_commentswhen its campaign starts. - Each campaign's section in
### The stage and campaign that standnames the comment it answers by its id, and the run folder of the revision, so that a new session resumes the revision from the README (item 1). - Each campaign keeps the counts of
research: 3 returns to its own start ("research" item 12), 2 returns of a piece of code to a builder ("research" item 8), 2 implementation causes for one result and the count of methods of the setting ("research" item 15). - Compare reads each result of the campaign against the baseline as "research" items 13 and 14 give it, and for a comment that asks for a new baseline it reads the project's method against that new baseline.
- "research" item 15 sends the work on with its stops as they stand, except for the causes and the count that item 4 gives.
- A results comment is answered when a result of its campaigns beats the baseline, a result that does not reach what Frame set as good enough named as below what was set in
## Results and how to reproduce, and its entry ofrevision_commentsthen holdsstate: answered_by_resultsand those results. - Done when each results comment is answered, or is answered in text alone at the stop of item 4.
- A results comment that needs a dataset the project does not hold first has that dataset chosen by "research" item 5, the stop "The dataset" with its candidates, their size, licence and fit to
- Stop at a results comment that the results do not answer yet: the stop "A comment the results do not answer yet".
- It arises at a diagnosis whose cause is the dataset or the research question, which "research" item 15 sends to Frame or to
idea, since neither runs inrevision. - It arises under the automatic setting when the count of methods is reached with no result that beats the baseline, in place of the stop "The count of methods reached".
- It arises under the manual setting when the user, at the stop "A result that does not beat the baseline", stops trying methods for the comment.
- It shows the comment, each method tried with its result against the baseline, the diagnosis with its cause and the next proposal, and for a dataset or a research question cause the line
/researcher research <project folder>, which runs on the changed question outside the revision. - The user's word sends the next proposal on as a new campaign at item 3, or has the comment answered in text alone: the response says what the revision does instead, as
paper's response letter does for a comment it declines, and names no result that does not beat the baseline. - Done when the comment is back at item 3, or its entry of
revision_commentsholdsstate: answered_in_text.
- It arises at a diagnosis whose cause is the dataset or the research question, which "research" item 15 sends to Frame or to
- Consolidate, once every results comment is answered: run "research" items 16 and 17 once for the revision, the reproduction run and the record of the experiments written again with the results of the campaigns.
- It runs whenever a campaign of the run produced a result, on a cluster or off one.
- A run with no results comment left, every comment moved to text work at the split, skips this item, with
stages.consolidate.status: skipped. - Copy the record's
experiment_intake_declarationandexperiment_provenance[]intomaterial-passport.yamlagain, as Steps 4 does. - The end of
researchthat "research" item 17 names stays the stage that stands in### The stage and campaign that stand, so that "What it reads" 3 and "research" item 1 still read the project as oneresearchstarted. - Done when "research" item 17 is done, or the item is skipped.
- Stage 2.5 and the coaching: run "manuscript" items 1 to 3 for the stages of this run, then "manuscript" item 5, then the bullet of "manuscript" item 7 on the strategic coaching.
- The parsed comments of item 2 are the structured list of
references/external_review_protocol.md, "Step 1: Intake and Structuring", which the coaching reads. - Done when Stage 2.5 has ended as "manuscript" item 5 says, and the coaching has ended within its 8 rounds or the user has said "just fix it".
- The parsed comments of item 2 are the structured list of
- Write
revision-comments.mdin the run folder.- Give each comment of the parsed list a section
## <id>, in the list's order, with the comment as given, as quoted lines, and the response the coaching settled for it, when it settled one. - For a results comment answered by results, add the lines of the README's
## Results and how to reproduceof each result that answers it and beats the baseline, each written as the scientific claim it supports, as the Rules bullet on a fact from code says. - For a results comment answered in text alone (item 4), add that it is answered in text, with what the revision does instead, and no result.
- End the file with a section
## Result files for the results check: the result file undercode/results/of each result the file names, each marked as a source of the results check and no text of the manuscript or the response letter. - In that last section, name the
negative_results[]ofexperiment-record.yamlas dead ends that no sentence of the manuscript or the response letter presents (Rules). - Done when the file, read back, holds a section for each comment of the parsed list and the last section.
- Give each comment of the parsed list a section
- Stage 4, the revision: invoke
/paper revision '<main.tex>' '<run folder>/revision-comments.md'through the Skill tool, with its own stops.- At its stop "The session's questions", answer where the study's result files and code are with the result files of
revision-comments.md, the project'scode/andexperiment-record.yaml, so that its row Existing Materials names them for its results check, and put its other questions to the user. - A revision that leaves items unaddressed is the stop "An incomplete revision", and the round is written into
revision_history, as the last two bullets of "manuscript" item 7 give them. - Done when
/paper revisionhas ended and the revised draft stands.
- At its stop "The session's questions", answer where the study's result files and code are with the result files of
- Stage 3', the completeness check: run "manuscript" item 9, with
revision-comments.mdin place ofexternal-comments.md.- Done when "manuscript" item 9 is done.
- Stage 4.5 and the end of the run: run "manuscript" item 12, then "manuscript" item 13.
- Before the message of "manuscript" item 13, write into the README's
## Papers, beside the paper's folder, the results the revision added. - Write the end of the revision, with its run folder and its comments file, into
### The stage and campaign that stand, beside the end ofresearch, which stays the stage that stands. - The message also names the results the revision added and each comment answered in text alone.
- Done when "manuscript" item 13 is done,
## Papersnames the results the revision added and### The stage and campaign that standnames the end of the revision beside the end ofresearch.
- Before the message of "manuscript" item 13, write into the README's
Stops
The checkpoints wait for the user, and so does every other row but the thirteen refusals at the end, which name their cause and leave nothing. A run of paper or paper-review-panel stops at its own stops, which its SKILL.md gives.
| Stop | When | What it shows | What resumes it |
| The entry point | A call matches no line of Quick start (Steps 1) | The Quick start line the request matches, with the materials found and what the entry stage needs | The user confirms the line or names another, and the run goes on with it |
| A README in the old layout | A call of idea, research, research adopt, full or revision on a project whose README.md is in the old layout of references/project_layout.md, "A README in the old layout", before any item of the mode (Steps 1) | That the README is in the old layout, and the line /researcher readme <project folder> | /researcher readme <project folder>, whose drafts the user approves and which writes the README, then the call again |
| An unfinished run | A run folder of the same mode holds an unfinished state (Steps 2) | The Progress Dashboard of that run and the stage it stopped at | The user continues that run from its stage, or starts a new run |
| The record of the experiments | The project folder holds no experiment-record.yaml (Steps 4) | The question, asked once, whether the paper reports experiments of its own, with the result files found | The user's answer and, with experiments, the record built with the user, written before the run goes on |
| The run's configuration | Before the first stage (Steps 5) | The entry stage, the run or depth of each stage, the token estimate, the interaction-count budget and the questions of the compliance agent | The user confirms or adjusts it and answers the questions |
| The checkpoint after Stage 2 | /paper full has ended (manuscript item 4) | The FULL or SLIM checkpoint of references/checkpoints.md | The user's answer, as "Checkpoint Confirmation Semantics" gives it, with continue going on to Stage 2.5 |
| The checkpoint after Stage 2.5 | The first integrity check passed (manuscript item 5) | The MANDATORY checkpoint with the verdict per phase and the ethics verdict | The user's explicit confirmation, with the run going on to Stage 3, or to Stage 4 with a comments file |
| The review decision | /paper-review-panel full has ended (manuscript item 6) | The MANDATORY checkpoint with the Editorial Decision and the counts of the Revision Roadmap, and for Reject the choice of a major restructuring at Stage 2 or the end of the run | The user's explicit answer: Accept to Stage 4.5, Minor or Major Revision to Stage 4, Reject to Stage 2 or to the end, with every material saved |
| The parsed comments | Review comments in hand were parsed (manuscript item 7) | The External Review Summary and the structured list of the comments | The user confirms the list or corrects it |
| The strategic coaching | Review comments in hand were confirmed (manuscript item 7) | Each question of references/external_review_protocol.md, "Step 2: Strategic Revision Coaching (External Revision Coaching)" | The user's answer, within 8 rounds; "just fix it" skips the coaching |
| An incomplete revision | /paper revision left items unaddressed (manuscript item 7), or the completeness check found a comment left unanswered (manuscript item 9) | Each item left, with its reason | The user goes on to the next stage or has the items revised again |
| The checkpoint after Stage 4 | /paper revision has ended (manuscript item 7) | The FULL or SLIM checkpoint | The user's answer, with continue going on to Stage 3' |
| A regression after the re-review | A score delta below -3 at Stage 3' (manuscript item 8) | Each dimension that regressed and by how much, and the reviewers' comments on it | The user proceeds and the regression is recorded, has Stage 4' fix only those dimensions, or has the pre-revision text of those sections restored |
| The early-stopping suggestion | The overall delta is below 3 points with no P0 issue left (manuscript item 8) | That the revision loop has converged, with the deltas | The user stops the revision loop and goes to Stage 4.5, or overrules it |
| The re-review decision | /paper-review-panel re-review has ended (manuscript item 8) | The MANDATORY checkpoint with the new decision and the residual issues | The user's explicit answer: Accept to Stage 4.5, Minor to one /paper revision run for the minor items and then Stage 4.5 (manuscript item 10), Major to Stage 4' |
| The checkpoint after the completeness check | The session's completeness check of a revision for review comments in hand has ended (manuscript item 9) | The MANDATORY checkpoint with each comment, its answer and whether the claimed change was made | The user's explicit confirmation, with the run going on to Stage 4.5 |
| The checkpoint after Stage 4' | /paper revision has ended (manuscript item 11) | The FULL or SLIM checkpoint, with the issues marked as Acknowledged Limitations | The user's answer, with continue going on to Stage 4.5 |
| The checkpoint after Stage 4.5 | The final integrity check passed with zero issues (manuscript item 12) | The MANDATORY checkpoint with the verdict per phase and the ethics verdict | The user's explicit confirmation, and the run ends (manuscript item 13) |
| A FAIL of an integrity check | The verdict is FAIL, or at Stage 4.5 of manuscript PASS WITH NOTES (references/integrity_check.md 4) | The MANDATORY checkpoint with the correction list sorted by severity, or the notes | The user's confirmation, and the correction round runs (references/integrity_check.md 6) |
| The third correction round failed | The check has not passed after 3 correction rounds (references/integrity_check.md 6) | The items still failing and the items that cannot be verified | The user decides, as references/pipeline_state_machine.md, "Integrity Check FAIL Loop", gives: handle them by hand, remove the citations that cannot be verified, or go on with a "partially unverified" warning |
| The failure-mode block | A mode is SUSPECTED, or Mode 1, 3, 5 or 6 has INSUFFICIENT EVIDENCE (references/integrity_check.md 4) | Each mode flagged with its detection questions and evidence | The user confirms the flag, and the passage is fixed by /paper revision and the check runs again (references/integrity_check.md 5), overrides it with reasons written in state.json, or revises the passage and the check runs again |
| The compliance block | The compliance agent's block_decision is block (references/integrity_check.md 4) | The block message of references/compliance_checkpoint_protocol.md, "On block", with the maturity note of agents/compliance_agent.md for a Mandatory item | The user picks (a) backfill, giving the missing material, which reaches the manuscript through /paper revision before the compliance agent runs again, (b) manual handling, editing the manuscript and having the compliance agent run again, or (c) the override of the Override Ladder, with its rationale. After an override, the session starts the compliance agent again with it, writes the disclosure_addendum it returns to a file of the run folder and gives that file to /paper revision as its comments (references/integrity_check.md 5) |
| A BLOCKED ethics verdict | The ethics check of the record is BLOCKED (references/integrity_check.md 4) | The problem and its resolution path, as references/ethics.md, "Verdict and stop", gives | The user accepts the fix, which goes to /paper revision before the check runs again, overrides with reasons written verbatim in state.json, or revises the passage |
| A CONDITIONAL ethics verdict | The ethics check of the record is CONDITIONAL (references/integrity_check.md 4) | Each issue with its exact fix, and each fix that needs a fact only the user has | The user's confirmation, and each fix goes to /paper revision in a correction round (references/integrity_check.md 5 and 6); a fix that needs a fact only the user has is named in the final message |
| The searches did not run | The two lookup.py search runs of a claim left out every index and its web search found nothing ("novelty" item 2) | Each index left out with the reason lookup.py printed, and that the claim gets no verdict | The user runs the check again, /researcher novelty or the next round of the interview |
| No claim to check | The idea holds no claim the session can state ("novelty" item 1) | The idea as read, and the question what it holds to be new | The user's claim, and the run goes on with it |
| The sketch | A call of idea gives no <sketch file> and no text read as the sketch, and no interview is continued or reopened ("idea" item 3) | The question for the rough sketch of the idea, in the user's words | The user's sketch, and the interview goes on |
| The project folder | A call of idea or full whose text after the mode is read as the sketch, before the mode's first item ("What it reads" 1) | The sketch as read from the call, and the question for the project folder | The user's project folder, made when it does not exist, a new project ("idea" item 3), and the run goes on with the call's sketch; an interview continued or a reopening of that folder ("idea" items 1 and 2) sets the call's sketch aside, as it does a <sketch file>, and its first round says so |
| A reopening | The README holds research questions and claims, the newest progress file holds no choice still open or none exists, and the call did not come from research's Compare stage ("idea" item 2) | The research questions and claims that stand, and the question for the reopening evidence | The user's reopening evidence, and the choices it bears on are asked again |
| A round of the interview | Each round of the interview ("idea" item 7) | The novelty pages of the round, then each choice of the round with its options, their pros and cons, one recommendation and the lazy option, each claim option with its verdict and page, and the answer form | The user's answers |
| A claim found done | The novelty page of a round of the interview gives a settled claim the verdict done ("idea" item 5) | The claim, the confirmed works that already do it and the page, as the first choice of the next round of the interview | The user's answer: a sharpened claim, another claim, or the claim dropped |
| The end of the interview | No choice of the idea is open ("idea" item 10) | The section ## Research questions and claims as the README will hold it | The user confirms it, and it is written, or corrects it and it is shown again |
| A project underway | research on a folder that holds files beyond what idea and novelty write, whose README names no stage of research ("research" item 1) | What the folder holds, and the line /researcher research adopt <project folder> | The user runs /researcher research adopt <project folder> |
| Frame's questions | Frame, before the dataset ("research" item 4) | Each question the README does not answer yet, the research questions and claims, what the project is, its problem, why it matters, what it does and its venue where the project's files do not hold them, what counts as good enough, the four limits, the setting with its count and the cluster's facts, each with its options and a recommendation | The user's answers, written into the README, and the run goes on to the dataset |
| The dataset | Frame's choice of the dataset, a Compare diagnosis that blames the dataset ("research" items 5 and 15), and in revision a results comment that needs a dataset the project does not hold ("revision" item 3) | Each candidate dataset with its size, its licence, how it is obtained, the published works that report on it and whether it fits each limit, and the recommendation | The user's pick, written with its reason into the README, and the run goes on to Build |
| A piece of code that does not pass its review | A third review of a piece still reports a finding that makes a result false ("research" item 8) | The findings of each review of the piece, with its briefs and reports in notes/code/ | The user's word: a new brief from what the user says, another way to build the piece, or the work sent back to Frame |
| The jobs submitted | Jobs were submitted, or a job of a resumed project has not ended ("research" items 2 and 10) | Each job id with its script, and that the README holds them | /researcher research <project folder>, in this session or a new one, which resumes from the README, or the user's request to poll |
| A job that fails | A job's log shows an error, or its result file lacks a value the metric asks for ("research" item 10) | The job's script, the lines of its log that show the error, and the result file | The user's word: a brief for the fault through "research" items 6 to 8, the job submitted again as it stands, or the work sent back to Frame |
| A result that does not beat the baseline | Under the manual setting, a result that does not beat the baseline, and in either setting a third implementation cause for one result ("research" item 15) | The result against the baseline and what was set, the diagnosis with its cause and its evidence, what was tried, and the next proposal | The user takes the proposal, names another method, or changes the setting, and the work goes to the stage the proposal names; in revision the user can also stop trying methods for the comment, the stop "A comment the results do not answer yet" ("revision" item 4) |
A result short of what was set, in research | Under the manual setting, a result that beats the baseline and does not reach what Frame set as good enough ("research" item 15) | The result against the baseline and what was set, the diagnosis with its cause and its evidence, what was tried, and Compare's next proposal | The user's word: Consolidate, with the result named in ## Results and how to reproduce as below what was set, or Compare's next proposal as a new method, which goes to Experiments |
| The count of methods reached | Under the automatic setting, the count of methods is reached with no result that beats the baseline ("research" item 15) | Each method tried with its diagnosis, and the next proposal | The user sets a new count, takes the proposal under the manual setting, or names another method |
| A number that does not reproduce | A second reproduction run still differs from what is reported ("research" item 16) | Each number, table and figure that differs, with the reported and the reproduced values and the comparison's file | The user names the stage the work goes back to, and Consolidate runs again after it |
| What the adopt mode found | research adopt on a project with no usable README ("research adopt" item 2) | For each stage, what the files show of it with the file that shows it, whether its completion criterion holds, and the stage where the run continues | The user confirms once, with any correction, and the README is drafted ("research adopt" item 3) |
| The README drafts | A run of readme, or "research adopt" item 3, has drafted the README and, for a project with a code folder, its README.md and .depositignore ("readme" item 4) | Each draft whole with every change from the file it replaces, the section or notes/ file each fact of the old text went to, each sentence's source, each question, each notes/ file with its name, and the code folder with the files it was found by when no README named it | The user confirms or corrects the code folder, or answers that the project has none, answers the questions and approves each draft, corrected and shown again where the user corrects it, and the drafts are written ("readme" item 5) |
| The modes of full | idea has ended in full ("full" item 3) | The modes full will run and the ones it leaves out, each with its reason | The user confirms once, or changes the modes, and ## Next records them |
| A result short of what was set | In full, after research, a result is partial, unfinished, below what was set as good enough, or does not beat the baseline ("full" item 5) | Each such result named as partial, unfinished or below what was set; manuscript offered only for a result that beats the baseline; for one that does not, the next proposal of Compare and the way back to Experiments | The user's word: manuscript on a result that beats the baseline, or the way back to Experiments with the proposal |
| The split of the comments | /paper revision-coach has ended in revision ("revision" item 2) | Each comment with its id, its commitments and their types, under results comments (a commitment of type add_experiment or add_analysis) or under text comments | The user moves a comment from one side to the other or confirms the split, and the run goes on to the campaigns |
| A comment the results do not answer yet | In revision, a diagnosis of a results comment names the dataset or the research question as the cause, the count of methods of the automatic setting is reached, or under the manual setting the user stops trying methods for the comment ("revision" item 4) | The comment, each method tried with its result against the baseline, the diagnosis with its cause and the next proposal, and for a dataset or a research question cause the line /researcher research <project folder> for the changed question outside the revision | The user's word: the next proposal as a new campaign, or the comment answered in text alone, with no result that does not beat the baseline named in revision-comments.md, the response letter or the manuscript |
| A run that fails | A run of paper or paper-review-panel, or an agent, fails or ends with no output (any stage) | The error, with the state saved in the run folder | The user retries the run or pauses it. No integrity check or failure-mode block is skipped |
| No manuscript | The call gives no <main.tex>, or one that does not exist (Steps 1) | The mode's line of Quick start | The call corrected, then /researcher again |
| No project folder | For manuscript, novelty or revision, the <project folder> does not exist, for readme it does not exist or is empty, or a call of idea, research, research adopt, readme, full or revision gives none, other than a call of idea or full whose text is read as the sketch, which asks for it ("What it reads" 1) (Steps 1) | The mode's line of Quick start | The call corrected, then /researcher again |
| No comments file | The <comments file> does not exist, or a call of revision gives none (Steps 1) | The mode's line of Quick start | The call corrected, then /researcher again |
| A skill not installed | In a run of integrity, manuscript, research, research adopt, full or revision, the paper folder, or for manuscript and full the paper-review-panel folder, with its SKILL.md, is in neither place of "What it reads" 5 (Steps 1) | That researcher runs that skill, with both paths | The skill installed, then /researcher again |
| lookup.py not found | In a run of integrity, manuscript, research, research adopt, full or revision, the paper folder holds no templates/lookup.py (Steps 1) | That the integrity agent looks every reference up with it, and Frame the published works on each dataset, with the path | paper installed whole, then /researcher again |
| No idea given | A call of novelty gives no <idea>, or one that holds no word (Steps 1) | The line of novelty in Quick start | The call corrected, then /researcher again |
| No sketch file | The <sketch file> of a call of idea does not exist (Steps 1) | The line of idea in Quick start | The call corrected, then /researcher again |
| No paper for the novelty check | In a run of novelty or idea, the paper folder with its SKILL.md is in neither place of "What it reads" 5 (Steps 1) | That the novelty check confirms each work it cites with paper's lookup.py, with both paths | paper installed, then /researcher again |
| No lookup.py for the novelty check | In a run of novelty or idea, the paper folder holds no templates/lookup.py (Steps 1) | That the session searches for the prior work and confirms each work it cites with it, with the path | paper installed whole, then /researcher again |
| Nothing to adopt | The <project folder> of a call of research adopt does not exist or is empty (Steps 1) | The line of research in Quick start, which starts a new project | /researcher research <project folder> |
| No manuscript name | A call's --manuscript has no <name>, or one that is not a folder name of letters, digits, - and _ (Steps 1) | The line of manuscript with --manuscript in Quick start | The call corrected, then /researcher again |
| No project of research | The project folder of a call of revision holds no README.md whose ### The stage and campaign that stand under ## Working state names a stage of research or the end of research (Steps 1) | That revision runs campaigns of the stages of research on the project, with the lines /researcher research adopt <project folder> for a project underway and /researcher research <project folder> | That mode run first, then /researcher revision again |
| No paper to revise | The manuscript's folder of a call of revision, manuscript/ or manuscript-<name>/, holds no main.tex (Steps 1) | The manuscript's folder, and the line of manuscript in Quick start, with --manuscript <name> for a further paper | The paper written by that mode, then /researcher revision again |
Anti-patterns
| Anti-pattern | Why it fails | Do instead |
| Skipping an integrity check because the paper looks fine | A paper that looks fine still holds the fabricated references the check exists to find | Run Stage 2.5 and Stage 4.5 in every run of manuscript and revision, whatever the perceived quality |
| The session writing, reviewing or verifying the paper itself | The run then lacks the runs and the agent whose checks it reports | Invoke paper and paper-review-panel through the Skill tool and start the integrity agent, and let the session only direct and record |
| Moving past a MANDATORY checkpoint with no answer | The user loses the decision the checkpoint exists for | Wait for the user's explicit answer at every MANDATORY checkpoint |
| A later stage worse than an earlier one | A long run loses its principles as its context fills, and a revision can be worse than the draft | When a stage's output is worse than the stage before, pause and read the principles again before going on |
| A revision that drops reviewer concerns in silence | A concern left out unmarked is never answered | Account for every concern in the R&R tracking table, each with its status |
| A final check that re-checks only the first check's issues | The revision can add new issues, which go unchecked | Run Stage 4.5 from scratch, with a fresh integrity agent |
| Skipping the failure-mode checklist or its block | The failures it looks for read like competent work and pass every other check | Run the checklist at Stage 2.5 and Stage 4.5, and record each override with the user's reasons in state.json |
| What a prior work does, written from memory | The page can then name a work that does not exist or that does something else, and a verdict rests on it | Read its abstract or passage in the run and confirm it with resolve ("novelty" items 3 and 4) |
A verdict new written as "no such work exists" | Three searches per claim can miss a work, and the reader takes the claim as proved new | Write that no closer work was found by these searches, with the searches listed on the page ("novelty" item 5) |
The novelty page given to paper as the user's own sources | paper then skips its literature search, and at most five works per claim stand in for it | Name the page's .bib in the Existing Materials row at paper's intake and keep Phase 1 in the run ("novelty" item 7) |
A claim found done carried into the next round of the interview as it stands | The research then sets out to show what a confirmed work already shows | Drop the claim or sharpen it beyond the works the page names ("idea" item 5) |
| The answers of the interview held in the conversation until the end | A session that ends early loses them, and a new session cannot continue the interview | Write each answer into the progress file as it settles ("idea" item 8) |
| A choice of the idea taken for the user, or a fact asked of the user | The user loses the decision, or spends time on what a lookup gives | Put each choice with its options and a recommendation, and look each fact up ("idea" items 4 and 7) |
The session writing or fixing the code of research itself | Its context fills with code and logs, and no reviewer reads what it wrote | Write a brief and start a builder, then a reviewer ("research" items 6 to 8) |
| A job submitted before the review, other than the builder's small local test | A leak of test data or a wrong metric costs cluster hours and yields a false number | Submit the jobs of the baseline and of the experiments only after a reviewer's report with no finding that makes a result false ("research" item 8) |
| A computation on a cluster's login node, a small local test included | It runs outside the scheduler's limits and the cluster's rules | Run it as a job through the scheduler, as references/slurm.md gives it |
| Polling the scheduler by default | The session is held open for hours, and its state is lost if it dies | Write the job ids to the README and stop, and poll only when the user asks ("research" item 10) |
| A result that does not beat the baseline written as a finding of a paper | The paper then reports what the next method is meant to replace, and the idea is left there | Record it as a dead end with its diagnosis, and propose the next method ("research" items 14 and 15) |
| Dropping the idea after one weak method | One method's result says little about the idea | Show what was tried and the next proposal at the stop ("research" item 15) |
| A new method that changes only a setting or the form of the input | It tests nothing the diagnosis named as the cause | Propose a change of objective, of optimisation or of model structure ("research" item 14) |
| A dead end deleted | A later session tries it again, and the record of the experiments loses it | Keep it runnable in code/attic/, indexed, and listed in ## Dead ends (do not retry) ("research" item 14) |
| A number called reproduced from reading the code | A missing cache or a wrong path shows only when the command runs | Run code/run_all.sh once in a clean copy and compare ("research" item 16) |
| The files of a project underway moved into the default layout | The project's own scripts and paths break | Record the project's own names in ### Where things live ("readme" item 2, which "research adopt" item 3 runs) |
| A README rewritten and written without its draft shown | A fact moved to the wrong place reaches the file every later run reads first, unseen | Show each draft with where each fact of the old text went, and write after the user's approval ("readme" items 4 and 5) |
| A fact of the old README dropped because no section of the layout holds it | The project loses what only that README recorded | Keep it in a notes/ file the section links ("readme" item 2) |
| The state of a project kept only in the conversation | A new session cannot resume it | Write the README before each stage ends, as the Rules bullet on the notes says |
full going on to manuscript on a partial result | The paper then reports work that is not done | Name the result as partial and wait for the user's word ("full" item 5) |
| The session sorting the referee comments into results work and text work by its own reading | Its sorting can differ from the commitment types the coach gave, which the revision and the completeness check read | Take the split from the commitment types add_experiment and add_analysis of /paper revision-coach, and let the user move a comment at the stop ("revision" item 2) |
Changing a file of the manuscript outside /paper revision | The change bypasses paper's patches, its checks and its own stops | Send every correction, fix and addendum to /paper revision as its comments |
Rules
- In
integrity,manuscriptandrevision, the session holds the role ofagents/pipeline_orchestrator_agent.md: it reads that page and follows it, and starts no agent for that role. - In
integrity,manuscriptandrevision, the session holds the role ofagents/state_tracker_agent.md: it writes the run's state itself, in that page's structure, and starts no agent for that role. - The agents a run of
integrity,manuscriptorrevisionstarts for its integrity checks are the integrity agent and the compliance agent, each a fresh agent started through the Agent tool for each integrity check. - A run of
noveltyorideastarts no agent: the session makes every search, read, lookup and write itself. - In
researchand in the campaigns ofrevision, the session directs the work and builds nothing itself: it writes each brief, starts each builder and each reviewer, reads their reports, decides the next stage, writes the README and submits the jobs. - The agents that a run of
researchstarts, and that the campaigns of a run ofrevisionstart, are a builder and a reviewer for each piece of code, each a fresh agent started through the Agent tool on the runner's general-purpose agent with the runner's defaults. - A run of
researchorrevisionuses no worktree, no landing and no ledger: the briefs and reports of its pieces of code are files of the project'snotes/code/. - A run of
fullstarts the agents of the modes it runs, and no other. - One documented command,
code/run_all.sh, rebuilds every reported number, table and figure from the raw inputs, then runscode/paper.py("research" items 9 and 16). code/run_all.shnames each missing prerequisite at its start, before it does any work ("research" item 9).- Nothing computes on a cluster's login node ("research" item 10,
references/slurm.md). - Every job on a cluster goes through the scheduler ("research" item 10,
references/slurm.md). - An idea is not shelved after a weak first attempt: each result that does not beat the baseline gets its diagnosis and the next proposal ("research" items 14 and 15).
- The project's notes let a new session resume without the conversation: each stage of
researchwrites the README before it ends ("research" items 3 to 17). - A new session of
researchreads the README first ("research" item 2). - A result that does not beat the baseline is guidance for the next method, recorded as a dead end ("research" item 14).
- No text of
research,fullorrevision, and nothing any of them sends tomanuscriptor to/paper revision,revision-comments.mdand the response letter included, frames a result that does not beat the baseline as a finding to publish, and no negative or null result is written up: such a result is recorded as a dead end, guidance for the next method, as the bullet above says. - The session holds the interview of
ideaitself and invokes no skill for it, sincegrillreads a roadmap entry and a plan configuration, which a research project does not have. - Every run of
paperandpaper-review-panelis invoked through the Skill tool, with its own stops:/paper full,/paper-review-panel full,/paper revision,/paper-review-panel re-reviewand/paper revision-coach. - Every change the run makes to the manuscript is made by
/paper revision, given its comments as a file of the run folder. - The corrections the session sends to
/paper revision, and every text of a record that reaches the manuscript, hold no file names, script names, paths, code identifiers, job, run or exit-code language or software-operations wording. - A fact from code or a log is written in them as the scientific claim it supports.
- No correction and no record asks that a recorded null result be written into the manuscript.
- A claim that contradicts an entry of
negative_results[]is a FAIL of the integrity check, corrected by changing the claim. - The revision loop of
manuscriptholds Stage 4 and Stage 4', one/paper revisionrun each, and after a Minor decision at Stage 3' one/paper revisionrun for its minor items, and no further revision run. - The revision loop of
revisionholds Stage 4 alone, one/paper revisionrun for the comments file ("revision" item 8). - Each of these caps stands in place of the cap of
paperon revision rounds across runs, and each run ofpaperkeeps its own rounds. - At most one Stage 4' runs, and after it the run goes to Stage 4.5 with no return to a review.
- A reference, and a work a novelty page cites, is confirmed when
lookup.py resolveprints a record on one index or more with a ratio of 0.70 or above and noDOI_MISMATCH, read as thepaperskill'sagents/citation_compliance_agent.md, "Looking a reference up", says. - A judged claim rests on a passage read in the run from the source's text, each passage line checked with
lookup.py quote-check, asagents/integrity_verification_agent.md, "E2. Source Tracing", gives. - The originality screen searches the web at both depths, as
references/plagiarism_detection_protocol.mdgives it. - The user can pause or leave the run at any checkpoint, and can skip no integrity check.
- A run of
integrityormanuscriptgiven the same input follows the same stages and checks in every session. - Every artifact of a run of
integrityormanuscriptcarries its version label inmaterial-passport.yaml, and the passport carries therepro_lockofreferences/artifact_reproducibility_pattern.md, asreferences/reproducibility_audit.mdgives them. - A run whose stages are split among the members of a team follows
references/team_collaboration_protocol.mdfor the roles, the handoffs and the state of each member's run folder. - The run folder holds
state.json,material-passport.yaml,external-comments.mdwhen review comments were in hand inmanuscript,revision-comments.mdinrevision,minor-revision-comments.mdafter a Minor decision at Stage 3', eachintegrity-<stage>-<n>.md, eachcompliance-<stage>-<n>.md, eachcorrections-<stage>-<n>.md, eachfailure-modes-<stage>-<n>.md,backfill-<stage>-<n>.md,compliance-<stage>-<n>-override.mdanddisclosure-addendum-<stage>-<n>.mda block's answer wrote,re-revision-comments.mdwhen Stage 4' ran andaudit-trail.mdat the end of amanuscriptorrevisionrun. - The skill reads and writes no file of any other tool, such as a project manifest: what it records of a project stands in the files of
references/project_layout.md. - Every path and every value the user gives reaches a command as one argument in single quotes, a single quote inside it written
'\'', so thatthe author's methodreaches the command as'the author'\''s method', and a project folder reachesmkdir,sbatchandcode/run_all.shthe same way. - The user's words reach a novelty page, a progress file, a brief of
researchand the README as text: an idea or a sketch as quoted lines,>, and a line of an answer that opens with#also as a quoted line, so that no line of the user's opens a section. - A referee comment reaches
revision-comments.md, a brief of a campaign and the README as supplied text, each of its lines a quoted line,>, so that a line of it that opens with#opens no section. - The session's messages follow the user's language, and academic terms stay in English.
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
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.

