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.
- {certo-0.2.3 → certo-0.2.4}/.env.example +12 -2
- {certo-0.2.3 → certo-0.2.4}/PKG-INFO +19 -14
- {certo-0.2.3 → certo-0.2.4}/README.md +18 -13
- {certo-0.2.3 → certo-0.2.4}/pyproject.toml +14 -1
- {certo-0.2.3 → certo-0.2.4}/src/certo/__init__.py +1 -1
- {certo-0.2.3 → certo-0.2.4}/src/certo/api.py +16 -2
- certo-0.2.4/src/certo/ask_cmd.py +419 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/bench.py +85 -18
- {certo-0.2.3 → certo-0.2.4}/src/certo/bench_config.py +20 -1
- {certo-0.2.3 → certo-0.2.4}/src/certo/catalog_check.py +20 -10
- {certo-0.2.3 → certo-0.2.4}/src/certo/catalog_report.py +51 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/cli.py +300 -42
- certo-0.2.4/src/certo/computed_ratings.py +369 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/config.py +12 -0
- certo-0.2.4/src/certo/data/model_data.json +4347 -0
- certo-0.2.3/src/certo/examples/models_list.yaml.example → certo-0.2.4/src/certo/data/models_list.yaml +117 -43
- certo-0.2.3/src/certo/examples/task_profiles.yaml.example → certo-0.2.4/src/certo/data/task_profiles.yaml +12 -5
- certo-0.2.4/src/certo/docs_index.py +211 -0
- certo-0.2.4/src/certo/docs_source.py +179 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/escalation.py +53 -2
- {certo-0.2.3 → certo-0.2.4}/src/certo/init_cmd.py +14 -2
- {certo-0.2.3 → certo-0.2.4}/src/certo/init_models.py +8 -8
- {certo-0.2.3 → certo-0.2.4}/src/certo/llm.py +13 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/mcp_server.py +217 -26
- {certo-0.2.3 → certo-0.2.4}/src/certo/menus.py +71 -9
- certo-0.2.4/src/certo/milestone_planner.py +198 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/milestones.py +9 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/model_catalog.py +46 -3
- certo-0.2.4/src/certo/model_data.py +222 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/model_files.py +13 -5
- {certo-0.2.3 → certo-0.2.4}/src/certo/model_price_check.py +3 -3
- {certo-0.2.3 → certo-0.2.4}/src/certo/model_pricing.py +1 -1
- {certo-0.2.3 → certo-0.2.4}/src/certo/model_selection.py +31 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/models_choose.py +83 -7
- {certo-0.2.3 → certo-0.2.4}/src/certo/models_cmd.py +244 -5
- {certo-0.2.3 → certo-0.2.4}/src/certo/project_state.py +2 -2
- certo-0.2.4/src/certo/ratings.py +157 -0
- certo-0.2.4/src/certo/report_cmd.py +324 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/result.py +36 -1
- {certo-0.2.3 → certo-0.2.4}/src/certo/run_progress.py +58 -3
- {certo-0.2.3 → certo-0.2.4}/src/certo/run_report.py +21 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/runner.py +56 -17
- {certo-0.2.3 → certo-0.2.4}/src/certo/runs.py +143 -7
- {certo-0.2.3 → certo-0.2.4}/src/certo/server.py +2 -1
- certo-0.2.4/src/certo/session.py +530 -0
- certo-0.2.4/src/certo/session_screen.py +402 -0
- certo-0.2.4/tests/test_ask_cmd.py +325 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_bench.py +104 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_bench_config.py +3 -3
- {certo-0.2.3 → certo-0.2.4}/tests/test_catalog_check.py +18 -2
- {certo-0.2.3 → certo-0.2.4}/tests/test_cli.py +284 -1
- certo-0.2.4/tests/test_computed_ratings.py +322 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_docs.py +4 -0
- certo-0.2.4/tests/test_docs_source.py +129 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_escalation.py +58 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_escalation_runner.py +65 -9
- {certo-0.2.3 → certo-0.2.4}/tests/test_mcp_server.py +248 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_menus.py +72 -0
- certo-0.2.4/tests/test_milestone_planner.py +204 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_model_catalog.py +14 -15
- certo-0.2.4/tests/test_model_data.py +110 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_model_files.py +3 -1
- {certo-0.2.3 → certo-0.2.4}/tests/test_model_layers.py +1 -1
- {certo-0.2.3 → certo-0.2.4}/tests/test_model_price_check.py +1 -7
- {certo-0.2.3 → certo-0.2.4}/tests/test_packaging.py +17 -5
- {certo-0.2.3 → certo-0.2.4}/tests/test_project_models.py +96 -0
- certo-0.2.4/tests/test_ratings.py +96 -0
- certo-0.2.4/tests/test_report_cmd.py +166 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_run_progress.py +37 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_run_report.py +6 -0
- certo-0.2.4/tests/test_session.py +387 -0
- certo-0.2.4/tests/test_session_screen.py +96 -0
- {certo-0.2.3 → certo-0.2.4}/.gitignore +0 -0
- {certo-0.2.3 → certo-0.2.4}/LICENSE +0 -0
- {certo-0.2.3 → certo-0.2.4}/MANUAL.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/docker/agent-server.Dockerfile +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/__main__.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/acceptance.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/admin_cli.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/agent.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/artifacts.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/banner.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/bench_report.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/bench_strategies.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/bench_tasks.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/VERSION +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/hidden_tests/test_hidden_durations.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/reference/durations.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/duration-parser/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/hidden_tests/test_hidden_inventory.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/reference/inventory.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/reference/test_inventory.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/starter/inventory.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/starter/test_inventory.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/inventory-fix/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/hidden_tests/test_hidden_ledger.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/money.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/reports.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/store.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/ledger/transfers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_money.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_store.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/reference/tests/test_transfers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/README.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/__init__.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/__main__.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/categorize.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/cli.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/importers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/models.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/money.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/reports.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/ledger/store.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/pyproject.toml +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/alpha.csv +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/beta.csv +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/samples/rules.txt +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/__init__.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/helpers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_categorize.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_cli.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_importers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_money.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_reports.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/starter/tests/test_store.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/ledger-transfers/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/hidden_tests/loans_test.go +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/reference/api/api.go +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/reference/api/api_test.go +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/api/api.go +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/cmd/server/main.go +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/starter/go.mod +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/library-loans/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/hidden_tests/test_hidden_pages.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/reference/pages.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/page-ranges/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/hidden_tests/test_hidden_crossing.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/reference/crossing.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/pedestrian-crossing/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/hidden_tests/room_bookings.test.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/rooms.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/server.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/test/app.test.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/reference/ui.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/README.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/package-lock.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/package.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/server.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/starter/ui.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/room-bookings/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/hidden_tests/versions.test.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/reference/package.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/reference/versions.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/starter/package.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/semver-order/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/hidden_tests/slugify.test.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/reference/package.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/reference/slugify.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/starter/package.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/slugify/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/hidden_tests/test_hidden_temperature.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/reference/temperature.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/temperature-table/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/hidden_tests/todo_cli.rs +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/board.rs +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/main.rs +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/reference/src/store.rs +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/starter/Cargo.toml +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/starter/src/main.rs +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/todo-deps/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/hidden_tests/tokenBucket.test.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/reference/package.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/reference/tokenBucket.js +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/starter/package.json +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/token-bucket/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/hidden_tests/test_hidden_wordle_score.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/reference/wordle_score.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/benchmark_tasks/wordle-score/task.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/git/commit-conventions.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/completion-and-release-readiness.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/debugging-and-failure-repair.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/documentation-and-operational-readiness.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/implementation-planning.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/repository-discovery.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/requirements-analysis.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/security-review.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/lifecycle/testing-and-verification.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/node/node-project-setup.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/python/python-environment.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/python-web/fastapi-conventions.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/python-web/pin-dependencies.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/testing/pytest-conventions.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/builtin_skills/testing/testable-interactive-apps.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/cancel.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/check_files.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/checkpoints.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/checkpoints_cmd.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/console.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/context_window.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/cost_limit.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/credits.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/custom_tools/__init__.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/custom_tools/example_tool.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/custom_tools/run_tests_tool.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/deadline.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/examples/bench.yaml.example +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/examples/escalation.yaml.example +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/examples/models.yaml.example +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/independent_tests.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/leftovers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/llm_check.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/model_reachability.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/models_secure.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/models_slim.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/plugins.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/profile_choice.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/project_env.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/project_models.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/project_root.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/root_guard.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/run_history.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/run_stats.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/run_summary.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/skill_assess.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/skill_library.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/skill_match.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/skill_sources.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/skills.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/skills_cmd.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/README.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/gitignore +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/providers.toml +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/alien-trekking.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/hanoi.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/invaders.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/iron-horizon.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/mazeman.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/sky-hopper.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/space-rocks.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/star-swarm.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/team-board.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/starter/tasks/wordle.md +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/task_store.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/text_tool_calls.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/third_party_skills.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/tools.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/update_check.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/verification.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/workspace.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/worktree.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/src/certo/wrap_up.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/conftest.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/custom_tools/test_run_tests_tool.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/model_file_helpers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_acceptance.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_admin_cli.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_agent.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_api.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_artifacts.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_banner.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_bench_report.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_bench_tasks.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_check_files.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_checkpoints.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_checkpoints_cmd.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_config.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_console.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_context_window.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_cost_limit.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_credits.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_deadline.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_docker_image.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_fit_ranking.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_independent_tests.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_init_cmd.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_init_models.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_leftovers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_llm.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_llm_check.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_milestones.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_model_reachability.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_model_selection.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_models_cmd.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_models_secure.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_plugins.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_profile_choice.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_project_env.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_project_env_layouts.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_project_root.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_project_state.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_readme.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_result.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_root_guard.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_run_history.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_run_stats.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_run_summary.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_runner.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_runs.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_server.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_skill_assess.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_skill_library.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_skill_match.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_skills.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_skills_cmd.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_task_store.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_text_tool_calls.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_third_party_skills.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_update_check.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_verification_wrappers.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_version.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_workspace.py +0 -0
- {certo-0.2.3 → certo-0.2.4}/tests/test_worktree.py +0 -0
- {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
|
|
150
|
-
# .
|
|
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
|
+
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
|
-
|
|
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
|
|
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.
|
|
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.
|
|
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
|
|
241
|
-
- `
|
|
242
|
-
- `escalation.yaml
|
|
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
|
|
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
|
-
#
|
|
345
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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.
|
|
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.
|
|
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
|
|
188
|
-
- `
|
|
189
|
-
- `escalation.yaml
|
|
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
|
|
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
|
-
#
|
|
292
|
-
|
|
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
|
|
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
|
+
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"
|
|
@@ -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}")
|