certo 0.2.3__tar.gz → 0.2.4__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 (313) hide show
  1. {certo-0.2.3 → certo-0.2.4}/.env.example +12 -2
  2. {certo-0.2.3 → certo-0.2.4}/PKG-INFO +19 -14
  3. {certo-0.2.3 → certo-0.2.4}/README.md +18 -13
  4. {certo-0.2.3 → certo-0.2.4}/pyproject.toml +14 -1
  5. {certo-0.2.3 → certo-0.2.4}/src/certo/__init__.py +1 -1
  6. {certo-0.2.3 → certo-0.2.4}/src/certo/api.py +16 -2
  7. certo-0.2.4/src/certo/ask_cmd.py +419 -0
  8. {certo-0.2.3 → certo-0.2.4}/src/certo/bench.py +85 -18
  9. {certo-0.2.3 → certo-0.2.4}/src/certo/bench_config.py +20 -1
  10. {certo-0.2.3 → certo-0.2.4}/src/certo/catalog_check.py +20 -10
  11. {certo-0.2.3 → certo-0.2.4}/src/certo/catalog_report.py +51 -0
  12. {certo-0.2.3 → certo-0.2.4}/src/certo/cli.py +300 -42
  13. certo-0.2.4/src/certo/computed_ratings.py +369 -0
  14. {certo-0.2.3 → certo-0.2.4}/src/certo/config.py +12 -0
  15. certo-0.2.4/src/certo/data/model_data.json +4347 -0
  16. certo-0.2.3/src/certo/examples/models_list.yaml.example → certo-0.2.4/src/certo/data/models_list.yaml +117 -43
  17. certo-0.2.3/src/certo/examples/task_profiles.yaml.example → certo-0.2.4/src/certo/data/task_profiles.yaml +12 -5
  18. certo-0.2.4/src/certo/docs_index.py +211 -0
  19. certo-0.2.4/src/certo/docs_source.py +179 -0
  20. {certo-0.2.3 → certo-0.2.4}/src/certo/escalation.py +53 -2
  21. {certo-0.2.3 → certo-0.2.4}/src/certo/init_cmd.py +14 -2
  22. {certo-0.2.3 → certo-0.2.4}/src/certo/init_models.py +8 -8
  23. {certo-0.2.3 → certo-0.2.4}/src/certo/llm.py +13 -0
  24. {certo-0.2.3 → certo-0.2.4}/src/certo/mcp_server.py +217 -26
  25. {certo-0.2.3 → certo-0.2.4}/src/certo/menus.py +71 -9
  26. certo-0.2.4/src/certo/milestone_planner.py +198 -0
  27. {certo-0.2.3 → certo-0.2.4}/src/certo/milestones.py +9 -0
  28. {certo-0.2.3 → certo-0.2.4}/src/certo/model_catalog.py +46 -3
  29. certo-0.2.4/src/certo/model_data.py +222 -0
  30. {certo-0.2.3 → certo-0.2.4}/src/certo/model_files.py +13 -5
  31. {certo-0.2.3 → certo-0.2.4}/src/certo/model_price_check.py +3 -3
  32. {certo-0.2.3 → certo-0.2.4}/src/certo/model_pricing.py +1 -1
  33. {certo-0.2.3 → certo-0.2.4}/src/certo/model_selection.py +31 -0
  34. {certo-0.2.3 → certo-0.2.4}/src/certo/models_choose.py +83 -7
  35. {certo-0.2.3 → certo-0.2.4}/src/certo/models_cmd.py +244 -5
  36. {certo-0.2.3 → certo-0.2.4}/src/certo/project_state.py +2 -2
  37. certo-0.2.4/src/certo/ratings.py +157 -0
  38. certo-0.2.4/src/certo/report_cmd.py +324 -0
  39. {certo-0.2.3 → certo-0.2.4}/src/certo/result.py +36 -1
  40. {certo-0.2.3 → certo-0.2.4}/src/certo/run_progress.py +58 -3
  41. {certo-0.2.3 → certo-0.2.4}/src/certo/run_report.py +21 -0
  42. {certo-0.2.3 → certo-0.2.4}/src/certo/runner.py +56 -17
  43. {certo-0.2.3 → certo-0.2.4}/src/certo/runs.py +143 -7
  44. {certo-0.2.3 → certo-0.2.4}/src/certo/server.py +2 -1
  45. certo-0.2.4/src/certo/session.py +530 -0
  46. certo-0.2.4/src/certo/session_screen.py +402 -0
  47. certo-0.2.4/tests/test_ask_cmd.py +325 -0
  48. {certo-0.2.3 → certo-0.2.4}/tests/test_bench.py +104 -0
  49. {certo-0.2.3 → certo-0.2.4}/tests/test_bench_config.py +3 -3
  50. {certo-0.2.3 → certo-0.2.4}/tests/test_catalog_check.py +18 -2
  51. {certo-0.2.3 → certo-0.2.4}/tests/test_cli.py +284 -1
  52. certo-0.2.4/tests/test_computed_ratings.py +322 -0
  53. {certo-0.2.3 → certo-0.2.4}/tests/test_docs.py +4 -0
  54. certo-0.2.4/tests/test_docs_source.py +129 -0
  55. {certo-0.2.3 → certo-0.2.4}/tests/test_escalation.py +58 -0
  56. {certo-0.2.3 → certo-0.2.4}/tests/test_escalation_runner.py +65 -9
  57. {certo-0.2.3 → certo-0.2.4}/tests/test_mcp_server.py +248 -0
  58. {certo-0.2.3 → certo-0.2.4}/tests/test_menus.py +72 -0
  59. certo-0.2.4/tests/test_milestone_planner.py +204 -0
  60. {certo-0.2.3 → certo-0.2.4}/tests/test_model_catalog.py +14 -15
  61. certo-0.2.4/tests/test_model_data.py +110 -0
  62. {certo-0.2.3 → certo-0.2.4}/tests/test_model_files.py +3 -1
  63. {certo-0.2.3 → certo-0.2.4}/tests/test_model_layers.py +1 -1
  64. {certo-0.2.3 → certo-0.2.4}/tests/test_model_price_check.py +1 -7
  65. {certo-0.2.3 → certo-0.2.4}/tests/test_packaging.py +17 -5
  66. {certo-0.2.3 → certo-0.2.4}/tests/test_project_models.py +96 -0
  67. certo-0.2.4/tests/test_ratings.py +96 -0
  68. certo-0.2.4/tests/test_report_cmd.py +166 -0
  69. {certo-0.2.3 → certo-0.2.4}/tests/test_run_progress.py +37 -0
  70. {certo-0.2.3 → certo-0.2.4}/tests/test_run_report.py +6 -0
  71. certo-0.2.4/tests/test_session.py +387 -0
  72. certo-0.2.4/tests/test_session_screen.py +96 -0
  73. {certo-0.2.3 → certo-0.2.4}/.gitignore +0 -0
  74. {certo-0.2.3 → certo-0.2.4}/LICENSE +0 -0
  75. {certo-0.2.3 → certo-0.2.4}/MANUAL.md +0 -0
  76. {certo-0.2.3 → certo-0.2.4}/docker/agent-server.Dockerfile +0 -0
  77. {certo-0.2.3 → certo-0.2.4}/src/certo/__main__.py +0 -0
  78. {certo-0.2.3 → certo-0.2.4}/src/certo/acceptance.py +0 -0
  79. {certo-0.2.3 → certo-0.2.4}/src/certo/admin_cli.py +0 -0
  80. {certo-0.2.3 → certo-0.2.4}/src/certo/agent.py +0 -0
  81. {certo-0.2.3 → certo-0.2.4}/src/certo/artifacts.py +0 -0
  82. {certo-0.2.3 → certo-0.2.4}/src/certo/banner.py +0 -0
  83. {certo-0.2.3 → certo-0.2.4}/src/certo/bench_report.py +0 -0
  84. {certo-0.2.3 → certo-0.2.4}/src/certo/bench_strategies.py +0 -0
  85. {certo-0.2.3 → certo-0.2.4}/src/certo/bench_tasks.py +0 -0
  86. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/VERSION +0 -0
  87. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/hidden_tests/test_hidden_durations.py +0 -0
  88. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/reference/durations.py +0 -0
  89. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/task.md +0 -0
  90. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/hidden_tests/test_hidden_inventory.py +0 -0
  91. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/reference/inventory.py +0 -0
  92. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/reference/test_inventory.py +0 -0
  93. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/starter/inventory.py +0 -0
  94. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/starter/test_inventory.py +0 -0
  95. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/task.md +0 -0
  96. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/hidden_tests/test_hidden_ledger.py +0 -0
  97. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/money.py +0 -0
  98. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/reports.py +0 -0
  99. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/store.py +0 -0
  100. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/transfers.py +0 -0
  101. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_money.py +0 -0
  102. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_store.py +0 -0
  103. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_transfers.py +0 -0
  104. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/README.md +0 -0
  105. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/__init__.py +0 -0
  106. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/__main__.py +0 -0
  107. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/categorize.py +0 -0
  108. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/cli.py +0 -0
  109. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/importers.py +0 -0
  110. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/models.py +0 -0
  111. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/money.py +0 -0
  112. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/reports.py +0 -0
  113. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/store.py +0 -0
  114. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/pyproject.toml +0 -0
  115. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/alpha.csv +0 -0
  116. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/beta.csv +0 -0
  117. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/rules.txt +0 -0
  118. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/__init__.py +0 -0
  119. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/helpers.py +0 -0
  120. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_categorize.py +0 -0
  121. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_cli.py +0 -0
  122. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_importers.py +0 -0
  123. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_money.py +0 -0
  124. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_reports.py +0 -0
  125. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_store.py +0 -0
  126. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/task.md +0 -0
  127. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/hidden_tests/loans_test.go +0 -0
  128. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/reference/api/api.go +0 -0
  129. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/reference/api/api_test.go +0 -0
  130. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/api/api.go +0 -0
  131. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/cmd/server/main.go +0 -0
  132. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/go.mod +0 -0
  133. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/task.md +0 -0
  134. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/hidden_tests/test_hidden_pages.py +0 -0
  135. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/reference/pages.py +0 -0
  136. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/task.md +0 -0
  137. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/hidden_tests/test_hidden_crossing.py +0 -0
  138. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/reference/crossing.py +0 -0
  139. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/task.md +0 -0
  140. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/hidden_tests/room_bookings.test.js +0 -0
  141. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/rooms.js +0 -0
  142. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/server.js +0 -0
  143. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/test/app.test.js +0 -0
  144. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/ui.js +0 -0
  145. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/README.md +0 -0
  146. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/package-lock.json +0 -0
  147. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/package.json +0 -0
  148. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/server.js +0 -0
  149. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/ui.js +0 -0
  150. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/task.md +0 -0
  151. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/hidden_tests/versions.test.js +0 -0
  152. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/reference/package.json +0 -0
  153. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/reference/versions.js +0 -0
  154. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/starter/package.json +0 -0
  155. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/task.md +0 -0
  156. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/hidden_tests/slugify.test.js +0 -0
  157. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/reference/package.json +0 -0
  158. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/reference/slugify.js +0 -0
  159. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/starter/package.json +0 -0
  160. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/task.md +0 -0
  161. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/hidden_tests/test_hidden_temperature.py +0 -0
  162. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/reference/temperature.py +0 -0
  163. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/task.md +0 -0
  164. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/hidden_tests/todo_cli.rs +0 -0
  165. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/board.rs +0 -0
  166. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/main.rs +0 -0
  167. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/store.rs +0 -0
  168. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/starter/Cargo.toml +0 -0
  169. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/starter/src/main.rs +0 -0
  170. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/task.md +0 -0
  171. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/hidden_tests/tokenBucket.test.js +0 -0
  172. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/reference/package.json +0 -0
  173. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/reference/tokenBucket.js +0 -0
  174. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/starter/package.json +0 -0
  175. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/task.md +0 -0
  176. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/hidden_tests/test_hidden_wordle_score.py +0 -0
  177. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/reference/wordle_score.py +0 -0
  178. {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/task.md +0 -0
  179. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/git/commit-conventions.md +0 -0
  180. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/completion-and-release-readiness.md +0 -0
  181. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/debugging-and-failure-repair.md +0 -0
  182. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/documentation-and-operational-readiness.md +0 -0
  183. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/implementation-planning.md +0 -0
  184. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/repository-discovery.md +0 -0
  185. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/requirements-analysis.md +0 -0
  186. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/security-review.md +0 -0
  187. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/testing-and-verification.md +0 -0
  188. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/node/node-project-setup.md +0 -0
  189. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/python/python-environment.md +0 -0
  190. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/python-web/fastapi-conventions.md +0 -0
  191. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/python-web/pin-dependencies.md +0 -0
  192. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/testing/pytest-conventions.md +0 -0
  193. {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/testing/testable-interactive-apps.md +0 -0
  194. {certo-0.2.3 → certo-0.2.4}/src/certo/cancel.py +0 -0
  195. {certo-0.2.3 → certo-0.2.4}/src/certo/check_files.py +0 -0
  196. {certo-0.2.3 → certo-0.2.4}/src/certo/checkpoints.py +0 -0
  197. {certo-0.2.3 → certo-0.2.4}/src/certo/checkpoints_cmd.py +0 -0
  198. {certo-0.2.3 → certo-0.2.4}/src/certo/console.py +0 -0
  199. {certo-0.2.3 → certo-0.2.4}/src/certo/context_window.py +0 -0
  200. {certo-0.2.3 → certo-0.2.4}/src/certo/cost_limit.py +0 -0
  201. {certo-0.2.3 → certo-0.2.4}/src/certo/credits.py +0 -0
  202. {certo-0.2.3 → certo-0.2.4}/src/certo/custom_tools/__init__.py +0 -0
  203. {certo-0.2.3 → certo-0.2.4}/src/certo/custom_tools/example_tool.py +0 -0
  204. {certo-0.2.3 → certo-0.2.4}/src/certo/custom_tools/run_tests_tool.py +0 -0
  205. {certo-0.2.3 → certo-0.2.4}/src/certo/deadline.py +0 -0
  206. {certo-0.2.3 → certo-0.2.4}/src/certo/examples/bench.yaml.example +0 -0
  207. {certo-0.2.3 → certo-0.2.4}/src/certo/examples/escalation.yaml.example +0 -0
  208. {certo-0.2.3 → certo-0.2.4}/src/certo/examples/models.yaml.example +0 -0
  209. {certo-0.2.3 → certo-0.2.4}/src/certo/independent_tests.py +0 -0
  210. {certo-0.2.3 → certo-0.2.4}/src/certo/leftovers.py +0 -0
  211. {certo-0.2.3 → certo-0.2.4}/src/certo/llm_check.py +0 -0
  212. {certo-0.2.3 → certo-0.2.4}/src/certo/model_reachability.py +0 -0
  213. {certo-0.2.3 → certo-0.2.4}/src/certo/models_secure.py +0 -0
  214. {certo-0.2.3 → certo-0.2.4}/src/certo/models_slim.py +0 -0
  215. {certo-0.2.3 → certo-0.2.4}/src/certo/plugins.py +0 -0
  216. {certo-0.2.3 → certo-0.2.4}/src/certo/profile_choice.py +0 -0
  217. {certo-0.2.3 → certo-0.2.4}/src/certo/project_env.py +0 -0
  218. {certo-0.2.3 → certo-0.2.4}/src/certo/project_models.py +0 -0
  219. {certo-0.2.3 → certo-0.2.4}/src/certo/project_root.py +0 -0
  220. {certo-0.2.3 → certo-0.2.4}/src/certo/root_guard.py +0 -0
  221. {certo-0.2.3 → certo-0.2.4}/src/certo/run_history.py +0 -0
  222. {certo-0.2.3 → certo-0.2.4}/src/certo/run_stats.py +0 -0
  223. {certo-0.2.3 → certo-0.2.4}/src/certo/run_summary.py +0 -0
  224. {certo-0.2.3 → certo-0.2.4}/src/certo/skill_assess.py +0 -0
  225. {certo-0.2.3 → certo-0.2.4}/src/certo/skill_library.py +0 -0
  226. {certo-0.2.3 → certo-0.2.4}/src/certo/skill_match.py +0 -0
  227. {certo-0.2.3 → certo-0.2.4}/src/certo/skill_sources.py +0 -0
  228. {certo-0.2.3 → certo-0.2.4}/src/certo/skills.py +0 -0
  229. {certo-0.2.3 → certo-0.2.4}/src/certo/skills_cmd.py +0 -0
  230. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/README.md +0 -0
  231. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/gitignore +0 -0
  232. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/providers.toml +0 -0
  233. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/alien-trekking.md +0 -0
  234. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/hanoi.md +0 -0
  235. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/invaders.md +0 -0
  236. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/iron-horizon.md +0 -0
  237. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/mazeman.md +0 -0
  238. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/sky-hopper.md +0 -0
  239. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/space-rocks.md +0 -0
  240. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/star-swarm.md +0 -0
  241. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/team-board.md +0 -0
  242. {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/wordle.md +0 -0
  243. {certo-0.2.3 → certo-0.2.4}/src/certo/task_store.py +0 -0
  244. {certo-0.2.3 → certo-0.2.4}/src/certo/text_tool_calls.py +0 -0
  245. {certo-0.2.3 → certo-0.2.4}/src/certo/third_party_skills.py +0 -0
  246. {certo-0.2.3 → certo-0.2.4}/src/certo/tools.py +0 -0
  247. {certo-0.2.3 → certo-0.2.4}/src/certo/update_check.py +0 -0
  248. {certo-0.2.3 → certo-0.2.4}/src/certo/verification.py +0 -0
  249. {certo-0.2.3 → certo-0.2.4}/src/certo/workspace.py +0 -0
  250. {certo-0.2.3 → certo-0.2.4}/src/certo/worktree.py +0 -0
  251. {certo-0.2.3 → certo-0.2.4}/src/certo/wrap_up.py +0 -0
  252. {certo-0.2.3 → certo-0.2.4}/tests/conftest.py +0 -0
  253. {certo-0.2.3 → certo-0.2.4}/tests/custom_tools/test_run_tests_tool.py +0 -0
  254. {certo-0.2.3 → certo-0.2.4}/tests/model_file_helpers.py +0 -0
  255. {certo-0.2.3 → certo-0.2.4}/tests/test_acceptance.py +0 -0
  256. {certo-0.2.3 → certo-0.2.4}/tests/test_admin_cli.py +0 -0
  257. {certo-0.2.3 → certo-0.2.4}/tests/test_agent.py +0 -0
  258. {certo-0.2.3 → certo-0.2.4}/tests/test_api.py +0 -0
  259. {certo-0.2.3 → certo-0.2.4}/tests/test_artifacts.py +0 -0
  260. {certo-0.2.3 → certo-0.2.4}/tests/test_banner.py +0 -0
  261. {certo-0.2.3 → certo-0.2.4}/tests/test_bench_report.py +0 -0
  262. {certo-0.2.3 → certo-0.2.4}/tests/test_bench_tasks.py +0 -0
  263. {certo-0.2.3 → certo-0.2.4}/tests/test_check_files.py +0 -0
  264. {certo-0.2.3 → certo-0.2.4}/tests/test_checkpoints.py +0 -0
  265. {certo-0.2.3 → certo-0.2.4}/tests/test_checkpoints_cmd.py +0 -0
  266. {certo-0.2.3 → certo-0.2.4}/tests/test_config.py +0 -0
  267. {certo-0.2.3 → certo-0.2.4}/tests/test_console.py +0 -0
  268. {certo-0.2.3 → certo-0.2.4}/tests/test_context_window.py +0 -0
  269. {certo-0.2.3 → certo-0.2.4}/tests/test_cost_limit.py +0 -0
  270. {certo-0.2.3 → certo-0.2.4}/tests/test_credits.py +0 -0
  271. {certo-0.2.3 → certo-0.2.4}/tests/test_deadline.py +0 -0
  272. {certo-0.2.3 → certo-0.2.4}/tests/test_docker_image.py +0 -0
  273. {certo-0.2.3 → certo-0.2.4}/tests/test_fit_ranking.py +0 -0
  274. {certo-0.2.3 → certo-0.2.4}/tests/test_independent_tests.py +0 -0
  275. {certo-0.2.3 → certo-0.2.4}/tests/test_init_cmd.py +0 -0
  276. {certo-0.2.3 → certo-0.2.4}/tests/test_init_models.py +0 -0
  277. {certo-0.2.3 → certo-0.2.4}/tests/test_leftovers.py +0 -0
  278. {certo-0.2.3 → certo-0.2.4}/tests/test_llm.py +0 -0
  279. {certo-0.2.3 → certo-0.2.4}/tests/test_llm_check.py +0 -0
  280. {certo-0.2.3 → certo-0.2.4}/tests/test_milestones.py +0 -0
  281. {certo-0.2.3 → certo-0.2.4}/tests/test_model_reachability.py +0 -0
  282. {certo-0.2.3 → certo-0.2.4}/tests/test_model_selection.py +0 -0
  283. {certo-0.2.3 → certo-0.2.4}/tests/test_models_cmd.py +0 -0
  284. {certo-0.2.3 → certo-0.2.4}/tests/test_models_secure.py +0 -0
  285. {certo-0.2.3 → certo-0.2.4}/tests/test_plugins.py +0 -0
  286. {certo-0.2.3 → certo-0.2.4}/tests/test_profile_choice.py +0 -0
  287. {certo-0.2.3 → certo-0.2.4}/tests/test_project_env.py +0 -0
  288. {certo-0.2.3 → certo-0.2.4}/tests/test_project_env_layouts.py +0 -0
  289. {certo-0.2.3 → certo-0.2.4}/tests/test_project_root.py +0 -0
  290. {certo-0.2.3 → certo-0.2.4}/tests/test_project_state.py +0 -0
  291. {certo-0.2.3 → certo-0.2.4}/tests/test_readme.py +0 -0
  292. {certo-0.2.3 → certo-0.2.4}/tests/test_result.py +0 -0
  293. {certo-0.2.3 → certo-0.2.4}/tests/test_root_guard.py +0 -0
  294. {certo-0.2.3 → certo-0.2.4}/tests/test_run_history.py +0 -0
  295. {certo-0.2.3 → certo-0.2.4}/tests/test_run_stats.py +0 -0
  296. {certo-0.2.3 → certo-0.2.4}/tests/test_run_summary.py +0 -0
  297. {certo-0.2.3 → certo-0.2.4}/tests/test_runner.py +0 -0
  298. {certo-0.2.3 → certo-0.2.4}/tests/test_runs.py +0 -0
  299. {certo-0.2.3 → certo-0.2.4}/tests/test_server.py +0 -0
  300. {certo-0.2.3 → certo-0.2.4}/tests/test_skill_assess.py +0 -0
  301. {certo-0.2.3 → certo-0.2.4}/tests/test_skill_library.py +0 -0
  302. {certo-0.2.3 → certo-0.2.4}/tests/test_skill_match.py +0 -0
  303. {certo-0.2.3 → certo-0.2.4}/tests/test_skills.py +0 -0
  304. {certo-0.2.3 → certo-0.2.4}/tests/test_skills_cmd.py +0 -0
  305. {certo-0.2.3 → certo-0.2.4}/tests/test_task_store.py +0 -0
  306. {certo-0.2.3 → certo-0.2.4}/tests/test_text_tool_calls.py +0 -0
  307. {certo-0.2.3 → certo-0.2.4}/tests/test_third_party_skills.py +0 -0
  308. {certo-0.2.3 → certo-0.2.4}/tests/test_update_check.py +0 -0
  309. {certo-0.2.3 → certo-0.2.4}/tests/test_verification_wrappers.py +0 -0
  310. {certo-0.2.3 → certo-0.2.4}/tests/test_version.py +0 -0
  311. {certo-0.2.3 → certo-0.2.4}/tests/test_workspace.py +0 -0
  312. {certo-0.2.3 → certo-0.2.4}/tests/test_worktree.py +0 -0
  313. {certo-0.2.3 → certo-0.2.4}/tests/test_wrap_up.py +0 -0
@@ -146,8 +146,9 @@ CERTO_MODEL_SELECTION=manual
146
146
  # and models.yaml (your keys and the models you use; git-ignored like
147
147
  # .env), plus one optional file each: task_profiles.yaml for auto,
148
148
  # escalation.yaml (your ladders) for escalate. Blank looks for each in the
149
- # current folder, then in ~/.config/certo/. Certo ships all four only as
150
- # .example files.
149
+ # current folder, then in ~/.config/certo/. Certo has its own model list
150
+ # and task profiles, read from the package under yours; models.yaml and
151
+ # escalation.yaml ship only as .example files.
151
152
  CERTO_MODELS_LIST_FILE=
152
153
  CERTO_MODELS_FILE=
153
154
  CERTO_TASK_PROFILES_FILE=
@@ -158,6 +159,15 @@ CERTO_ESCALATION_FILE=
158
159
  # Certo builds from the ratings.
159
160
  CERTO_ESCALATION_LADDER=
160
161
 
162
+ # With --make-milestones: the model (its name in models.yaml) that writes
163
+ # the milestones. Blank: with auto or escalate, the first model of the
164
+ # planning task profile; else the run's own model.
165
+ CERTO_PLANNER_MODEL=
166
+
167
+ # For certo ask: the model (its name in models.yaml) that answers questions
168
+ # about Certo from its docs. Blank: the model above.
169
+ CERTO_ASK_MODEL=
170
+
161
171
  # With escalation: what the next model starts from. continue (the default):
162
172
  # the files as the previous model left them. restart: the files as they were
163
173
  # before the first model (the previous work is kept as a checkpoint).
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: certo
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: A coding-agent harness that isn't tied to one model or provider: it picks a model per task, switches when one fails, and checks the work with your own tests.
5
5
  Project-URL: Homepage, https://github.com/alessioricco/certo
6
6
  Project-URL: Repository, https://github.com/alessioricco/certo
@@ -171,7 +171,7 @@ certo "Fix the failing test in payments.py" --escalate other-provider
171
171
 
172
172
  When the first provider fails (an outage, a rate limit, a rejected key), the task climbs to the next model, and Certo records it as a provider failure, not as a model that couldn't do the work. This ladder hasn't been benchmarked yet.
173
173
 
174
- On every ladder, your own limits stop the climb instead: a task that runs out of time (`budget_exhausted`), or reaches `CERTO_MAX_TASK_COST`, keeps the verdict it has. What makes Certo climb, rung by rung: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md).
174
+ Each rung but the last gets half of the time left, so a slow model hands on while there is time for the next. Your own limits stop the climb: a task that uses up its whole time budget (`budget_exhausted`), or reaches `CERTO_MAX_TASK_COST`, keeps the verdict it has. What makes Certo climb, rung by rung: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md).
175
175
 
176
176
  ## Any model, and the right one for each task
177
177
 
@@ -179,11 +179,11 @@ Certo isn't tied to any provider: the model is one setting, and the same task ru
179
179
 
180
180
  | | What Certo does | Add |
181
181
  | --- | --- | --- |
182
- | **Best model per task** | Reads the task, matches it to a profile you write (in the shipped example, "debugging" weighs reasoning and precision, "scaffolding" favours cheap models), and picks the best-rated model you enabled. One choice per task, not per step, with no extra model call to decide. Falls back to the next model when a provider fails or a fix attempt still fails the checks. | `--auto-model` |
182
+ | **Best model per task** | Reads the task, matches it to one of Certo's task profiles (each says what its kind of task needs: "debugging" needs reasoning and code 4 or more, "scaffolding" only code 3), and runs the least costly model you enabled that meets those needs. One choice per task, not per step, with no extra model call to decide. Falls back to the next model when a provider fails or a fix attempt still fails the checks. | `--auto-model` |
183
183
  | **Escalation** | Runs the task on the first model of your ladder, and moves to the next one when the verdict shows the model couldn't finish, or its provider fails (see above). The next model is told what the last one left. | `--escalate` |
184
184
  | **Measure it** | Runs the same tasks on your models and strategies, graded by hidden tests, so you choose from your own numbers. | `certo bench` |
185
185
 
186
- `--auto-model` and `--escalate` are two ways to choose, and can't be combined in one run. You describe your models once, in `models_list.yaml` (ids and ratings) and `models.yaml` (the ones you enabled, with keys), and your choices in one file per mode: `task_profiles.yaml` for `--auto-model`, `escalation.yaml` for `--escalate`. Every choice is written down: `MODEL_DECISIONS.md` says why each model was picked, and `.certo/RUNS.md` which models worked on the project. Of the ladders, only local first, cloud when needed has been measured; auto-model has no benchmark yet. Guides: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md), [Pick models automatically](https://github.com/alessioricco/certo/blob/main/docs/guides/pick-models-automatically.md), [Auto-model or escalation](https://github.com/alessioricco/certo/blob/main/docs/concepts/auto-model-or-escalation.md).
186
+ `--auto-model` and `--escalate` are two ways to choose, and can't be combined in one run. Certo has its own model list (ids and ratings, which `certo models refresh` can compute from current benchmark data) and task profiles; you write `models.yaml` (the models you enabled, with keys), and other files only for what is different for you. Every choice is written down: `MODEL_DECISIONS.md` says why each model was picked, and `.certo/RUNS.md` which models worked on the project. Of the ladders, only local first, cloud when needed has been measured; auto-model has been measured on hand-written and computed ratings ([benchmark](https://github.com/alessioricco/certo/blob/main/docs/benchmark/ratings-0.2.4.md)). Guides: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md), [Pick models automatically](https://github.com/alessioricco/certo/blob/main/docs/guides/pick-models-automatically.md), [Auto-model or escalation](https://github.com/alessioricco/certo/blob/main/docs/concepts/auto-model-or-escalation.md).
187
187
 
188
188
  ### Measured
189
189
 
@@ -233,14 +233,15 @@ certo tasks/wordle.md --project wordle
233
233
 
234
234
  `certo init` asks which provider you use (OpenAI, Anthropic, Gemini, a local Ollama, or any LiteLLM model), takes your API key at a hidden prompt, saves the settings, and makes one real call to check the model works. It also leaves five sample tasks in `tasks/`: Wordle and the Tower of Hanoi in the terminal, in Python, and three browser games (a space-rocks shooter, a maze chase and an alien-fleet shooter), which need Node 18+. With a cloud model a run uses your credits, and Certo prints the cost at the end. The generated project lands in `projects/wordle`.
235
235
 
236
+ In a terminal, `certo` alone opens the [interactive session](https://github.com/alessioricco/certo/blob/main/docs/guides/interactive-mode.md#the-interactive-session): each message is a task, and the next ones continue it.
237
+
236
238
  ### More than one model
237
239
 
238
- `--escalate` and `--auto-model` read the model files. The first time, Certo prints the `cp` commands that copy the examples it ships:
240
+ `--escalate` and `--auto-model` read the model files. You need one, `models.yaml`: the models you use, with their key or server address (`certo init models` writes it). Certo has its own model list and task profiles; write these only for what is different for you:
239
241
 
240
- - `models_list.yaml`, the catalog: every model's id and ratings.
241
- - `models.yaml`, your settings: the models you enabled, with their key or server address.
242
- - `escalation.yaml`, your ladders, for `--escalate`; optional: without it, Certo builds a ladder from the ratings.
243
- - `task_profiles.yaml`, the kinds of task and what matters for each, for `--auto-model`, which needs it (`certo init models --profiles` writes it and asks which model you want for each).
242
+ - `models_list.yaml`: models Certo's list lacks, or ratings you know better.
243
+ - `task_profiles.yaml`: kinds of task and what each needs, for `--auto-model`.
244
+ - `escalation.yaml`: your ladders, for `--escalate`; without it, Certo builds a ladder from the ratings.
244
245
 
245
246
  Then add `--escalate` (with a ladder from [One task, more than one model](https://github.com/alessioricco/certo#one-task-more-than-one-model)) or `--auto-model` to a run. `certo check --models` tests every model you enabled before you rely on it.
246
247
 
@@ -303,7 +304,7 @@ The exit code is nonzero for every failure state, so Certo works in scripts and
303
304
 
304
305
  **Model choice and escalation**
305
306
 
306
- - **Picks the best model per task.** Rate your models in `models_list.yaml`, enable the ones you have keys for in `models.yaml`, describe your kinds of task in `task_profiles.yaml`, and Certo routes each task to the best fit, with fallback when a provider fails. No extra LLM call to decide. Add `--auto-model`.
307
+ - **Picks a model per task.** Enable the models you have keys for in `models.yaml`; Certo's own list rates them and its task profiles say what each kind of task needs, so each task goes to the least costly model that fits, with fallback when a provider fails. No extra LLM call to decide. Add `--auto-model`.
307
308
  - **Hands over when a model fails.** Give Certo a ladder of models. Each task starts on the first, and moves to the next when verification shows the model couldn't finish, or its provider fails. Add `--escalate`. See [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md).
308
309
  - **A benchmark.** `certo bench` compares models and strategies on tasks graded by hidden tests, and counts how often Certo itself was fooled. See [Benchmark models and strategies](https://github.com/alessioricco/certo/blob/main/docs/guides/benchmark.md).
309
310
  - **Compare models on your own task.** A small script runs one task on a list of models, each in its own folder, and ends with a table of verdicts, times and costs. See [Compare models on one task](https://github.com/alessioricco/certo/blob/main/docs/guides/compare-models-on-a-task.md), and a real example with screenshots: [five models build an Asteroids-style game](https://github.com/alessioricco/certo/blob/main/docs/benchmark/compare-asteroids-0.1.19.md), where the cheapest cloud model, GPT-5.6 Luna, built a verified game for $0.07.
@@ -318,7 +319,10 @@ The exit code is nonzero for every failure state, so Certo works in scripts and
318
319
  **Fits how you work**
319
320
 
320
321
  - **Resume.** `certo --resume "hint"` continues a run with its earlier conversation, or with a stronger `--model`.
321
- - **Run records.** Full transcript, token counts and cost per run, plus a log of which model was picked and why.
322
+ - **Run records.** Full transcript, token counts and cost per run, plus a log of which model was picked and why. `certo report` puts a run's problems in one file, keys hidden, to send to Certo's maintainers.
323
+ - **An interactive session.** `certo` alone in a terminal: each message is a task, the next ones continue it, with `/` commands. See [The interactive session](https://github.com/alessioricco/certo/blob/main/docs/guides/interactive-mode.md#the-interactive-session).
324
+ - **Answers from the docs.** `certo ask "how do I give a run more time?"` answers from Certo's docs for your version, with links. See [`certo ask`](https://github.com/alessioricco/certo/blob/main/docs/reference/commands.md#certo-ask).
325
+ - **Over MCP.** `certo mcp` gives an editor's agent Certo's runs, checks and docs. See [Use Certo over MCP](https://github.com/alessioricco/certo/blob/main/docs/guides/use-certo-over-mcp.md).
322
326
  - **Sandboxed runs** ([experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features)). Add `--execution docker` to run the agent in a container.
323
327
  - **Server mode.** REST and WebSocket streaming. The OpenAI-compatible `/v1/chat/completions` endpoint and the SQL and Redis task stores are [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features).
324
328
  - **Skills and custom tools.** `certo skills add` gives the agent your conventions, for every project or one, kept out of git; `certo skills list --task "..."` shows what a task would get. Downloading skills from git is [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features). See [Manage skills](https://github.com/alessioricco/certo/blob/main/docs/guides/manage-skills.md).
@@ -341,8 +345,9 @@ certo "Fix the failing test in payments.py" --project my-api --auto-model
341
345
  # Take the task from a file or URL
342
346
  certo ./tasks/spec.md --project my-api
343
347
 
344
- # Pause and ask you questions instead of guessing
345
- certo "Scaffold a FastAPI service" --project my-api --interactive
348
+ # Open the interactive session with this task (in a terminal):
349
+ # your next messages continue it
350
+ certo -i "Scaffold a FastAPI service" --project my-api
346
351
 
347
352
  # Check a project with Certo's verification only: no agent, no model
348
353
  certo verify ./projects/my-api
@@ -356,7 +361,7 @@ Certo is built on the [OpenHands Software Agent SDK](https://docs.openhands.dev/
356
361
 
357
362
  - Server mode has no authentication. Run it on localhost or behind your own gateway.
358
363
  - Java projects are detected, but verification needs Maven or Gradle installed.
359
- - Docker execution, the OpenAI-compatible endpoint, the SQL and Redis task stores and skills downloaded from git are [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features): tested, not yet proven in real use. Under Docker, automatic model selection makes the initial pick but does not fall back mid-task.
364
+ - Docker execution, the OpenAI-compatible endpoint, the SQL and Redis task stores, milestone mode, the MCP server, skills downloaded from git and trusted skill repositories are [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features): tested, not yet proven in real use. Under Docker, automatic model selection makes the initial pick but does not fall back mid-task.
360
365
  - Some local models, on some Ollama setups, write their tool calls as plain text and end the run with no work done. `certo check` tests for it; with `--escalate`, such a task goes to the next model. Which models worked in Certo's benchmark: [Choose a local model](https://github.com/alessioricco/certo/blob/main/docs/guides/choose-a-local-model.md).
361
366
  - `verified` proves what the project's tests test, and nothing more. Read the tests: [Write a task Certo can check](https://github.com/alessioricco/certo/blob/main/docs/guides/write-a-good-task.md).
362
367
 
@@ -118,7 +118,7 @@ certo "Fix the failing test in payments.py" --escalate other-provider
118
118
 
119
119
  When the first provider fails (an outage, a rate limit, a rejected key), the task climbs to the next model, and Certo records it as a provider failure, not as a model that couldn't do the work. This ladder hasn't been benchmarked yet.
120
120
 
121
- On every ladder, your own limits stop the climb instead: a task that runs out of time (`budget_exhausted`), or reaches `CERTO_MAX_TASK_COST`, keeps the verdict it has. What makes Certo climb, rung by rung: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md).
121
+ Each rung but the last gets half of the time left, so a slow model hands on while there is time for the next. Your own limits stop the climb: a task that uses up its whole time budget (`budget_exhausted`), or reaches `CERTO_MAX_TASK_COST`, keeps the verdict it has. What makes Certo climb, rung by rung: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md).
122
122
 
123
123
  ## Any model, and the right one for each task
124
124
 
@@ -126,11 +126,11 @@ Certo isn't tied to any provider: the model is one setting, and the same task ru
126
126
 
127
127
  | | What Certo does | Add |
128
128
  | --- | --- | --- |
129
- | **Best model per task** | Reads the task, matches it to a profile you write (in the shipped example, "debugging" weighs reasoning and precision, "scaffolding" favours cheap models), and picks the best-rated model you enabled. One choice per task, not per step, with no extra model call to decide. Falls back to the next model when a provider fails or a fix attempt still fails the checks. | `--auto-model` |
129
+ | **Best model per task** | Reads the task, matches it to one of Certo's task profiles (each says what its kind of task needs: "debugging" needs reasoning and code 4 or more, "scaffolding" only code 3), and runs the least costly model you enabled that meets those needs. One choice per task, not per step, with no extra model call to decide. Falls back to the next model when a provider fails or a fix attempt still fails the checks. | `--auto-model` |
130
130
  | **Escalation** | Runs the task on the first model of your ladder, and moves to the next one when the verdict shows the model couldn't finish, or its provider fails (see above). The next model is told what the last one left. | `--escalate` |
131
131
  | **Measure it** | Runs the same tasks on your models and strategies, graded by hidden tests, so you choose from your own numbers. | `certo bench` |
132
132
 
133
- `--auto-model` and `--escalate` are two ways to choose, and can't be combined in one run. You describe your models once, in `models_list.yaml` (ids and ratings) and `models.yaml` (the ones you enabled, with keys), and your choices in one file per mode: `task_profiles.yaml` for `--auto-model`, `escalation.yaml` for `--escalate`. Every choice is written down: `MODEL_DECISIONS.md` says why each model was picked, and `.certo/RUNS.md` which models worked on the project. Of the ladders, only local first, cloud when needed has been measured; auto-model has no benchmark yet. Guides: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md), [Pick models automatically](https://github.com/alessioricco/certo/blob/main/docs/guides/pick-models-automatically.md), [Auto-model or escalation](https://github.com/alessioricco/certo/blob/main/docs/concepts/auto-model-or-escalation.md).
133
+ `--auto-model` and `--escalate` are two ways to choose, and can't be combined in one run. Certo has its own model list (ids and ratings, which `certo models refresh` can compute from current benchmark data) and task profiles; you write `models.yaml` (the models you enabled, with keys), and other files only for what is different for you. Every choice is written down: `MODEL_DECISIONS.md` says why each model was picked, and `.certo/RUNS.md` which models worked on the project. Of the ladders, only local first, cloud when needed has been measured; auto-model has been measured on hand-written and computed ratings ([benchmark](https://github.com/alessioricco/certo/blob/main/docs/benchmark/ratings-0.2.4.md)). Guides: [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md), [Pick models automatically](https://github.com/alessioricco/certo/blob/main/docs/guides/pick-models-automatically.md), [Auto-model or escalation](https://github.com/alessioricco/certo/blob/main/docs/concepts/auto-model-or-escalation.md).
134
134
 
135
135
  ### Measured
136
136
 
@@ -180,14 +180,15 @@ certo tasks/wordle.md --project wordle
180
180
 
181
181
  `certo init` asks which provider you use (OpenAI, Anthropic, Gemini, a local Ollama, or any LiteLLM model), takes your API key at a hidden prompt, saves the settings, and makes one real call to check the model works. It also leaves five sample tasks in `tasks/`: Wordle and the Tower of Hanoi in the terminal, in Python, and three browser games (a space-rocks shooter, a maze chase and an alien-fleet shooter), which need Node 18+. With a cloud model a run uses your credits, and Certo prints the cost at the end. The generated project lands in `projects/wordle`.
182
182
 
183
+ In a terminal, `certo` alone opens the [interactive session](https://github.com/alessioricco/certo/blob/main/docs/guides/interactive-mode.md#the-interactive-session): each message is a task, and the next ones continue it.
184
+
183
185
  ### More than one model
184
186
 
185
- `--escalate` and `--auto-model` read the model files. The first time, Certo prints the `cp` commands that copy the examples it ships:
187
+ `--escalate` and `--auto-model` read the model files. You need one, `models.yaml`: the models you use, with their key or server address (`certo init models` writes it). Certo has its own model list and task profiles; write these only for what is different for you:
186
188
 
187
- - `models_list.yaml`, the catalog: every model's id and ratings.
188
- - `models.yaml`, your settings: the models you enabled, with their key or server address.
189
- - `escalation.yaml`, your ladders, for `--escalate`; optional: without it, Certo builds a ladder from the ratings.
190
- - `task_profiles.yaml`, the kinds of task and what matters for each, for `--auto-model`, which needs it (`certo init models --profiles` writes it and asks which model you want for each).
189
+ - `models_list.yaml`: models Certo's list lacks, or ratings you know better.
190
+ - `task_profiles.yaml`: kinds of task and what each needs, for `--auto-model`.
191
+ - `escalation.yaml`: your ladders, for `--escalate`; without it, Certo builds a ladder from the ratings.
191
192
 
192
193
  Then add `--escalate` (with a ladder from [One task, more than one model](https://github.com/alessioricco/certo#one-task-more-than-one-model)) or `--auto-model` to a run. `certo check --models` tests every model you enabled before you rely on it.
193
194
 
@@ -250,7 +251,7 @@ The exit code is nonzero for every failure state, so Certo works in scripts and
250
251
 
251
252
  **Model choice and escalation**
252
253
 
253
- - **Picks the best model per task.** Rate your models in `models_list.yaml`, enable the ones you have keys for in `models.yaml`, describe your kinds of task in `task_profiles.yaml`, and Certo routes each task to the best fit, with fallback when a provider fails. No extra LLM call to decide. Add `--auto-model`.
254
+ - **Picks a model per task.** Enable the models you have keys for in `models.yaml`; Certo's own list rates them and its task profiles say what each kind of task needs, so each task goes to the least costly model that fits, with fallback when a provider fails. No extra LLM call to decide. Add `--auto-model`.
254
255
  - **Hands over when a model fails.** Give Certo a ladder of models. Each task starts on the first, and moves to the next when verification shows the model couldn't finish, or its provider fails. Add `--escalate`. See [Escalate between models](https://github.com/alessioricco/certo/blob/main/docs/guides/escalate-between-models.md).
255
256
  - **A benchmark.** `certo bench` compares models and strategies on tasks graded by hidden tests, and counts how often Certo itself was fooled. See [Benchmark models and strategies](https://github.com/alessioricco/certo/blob/main/docs/guides/benchmark.md).
256
257
  - **Compare models on your own task.** A small script runs one task on a list of models, each in its own folder, and ends with a table of verdicts, times and costs. See [Compare models on one task](https://github.com/alessioricco/certo/blob/main/docs/guides/compare-models-on-a-task.md), and a real example with screenshots: [five models build an Asteroids-style game](https://github.com/alessioricco/certo/blob/main/docs/benchmark/compare-asteroids-0.1.19.md), where the cheapest cloud model, GPT-5.6 Luna, built a verified game for $0.07.
@@ -265,7 +266,10 @@ The exit code is nonzero for every failure state, so Certo works in scripts and
265
266
  **Fits how you work**
266
267
 
267
268
  - **Resume.** `certo --resume "hint"` continues a run with its earlier conversation, or with a stronger `--model`.
268
- - **Run records.** Full transcript, token counts and cost per run, plus a log of which model was picked and why.
269
+ - **Run records.** Full transcript, token counts and cost per run, plus a log of which model was picked and why. `certo report` puts a run's problems in one file, keys hidden, to send to Certo's maintainers.
270
+ - **An interactive session.** `certo` alone in a terminal: each message is a task, the next ones continue it, with `/` commands. See [The interactive session](https://github.com/alessioricco/certo/blob/main/docs/guides/interactive-mode.md#the-interactive-session).
271
+ - **Answers from the docs.** `certo ask "how do I give a run more time?"` answers from Certo's docs for your version, with links. See [`certo ask`](https://github.com/alessioricco/certo/blob/main/docs/reference/commands.md#certo-ask).
272
+ - **Over MCP.** `certo mcp` gives an editor's agent Certo's runs, checks and docs. See [Use Certo over MCP](https://github.com/alessioricco/certo/blob/main/docs/guides/use-certo-over-mcp.md).
269
273
  - **Sandboxed runs** ([experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features)). Add `--execution docker` to run the agent in a container.
270
274
  - **Server mode.** REST and WebSocket streaming. The OpenAI-compatible `/v1/chat/completions` endpoint and the SQL and Redis task stores are [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features).
271
275
  - **Skills and custom tools.** `certo skills add` gives the agent your conventions, for every project or one, kept out of git; `certo skills list --task "..."` shows what a task would get. Downloading skills from git is [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features). See [Manage skills](https://github.com/alessioricco/certo/blob/main/docs/guides/manage-skills.md).
@@ -288,8 +292,9 @@ certo "Fix the failing test in payments.py" --project my-api --auto-model
288
292
  # Take the task from a file or URL
289
293
  certo ./tasks/spec.md --project my-api
290
294
 
291
- # Pause and ask you questions instead of guessing
292
- certo "Scaffold a FastAPI service" --project my-api --interactive
295
+ # Open the interactive session with this task (in a terminal):
296
+ # your next messages continue it
297
+ certo -i "Scaffold a FastAPI service" --project my-api
293
298
 
294
299
  # Check a project with Certo's verification only: no agent, no model
295
300
  certo verify ./projects/my-api
@@ -303,7 +308,7 @@ Certo is built on the [OpenHands Software Agent SDK](https://docs.openhands.dev/
303
308
 
304
309
  - Server mode has no authentication. Run it on localhost or behind your own gateway.
305
310
  - Java projects are detected, but verification needs Maven or Gradle installed.
306
- - Docker execution, the OpenAI-compatible endpoint, the SQL and Redis task stores and skills downloaded from git are [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features): tested, not yet proven in real use. Under Docker, automatic model selection makes the initial pick but does not fall back mid-task.
311
+ - Docker execution, the OpenAI-compatible endpoint, the SQL and Redis task stores, milestone mode, the MCP server, skills downloaded from git and trusted skill repositories are [experimental](https://github.com/alessioricco/certo/blob/main/docs/README.md#experimental-features): tested, not yet proven in real use. Under Docker, automatic model selection makes the initial pick but does not fall back mid-task.
307
312
  - Some local models, on some Ollama setups, write their tool calls as plain text and end the run with no work done. `certo check` tests for it; with `--escalate`, such a task goes to the next model. Which models worked in Certo's benchmark: [Choose a local model](https://github.com/alessioricco/certo/blob/main/docs/guides/choose-a-local-model.md).
308
313
  - `verified` proves what the project's tests test, and nothing more. Read the tests: [Write a task Certo can check](https://github.com/alessioricco/certo/blob/main/docs/guides/write-a-good-task.md).
309
314
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "certo"
3
- version = "0.2.3"
3
+ version = "0.2.4"
4
4
  description = "A coding-agent harness that isn't tied to one model or provider: it picks a model per task, switches when one fails, and checks the work with your own tests."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12"
@@ -110,6 +110,14 @@ exclude = [
110
110
  "**/*.sqlite3",
111
111
  ]
112
112
 
113
+ # Certo's own model list and profiles have names the excludes and
114
+ # .gitignore keep out (a user's copies); these two files are put back by
115
+ # their exact paths.
116
+ [tool.hatch.build.targets.wheel.force-include]
117
+ "src/certo/data/models_list.yaml" = "certo/data/models_list.yaml"
118
+ "src/certo/data/task_profiles.yaml" = "certo/data/task_profiles.yaml"
119
+ "src/certo/data/model_data.json" = "certo/data/model_data.json"
120
+
113
121
  [tool.hatch.build.targets.sdist]
114
122
  include = [
115
123
  "/src/certo",
@@ -139,6 +147,11 @@ exclude = [
139
147
  "**/third_party_skills.lock.json",
140
148
  ]
141
149
 
150
+ [tool.hatch.build.targets.sdist.force-include]
151
+ "src/certo/data/models_list.yaml" = "src/certo/data/models_list.yaml"
152
+ "src/certo/data/task_profiles.yaml" = "src/certo/data/task_profiles.yaml"
153
+ "src/certo/data/model_data.json" = "src/certo/data/model_data.json"
154
+
142
155
  [tool.ruff]
143
156
  line-length = 100
144
157
  target-version = "py311"
@@ -19,4 +19,4 @@ os.environ.setdefault("OPENHANDS_SUPPRESS_BANNER", "1")
19
19
  # which config.py loads without overriding. Certo reads only ./.env.
20
20
  os.environ.setdefault("LITELLM_MODE", "PRODUCTION")
21
21
 
22
- __version__ = "0.2.3"
22
+ __version__ = "0.2.4"
@@ -518,6 +518,7 @@ def run_milestones(
518
518
  acceptance_checks: Any,
519
519
  history: dict,
520
520
  record_run: Callable[..., None],
521
+ between: Callable[[int, Any, int], tuple[bool, str]] | None = None,
521
522
  ) -> Any:
522
523
  """Milestone mode: run each milestone not yet verified, in order, each
523
524
  in its own conversation, and stop at the first that isn't `verified`.
@@ -525,7 +526,10 @@ def run_milestones(
525
526
  rungs of all of them. `.certo/milestones.json` records each verdict as it comes.
526
527
  `say` gets each line to show (a terminal prints them; the MCP server keeps
527
528
  them as notices). `run_one(text, resume, instruction, checks)` runs one
528
- milestone and returns what `run_task` returns."""
529
+ milestone and returns what `run_task` returns. `between(done, next_milestone,
530
+ total)`, when given, is asked after each verified milestone that has
531
+ another after it: (False, _) stops there, (True, note) goes on, with the
532
+ note (if any) added to the next milestone's task."""
529
533
  from .escalation import format_rung_lines
530
534
  from .milestones import checks_up_to, handover, milestone_task, summary_lines
531
535
  from .milestones import save_state as save_milestones
@@ -620,8 +624,18 @@ def run_milestones(
620
624
  break
621
625
  time_retries = 0
622
626
  left = handover(workspace, result, number)
623
- number = state.next_number()
627
+ done, number = number, state.next_number()
624
628
  first = False
629
+ if number is not None and between is not None:
630
+ go_on, note = between(done, state.plan.get(number), total)
631
+ if not go_on:
632
+ say(
633
+ f"Stopped before milestone {number} of {total}, as you asked. The plan "
634
+ "is kept: resuming starts there."
635
+ )
636
+ break
637
+ if note.strip():
638
+ carry_on = f"\n\nA note from the user for this milestone:\n{note.strip()}"
625
639
  say("\nMilestones:")
626
640
  for line in summary_lines(state):
627
641
  say(f" {line}")