certo 0.2.2__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 (319) hide show
  1. {certo-0.2.2 → certo-0.2.4}/.env.example +26 -2
  2. {certo-0.2.2 → certo-0.2.4}/PKG-INFO +20 -14
  3. {certo-0.2.2 → certo-0.2.4}/README.md +18 -13
  4. {certo-0.2.2 → certo-0.2.4}/pyproject.toml +16 -1
  5. {certo-0.2.2 → certo-0.2.4}/src/certo/__init__.py +1 -1
  6. {certo-0.2.2 → certo-0.2.4}/src/certo/acceptance.py +10 -2
  7. {certo-0.2.2 → certo-0.2.4}/src/certo/agent.py +31 -3
  8. {certo-0.2.2 → certo-0.2.4}/src/certo/api.py +264 -8
  9. certo-0.2.4/src/certo/ask_cmd.py +419 -0
  10. {certo-0.2.2 → certo-0.2.4}/src/certo/bench.py +215 -38
  11. {certo-0.2.2 → certo-0.2.4}/src/certo/bench_config.py +57 -1
  12. {certo-0.2.2 → certo-0.2.4}/src/certo/bench_report.py +53 -5
  13. {certo-0.2.2 → certo-0.2.4}/src/certo/bench_strategies.py +13 -1
  14. {certo-0.2.2 → certo-0.2.4}/src/certo/bench_tasks.py +13 -2
  15. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/testing/pytest-conventions.md +4 -4
  16. {certo-0.2.2 → certo-0.2.4}/src/certo/catalog_check.py +38 -12
  17. {certo-0.2.2 → certo-0.2.4}/src/certo/catalog_report.py +204 -24
  18. {certo-0.2.2 → certo-0.2.4}/src/certo/check_files.py +69 -12
  19. {certo-0.2.2 → certo-0.2.4}/src/certo/cli.py +487 -60
  20. certo-0.2.4/src/certo/computed_ratings.py +369 -0
  21. {certo-0.2.2 → certo-0.2.4}/src/certo/config.py +45 -0
  22. certo-0.2.4/src/certo/credits.py +111 -0
  23. certo-0.2.4/src/certo/data/model_data.json +4347 -0
  24. certo-0.2.2/src/certo/examples/models_list.yaml.example → certo-0.2.4/src/certo/data/models_list.yaml +296 -140
  25. certo-0.2.4/src/certo/data/task_profiles.yaml +111 -0
  26. certo-0.2.4/src/certo/docs_index.py +211 -0
  27. certo-0.2.4/src/certo/docs_source.py +179 -0
  28. {certo-0.2.2 → certo-0.2.4}/src/certo/escalation.py +74 -2
  29. {certo-0.2.2 → certo-0.2.4}/src/certo/init_cmd.py +93 -3
  30. {certo-0.2.2 → certo-0.2.4}/src/certo/init_models.py +66 -19
  31. certo-0.2.4/src/certo/leftovers.py +157 -0
  32. {certo-0.2.2 → certo-0.2.4}/src/certo/llm.py +13 -0
  33. {certo-0.2.2 → certo-0.2.4}/src/certo/llm_check.py +53 -6
  34. {certo-0.2.2 → certo-0.2.4}/src/certo/mcp_server.py +224 -26
  35. {certo-0.2.2 → certo-0.2.4}/src/certo/menus.py +71 -9
  36. certo-0.2.4/src/certo/milestone_planner.py +198 -0
  37. {certo-0.2.2 → certo-0.2.4}/src/certo/milestones.py +257 -42
  38. {certo-0.2.2 → certo-0.2.4}/src/certo/model_catalog.py +376 -33
  39. certo-0.2.4/src/certo/model_data.py +222 -0
  40. certo-0.2.4/src/certo/model_files.py +179 -0
  41. certo-0.2.4/src/certo/model_price_check.py +149 -0
  42. certo-0.2.4/src/certo/model_pricing.py +110 -0
  43. certo-0.2.4/src/certo/model_reachability.py +98 -0
  44. {certo-0.2.2 → certo-0.2.4}/src/certo/model_selection.py +115 -10
  45. certo-0.2.4/src/certo/models_choose.py +227 -0
  46. certo-0.2.4/src/certo/models_cmd.py +846 -0
  47. certo-0.2.4/src/certo/models_secure.py +190 -0
  48. certo-0.2.4/src/certo/models_slim.py +131 -0
  49. certo-0.2.4/src/certo/profile_choice.py +202 -0
  50. {certo-0.2.2 → certo-0.2.4}/src/certo/project_env.py +18 -11
  51. certo-0.2.4/src/certo/project_models.py +65 -0
  52. certo-0.2.4/src/certo/project_root.py +115 -0
  53. {certo-0.2.2 → certo-0.2.4}/src/certo/project_state.py +16 -2
  54. certo-0.2.4/src/certo/ratings.py +157 -0
  55. certo-0.2.4/src/certo/report_cmd.py +324 -0
  56. {certo-0.2.2 → certo-0.2.4}/src/certo/result.py +45 -2
  57. certo-0.2.4/src/certo/root_guard.py +456 -0
  58. {certo-0.2.2 → certo-0.2.4}/src/certo/run_progress.py +58 -3
  59. {certo-0.2.2 → certo-0.2.4}/src/certo/run_report.py +68 -4
  60. certo-0.2.4/src/certo/run_stats.py +247 -0
  61. {certo-0.2.2 → certo-0.2.4}/src/certo/run_summary.py +17 -1
  62. {certo-0.2.2 → certo-0.2.4}/src/certo/runner.py +656 -105
  63. {certo-0.2.2 → certo-0.2.4}/src/certo/runs.py +144 -11
  64. {certo-0.2.2 → certo-0.2.4}/src/certo/server.py +2 -1
  65. certo-0.2.4/src/certo/session.py +530 -0
  66. certo-0.2.4/src/certo/session_screen.py +402 -0
  67. certo-0.2.4/src/certo/skill_assess.py +394 -0
  68. {certo-0.2.2 → certo-0.2.4}/src/certo/skill_library.py +27 -0
  69. certo-0.2.4/src/certo/skill_match.py +281 -0
  70. certo-0.2.4/src/certo/skill_sources.py +110 -0
  71. {certo-0.2.2 → certo-0.2.4}/src/certo/skills_cmd.py +165 -7
  72. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/README.md +24 -0
  73. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/providers.toml +4 -2
  74. certo-0.2.4/src/certo/starter/tasks/alien-trekking.md +243 -0
  75. certo-0.2.4/src/certo/starter/tasks/iron-horizon.md +108 -0
  76. certo-0.2.4/src/certo/starter/tasks/sky-hopper.md +126 -0
  77. certo-0.2.4/src/certo/starter/tasks/star-swarm.md +193 -0
  78. certo-0.2.4/src/certo/starter/tasks/team-board.md +153 -0
  79. {certo-0.2.2 → certo-0.2.4}/src/certo/text_tool_calls.py +26 -0
  80. {certo-0.2.2 → certo-0.2.4}/src/certo/third_party_skills.py +35 -12
  81. {certo-0.2.2 → certo-0.2.4}/src/certo/verification.py +34 -11
  82. certo-0.2.4/src/certo/wrap_up.py +175 -0
  83. {certo-0.2.2 → certo-0.2.4}/tests/conftest.py +22 -4
  84. {certo-0.2.2 → certo-0.2.4}/tests/custom_tools/test_run_tests_tool.py +33 -3
  85. {certo-0.2.2 → certo-0.2.4}/tests/test_acceptance.py +12 -0
  86. {certo-0.2.2 → certo-0.2.4}/tests/test_agent.py +25 -0
  87. certo-0.2.4/tests/test_api.py +252 -0
  88. certo-0.2.4/tests/test_ask_cmd.py +325 -0
  89. {certo-0.2.2 → certo-0.2.4}/tests/test_bench.py +226 -0
  90. {certo-0.2.2 → certo-0.2.4}/tests/test_bench_config.py +165 -5
  91. {certo-0.2.2 → certo-0.2.4}/tests/test_bench_tasks.py +18 -0
  92. {certo-0.2.2 → certo-0.2.4}/tests/test_catalog_check.py +43 -8
  93. {certo-0.2.2 → certo-0.2.4}/tests/test_check_files.py +40 -1
  94. {certo-0.2.2 → certo-0.2.4}/tests/test_cli.py +738 -10
  95. certo-0.2.4/tests/test_computed_ratings.py +322 -0
  96. certo-0.2.4/tests/test_credits.py +127 -0
  97. {certo-0.2.2 → certo-0.2.4}/tests/test_docs.py +4 -0
  98. certo-0.2.4/tests/test_docs_source.py +129 -0
  99. {certo-0.2.2 → certo-0.2.4}/tests/test_escalation.py +75 -0
  100. {certo-0.2.2 → certo-0.2.4}/tests/test_escalation_runner.py +65 -9
  101. certo-0.2.4/tests/test_fit_ranking.py +101 -0
  102. {certo-0.2.2 → certo-0.2.4}/tests/test_init_cmd.py +173 -12
  103. {certo-0.2.2 → certo-0.2.4}/tests/test_init_models.py +59 -12
  104. certo-0.2.4/tests/test_leftovers.py +88 -0
  105. {certo-0.2.2 → certo-0.2.4}/tests/test_llm.py +36 -0
  106. {certo-0.2.2 → certo-0.2.4}/tests/test_llm_check.py +73 -0
  107. {certo-0.2.2 → certo-0.2.4}/tests/test_mcp_server.py +248 -0
  108. {certo-0.2.2 → certo-0.2.4}/tests/test_menus.py +72 -0
  109. certo-0.2.4/tests/test_milestone_planner.py +204 -0
  110. {certo-0.2.2 → certo-0.2.4}/tests/test_milestones.py +131 -0
  111. {certo-0.2.2 → certo-0.2.4}/tests/test_model_catalog.py +124 -12
  112. certo-0.2.4/tests/test_model_data.py +110 -0
  113. {certo-0.2.2 → certo-0.2.4}/tests/test_model_files.py +6 -1
  114. certo-0.2.4/tests/test_model_layers.py +223 -0
  115. certo-0.2.4/tests/test_model_price_check.py +173 -0
  116. certo-0.2.4/tests/test_model_reachability.py +103 -0
  117. {certo-0.2.2 → certo-0.2.4}/tests/test_model_selection.py +112 -0
  118. certo-0.2.4/tests/test_models_cmd.py +198 -0
  119. certo-0.2.4/tests/test_models_secure.py +264 -0
  120. {certo-0.2.2 → certo-0.2.4}/tests/test_packaging.py +17 -5
  121. certo-0.2.4/tests/test_profile_choice.py +147 -0
  122. {certo-0.2.2 → certo-0.2.4}/tests/test_project_env.py +16 -0
  123. certo-0.2.4/tests/test_project_models.py +362 -0
  124. certo-0.2.4/tests/test_project_root.py +119 -0
  125. {certo-0.2.2 → certo-0.2.4}/tests/test_project_state.py +17 -0
  126. certo-0.2.4/tests/test_ratings.py +96 -0
  127. certo-0.2.4/tests/test_report_cmd.py +166 -0
  128. {certo-0.2.2 → certo-0.2.4}/tests/test_result.py +6 -0
  129. certo-0.2.4/tests/test_root_guard.py +320 -0
  130. {certo-0.2.2 → certo-0.2.4}/tests/test_run_progress.py +37 -0
  131. {certo-0.2.2 → certo-0.2.4}/tests/test_run_report.py +67 -2
  132. certo-0.2.4/tests/test_run_stats.py +232 -0
  133. {certo-0.2.2 → certo-0.2.4}/tests/test_runner.py +509 -25
  134. {certo-0.2.2 → certo-0.2.4}/tests/test_server.py +1 -1
  135. certo-0.2.4/tests/test_session.py +387 -0
  136. certo-0.2.4/tests/test_session_screen.py +96 -0
  137. certo-0.2.4/tests/test_skill_assess.py +256 -0
  138. {certo-0.2.2 → certo-0.2.4}/tests/test_skill_library.py +38 -1
  139. certo-0.2.4/tests/test_skill_match.py +311 -0
  140. {certo-0.2.2 → certo-0.2.4}/tests/test_skills_cmd.py +11 -0
  141. {certo-0.2.2 → certo-0.2.4}/tests/test_text_tool_calls.py +7 -0
  142. certo-0.2.4/tests/test_wrap_up.py +178 -0
  143. certo-0.2.2/src/certo/examples/task_profiles.yaml.example +0 -75
  144. certo-0.2.2/src/certo/model_files.py +0 -101
  145. certo-0.2.2/src/certo/model_pricing.py +0 -58
  146. certo-0.2.2/src/certo/models_cmd.py +0 -414
  147. certo-0.2.2/tests/test_api.py +0 -111
  148. certo-0.2.2/tests/test_models_cmd.py +0 -216
  149. {certo-0.2.2 → certo-0.2.4}/.gitignore +0 -0
  150. {certo-0.2.2 → certo-0.2.4}/LICENSE +0 -0
  151. {certo-0.2.2 → certo-0.2.4}/MANUAL.md +0 -0
  152. {certo-0.2.2 → certo-0.2.4}/docker/agent-server.Dockerfile +0 -0
  153. {certo-0.2.2 → certo-0.2.4}/src/certo/__main__.py +0 -0
  154. {certo-0.2.2 → certo-0.2.4}/src/certo/admin_cli.py +0 -0
  155. {certo-0.2.2 → certo-0.2.4}/src/certo/artifacts.py +0 -0
  156. {certo-0.2.2 → certo-0.2.4}/src/certo/banner.py +0 -0
  157. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/VERSION +0 -0
  158. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/hidden_tests/test_hidden_durations.py +0 -0
  159. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/reference/durations.py +0 -0
  160. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/task.md +0 -0
  161. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/hidden_tests/test_hidden_inventory.py +0 -0
  162. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/reference/inventory.py +0 -0
  163. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/reference/test_inventory.py +0 -0
  164. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/starter/inventory.py +0 -0
  165. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/starter/test_inventory.py +0 -0
  166. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/task.md +0 -0
  167. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/hidden_tests/test_hidden_ledger.py +0 -0
  168. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/money.py +0 -0
  169. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/reports.py +0 -0
  170. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/store.py +0 -0
  171. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/transfers.py +0 -0
  172. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_money.py +0 -0
  173. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_store.py +0 -0
  174. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_transfers.py +0 -0
  175. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/README.md +0 -0
  176. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/__init__.py +0 -0
  177. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/__main__.py +0 -0
  178. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/categorize.py +0 -0
  179. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/cli.py +0 -0
  180. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/importers.py +0 -0
  181. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/models.py +0 -0
  182. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/money.py +0 -0
  183. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/reports.py +0 -0
  184. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/store.py +0 -0
  185. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/pyproject.toml +0 -0
  186. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/alpha.csv +0 -0
  187. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/beta.csv +0 -0
  188. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/rules.txt +0 -0
  189. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/__init__.py +0 -0
  190. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/helpers.py +0 -0
  191. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_categorize.py +0 -0
  192. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_cli.py +0 -0
  193. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_importers.py +0 -0
  194. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_money.py +0 -0
  195. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_reports.py +0 -0
  196. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_store.py +0 -0
  197. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/task.md +0 -0
  198. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/hidden_tests/loans_test.go +0 -0
  199. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/reference/api/api.go +0 -0
  200. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/reference/api/api_test.go +0 -0
  201. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/api/api.go +0 -0
  202. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/cmd/server/main.go +0 -0
  203. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/go.mod +0 -0
  204. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/task.md +0 -0
  205. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/hidden_tests/test_hidden_pages.py +0 -0
  206. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/reference/pages.py +0 -0
  207. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/task.md +0 -0
  208. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/hidden_tests/test_hidden_crossing.py +0 -0
  209. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/reference/crossing.py +0 -0
  210. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/task.md +0 -0
  211. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/hidden_tests/room_bookings.test.js +0 -0
  212. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/rooms.js +0 -0
  213. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/server.js +0 -0
  214. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/test/app.test.js +0 -0
  215. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/ui.js +0 -0
  216. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/README.md +0 -0
  217. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/package-lock.json +0 -0
  218. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/package.json +0 -0
  219. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/server.js +0 -0
  220. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/ui.js +0 -0
  221. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/task.md +0 -0
  222. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/hidden_tests/versions.test.js +0 -0
  223. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/reference/package.json +0 -0
  224. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/reference/versions.js +0 -0
  225. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/starter/package.json +0 -0
  226. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/task.md +0 -0
  227. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/hidden_tests/slugify.test.js +0 -0
  228. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/reference/package.json +0 -0
  229. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/reference/slugify.js +0 -0
  230. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/starter/package.json +0 -0
  231. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/task.md +0 -0
  232. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/hidden_tests/test_hidden_temperature.py +0 -0
  233. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/reference/temperature.py +0 -0
  234. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/task.md +0 -0
  235. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/hidden_tests/todo_cli.rs +0 -0
  236. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/board.rs +0 -0
  237. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/main.rs +0 -0
  238. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/store.rs +0 -0
  239. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/starter/Cargo.toml +0 -0
  240. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/starter/src/main.rs +0 -0
  241. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/task.md +0 -0
  242. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/hidden_tests/tokenBucket.test.js +0 -0
  243. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/reference/package.json +0 -0
  244. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/reference/tokenBucket.js +0 -0
  245. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/starter/package.json +0 -0
  246. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/task.md +0 -0
  247. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/hidden_tests/test_hidden_wordle_score.py +0 -0
  248. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/reference/wordle_score.py +0 -0
  249. {certo-0.2.2 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/task.md +0 -0
  250. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/git/commit-conventions.md +0 -0
  251. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/completion-and-release-readiness.md +0 -0
  252. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/debugging-and-failure-repair.md +0 -0
  253. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/documentation-and-operational-readiness.md +0 -0
  254. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/implementation-planning.md +0 -0
  255. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/repository-discovery.md +0 -0
  256. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/requirements-analysis.md +0 -0
  257. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/security-review.md +0 -0
  258. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/testing-and-verification.md +0 -0
  259. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/node/node-project-setup.md +0 -0
  260. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/python/python-environment.md +0 -0
  261. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/python-web/fastapi-conventions.md +0 -0
  262. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/python-web/pin-dependencies.md +0 -0
  263. {certo-0.2.2 → certo-0.2.4}/src/certo/builtin_skills/testing/testable-interactive-apps.md +0 -0
  264. {certo-0.2.2 → certo-0.2.4}/src/certo/cancel.py +0 -0
  265. {certo-0.2.2 → certo-0.2.4}/src/certo/checkpoints.py +0 -0
  266. {certo-0.2.2 → certo-0.2.4}/src/certo/checkpoints_cmd.py +0 -0
  267. {certo-0.2.2 → certo-0.2.4}/src/certo/console.py +0 -0
  268. {certo-0.2.2 → certo-0.2.4}/src/certo/context_window.py +0 -0
  269. {certo-0.2.2 → certo-0.2.4}/src/certo/cost_limit.py +0 -0
  270. {certo-0.2.2 → certo-0.2.4}/src/certo/custom_tools/__init__.py +0 -0
  271. {certo-0.2.2 → certo-0.2.4}/src/certo/custom_tools/example_tool.py +0 -0
  272. {certo-0.2.2 → certo-0.2.4}/src/certo/custom_tools/run_tests_tool.py +0 -0
  273. {certo-0.2.2 → certo-0.2.4}/src/certo/deadline.py +0 -0
  274. {certo-0.2.2 → certo-0.2.4}/src/certo/examples/bench.yaml.example +0 -0
  275. {certo-0.2.2 → certo-0.2.4}/src/certo/examples/escalation.yaml.example +0 -0
  276. {certo-0.2.2 → certo-0.2.4}/src/certo/examples/models.yaml.example +0 -0
  277. {certo-0.2.2 → certo-0.2.4}/src/certo/independent_tests.py +0 -0
  278. {certo-0.2.2 → certo-0.2.4}/src/certo/plugins.py +0 -0
  279. {certo-0.2.2 → certo-0.2.4}/src/certo/run_history.py +0 -0
  280. {certo-0.2.2 → certo-0.2.4}/src/certo/skills.py +0 -0
  281. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/gitignore +0 -0
  282. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/tasks/hanoi.md +0 -0
  283. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/tasks/invaders.md +0 -0
  284. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/tasks/mazeman.md +0 -0
  285. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/tasks/space-rocks.md +0 -0
  286. {certo-0.2.2 → certo-0.2.4}/src/certo/starter/tasks/wordle.md +0 -0
  287. {certo-0.2.2 → certo-0.2.4}/src/certo/task_store.py +0 -0
  288. {certo-0.2.2 → certo-0.2.4}/src/certo/tools.py +0 -0
  289. {certo-0.2.2 → certo-0.2.4}/src/certo/update_check.py +0 -0
  290. {certo-0.2.2 → certo-0.2.4}/src/certo/workspace.py +0 -0
  291. {certo-0.2.2 → certo-0.2.4}/src/certo/worktree.py +0 -0
  292. {certo-0.2.2 → certo-0.2.4}/tests/model_file_helpers.py +0 -0
  293. {certo-0.2.2 → certo-0.2.4}/tests/test_admin_cli.py +0 -0
  294. {certo-0.2.2 → certo-0.2.4}/tests/test_artifacts.py +0 -0
  295. {certo-0.2.2 → certo-0.2.4}/tests/test_banner.py +0 -0
  296. {certo-0.2.2 → certo-0.2.4}/tests/test_bench_report.py +0 -0
  297. {certo-0.2.2 → certo-0.2.4}/tests/test_checkpoints.py +0 -0
  298. {certo-0.2.2 → certo-0.2.4}/tests/test_checkpoints_cmd.py +0 -0
  299. {certo-0.2.2 → certo-0.2.4}/tests/test_config.py +0 -0
  300. {certo-0.2.2 → certo-0.2.4}/tests/test_console.py +0 -0
  301. {certo-0.2.2 → certo-0.2.4}/tests/test_context_window.py +0 -0
  302. {certo-0.2.2 → certo-0.2.4}/tests/test_cost_limit.py +0 -0
  303. {certo-0.2.2 → certo-0.2.4}/tests/test_deadline.py +0 -0
  304. {certo-0.2.2 → certo-0.2.4}/tests/test_docker_image.py +0 -0
  305. {certo-0.2.2 → certo-0.2.4}/tests/test_independent_tests.py +0 -0
  306. {certo-0.2.2 → certo-0.2.4}/tests/test_plugins.py +0 -0
  307. {certo-0.2.2 → certo-0.2.4}/tests/test_project_env_layouts.py +0 -0
  308. {certo-0.2.2 → certo-0.2.4}/tests/test_readme.py +0 -0
  309. {certo-0.2.2 → certo-0.2.4}/tests/test_run_history.py +0 -0
  310. {certo-0.2.2 → certo-0.2.4}/tests/test_run_summary.py +0 -0
  311. {certo-0.2.2 → certo-0.2.4}/tests/test_runs.py +0 -0
  312. {certo-0.2.2 → certo-0.2.4}/tests/test_skills.py +0 -0
  313. {certo-0.2.2 → certo-0.2.4}/tests/test_task_store.py +0 -0
  314. {certo-0.2.2 → certo-0.2.4}/tests/test_third_party_skills.py +0 -0
  315. {certo-0.2.2 → certo-0.2.4}/tests/test_update_check.py +0 -0
  316. {certo-0.2.2 → certo-0.2.4}/tests/test_verification_wrappers.py +0 -0
  317. {certo-0.2.2 → certo-0.2.4}/tests/test_version.py +0 -0
  318. {certo-0.2.2 → certo-0.2.4}/tests/test_workspace.py +0 -0
  319. {certo-0.2.2 → certo-0.2.4}/tests/test_worktree.py +0 -0
@@ -94,6 +94,9 @@ CERTO_MAX_VERIFY_RETRIES=2
94
94
  # Spans the whole task — the initial run plus every verify/retry cycle —
95
95
  # not just one SDK conversation.run() call.
96
96
  CERTO_MAX_TASK_SECONDS=1800
97
+ # Milestone mode: a milestone whose time ran out after it changed files goes
98
+ # on in a fresh conversation this many times (0: stop there, as before).
99
+ CERTO_MILESTONE_TIME_RETRIES=1
97
100
 
98
101
  # Opt-in: allow the agent to pause and ask a question instead of always
99
102
  # pushing forward autonomously (only the CLI's --interactive prompts a real
@@ -125,6 +128,12 @@ CERTO_VERBOSE=no
125
128
  # fix attempt, last checks, time, cost so far), in seconds. 0 turns it off.
126
129
  CERTO_PROGRESS_SECONDS=120
127
130
 
131
+ # Skills from your trusted repositories (skill_sources.yaml, then
132
+ # certo skills assess) that fit a run's project and task are added to it,
133
+ # up to this many tokens (about four characters each). 0 turns them off.
134
+ # See docs/guides/manage-skills.md.
135
+ CERTO_TRUSTED_SKILLS_TOKENS=4000
136
+
128
137
  # --- Model selection (see docs/guides/pick-models-automatically.md and
129
138
  # docs/guides/escalate-between-models.md). With manual (the default),
130
139
  # CERTO_LLM_MODEL above is used and no model file is read. With auto or
@@ -137,8 +146,9 @@ CERTO_MODEL_SELECTION=manual
137
146
  # and models.yaml (your keys and the models you use; git-ignored like
138
147
  # .env), plus one optional file each: task_profiles.yaml for auto,
139
148
  # escalation.yaml (your ladders) for escalate. Blank looks for each in the
140
- # current folder, then in ~/.config/certo/. Certo ships all four only as
141
- # .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.
142
152
  CERTO_MODELS_LIST_FILE=
143
153
  CERTO_MODELS_FILE=
144
154
  CERTO_TASK_PROFILES_FILE=
@@ -149,6 +159,15 @@ CERTO_ESCALATION_FILE=
149
159
  # Certo builds from the ratings.
150
160
  CERTO_ESCALATION_LADDER=
151
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
+
152
171
  # With escalation: what the next model starts from. continue (the default):
153
172
  # the files as the previous model left them. restart: the files as they were
154
173
  # before the first model (the previous work is kept as a checkpoint).
@@ -182,6 +201,11 @@ CERTO_SAVE_STATE=
182
201
  # this off.
183
202
  CERTO_CHECKPOINTS=
184
203
 
204
+ # In a project Certo created from scratch, a "Generated with Certo" line in
205
+ # README.md and a generator meta tag in index.html. Set to 0 to turn this
206
+ # off.
207
+ CERTO_CREDITS=
208
+
185
209
  # --- Only consulted when CERTO_EXECUTION=docker ---
186
210
  # The agent-server image, built automatically on first use.
187
211
  CERTO_DOCKER_IMAGE=certo/agent-server:local
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: certo
3
- Version: 0.2.2
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
@@ -25,6 +25,7 @@ Requires-Dist: mcp<3,>=2.2.0
25
25
  Requires-Dist: openhands-sdk==1.47.0
26
26
  Requires-Dist: openhands-tools==1.47.0
27
27
  Requires-Dist: prompt-toolkit>=3.0.53
28
+ Requires-Dist: psutil>=5.9
28
29
  Requires-Dist: python-dotenv>=1.0
29
30
  Requires-Dist: pyyaml>=6.0
30
31
  Provides-Extra: dev
@@ -170,7 +171,7 @@ certo "Fix the failing test in payments.py" --escalate other-provider
170
171
 
171
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.
172
173
 
173
- 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).
174
175
 
175
176
  ## Any model, and the right one for each task
176
177
 
@@ -178,11 +179,11 @@ Certo isn't tied to any provider: the model is one setting, and the same task ru
178
179
 
179
180
  | | What Certo does | Add |
180
181
  | --- | --- | --- |
181
- | **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` |
182
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` |
183
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` |
184
185
 
185
- `--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).
186
187
 
187
188
  ### Measured
188
189
 
@@ -232,14 +233,15 @@ certo tasks/wordle.md --project wordle
232
233
 
233
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`.
234
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
+
235
238
  ### More than one model
236
239
 
237
- `--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:
238
241
 
239
- - `models_list.yaml`, the catalog: every model's id and ratings.
240
- - `models.yaml`, your settings: the models you enabled, with their key or server address.
241
- - `escalation.yaml`, your ladders, for `--escalate`; optional: without it, Certo builds a ladder from the ratings.
242
- - `task_profiles.yaml`, the kinds of task and what matters for each, for `--auto-model`; optional.
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.
243
245
 
244
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.
245
247
 
@@ -302,7 +304,7 @@ The exit code is nonzero for every failure state, so Certo works in scripts and
302
304
 
303
305
  **Model choice and escalation**
304
306
 
305
- - **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`.
306
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).
307
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).
308
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.
@@ -317,7 +319,10 @@ The exit code is nonzero for every failure state, so Certo works in scripts and
317
319
  **Fits how you work**
318
320
 
319
321
  - **Resume.** `certo --resume "hint"` continues a run with its earlier conversation, or with a stronger `--model`.
320
- - **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).
321
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.
322
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).
323
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).
@@ -340,8 +345,9 @@ certo "Fix the failing test in payments.py" --project my-api --auto-model
340
345
  # Take the task from a file or URL
341
346
  certo ./tasks/spec.md --project my-api
342
347
 
343
- # Pause and ask you questions instead of guessing
344
- 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
345
351
 
346
352
  # Check a project with Certo's verification only: no agent, no model
347
353
  certo verify ./projects/my-api
@@ -355,7 +361,7 @@ Certo is built on the [OpenHands Software Agent SDK](https://docs.openhands.dev/
355
361
 
356
362
  - Server mode has no authentication. Run it on localhost or behind your own gateway.
357
363
  - Java projects are detected, but verification needs Maven or Gradle installed.
358
- - 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.
359
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).
360
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).
361
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`; optional.
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.2"
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"
@@ -39,6 +39,8 @@ dependencies = [
39
39
  "openhands-sdk==1.47.0",
40
40
  "openhands-tools==1.47.0",
41
41
  "python-dotenv>=1.0",
42
+ # Comes with openhands-tools; listed because leftovers.py uses it directly.
43
+ "psutil>=5.9",
42
44
  # Already ships transitively via openhands-sdk — listed explicitly here
43
45
  # since model_catalog.py imports it directly, not ad hoc. (runner.py's
44
46
  # provider/API-failure detection for auto model selection uses the
@@ -108,6 +110,14 @@ exclude = [
108
110
  "**/*.sqlite3",
109
111
  ]
110
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
+
111
121
  [tool.hatch.build.targets.sdist]
112
122
  include = [
113
123
  "/src/certo",
@@ -137,6 +147,11 @@ exclude = [
137
147
  "**/third_party_skills.lock.json",
138
148
  ]
139
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
+
140
155
  [tool.ruff]
141
156
  line-length = 100
142
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.2"
22
+ __version__ = "0.2.4"
@@ -179,14 +179,22 @@ def evaluate_acceptance_check(workspace: str, check: AcceptanceCheck) -> Accepta
179
179
  )
180
180
  note = " (checked only the first 1MB)" if truncated else ""
181
181
  found = check.contains in content
182
+ # The text itself, so rows on the same file can be told apart.
183
+ text = _shown(check.contains)
182
184
  detail = (
183
- f"{check.path} contains the expected text{note}"
185
+ f'{check.path} contains "{text}"{note}'
184
186
  if found
185
- else f"{check.path} does not contain the expected text{note}"
187
+ else f'{check.path} does not contain "{text}"{note}'
186
188
  )
187
189
  return AcceptanceCheckResult(check=check, passed=found, detail=detail)
188
190
 
189
191
 
192
+ def _shown(text: str, limit: int = 80) -> str:
193
+ """`text` on one line, cut to `limit` characters."""
194
+ one_line = " ".join(text.split())
195
+ return one_line if len(one_line) <= limit else one_line[: limit - 3] + "..."
196
+
197
+
190
198
  def evaluate_acceptance_checks(
191
199
  workspace: str, checks: Sequence[AcceptanceCheck]
192
200
  ) -> list[AcceptanceCheckResult]:
@@ -2,15 +2,17 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- from collections.abc import Mapping
5
+ import os
6
+ from collections.abc import Mapping, Sequence
6
7
 
7
8
  from openhands.sdk import LLM, Agent, AgentContext
9
+ from openhands.sdk.skills import Skill
8
10
  from openhands.sdk.context.condenser import LLMSummarizingCondenser
9
11
 
10
12
  from .config import Config
11
13
  from .llm import build_llm
12
14
  from .project_env import ProjectEnv
13
- from .skill_library import collect, disabled_project_skills
15
+ from .skill_library import collect, disabled_project_skills, off_for_language, project_language
14
16
  from .tools import build_tools
15
17
 
16
18
  # The SDK ends a conversation turn (execution_status -> FINISHED) whenever the
@@ -67,6 +69,23 @@ _README_SUFFIX = (
67
69
  # harness already points the terminal at it; this says so, so the agent
68
70
  # installs into it rather than reaching for some other interpreter — live,
69
71
  # an agent tried `<Certo's own python> -m pip install pytest`.
72
+ def project_root(cfg: Config) -> str:
73
+ """The folder the agent works in, as its tools see it: the project's
74
+ absolute path, or the container's mount in Docker (workspace.py)."""
75
+ return "/workspace" if cfg.execution == "docker" else os.path.abspath(cfg.workspace)
76
+
77
+
78
+ def _project_root_suffix(root: str) -> str:
79
+ return (
80
+ f"The project root is {root}. Work only inside it: create, edit, read, "
81
+ "list and search files there, and run commands from there. Never read, "
82
+ "list or search anything above or outside it (its parent folders, other "
83
+ "projects, your home folder): none of it is part of the task, and "
84
+ "another project's files are not yours to copy or change. Tools may "
85
+ "still use their own installs and caches."
86
+ )
87
+
88
+
70
89
  def _project_env_suffix(env: ProjectEnv) -> str:
71
90
  return (
72
91
  f"This project has its own Python environment at {env.venv_dir}, and "
@@ -205,6 +224,7 @@ def build_agent(
205
224
  usage_id: str = "certo",
206
225
  project_env: ProjectEnv | None = None,
207
226
  terminal_env: Mapping[str, str] | None = None,
227
+ trusted_skills: Sequence[Skill] = (),
208
228
  ) -> Agent:
209
229
  # usage_id is forwarded to build_llm() unchanged (default preserves the
210
230
  # single-model behavior everything used before). Auto model selection
@@ -220,6 +240,8 @@ def build_agent(
220
240
  # non-interactive tool flags, keeping .certo/, verify-before-finish,
221
241
  # lifecycle skills).
222
242
  suffixes = [_AUTONOMOUS_SUFFIX] if not cfg.interactive else []
243
+ if cfg.root_prompt:
244
+ suffixes.append(_project_root_suffix(project_root(cfg)))
223
245
  suffixes.extend(
224
246
  [
225
247
  _README_SUFFIX,
@@ -236,7 +258,13 @@ def build_agent(
236
258
  # Official, then third-party (global, then this project's), one skill
237
259
  # per name: AgentContext rejects duplicate names (skill_library.py).
238
260
  # Minus the official ones a benchmark arm turned off.
239
- skills = collect(cfg, cfg.workspace, own=False).without_official(cfg.skills_off)
261
+ # trusted_skills: the run's picks from trusted repositories
262
+ # (skill_match.skills_for_run), after every skill already named.
263
+ # Minus the official skills that don't fit the project's language
264
+ # (a pytest skill in a JavaScript project).
265
+ off = [*cfg.skills_off, *off_for_language(project_language(cfg.workspace))]
266
+ skills = collect(cfg, cfg.workspace, own=False).without_official(off)
267
+ skills += list(trusted_skills)
240
268
  agent_context = AgentContext(
241
269
  skills=skills,
242
270
  # Resolved lazily by the Conversation once the real workspace path is