paperpush 0.4.0__tar.gz → 0.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. {paperpush-0.4.0 → paperpush-0.4.2}/PKG-INFO +11 -4
  2. {paperpush-0.4.0 → paperpush-0.4.2}/README.md +10 -3
  3. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/__init__.py +1 -1
  4. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_docs/agents.md +23 -6
  5. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_skills/paperpush-add-venue-validate/SKILL.md +4 -0
  6. paperpush-0.4.2/paperpush/_skills/paperpush-fix/SKILL.md +258 -0
  7. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_skills/paperpush-portal-debug/SKILL.md +6 -1
  8. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_skills/paperpush-prepare-submission/SKILL.md +55 -59
  9. paperpush-0.4.2/paperpush/_skills/paperpush-submit/SKILL.md +175 -0
  10. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_skills/paperpush-validate/SKILL.md +30 -7
  11. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/ai_validate.py +8 -3
  12. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/anonymity.py +62 -4
  13. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/bibliography_check.py +19 -1
  14. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/citation_check.py +113 -5
  15. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/cli.py +157 -34
  16. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/common_fields.json +1 -0
  17. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/cover_letter_check.py +3 -1
  18. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/database.py +25 -0
  19. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/document.py +12 -2
  20. paperpush-0.4.2/paperpush/feature_check.py +149 -0
  21. paperpush-0.4.2/paperpush/file_inputs.py +134 -0
  22. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/manuscript.py +176 -6
  23. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/manuscript_requirements.schema.json +29 -3
  24. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/mcp_server.py +104 -18
  25. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/openreview_profiles.py +8 -0
  26. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/prose_check.py +13 -0
  27. paperpush-0.4.2/paperpush/reference_review.py +134 -0
  28. paperpush-0.4.2/paperpush/reference_search.py +771 -0
  29. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/references.py +74 -3
  30. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/report.py +88 -19
  31. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/requirements.py +7 -3
  32. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/requirements_check.py +3 -1
  33. paperpush-0.4.2/paperpush/style_check.py +663 -0
  34. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile.py +23 -1
  35. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/radiology.sub.txt +4 -0
  36. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/radiology_ai.sub.txt +4 -0
  37. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/validate.py +222 -13
  38. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues.json +1 -1
  39. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush.egg-info/PKG-INFO +11 -4
  40. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush.egg-info/SOURCES.txt +15 -0
  41. {paperpush-0.4.0 → paperpush-0.4.2}/pyproject.toml +1 -1
  42. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_anonymity.py +37 -1
  43. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_codegen.py +24 -0
  44. paperpush-0.4.2/tests/test_feature_check.py +59 -0
  45. paperpush-0.4.2/tests/test_markdown.py +139 -0
  46. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_mcp_server.py +19 -2
  47. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_openreview_profiles.py +4 -3
  48. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_prose_check.py +1 -1
  49. paperpush-0.4.2/tests/test_reference_review.py +77 -0
  50. paperpush-0.4.2/tests/test_reference_search.py +383 -0
  51. paperpush-0.4.2/tests/test_style_check.py +257 -0
  52. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_subfile.py +47 -0
  53. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_validate.py +23 -0
  54. paperpush-0.4.2/tests/test_validate_files.py +178 -0
  55. paperpush-0.4.2/tests/test_validate_json.py +41 -0
  56. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_validate_report.py +156 -0
  57. paperpush-0.4.2/tests/test_validation_check_count.py +17 -0
  58. {paperpush-0.4.0 → paperpush-0.4.2}/LICENSE +0 -0
  59. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/__main__.py +0 -0
  60. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_logging.py +0 -0
  61. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_skills/paperpush-add-venue/SKILL.md +0 -0
  62. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/_skills/paperpush-autofill/SKILL.md +0 -0
  63. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/autofill.py +0 -0
  64. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/codegen/__init__.py +0 -0
  65. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/codegen/model.py +0 -0
  66. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/codegen/recorder.js +0 -0
  67. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/codegen/session.py +0 -0
  68. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/colorblind.py +0 -0
  69. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/consistency.py +0 -0
  70. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/credentials.py +0 -0
  71. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/figure_check.py +0 -0
  72. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/filematch.py +0 -0
  73. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/front_matter_check.py +0 -0
  74. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/hidden_text.py +0 -0
  75. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/latex_cleaner.py +0 -0
  76. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/layout_check.py +0 -0
  77. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/manuscript_requirements.json +0 -0
  78. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/orcid.py +0 -0
  79. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/pdf_layout.py +0 -0
  80. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/pdf_report.py +0 -0
  81. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/schema_models.py +0 -0
  82. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/sensitive.py +0 -0
  83. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/skills.py +0 -0
  84. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/acl_arr.sub.txt +0 -0
  85. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/ajhg.sub.txt +0 -0
  86. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/arxiv.sub.txt +0 -0
  87. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/bioinformatics.sub.txt +0 -0
  88. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/biorxiv.sub.txt +0 -0
  89. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/bmc_bioinformatics.sub.txt +0 -0
  90. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/bmc_biology.sub.txt +0 -0
  91. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/bmc_genomics.sub.txt +0 -0
  92. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/bmc_medicine.sub.txt +0 -0
  93. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/bmj.sub.txt +0 -0
  94. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/cell.sub.txt +0 -0
  95. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/cell_genomics.sub.txt +0 -0
  96. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/cell_reports.sub.txt +0 -0
  97. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/cell_reports_methods.sub.txt +0 -0
  98. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/cell_stem_cell.sub.txt +0 -0
  99. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/cell_systems.sub.txt +0 -0
  100. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/combinatorica.sub.txt +0 -0
  101. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/communications_biology.sub.txt +0 -0
  102. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/cvpr_2027.sub.txt +0 -0
  103. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/discrete_mathematics.sub.txt +0 -0
  104. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/elife.sub.txt +0 -0
  105. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/european_radiology.sub.txt +0 -0
  106. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/frontiers_bioinformatics.sub.txt +0 -0
  107. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/frontiers_genetics.sub.txt +0 -0
  108. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/frontiers_immunology.sub.txt +0 -0
  109. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/genome_biology.sub.txt +0 -0
  110. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/genome_medicine.sub.txt +0 -0
  111. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/genome_research.sub.txt +0 -0
  112. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/ieee_tmi.sub.txt +0 -0
  113. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/ieee_tnnls.sub.txt +0 -0
  114. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/ieee_tpami.sub.txt +0 -0
  115. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/iscience.sub.txt +0 -0
  116. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/jama.sub.txt +0 -0
  117. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/jmlr.sub.txt +0 -0
  118. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/jnm.sub.txt +0 -0
  119. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/lancet.sub.txt +0 -0
  120. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/lancet_digital_health.sub.txt +0 -0
  121. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/medical_image_analysis.sub.txt +0 -0
  122. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/medrxiv.sub.txt +0 -0
  123. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/molecular_cell.sub.txt +0 -0
  124. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nar_cancer.sub.txt +0 -0
  125. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nar_genomics_bioinformatics.sub.txt +0 -0
  126. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature.sub.txt +0 -0
  127. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_biomedical_engineering.sub.txt +0 -0
  128. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_biotech.sub.txt +0 -0
  129. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_cell_biology.sub.txt +0 -0
  130. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_communications.sub.txt +0 -0
  131. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_computational_science.sub.txt +0 -0
  132. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_genetics.sub.txt +0 -0
  133. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_machine_intelligence.sub.txt +0 -0
  134. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_medicine.sub.txt +0 -0
  135. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_methods.sub.txt +0 -0
  136. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_neuroscience.sub.txt +0 -0
  137. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nature_structural_molecular_biology.sub.txt +0 -0
  138. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nejm.sub.txt +0 -0
  139. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/neuron.sub.txt +0 -0
  140. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/npj_digital_medicine.sub.txt +0 -0
  141. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/nucleic_acids_research.sub.txt +0 -0
  142. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/patterns.sub.txt +0 -0
  143. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/plos_biology.sub.txt +0 -0
  144. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/plos_compbio.sub.txt +0 -0
  145. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/plos_genetics.sub.txt +0 -0
  146. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/plos_medicine.sub.txt +0 -0
  147. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/plos_one.sub.txt +0 -0
  148. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/pnas.sub.txt +0 -0
  149. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/science.sub.txt +0 -0
  150. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/science_advances.sub.txt +0 -0
  151. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/science_immunology.sub.txt +0 -0
  152. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/science_robotics.sub.txt +0 -0
  153. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/science_signaling.sub.txt +0 -0
  154. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/science_translational_medicine.sub.txt +0 -0
  155. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/scientific_reports.sub.txt +0 -0
  156. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/subfile_templates/tmlr.sub.txt +0 -0
  157. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/submission_forms.json +0 -0
  158. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/submission_forms.schema.json +0 -0
  159. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/template_check.py +0 -0
  160. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venue_data.py +0 -0
  161. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venue_select.py +0 -0
  162. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venuefile.py +0 -0
  163. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/__init__.py +0 -0
  164. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/aaai_2027_countries.txt +0 -0
  165. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/aaai_2027_topics.txt +0 -0
  166. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/arxiv_categories.txt +0 -0
  167. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/bioinformatics_keywords.txt +0 -0
  168. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/genome_biology_institution_countries.txt +0 -0
  169. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/iclr_2027_primary_areas.txt +0 -0
  170. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/nature_biotech_categories.json +0 -0
  171. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/nature_categories.json +0 -0
  172. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/nature_methods_categories.json +0 -0
  173. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/plos_compbio_classifications.txt +0 -0
  174. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/plos_compbio_funding_countries.txt +0 -0
  175. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/science_advances_subjects.txt +0 -0
  176. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/science_immunology_subjects.txt +0 -0
  177. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/science_robotics_subjects.txt +0 -0
  178. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/science_signaling_subjects.txt +0 -0
  179. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/science_subjects.txt +0 -0
  180. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/_assets/science_translational_medicine_subjects.txt +0 -0
  181. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/arxiv/__init__.py +0 -0
  182. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/arxiv/arxiv.py +0 -0
  183. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/base.py +0 -0
  184. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/common.py +0 -0
  185. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/discrete_mathematics/__init__.py +0 -0
  186. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/discrete_mathematics/discrete_mathematics.py +0 -0
  187. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editflow/__init__.py +0 -0
  188. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editflow/combinatorica.py +0 -0
  189. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editflow/main.py +0 -0
  190. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editorialmanager/__init__.py +0 -0
  191. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editorialmanager/cell.py +0 -0
  192. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editorialmanager/cell_genomics.py +0 -0
  193. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editorialmanager/cell_systems.py +0 -0
  194. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editorialmanager/main.py +0 -0
  195. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/editorialmanager/plos_compbio.py +0 -0
  196. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/login.py +0 -0
  197. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/nature/__init__.py +0 -0
  198. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/nature/main.py +0 -0
  199. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/nature/nature.py +0 -0
  200. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/nature/nature_biomedical_engineering.py +0 -0
  201. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/nature/nature_biotech.py +0 -0
  202. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/nature/nature_machine_intelligence.py +0 -0
  203. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/nature/nature_methods.py +0 -0
  204. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openreview/__init__.py +0 -0
  205. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openreview/aaai_2027.py +0 -0
  206. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openreview/iclr_2027.py +0 -0
  207. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openreview/main.py +0 -0
  208. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openrxiv/__init__.py +0 -0
  209. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openrxiv/biorxiv.py +0 -0
  210. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openrxiv/main.py +0 -0
  211. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/openrxiv/medrxiv.py +0 -0
  212. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/recovery.py +0 -0
  213. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/recovery_ai.py +0 -0
  214. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/recovery_channel.py +0 -0
  215. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/recovery_report.py +0 -0
  216. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/scholarone/__init__.py +0 -0
  217. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/scholarone/bioinformatics.py +0 -0
  218. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/scholarone/main.py +0 -0
  219. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/scholarone/nucleic_acids_research.py +0 -0
  220. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/science/__init__.py +0 -0
  221. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/science/science.py +0 -0
  222. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/snapp/__init__.py +0 -0
  223. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/snapp/bmc_bioinformatics.py +0 -0
  224. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/snapp/genome_biology.py +0 -0
  225. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/snapp/main.py +0 -0
  226. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/template/__init__.py +0 -0
  227. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues/template/template.py +0 -0
  228. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/venues.schema.json +0 -0
  229. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/__init__.py +0 -0
  230. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/app.py +0 -0
  231. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/shared.py +0 -0
  232. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/add-venue.html +0 -0
  233. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/add-venue.js +0 -0
  234. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/app.js +0 -0
  235. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/checks.js +0 -0
  236. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/OFL-STIXTwoText.txt +0 -0
  237. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/OFL-SourceSans3.txt +0 -0
  238. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/source-sans-3-latin-ext.woff2 +0 -0
  239. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/source-sans-3-latin.woff2 +0 -0
  240. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/stix-two-text-italic-latin-ext.woff2 +0 -0
  241. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/stix-two-text-italic-latin.woff2 +0 -0
  242. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/stix-two-text-latin-ext.woff2 +0 -0
  243. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/fonts/stix-two-text-latin.woff2 +0 -0
  244. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/index.html +0 -0
  245. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/shared.js +0 -0
  246. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/style.css +0 -0
  247. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/subfile.js +0 -0
  248. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush/web/static/viewer.js +0 -0
  249. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush.egg-info/dependency_links.txt +0 -0
  250. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush.egg-info/entry_points.txt +0 -0
  251. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush.egg-info/requires.txt +0 -0
  252. {paperpush-0.4.0 → paperpush-0.4.2}/paperpush.egg-info/top_level.txt +0 -0
  253. {paperpush-0.4.0 → paperpush-0.4.2}/setup.cfg +0 -0
  254. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_autofill.py +0 -0
  255. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_bibliography_check.py +0 -0
  256. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_check_guidelines.py +0 -0
  257. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_check_submit_walkthrough.py +0 -0
  258. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_cli_web.py +0 -0
  259. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_colorblind.py +0 -0
  260. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_cover_letter_and_counts.py +0 -0
  261. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_editorialmanager_login.py +0 -0
  262. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_filematch.py +0 -0
  263. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_front_matter_check.py +0 -0
  264. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_hidden_text.py +0 -0
  265. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_internals.py +0 -0
  266. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_latex_cleaner.py +0 -0
  267. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_logging.py +0 -0
  268. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_login.py +0 -0
  269. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_nature_biomedical_engineering.py +0 -0
  270. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_nature_machine_intelligence.py +0 -0
  271. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_pick_venue.py +0 -0
  272. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_recovery.py +0 -0
  273. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_recovery_ai.py +0 -0
  274. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_recovery_channel.py +0 -0
  275. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_recovery_coverage.py +0 -0
  276. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_recovery_report.py +0 -0
  277. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_references.py +0 -0
  278. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_requirements.py +0 -0
  279. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_sensitive.py +0 -0
  280. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_skills.py +0 -0
  281. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_submit.py +0 -0
  282. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_template_check.py +0 -0
  283. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_unattended_sign_in.py +0 -0
  284. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_update_guidelines.py +0 -0
  285. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_validate_only_venue.py +0 -0
  286. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_venue_consistency.py +0 -0
  287. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_venue_data.py +0 -0
  288. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_venue_interface.py +0 -0
  289. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_venuefile.py +0 -0
  290. {paperpush-0.4.0 → paperpush-0.4.2}/tests/test_web.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: paperpush
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: A Python library for automating the submission of manuscripts to academic venues.
5
5
  Author-email: Joseph Rich <josephrich98@gmail.com>
6
6
  Maintainer-email: Joseph Rich <josephrich98@gmail.com>
@@ -58,7 +58,9 @@ Prepare manuscripts for submission to preprint servers, journals, and conference
58
58
 
59
59
  PaperPush provides the following services:
60
60
  - A standardized system to share all data submitted to a journal/conference
61
- - Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, anonymization, and much much more — up to 100 checks!
61
+ <!-- BEGIN VALIDATION CHECK COUNT -->
62
+ - Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, and anonymization — 122 distinct validation check types. The checks in a report depend on the venue and files. [See the full list](https://paperpush.readthedocs.io/en/latest/validation-checks.html).
63
+ <!-- END VALIDATION CHECK COUNT -->
62
64
  - A central database of journal/conference manuscript requirements
63
65
  - Automated and fast submission portal filling with deterministic scripts
64
66
  - Free, open-source, actively-maintained, and never stores your data
@@ -142,11 +144,14 @@ Then ask:
142
144
  See [`docs/example-session.md`](docs/example-session.md) for a full worked example of this flow.
143
145
 
144
146
  ## Quickstart
147
+
148
+ Use the agent skill `/paperpush-prepare-submission` to run this entire pipeline.
149
+
145
150
  1. `paperpush subfile VENUE`: creates a file VENUE.sub.txt that is a template for the VENUE submission. Fields are grouped into the same sections for every venue (manuscript type, files, details, authors, reviewers, declarations, additional); add `--venue-order` to list them in the order the venue's portal asks for them instead.
146
151
  2. **fill out VENUE.sub.txt:** Open VENUE.sub.txt in a text editor to edit manually, or run `paperpush web VENUE.sub.txt` to edit in a web browser. Use the agent skill `/paperpush-autofill My manuscript files are in /PATH/TO/MANUSCRIPT/DIRECTORY. Fill out VENUE.sub.txt` or the command `paperpush autofill --engine api -p /PATH/TO/MANUSCRIPT/DIRECTORY ... VENUE.sub.txt` (API) to automatically fill from the manuscript directory with AI. `paperpush autofill` requires the provider's API key. The AI agent may not be able to fill out all fields if some information is not in the manuscript directory.
147
- 3. `paperpush validate VENUE.sub.txt`: run the pre-submission checks on the filled `VENUE.sub.txt`. Use the agent skill `/paperpush-validate` or the CLI flag `--ai` (API) to run checks with AI. The AI checks require the provider's API key.
152
+ 3. `paperpush validate VENUE.sub.txt`: run the pre-submission checks on the filled `VENUE.sub.txt`. Use the agent skill `/paperpush-validate` or the CLI flag `--ai` (API) to run checks with AI. The AI checks require the provider's API key. To check files before making a `.sub`, name them instead: `paperpush validate --manuscript main.tex --title-page title.tex --figures fig1.png fig2.png` runs the checks that apply to any manuscript (links, references, hidden text, citation order, prose, ...), and adding `--venue VENUE` checks them against that venue's author guidelines too. Use the agent skill `/paperpush-fix` to fix the issues validate finds: it edits the manuscript sources and the `.sub`, validates again until nothing fixable is left, and reports what needs your decision.
148
153
  4. `paperpush login VENUE`: log in to the VENUE submission portal.
149
- 5. `paperpush submit VENUE.sub.txt`: Fill out the VENUE submission portal. Will not actually submit the manuscript. We highly recommend reviewing the submission form in the venue portal before clicking submit. Use the agent skill `/paperpush-portal-debug` or the CLI flag `--ai` (API) to have AI fix any issues that may arise. Ignore validation checks with the `--skip-validate` flag.
154
+ 5. `paperpush submit VENUE.sub.txt`: Fill out the VENUE submission portal. Will not actually submit the manuscript. We highly recommend reviewing the submission form in the venue portal before clicking submit. Use the agent skill `/paperpush-submit` to run login and submit on a .sub file. Use the agent skill `/paperpush-portal-debug` or the CLI flag `--ai` (API) to have AI fix any issues that may arise. Ignore validation checks with the `--skip-validate` flag.
150
155
 
151
156
  Helper commands:
152
157
  - `paperpush venues`: List supported venues. Filters combine:
@@ -323,6 +328,8 @@ the tool list and the contract agents should follow.
323
328
  | `/paperpush-prepare-submission` | go from a manuscript directory to a filled-in portal (autofill, validate, submit) |
324
329
  | `/paperpush-autofill` | fill a `.sub` from the manuscript files |
325
330
  | `/paperpush-validate` | run every check, including the ones that need a reader |
331
+ | `/paperpush-fix` | fix what validate flags (in the `.tex`/`.docx` sources and the `.sub`), re-validate until nothing fixable is left, and report what needs the author |
332
+ | `/paperpush-submit` | log in and fill in the portal from a ready `.sub` (optionally skipping validation) — invokes portal-debug if it stalls |
326
333
  | `/paperpush-portal-debug` | get a stalled `paperpush submit` run unstuck |
327
334
  | `/paperpush-add-venue-validate` | add or refresh a venue's author guidelines (contributors) |
328
335
  | `/paperpush-add-venue` | run `/paperpush-add-venue-validate` and add `login` and `submit` support for a venue, with tests (contributors) |
@@ -6,7 +6,9 @@ Prepare manuscripts for submission to preprint servers, journals, and conference
6
6
 
7
7
  PaperPush provides the following services:
8
8
  - A standardized system to share all data submitted to a journal/conference
9
- - Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, anonymization, and much much more — up to 100 checks!
9
+ <!-- BEGIN VALIDATION CHECK COUNT -->
10
+ - Extensive venue-specific manuscript guideline checking including section lengths, reference hallucination, figure resolution, link validation, and anonymization — 122 distinct validation check types. The checks in a report depend on the venue and files. [See the full list](https://paperpush.readthedocs.io/en/latest/validation-checks.html).
11
+ <!-- END VALIDATION CHECK COUNT -->
10
12
  - A central database of journal/conference manuscript requirements
11
13
  - Automated and fast submission portal filling with deterministic scripts
12
14
  - Free, open-source, actively-maintained, and never stores your data
@@ -90,11 +92,14 @@ Then ask:
90
92
  See [`docs/example-session.md`](docs/example-session.md) for a full worked example of this flow.
91
93
 
92
94
  ## Quickstart
95
+
96
+ Use the agent skill `/paperpush-prepare-submission` to run this entire pipeline.
97
+
93
98
  1. `paperpush subfile VENUE`: creates a file VENUE.sub.txt that is a template for the VENUE submission. Fields are grouped into the same sections for every venue (manuscript type, files, details, authors, reviewers, declarations, additional); add `--venue-order` to list them in the order the venue's portal asks for them instead.
94
99
  2. **fill out VENUE.sub.txt:** Open VENUE.sub.txt in a text editor to edit manually, or run `paperpush web VENUE.sub.txt` to edit in a web browser. Use the agent skill `/paperpush-autofill My manuscript files are in /PATH/TO/MANUSCRIPT/DIRECTORY. Fill out VENUE.sub.txt` or the command `paperpush autofill --engine api -p /PATH/TO/MANUSCRIPT/DIRECTORY ... VENUE.sub.txt` (API) to automatically fill from the manuscript directory with AI. `paperpush autofill` requires the provider's API key. The AI agent may not be able to fill out all fields if some information is not in the manuscript directory.
95
- 3. `paperpush validate VENUE.sub.txt`: run the pre-submission checks on the filled `VENUE.sub.txt`. Use the agent skill `/paperpush-validate` or the CLI flag `--ai` (API) to run checks with AI. The AI checks require the provider's API key.
100
+ 3. `paperpush validate VENUE.sub.txt`: run the pre-submission checks on the filled `VENUE.sub.txt`. Use the agent skill `/paperpush-validate` or the CLI flag `--ai` (API) to run checks with AI. The AI checks require the provider's API key. To check files before making a `.sub`, name them instead: `paperpush validate --manuscript main.tex --title-page title.tex --figures fig1.png fig2.png` runs the checks that apply to any manuscript (links, references, hidden text, citation order, prose, ...), and adding `--venue VENUE` checks them against that venue's author guidelines too. Use the agent skill `/paperpush-fix` to fix the issues validate finds: it edits the manuscript sources and the `.sub`, validates again until nothing fixable is left, and reports what needs your decision.
96
101
  4. `paperpush login VENUE`: log in to the VENUE submission portal.
97
- 5. `paperpush submit VENUE.sub.txt`: Fill out the VENUE submission portal. Will not actually submit the manuscript. We highly recommend reviewing the submission form in the venue portal before clicking submit. Use the agent skill `/paperpush-portal-debug` or the CLI flag `--ai` (API) to have AI fix any issues that may arise. Ignore validation checks with the `--skip-validate` flag.
102
+ 5. `paperpush submit VENUE.sub.txt`: Fill out the VENUE submission portal. Will not actually submit the manuscript. We highly recommend reviewing the submission form in the venue portal before clicking submit. Use the agent skill `/paperpush-submit` to run login and submit on a .sub file. Use the agent skill `/paperpush-portal-debug` or the CLI flag `--ai` (API) to have AI fix any issues that may arise. Ignore validation checks with the `--skip-validate` flag.
98
103
 
99
104
  Helper commands:
100
105
  - `paperpush venues`: List supported venues. Filters combine:
@@ -271,6 +276,8 @@ the tool list and the contract agents should follow.
271
276
  | `/paperpush-prepare-submission` | go from a manuscript directory to a filled-in portal (autofill, validate, submit) |
272
277
  | `/paperpush-autofill` | fill a `.sub` from the manuscript files |
273
278
  | `/paperpush-validate` | run every check, including the ones that need a reader |
279
+ | `/paperpush-fix` | fix what validate flags (in the `.tex`/`.docx` sources and the `.sub`), re-validate until nothing fixable is left, and report what needs the author |
280
+ | `/paperpush-submit` | log in and fill in the portal from a ready `.sub` (optionally skipping validation) — invokes portal-debug if it stalls |
274
281
  | `/paperpush-portal-debug` | get a stalled `paperpush submit` run unstuck |
275
282
  | `/paperpush-add-venue-validate` | add or refresh a venue's author guidelines (contributors) |
276
283
  | `/paperpush-add-venue` | run `/paperpush-add-venue-validate` and add `login` and `submit` support for a venue, with tests (contributors) |
@@ -2,7 +2,7 @@
2
2
 
3
3
  import logging
4
4
 
5
- __version__ = "0.4.0"
5
+ __version__ = "0.4.2"
6
6
  __url__ = "https://github.com/pachterlab/paperpush"
7
7
 
8
8
  # Standard-library convention: a library should not configure logging output.
@@ -16,15 +16,19 @@ open the `SKILL.md` and follow it as written.
16
16
 
17
17
  | Skill | What it does | Call it when the user... |
18
18
  | --- | --- | --- |
19
- | `paperpush-prepare-submission` | The whole flow: checks the login, finds or creates the `.sub`, runs autofill, runs validate, then (once the user confirms) runs submit. | asks to prepare, get ready, or submit a manuscript to a venue, and has not named a single step. **Start here when in doubt.** |
19
+ | `paperpush-prepare-submission` | The whole flow: checks the login, finds or creates the `.sub`, runs autofill, runs validate (stopping on errors or more than 5 warnings and offering `paperpush-fix`), then hands off to `paperpush-submit`. | asks to prepare, get ready, or submit a manuscript to a venue, and has not named a single step. **Start here when in doubt.** |
20
20
  | `paperpush-autofill` | Reads the manuscript directory, writes `values.json`, and applies it with `paperpush autofill --engine manual`. Leaves `never` fields for the author. | wants a `.sub` filled from their files, and nothing else yet. |
21
21
  | `paperpush-validate` | Runs `paperpush validate`, then does the checks that need a reader (lettering in raster figures, panel labels, free-text guideline rules, `.sub` vs manuscript) through `--ai-tasks` / `--ai-results`. Optionally saves the report. | asks whether a manuscript or `.sub` is ready, meets a venue's guidelines, or passes validation, or wants the AI checks or a saved report. |
22
+ | `paperpush-fix` | Backs up the files, runs `paperpush validate --json`, finds the editable source behind each file (the `.tex`/`.docx` behind a PDF), fixes the mechanical issues and trims text over a limit by at most 100 words and 50% of the limit, rebuilds the PDF, and validates again, for up to three rounds. Reports what it fixed, what needs the author's decision, and what it can't fix. Never ticks a confirmation or invents content. | asks to fix what validate found, to make a `.sub` pass validation, or to clean up the errors and warnings. |
23
+ | `paperpush-submit` | Takes a filled `.sub` to the portal: re-checks the login (`paperpush login <venue> --check`), confirms with the user, runs `submit` (or `submit(skip_validate=true)` when asked to skip validation), and follows the run, handing a failed step to `paperpush-portal-debug`. Stops before the final submit. | has a `.sub` ready and wants the portal filled in, e.g. "fill out the submission portal to nature", optionally "skip validation". |
22
24
  | `paperpush-portal-debug` | Gets a stalled `paperpush submit` run past the failing step on the live page (`submit_page` / `submit_act` / `submit_resume`), logs every runner change it needs, and puts those changes into the runner with a test when working in a source checkout. Never sends the submission. | reports that `submit` is stuck, failed at a step, or hit a portal that changed. Also use it yourself whenever `submit_status` shows `recovery.paused`. |
23
25
  | `paperpush-add-venue-validate` | Reads a venue's author guidelines and records them in `manuscript_requirements.json`, and its basic submission fields in `submission_forms.json`, through a venue file and `paperpush add-venue`. For an existing venue, re-reads the pages and updates what changed. | wants a venue that `validate` can check against, or wants a venue's guidelines, limits, or rules added or refreshed. *Contributor skill: needs a clone of the repo.* |
24
26
  | `paperpush-add-venue` | Full `submit` support: a `Venue` class with Playwright `login()` / `submit()`, the portal's fields, a sample `.sub` with generated documents, unit tests, and a live run that stops before the final submit. For an existing runner, runs its tests and fixes what fails. Has the user create an account and run `paperpush login` rather than handing over a password. | wants to submit to a venue paperpush can't submit to yet, or reports that a venue's runner or tests are broken. Runs `paperpush-add-venue-validate` first if the venue has no guidelines entry yet. *Contributor skill: needs a clone of the repo.* |
25
27
 
26
28
  The skills call each other where the steps overlap: `prepare-submission` runs
27
- `autofill` and `validate`; `add-venue` runs `add-venue-validate`, and uses
29
+ `autofill`, `validate`, and `submit`, and offers `fix` when validate stops it; `fix` uses `validate`'s AI-check steps
30
+ in its first and last rounds; `submit` uses `portal-debug` for a
31
+ step that fails; `add-venue` runs `add-venue-validate`, and uses
28
32
  `portal-debug` for a live step that stalls. Don't run the same step twice.
29
33
 
30
34
  ### Installing the skills
@@ -287,23 +291,35 @@ cites no references (and is structured when the venue asks), the manuscript
287
291
  gives a contact e-mail, every reference is cited, and self-citations are not
288
292
  excessive; and proofreads the prose mechanically (double spaces, repeated
289
293
  words, punctuation spacing, unbalanced brackets and quotes, common
290
- misspellings, repetitive word choice). Warnings from this
294
+ misspellings, repetitive word choice, numbers of 10 or more in digits,
295
+ abbreviations written one way, acronyms spelled out at first use), queuing
296
+ spelling, grammar, and tense as the AI check `ai.prose`. Warnings from this
291
297
  pass are heuristics over extracted text and images: relay them to the user as
292
298
  things to confirm, not as blockers. `--dont-check-manuscript` skips the pass.
293
299
 
300
+ Files can be validated without a `.sub`: `paperpush validate --manuscript FILE
301
+ [--title-page FILE] [--cover-letter FILE] [--figures FILE ...] [--tables FILE
302
+ ...] [--supplement FILE ...] [--venue VENUE]` (MCP: the same names as arguments
303
+ to `validate_subfile` and `validation_ai_tasks`, with `subfile` left out).
304
+ With `--venue` the files are checked against its author guidelines; without
305
+ it only the general checks run (links, references, hidden text, citation
306
+ order, prose, ...). The form checks are reported as not applicable either way,
307
+ so this is a check of the files, not a verdict on the submission. With a
308
+ `.sub`, a file flag replaces that file's path. See `paperpush.file_inputs`.
309
+
294
310
  ## The report, and the checks you run yourself
295
311
 
296
312
  `validate` reports every check as passed, failed, warning, could not run, needs
297
313
  AI, not implemented, or not applicable (MCP: `checks` in the `validate_subfile`
298
314
  result). `-o` saves the report (PDF by default; `.html`/`.md`/`.txt` by
299
- extension); `--colorblind` is the colour-blind-friendly palette.
315
+ extension); `--colorblind` is the color-blind-friendly palette.
300
316
  When the venue lets the initial submission be in any format
301
317
  (`manuscript.initial_submission_any_format`), the report opens with that rule
302
318
  (MCP: `initial_submission_rule`); `--initial-submission` (MCP:
303
319
  `initial_submission=true`) reports every error as a warning for a first
304
320
  submission. Use it only when the author says this is an initial submission.
305
321
 
306
- Checks that need a reader's judgement -- lettering in raster figures, a postal
322
+ Checks that need a reader's judgment -- lettering in raster figures, a postal
307
323
  address on the title page, tables pasted as images, the venue's free-text
308
324
  guideline rules, whether each `.sub` field means what the manuscript says --
309
325
  come back as **needs AI**. Do them yourself rather than asking the user for an
@@ -364,7 +380,8 @@ since a leak can get a paper desk-rejected.
364
380
  - **OpenReview profiles** (OpenReview venues: ICLR, AAAI;
365
381
  `--dont-check-openreview-profiles` skips it). Each author is looked up
366
382
  through the OpenReview API using the stored `paperpush login`. Reported:
367
- missing, ambiguous, or inactive profiles, name or email-suffix mismatches, no
383
+ a missing Open Review ID (always a warning, even when the name matches one
384
+ profile), missing, ambiguous, or inactive profiles, name or email-suffix mismatches, no
368
385
  current position, and reviewers without DBLP or expertise. Messages start
369
386
  with `openreview:`. Without a stored login the check is skipped with a note;
370
387
  that is another reason to have the user log in first. Profile fixes happen on
@@ -88,6 +88,10 @@ Read the whole file first. Every key has a comment describing it.
88
88
  that differ. NAME must match an option of the article-type field exactly.
89
89
  - If the guidelines let the initial submission be in any format, put that rule
90
90
  in one sentence in `manuscript.initial_submission_any_format`.
91
+ - If the guidelines (or their style or language page) say how to write large
92
+ numbers ("1,000" or "1000", "10,000" or "10 000"), set
93
+ `manuscript.thousands_separator` and `manuscript.group_four_digit_numbers`.
94
+ Otherwise leave them empty; `validate` then checks only for consistency.
91
95
  - If a template is mandatory and the official LaTeX template is public, compile
92
96
  it unmodified in review mode and run
93
97
  `python scripts/measure_template.py <pdf> --running-head "<head>"`. Paste the
@@ -0,0 +1,258 @@
1
+ ---
2
+ name: paperpush-fix
3
+ description: >-
4
+ Fix what `paperpush validate` flags in a .sub's files, then validate again,
5
+ for up to three rounds, until only the issues the author has to decide or
6
+ fix remain. Backs up every file first, finds the editable source behind each
7
+ file (the .tex or .docx behind a PDF), makes the mechanical fixes and the
8
+ small trims (an abstract a few words over its limit), rebuilds the PDF, and
9
+ reports separately what it fixed, what needs the author's decision (a
10
+ manuscript thousands of words over its limit), and what it cannot fix. Never
11
+ ticks a confirmation or invents content. Triggers: "fix the validate
12
+ errors", "fix what validate found", "make my sub pass validation", "clean up
13
+ the validation warnings", "paperpush-fix".
14
+ ---
15
+
16
+ # paperpush fix (Claude skill)
17
+
18
+ `paperpush validate` finds problems; this skill fixes the ones that can be
19
+ fixed safely and reports the rest. It works in rounds: validate, fix,
20
+ validate again, until a round leaves nothing it can fix.
21
+
22
+ Not every issue should be fixed by an agent. Going from 3,005 words to 3,000
23
+ is copy-editing. Going from 10,000 to 3,000 means rewriting the paper, and
24
+ that is the author's job. Each issue goes into one of three tiers (step 3),
25
+ and only tiers 1 and 2 are edited.
26
+
27
+ ## Inputs
28
+
29
+ - The `.sub` file (absolute path). If the user named only a manuscript
30
+ directory, use the `<venue>.sub.txt` in it. With no `.sub`, run
31
+ `paperpush-validate` instead: this skill needs the `.sub` to know which
32
+ files belong to the submission.
33
+ - **Whether to make edits at all.** If they asked "what can be fixed?", do a
34
+ dry run: steps 1–3 only, then report the plan.
35
+ - Flags they passed to validate before (`--initial-submission`,
36
+ `--dont-check-links`, `--anonymous`, ...). Pass the same flags in every round.
37
+
38
+ ## Step 0: back up every file you might edit
39
+
40
+ Always, even when the files are in git. Before the first edit, copy the
41
+ `.sub` and each source file you might change (`.tex` files including the
42
+ `\input` ones, `.bib`, `.docx`, `.md`) to
43
+ `<sub dir>/.paperpush-backup/<YYYYmmdd-HHMMSS>/`, keeping their names (and
44
+ their relative paths, for files in subdirectories). One backup per run,
45
+ taken before round 1; later rounds don't back up again. Never put the backups
46
+ where the `.sub` points, and never overwrite an earlier backup.
47
+
48
+ ## Step 1: validate and read the JSON
49
+
50
+ ```
51
+ paperpush validate <abs .sub> --json <scratch>/round1.json --ai-tasks <scratch>/tasks.json [the user's flags]
52
+ ```
53
+
54
+ (MCP: `validate_subfile(subfile)`; its `checks` carry the same issues.)
55
+
56
+ In `round1.json`, `checks[]` gives each check's `id`, `status` (`failed`,
57
+ `warning`, `unchecked`, `needs_ai`, `passed`, ...) and `issues[]`, each with
58
+ `level`, `field` (the `.sub` field), and `message`. A limit issue states both
59
+ numbers in its message: "Abstract: 312 words exceeds the 250-word limit",
60
+ "Title: 160 characters exceeds the 150-character limit", "7 keywords given;
61
+ the author guidelines allow at most 6", "14 pages exceeds the 12-page limit".
62
+
63
+ Do the AI tasks in round 1 the way `paperpush-validate` step 2 describes and
64
+ merge them with `--ai-results`. Their `fail` details (a typo, a reference
65
+ that appears not to exist, a figure label that is too small) go into the
66
+ triage like any other issue. In later rounds, run the deterministic checks
67
+ only (no `--ai-tasks`). The AI checks run again in the final round.
68
+
69
+ ## Step 2: find the editable source of every file you'll touch
70
+
71
+ The `.sub` often points at a PDF, which you can't edit. For each manuscript,
72
+ title page, cover letter, or supplement that has a fixable issue, look for
73
+ its source in this order:
74
+
75
+ 1. A file with the same stem next to it: `paper.pdf` → `paper.tex`,
76
+ `paper.docx`, `paper.md`.
77
+ 2. A source the `.sub` names elsewhere (a `.zip` LaTeX bundle, a source-files
78
+ field), or that another `.sub` path sits beside.
79
+ 3. The `.sub`'s directory and the manuscript directory: the `.tex` with
80
+ `\begin{document}` (the main file, not an `\input`/`\include` file), or
81
+ the `.docx` whose text matches the PDF's first page.
82
+
83
+ Confirm a match: the title and the first paragraph should be the same as the
84
+ PDF's. With LaTeX, follow `\input`/`\include` to the file that actually holds
85
+ the text you need to change, and edit the `.bib` named by
86
+ `\bibliography`/`\addbibresource` for reference issues. Never edit `.cls`,
87
+ `.sty`, `.bst`, `.bbl`, or anything under the figures directory.
88
+
89
+ No source found: every issue in that file that needs a text edit goes to
90
+ tier 3, with the reason "no editable source (.tex/.docx) found for
91
+ <file>". Never edit a PDF's text.
92
+
93
+ ## Step 3: put each issue in a tier
94
+
95
+ **The size rule.** A limit issue is too big to fix when it is over by more
96
+ than 100 words, or by more than 50% of the limit. Characters count the same
97
+ way, at about 6 characters a word (more than 600 characters over is too big).
98
+ For counts (keywords and the like), more than 50% over is too big. Page
99
+ limits are always too big: the edits needed to drop a page are a rewrite.
100
+
101
+ | Over by | Example | Tier |
102
+ | --- | --- | --- |
103
+ | ≤ 100 words and ≤ 50% of the limit | 3,005 for 3,000; 280 for a 250-word abstract | 2: trim it |
104
+ | > 100 words | 3,150 for 3,000 | 3: report |
105
+ | > 50% of the limit | 22 words for a 12-word title; 10,000 for 3,000 | 3: report |
106
+
107
+ **Tier 1: fix it without asking.** Mechanical problems with exactly one
108
+ correct fix:
109
+
110
+ | Check ids | Fix |
111
+ | --- | --- |
112
+ | `prose.*` (double spaces, repeated words, spacing around punctuation, unbalanced brackets or quotes, common misspellings, numbers, acronyms not defined at first use) | Edit the source at the spot the message quotes, following the editing rules in step 4. |
113
+ | `consistency.title`, `consistency.abstract`, `consistency.keywords`, `consistency.authors`, `consistency.statements`, `consistency.display_counts`, `consistency.word_counts` | The manuscript is the source of truth. Change the `.sub` to match it (`paperpush autofill --engine manual --values <values.json>` with just those fields, or edit the field directly). If the manuscript is the one that's wrong (a stated word count that is out of date), fix the manuscript. |
114
+ | `form.options`, `form.schema` (an option spelled slightly off, an unknown field that is a typo of a real one) | Use the exact option from `paperpush options <venue> <field>`, or the field name the error suggests. Only when exactly one option is clearly meant. |
115
+ | `integrity.dois`, `integrity.unmatched_references`, `integrity.reference_versions` (a wrong or missing DOI, a preprint that has since been published) | Fix the `.bib`. Fetch the record from the registry (`https://api.crossref.org/works/<doi>`, or a search with `query.bibliographic=<title author year>`) and change only the fields the issue names. A DOI goes in only if the record's title, first author, and year match the entry. |
116
+ | `citations.cross_references` (`??` in the PDF) | Rebuild the LaTeX (step 5), or fix the `\ref` whose label is misspelled. |
117
+
118
+ **Tier 2: fix within the size rule, and show the diff.**
119
+
120
+ - **Words or characters over the limit** (abstract, title, running title,
121
+ manuscript, cover letter, figure legends). Trim to just under the limit,
122
+ aiming about 1% below it, because word counters differ. Cut redundancy,
123
+ filler, and repeated setup. Keep every result, number, claim, citation, and
124
+ defined term. For the manuscript, take the words from the sections the
125
+ limit counts ("before references" or "in the main text" in the message),
126
+ preferably the Introduction and Discussion, never Methods details.
127
+ - **Keywords over the limit:** drop the least specific ones (the ones that
128
+ repeat words in the title), and say which.
129
+ - **`front_matter.abstract_citations`** (a citation in the abstract): remove
130
+ the citation and keep the sentence, if it reads correctly without it.
131
+
132
+ **Tier 3: report it, don't fix it.** The author has to decide or supply
133
+ these:
134
+
135
+ - Anything the size rule says is too big, and every page limit.
136
+ - Too many references, figures, tables, display items, or supplementary
137
+ files. Removing those changes the science.
138
+ - Confirmations and attestations (`form.required` on a yes/no or a
139
+ confirmation): never tick them for the author.
140
+ - Missing content the files don't contain: ethics approval, funding, data
141
+ availability, competing interests, ORCIDs, e-mail addresses,
142
+ `front_matter.contact_email`, `guidelines.statements`/`guidelines.sections`
143
+ for a missing section. You may draft text the manuscript fully supports
144
+ (for example, a data-availability statement that repeats what Methods says
145
+ about the repository) and present it as a suggestion. Don't insert it.
146
+ - `integrity.retractions` (a retracted reference), and references that
147
+ appear not to exist (`ai.unverified_references` fail).
148
+ - Figures: low resolution (`figures.min_dpi*`, `figures.dpi`), lettering too
149
+ small, colors that are hard to tell apart under color blindness
150
+ (`figures.colorblind`), panel labels, panels cited out of order
151
+ (`citations.panels`). Never upsample, resample, or repaint a figure; the
152
+ fix is to export it again from the source, which the author has.
153
+ - Layout and template (`layout.*`, `guidelines.template`): changing the
154
+ margins, font, or class changes the paper's look everywhere. Report the
155
+ one-line change (e.g. `\usepackage[margin=1in]{geometry}`) for the author
156
+ to apply.
157
+ - `details.word_cleanliness` (tracked changes or comments left in a `.docx`):
158
+ whether to accept or reject them is the author's call.
159
+ - `integrity.sensitive`, `integrity.hidden_text`, `integrity.anonymity`:
160
+ report them with the location.
161
+ - `files.uploads` (a missing file), `guidelines.formats` (wrong file type):
162
+ name the file to supply or the export to make.
163
+ - `unchecked` and `not_implemented` checks: say what could not be checked
164
+ and why, as `paperpush-validate` does.
165
+ - A sentence whose meaning is unclear, where a fix would mean guessing what
166
+ the author meant.
167
+
168
+ When in doubt, choose tier 3.
169
+
170
+ ## Step 4: apply the fixes
171
+
172
+ - **One issue, one edit.** Change only what the issue needs. Work sentence
173
+ by sentence so each edit is small and reviewable.
174
+ - **Keep the author's voice and terminology.** Don't swap synonyms for taste,
175
+ shorten sentences that aren't over a limit, or fix things validate didn't
176
+ flag.
177
+ - **Leave alone** everything inside math, code, `\cite{}`, `\ref{}`,
178
+ `\label{}`, URLs, file names, and verbatim environments; quotations; titles
179
+ of cited works; proper names.
180
+ - **Acronyms:** define at first use in the main text as `full term
181
+ (ACRONYM)`, and separately in the abstract if the abstract uses it. Don't
182
+ define terms everyone knows (DNA, RNA, MRI, GPU, PCR).
183
+ - **Numbers:** follow the convention the prose check names; don't start a
184
+ sentence with a digit (rephrase instead: "A total of 15 patients ...").
185
+ - **LaTeX:** edit the `.tex`/`.bib` text directly. Leave comments, macros,
186
+ and formatting alone, and keep braces balanced.
187
+ - **Word:** edit the `.docx` with python-docx, run by run, so formatting
188
+ stays (or convert with pandoc only if python-docx is unavailable, and say
189
+ so). Don't turn on tracked changes: `details.word_cleanliness` would then
190
+ flag the file.
191
+ - **Text that appears in two places:** the abstract and title appear in both
192
+ the manuscript and the `.sub`. Change both the same way in the same round,
193
+ or `consistency.*` fails next round.
194
+ - **Keep a log:** for each edit, the issue (check id and message), the file
195
+ and line, and the before/after text. The final report is built from it.
196
+
197
+ ## Step 5: rebuild what the `.sub` points at
198
+
199
+ If the `.sub` names a PDF built from a `.tex` you edited, rebuild it in the
200
+ source's directory (`latexmk -pdf <main>.tex`, or the build command in the
201
+ project's `Makefile`/`latexmkrc`). Then check that the PDF the `.sub` names
202
+ is the one you just built. A failed build means an edit broke something:
203
+ undo that edit (from the backup, or by reversing it) and move the issue to
204
+ tier 3. If the `.sub` names a PDF exported from a `.docx`, you can't rebuild
205
+ it: tell the author to export it again, and validate the `.docx` alone in
206
+ the meantime (`paperpush validate --venue <venue> --manuscript <abs .docx>`).
207
+
208
+ ## Step 6: validate again, at most three rounds
209
+
210
+ ```
211
+ paperpush validate <abs .sub> --json <scratch>/round<N>.json [the user's flags]
212
+ ```
213
+
214
+ Compare the issues with the previous round, keyed by (check id, field,
215
+ message). Stop when:
216
+
217
+ - no tier 1 or tier 2 issue is left, or
218
+ - a round fixed nothing new (the same issues came back), or
219
+ - three rounds have run.
220
+
221
+ An issue that a fix *created* (a trim that made the abstract inconsistent
222
+ with the `.sub`, a reference edit that broke a citation key) belongs to this
223
+ skill: fix it in the next round, or undo the edit that caused it. If two
224
+ fixes keep undoing each other, undo both and move them to tier 3.
225
+
226
+ Then run the final round with the AI checks, as in step 1 (`--ai-tasks`,
227
+ your verdicts, `--ai-results`), and save a report if the user asked (`-o`).
228
+
229
+ ## Step 7: report
230
+
231
+ In this order:
232
+
233
+ 1. **Result**: passes or doesn't, the error/warning counts before and after,
234
+ and how many rounds ran.
235
+ 2. **Fixed**: grouped by file, each with its check id and a short
236
+ before → after. For tier 2 trims, show the full diff of the changed
237
+ sentences and the new count against the limit.
238
+ 3. **Needs your decision**: tier 3 issues with a suggestion, e.g. "the
239
+ manuscript is 10,412 words before references; the limit is 3,000. That is
240
+ 7,412 over, too much to trim without your input. The Discussion (3,900
241
+ words) is the longest section." Include any statement you drafted.
242
+ 4. **Can't fix here**: missing files, figures to export again, things that
243
+ couldn't be checked, each with the reason.
244
+ 5. Where the backup is (`<sub dir>/.paperpush-backup/<timestamp>/`), and
245
+ where the saved report is.
246
+
247
+ ## Rules
248
+
249
+ - Back up before the first edit, every time.
250
+ - Never tick a confirmation, attestation, or yes/no answer for the author.
251
+ - Never invent content: no statements, affiliations, ORCIDs, DOIs, or
252
+ references the files or registries don't support.
253
+ - Never edit figure pixels, and never edit a PDF's text.
254
+ - Never add hidden text or reviewer instructions anywhere.
255
+ - Never delete a reference, figure, table, or section to get under a limit.
256
+ - Keep task, result, and JSON files in a scratch directory, not the
257
+ manuscript directory.
258
+ - Use absolute paths.
@@ -37,6 +37,11 @@ the recovery part of `AGENTS.md` first.
37
37
 
38
38
  ## 1. Reproduce once, paused instead of failed
39
39
 
40
+ **Handed a run that is already paused** (from `paperpush-submit`, with a
41
+ `pid`): do not start a new one. Call `submit_status(pid)` to read
42
+ `recovery.paused` and go straight to step 2. Once it reaches the review
43
+ page, wait for the author: they review and send it themselves.
44
+
40
45
  Find the `.sub`, the venue, and where the run stopped (the user's output, or
41
46
  the last `step(...)` label in the runner). Read the runner around that step
42
47
  before you open anything.
@@ -67,7 +72,7 @@ time, and resume it rather than restarting from the beginning.
67
72
  leaves the page as the failed step should have left it. Target controls by
68
73
  role and name where you can (`{"role": "button", "name": "Next"}`).
69
74
  4. `submit_resume(pid, "resolved" | "retry", note)`. In `note`, give the old
70
- selector or behaviour, the new one, and what you did. The note goes into
75
+ selector or behavior, the new one, and what you did. The note goes into
71
76
  `recoveries.jsonl` and is how the fix gets into the runner.
72
77
 
73
78
  Repeat for each pause until the run reaches the review page. For a
@@ -3,7 +3,9 @@ name: paperpush-prepare-submission
3
3
  description: >-
4
4
  End-to-end paperpush submission flow from a manuscript directory: resolve
5
5
  the .sub (user-provided, else an existing one in the manuscript directory, else
6
- created on the fly), autofill it, validate, then log in and submit. Use for a
6
+ created on the fly), autofill it, validate (offering paperpush-fix when
7
+ validate finds errors or more than 5 warnings), then hand off to
8
+ paperpush-submit to log in and fill the portal. Use for a
7
9
  general "prepare/submit my manuscript" request. Triggers: "prepare my
8
10
  manuscript for submission to <venue>", "submit my manuscript to <venue>",
9
11
  "get my paper ready to submit with paperpush".
@@ -13,9 +15,13 @@ description: >-
13
15
 
14
16
  Orchestrates the full submission path for a manuscript directory when the user
15
17
  has **not** named a `.sub` file. It generates the `.sub`, hands off to the
16
- `paperpush-autofill` skill to fill it, validates, and then (with the user's
17
- go-ahead) logs in and submits. This skill only sequences the steps; each
18
- underlying `paperpush` command does the real work.
18
+ `paperpush-autofill` skill to fill it, validates (through `paperpush-validate`),
19
+ and then hands off to the `paperpush-submit` skill to check the login and fill
20
+ in the portal. This skill only sequences the steps; the other skills and the
21
+ `paperpush` commands do the real work.
22
+
23
+ If the user already has a filled `.sub` and only wants it sent to the portal,
24
+ use `paperpush-submit` directly instead.
19
25
 
20
26
  ## Inputs you need
21
27
 
@@ -60,7 +66,11 @@ fly. See step 1.
60
66
  and run it again.
61
67
 
62
68
  Then **carry on with steps 1-3 anyway** while they do it; a missing login
63
- only blocks step 5. Never ask for their password in the chat.
69
+ only blocks step 4. Never ask for their password in the chat.
70
+
71
+ Skip this step for a validate-only venue (`paperpush venues` marks them;
72
+ `submit` cannot fill their portal). Tell the user that up front, and stop
73
+ after step 3.
64
74
 
65
75
  1. **Resolve the `.sub` by hierarchy** (user-provided > in manuscript dir >
66
76
  create on the fly):
@@ -94,54 +104,37 @@ fly. See step 1.
94
104
  the same `.sub`; it does them itself, with no API key, and merges the
95
105
  verdicts into the report.
96
106
 
97
- If validation reports errors, **stop here.** Report the exact errors and the
98
- review-flagged / `never` fields the autofill skill left for the user, and do
99
- not proceed to login or submit until they are resolved. A file with
100
- validation errors will not submit. Relay warnings (including failed AI
101
- checks) as things for the user to confirm.
102
-
103
- 4. **Confirm the login still works.** Run:
104
-
105
- ```
106
- paperpush login <venue> --check
107
- ```
108
-
109
- This signs in headless with the stored credentials, so it also catches a
110
- password changed since they logged in (`--list` and `--status` only show
111
- that something is stored). Exit 0 means go on to step 5; a printed note
112
- that the venue "could not be checked" also counts as a pass. Exit 1 means
113
- nothing is stored or the sign-in failed: stop and wait, and repeat the
114
- step-0 ask (including the registration note) that the user run
115
- `paperpush login <venue>` in their terminal. Over MCP, call
116
- `login_status(venue=..., check=true)` instead: `check.status` `ok` or
117
- `unchecked` is a pass; `failed` or `timed_out` means ask for the login. If `--check` fails only
118
- because the venue shows a CAPTCHA or two-factor prompt, that interactive
119
- login is also the fix. Logging in is theirs to drive; do not run it for
120
- them.
121
-
122
- 5. **Submit (only after the user confirms).** Submitting is outward-facing.
123
- Confirm explicitly first, then run:
124
-
125
- ```
126
- paperpush submit <resolved-sub-path>
127
- ```
128
-
129
- This opens a headed browser and walks the portal wizard, stopping before the
130
- final click so the user reviews everything in the submission system. Make
131
- clear that the final submit is theirs to click.
132
-
133
- If the paperpush MCP tools are connected, use the `submit` tool instead. A
134
- step that fails pauses the run
135
- rather than ending it. `submit_status` then shows `recovery.paused`. Look at
136
- the page with `submit_page`, fix it with `submit_act`, and continue with
137
- `submit_resume` (put what had changed in `note`). Tell the user what you
138
- fixed. Never try to send the submission; it is refused anyway.
139
-
140
- Fix a failing step on the live page, never by editing paperpush's installed
141
- code. If steps needed recovery, then once the user is done, offer them the
142
- redacted bug report: `recovery_report(pid)` (CLI: `paperpush
143
- recovery-report <dir>`). Show them the draft and give them the issue link to
144
- file it themselves if they want the venue fixed for everyone.
107
+ Then decide whether to go on, from the counts in the merged report (failed
108
+ AI checks count as warnings):
109
+
110
+ - **Errors, or more than 5 warnings: stop here.** Summarize them in three
111
+ groups: must fix (errors), worth checking (warnings, deterministic first,
112
+ then AI), and could not be checked. Add the review-flagged / `never`
113
+ fields the autofill skill left for the user. Then ask whether to run the
114
+ `paperpush-fix` skill on the `.sub`: it backs up the files, fixes what it
115
+ safely can in the manuscript sources and the `.sub`, validates again, and
116
+ reports what needs the user. Ask rather than run it, because it edits the
117
+ manuscript. If they say yes, invoke `paperpush-fix` (via the Skill tool)
118
+ and relay its report, then apply this same rule to its final validation.
119
+ If they say no, leave the fixes to them. Either way, do not go on to step
120
+ 4 while any error remains: a file with validation errors will not submit.
121
+ With no errors left and more than 5 warnings, go on only if the user says
122
+ to continue anyway.
123
+ - **No errors and 5 warnings or fewer:** list the warnings as things for
124
+ the user to confirm, and ask whether to continue to the portal anyway
125
+ before step 4. With no warnings at all, go straight on.
126
+
127
+ **If the user asked to skip validation** ("skip validation", "submit
128
+ anyway"), do not run this step. Go straight to step 4 and pass the request
129
+ on.
130
+
131
+ 4. **Log in and fill the portal.** Invoke the `paperpush-submit` skill (via
132
+ the Skill tool) with the resolved `.sub` path, and say whether the user
133
+ asked to skip validation. It re-checks the login with
134
+ `paperpush login <venue> --check`, confirms with the user, runs `submit`,
135
+ and follows the run, handing a failed step to `paperpush-portal-debug`.
136
+ Relay its summary. The final submit is the
137
+ user's to click.
145
138
 
146
139
  ## Rules
147
140
 
@@ -150,11 +143,14 @@ fly. See step 1.
150
143
  - Generate the `.sub` in the manuscript directory, not the working directory.
151
144
  - Check `paperpush login --list` up front and surface a missing login
152
145
  immediately (with the register-first note), so the user can log in while
153
- you do the rest of the work. Re-check with `paperpush login <venue> --check`
154
- before submitting.
146
+ you do the rest of the work.
155
147
  - Never run `paperpush login` yourself — it is interactive and belongs in the
156
148
  user's terminal.
157
- - Do not run `submit` without explicit user confirmation, and never past a
158
- failed `validate`.
159
- - Delegate all field extraction to `paperpush-autofill`; do not duplicate its
160
- logic here.
149
+ - Never go on to `paperpush-submit` past a failed `validate`, or past warnings
150
+ the user has not seen and agreed to continue with, unless the user asked to
151
+ skip validation.
152
+ - Offer `paperpush-fix` before running it; never edit the manuscript without
153
+ the user's go-ahead.
154
+ - Delegate field extraction to `paperpush-autofill`, the reader checks to
155
+ `paperpush-validate`, fixing to `paperpush-fix`, and login + submit to
156
+ `paperpush-submit`; do not duplicate their logic here.