pyplaykit 1.40.1__tar.gz → 1.41.0__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.
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/CHANGELOG.md +20 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/CLAUDE.md +1 -1
- {pyplaykit-1.40.1/pyplaykit.egg-info → pyplaykit-1.41.0}/PKG-INFO +2 -1
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/README.md +1 -0
- {pyplaykit-1.40.1/pyplaykit → pyplaykit-1.41.0}/docs/AGENT_AUTHORING_GUIDE.md +12 -1
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/QE_AGENTS_DESIGN.md +2 -0
- {pyplaykit-1.40.1/pyplaykit → pyplaykit-1.41.0}/docs/QE_AGENTS_GUIDE.md +2 -2
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/assignments.py +6 -13
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/cli.py +108 -3
- pyplaykit-1.41.0/pyplaykit/agents/release_checklist.py +176 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/releases.py +93 -5
- {pyplaykit-1.40.1 → pyplaykit-1.41.0/pyplaykit}/docs/AGENT_AUTHORING_GUIDE.md +12 -1
- {pyplaykit-1.40.1 → pyplaykit-1.41.0/pyplaykit}/docs/QE_AGENTS_GUIDE.md +2 -2
- {pyplaykit-1.40.1 → pyplaykit-1.41.0/pyplaykit.egg-info}/PKG-INFO +2 -1
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit.egg-info/SOURCES.txt +1 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyproject.toml +1 -1
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/.github/copilot-instructions.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/.github/prompts/review-execution-plan-and-implement-next-task.prompt.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/.github/prompts/run-unit-tests-and-coverage.prompt.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/.github/prompts/security-audit-and-consolidated-report.prompt.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/CHOOSE_YOUR_STRUCTURE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/COLUMN_MAPPING_AND_IGNORE_FIELDS_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/COMMANDS_FOR_YOUR_PROJECTS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/COMMIT_SUMMARY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/CONTRIBUTING.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/CORRECTED_PROJECT_NAMES.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/DATABASE_IMPLEMENTATION_SUMMARY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/DELIVERABLES_SUMMARY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/ENTERPRISE_TEST_STRUCTURE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/FINAL_PROJECT_SETUP.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/GAP_TRACKER.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/HOW_TO_ACCESS_DOCS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/INIT_COMMAND_EXAMPLES.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/KEY_BASED_MATCHING_SOLUTION.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/MANIFEST.in +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/MIGRATION_COMPLETE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/MIGRATION_PLAN.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/PIP_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/PYPLAYKIT_CLIENT_OVERVIEW.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/QUICK_DB_REFERENCE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/QUICK_REFERENCE_COMPARISON_FEATURES.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/QUICK_START_QE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/STRUCTURE_COMPARISON.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/TEST_LOCATION_CHEATSHEET.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/VISUAL_COMPARISON.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/WINDOWS_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/YOUR_PROJECTS_IMPLEMENTATION_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/YOUR_SETUP_SUMMARY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/bin/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/components/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/components/base_component.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/components/data_table.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/components/form_field.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/components/modal.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/config.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/data_comparison_profiles.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/devices.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/environments.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/projects/customs_modernization.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/projects/device_lab.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/projects/dispatcho.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/config/projects/timelyquote.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/core/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/core/base_page.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/core/base_test.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/core/browser_factory.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/core/playwright_manager.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/core/quality_gate.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/data_validation_dashboard.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/docker-compose.yml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/engineering_dashboard.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/executive_qe_dashboard.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/grafana-provisioning/dashboards/pyplaykit.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/prometheus.yml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/release_quality_dashboard.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dashboards/test_health_dashboard.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/demo/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/demo/device_lab/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/demo/functional/database/file_comparison/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/demo/functional/database/postgres_src_tgt/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dist_pkg/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/dist_pkg/distribution.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/API_TESTING_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/ARCHITECTURE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/CI_INTEGRATION.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/CLI_REFERENCE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/COMPETITIVE_ANALYSIS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/COVERAGE_IMPROVEMENTS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/CUSTOMER_SCENARIOS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/DATABASE_SUPPORT.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/DATA_VALIDATION_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/DELIVERABLES_INDEX.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/DEVICE_AUTOMATION_WBS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/EXAMPLE_TESTS_SUMMARY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/Enterprise-Framework-Assessment-REVISED.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/Enterprise-Readiness-Assessment.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/Example-Tests-Guide.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/Execution-Plan-Backlog-and-Closure-Tracker.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/FRAMEWORK_CONTRIBUTION_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/01_ARCHITECTURE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/02_DEPLOYMENT_RUNBOOK.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/03_ACCESS_MATRIX.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/04_CLIENT_CONTACT_MATRIX.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/05_OPEN_RISKS_REGISTER.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/06_PENDING_ENHANCEMENTS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/07_PRODUCT_ROADMAP.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/08_ENVIRONMENT_DETAILS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/09_OPERATIONAL_SOPS.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/10_ESCALATION_MATRIX.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/11_KT_RECORDINGS_INDEX.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/12_REVERSE_KT_SIGNOFF.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/13_LEADERSHIP_SIGNOFF.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/KT/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/MCP_SERVER_DESIGN.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/MULTI_DB_VALIDATION_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/MULTI_PROJECT_STRUCTURE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/OBSERVABILITY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/PIP_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/PLUGIN_AUTHORING_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/PyPlayKit-Framework-Overview.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/PyPlayKit-Usage-Scenarios.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/QE_AGENTS_CAPABILITY_INVENTORY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/QE_AGENTS_SPIKES.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/QE_AGENTS_THREAT_MODEL.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/QE_AGENT_PLATFORM_EXPANSION.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/QE_VISUAL_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/QUALITY_GATE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/RESILIENCE_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/RUN_TESTS_QUICK_REFERENCE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/SECRETS_AND_GOVERNANCE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/TEST_CREATION_PLAYGROUND.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/TEST_ORGANIZATION.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/Usage-Scenarios-Feasibility-Analysis.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0001-sync-device-api-with-background-io.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0002-devices-subpackage-and-layering.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0003-dut-naming-for-cli-config-and-fixtures.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0004-optional-dependencies-and-import-guards.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0005-single-source-device-pytest-plugin.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0006-agent-runtime-transport.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0007-agent-autonomy-and-scm-boundaries.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0008-agent-contract-and-versioning.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0009-host-mediation-and-enforcement-model.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0010-target-stack-adapters-and-result-normalization.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0011-generation-capability-registry.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0012-regression-test-selection-safety.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0013-agent-telemetry-and-data-handling.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0014-agents-adopt-vs-build.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0015-agent-release-lifecycle-and-registry.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0016-review-driven-amendments.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0017-agent-evaluation-baseline-then-threshold.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0018-change-intelligence-without-product-source.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/0019-test-creation-from-test-cases-on-sandbox-branches.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/adr/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/device_automation/DESIGN.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/device_automation/GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/docs/device_automation/SPIKES.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/evals/conformance_fake/judges/summary_quality.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/integrations/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/integrations/adapters.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/_ast_utils.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/_config_utils.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/cli.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/server.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/tools/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/tools/agent_tools.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/tools/device_tools.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/tools/package_discovery.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/tools/project_introspection.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/mcp_server/tools/project_state.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/orchestration/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/orchestration/enforcer.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/orchestration/planner.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/orchestration/selection.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pages/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pages/dashboard_page.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pages/login_page.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pages/orangehrm_login_page.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pages/saucedemo_inventory_page.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pages/saucedemo_login_page.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/_observer.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/_reference.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/api_plugin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/base.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/data_plugin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/manifest.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/registry.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/plugins/security_plugin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/PIP_INSTALL_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/__main__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/audit.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/budgets.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/RELEASES.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/_common.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/agent.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/agent.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/conformance.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/impact.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/prompts/change_semantics.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/prompts/regression_additions.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/risk.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/schemas/input.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/schemas/output.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/change_intelligence/selection.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/execution_optimizer/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/execution_optimizer/agent.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/execution_optimizer/agent.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/execution_optimizer/planning.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/execution_optimizer/schemas/input.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/execution_optimizer/schemas/output.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/agent.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/agent.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/assemble.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/layout.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/prompts/generate_tests.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_api.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_db.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_device.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/prompts/guide_ui.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/schemas/input.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/schemas/output.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_creation/testcases.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_review/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_review/agent.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_review/agent.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_review/prompts/test_intent.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_review/rules.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_review/schemas/input.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/builtin/test_review/schemas/output.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/fake_agent/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/fake_agent/agent.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/fake_agent/agent.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/fake_agent/conformance.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/fake_agent/schemas/input.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/fake_agent/schemas/output.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/conformance/suite.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/contract.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/enforcement.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/errors.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/evals/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/evals/dataset.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/evals/gate.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/evals/harness.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/evals/scorers.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/host_tools.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/impact_map.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/anthropic.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/base.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/cache.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/fake.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/ollama.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/openai_compat.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/pricing.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/recording.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/llm/routing.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/output.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/policy.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/read_tools.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/redaction.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/references.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/registry.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/reports.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/runner.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/sandbox.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/schemas/1/agent-manifest.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/schemas/1/change-proposal.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/schemas/1/run-result.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/schemas/1/task-envelope.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/session.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/settings.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/stacks/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/stacks/base.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/stacks/environment.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/stacks/junit.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/stacks/python_pytest.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/stdio.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/stdio_runner.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/telemetry.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/agents/tools.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/cli.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/config/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/config/config.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/config/devices.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/config/environments.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/_extras.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/assertions.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/buffer.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/candb.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/channel.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/clock.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/commands.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/components.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/config.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/console.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/device.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/editor.html +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/editor.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/errors.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/events.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/factory.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/fault_proxy.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/faults.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/fidelity.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/gatt.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/introspect.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/inventory.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/leasing.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/matching.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/messages.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/parsers.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/pool.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/power.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/provider.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/pytest_plugin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/recording.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/recovery.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/registers.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/ble.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/components.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/base.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/ble.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/can.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/http.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/modbus.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/mqtt.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/serial.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/endpoints/ssh.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/host.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/modbus.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/replay.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/scheduler.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/seed.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/sensor_faults.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/serve.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/signals.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/subprocess_twin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/templating.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/energy_meter.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/engine.dbc +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/engine_ecu.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/environment_sensor.yaml +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/heart_rate.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/smart_plug.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/twins/thermostat.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/sim/yaml_twin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/snmp.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/terminal.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/testing.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transcript.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transport.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/_async_bridge.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/adb.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/ble.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/can.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/coap.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/http.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/modbus.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/mqtt.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/serial.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/ssh.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/transports/telnet.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/waiting.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/devices/yamlutil.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/API_TESTING_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/ARCHITECTURE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/CI_INTEGRATION.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/CLI_REFERENCE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/DATABASE_SUPPORT.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/DATA_VALIDATION_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/MCP_SERVER_DESIGN.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/MULTI_PROJECT_STRUCTURE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/OBSERVABILITY.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/PLUGIN_AUTHORING_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/QE_VISUAL_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/QUICK_START_QE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/RESILIENCE_GUIDE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/RUN_TESTS_QUICK_REFERENCE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/SECRETS_AND_GOVERNANCE.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/TEST_CREATION_PLAYGROUND.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/TEST_ORGANIZATION.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/examples/testcases/api_posts.csv +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/examples/testcases/custom_columns.csv +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/examples/testcases/db_employees.csv +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/examples/testcases/device_thermostat.csv +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/examples/testcases/mixed_checkout.csv +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/examples/testcases/steps_per_row.csv +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/docs/examples/testcases/ui_login.csv +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/extras.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/plugin.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit/show_docs.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit.egg-info/dependency_links.txt +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit.egg-info/entry_points.txt +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit.egg-info/requires.txt +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/pyplaykit.egg-info/top_level.txt +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/resilience/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/resilience/locator_recovery.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/setup.cfg +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/spikes/device_automation/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/spikes/qe_agents/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/api/ecom/auth_payloads.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/api/ecom/product_payloads.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/api_test_data.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/data_validation_test_data.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/login_test_data.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/orangehrm_login_data.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/pacts/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/test_data/ui_test_data.json +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/customs_modernization/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/demo/functional/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/demo/functional/api/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/demo/functional/database/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/demo/functional/ui/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/demo/integration/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/dispatcho/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/tests/projects/timelyquote/README.md +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/api_client.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/api_test_helper.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/assertion_helper.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/auth_manager.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/comparison_config_loader.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/contract/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/contract/pact_consumer.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/dashboard.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/data_comparison_report.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/data_comparison_utils.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/data_loader.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/data_source.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/data_validator.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/database_clients.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_client.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/db2.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/informix.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/mongodb.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/mysql.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/oracle.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/snowflake.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/sqlite.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_drivers/sqlserver.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_factory.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_fixtures.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_pool.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/db_validation_helper.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/environment_validator.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/file_reader.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/governance.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/graphql_client.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/logger.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/observability.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/observability_report.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/org_governance.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/project_config.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/response_validator.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/screenshot_helper.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/secret_redaction.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/secrets/__init__.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/secrets/aws_provider.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/secrets/azure_provider.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/secrets/base.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/secrets/env_provider.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/secrets/vault_provider.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/soap_client.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/tdm.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/telemetry.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/telemetry_schema.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/transformation_validator.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/ui_db_validator.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/version_checker.py +0 -0
- {pyplaykit-1.40.1 → pyplaykit-1.41.0}/utils/yaml_config_reader.py +0 -0
|
@@ -11,6 +11,26 @@ Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
|
+
## [1.41.0] — 2026-10-23
|
|
15
|
+
|
|
16
|
+
Agent release gates: an agent release is approved only with a complete release checklist (owner, scope, risk assessment, a quality, cost and latency baseline, and disable and rollback paths), and every release records which prompt and configuration files it changed.
|
|
17
|
+
|
|
18
|
+
### Behaviour changes — check before upgrading
|
|
19
|
+
|
|
20
|
+
- **Approving a release needs a complete release checklist.** *What to do:* for each evaluated release waiting for approval, run `pyplaykit agents release checklist <agent>@<version> --template`, fill in the items marked for people, and run the command again until it exits 0. The eval card behind the release needs a cost guardrail (`cost_usd_per_run` or `tokens_per_run`) and a latency guardrail (`p95_latency_s` or `mean_latency_s`).
|
|
21
|
+
- **Records drafted before this version cannot complete a checklist.** They have no support matrix or file digests (`release_schema` 1.1). *What to do:* draft them again as a new agent version. Published releases keep running; nothing changes for them.
|
|
22
|
+
- **Keep the release registry LF.** Records and checklists are pinned by a SHA-256 over their bytes. *What to do:* add `config/agents/releases/** text eol=lf` (or your registry path) to `.gitattributes`.
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **Agent release gates (US-AG08.4.1; design §7).** An evaluated release is approved only with a complete release checklist, `<agent>/<version>.checklist.yaml` in the registry. `pyplaykit agents release checklist <agent>@<version> [--template]` writes one and reports each item (exit 1 while incomplete). The host checks manifest, owner, support matrix, permissions, autonomy ceiling, a quality baseline with cost and latency guardrails from the eval gate, and prompt/configuration history. People supply the out-of-scope list, behaviour for unsupported input, risk assessment, disable path and rollback target (an earlier published or deprecated release, or `none`). The first approval records the checklist's SHA-256 and freezes it, and the approved transition records it as evidence. The release record (`release_schema` 1.1) adds stacks, support and a SHA-256 per prompt and configuration file: `pyplaykit agents release history <agent>` lists what each version added, changed or removed, and `compare` shows changed files. `pyplaykit agents disable <agent> [--project P]` prints the `agents.denied` change that turns an agent off.
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- The eval gate result on a release record now lists the card's guardrail metrics, and the conformance reference suite gains a `p95_latency_s` guardrail.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
14
34
|
## [1.40.1] — 2026-10-22
|
|
15
35
|
|
|
16
36
|
Publishes everything in 1.40.0, which was tagged but never reached PyPI. Upgrading from 1.39.x: read the 1.40.0 entry below, including its behaviour changes.
|
|
@@ -106,7 +106,7 @@ Available pytest CLI options (registered in `conftest.py`):
|
|
|
106
106
|
- `--pyplaykit-select-from` — Apply a change-intelligence regression plan (`regression_plan.json` or `latest`): deselect only tests it marks safe to skip, in PR pipelines with `agents.change_intelligence.apply_selection` on the base branch; or PYPLAYKIT_SELECT_FROM
|
|
107
107
|
- `--pyplaykit-agents` — After the session, run the agents in `agents.triggers.on_session_finish` (local only; skipped in CI; requires `agents.enabled`)
|
|
108
108
|
|
|
109
|
-
QE agents CLI: `pyplaykit agents [--config DIR] [--json] list | show <agent> | run <agent> [--input JSON|FILE] [--stack S] [--autonomy LEVEL] [--project P] | usage [--by agent|model|project|day] [--days N] | policy [--project P] [--business-unit B] | audit verify|head | decide <proposal> accept|reject --agent A | prune | controls | scan [PATH...] | impact-map build|show [--coverage FILE] [--incremental] | tools | tool <name> [--args JSON] [--env E] | conformance <agent|path> [--case ID] [--category C] [--input JSON] [--report FILE] [--list] | release draft <agent|path> | release evaluate|approve|publish|reject|deprecate|revoke|retire|show <agent>@<version> [--role R] [--reason TEXT] [--replacement R --sunset D] | release verify | releases [<agent>] [--state S] | assignments [--project P] [--env E] | compare <agent>@<a> <agent>@<b> | rollback <agent> --to V [--project P] [--allow-deprecated] | eval <agent|path> [--suite DIR] [--mode replay|record|live] [--split holdout|tune|all] [--item ID] [--runs N] [--output DIR] [--gate | --baseline write [--note TEXT]]` (`run` also takes `--env E` and `--unreleased` (local only); every run's release is verified first (ADR-0015); `conformance` needs no `agents.enabled`, runs fixtures only, exits 0 only when no case fails; see docs/AGENT_AUTHORING_GUIDE.md) (disabled by default — `agents.enabled: false` in `config/config.yaml`; `run` exits 0 only on success; see docs/QE_AGENTS_DESIGN.md).
|
|
109
|
+
QE agents CLI: `pyplaykit agents [--config DIR] [--json] list | show <agent> | run <agent> [--input JSON|FILE] [--stack S] [--autonomy LEVEL] [--project P] | usage [--by agent|model|project|day] [--days N] | policy [--project P] [--business-unit B] | audit verify|head | decide <proposal> accept|reject --agent A | prune | controls | scan [PATH...] | impact-map build|show [--coverage FILE] [--incremental] | tools | tool <name> [--args JSON] [--env E] | conformance <agent|path> [--case ID] [--category C] [--input JSON] [--report FILE] [--list] | release draft <agent|path> | release evaluate|approve|publish|reject|deprecate|revoke|retire|show|checklist <agent>@<version> [--role R] [--reason TEXT] [--replacement R --sunset D] | release verify | release history <agent> | disable <agent> [--project P] | releases [<agent>] [--state S] | assignments [--project P] [--env E] | compare <agent>@<a> <agent>@<b> | rollback <agent> --to V [--project P] [--allow-deprecated] | eval <agent|path> [--suite DIR] [--mode replay|record|live] [--split holdout|tune|all] [--item ID] [--runs N] [--output DIR] [--gate | --baseline write [--note TEXT]]` (`run` also takes `--env E` and `--unreleased` (local only); every run's release is verified first (ADR-0015); `conformance` needs no `agents.enabled`, runs fixtures only, exits 0 only when no case fails; see docs/AGENT_AUTHORING_GUIDE.md) (disabled by default — `agents.enabled: false` in `config/config.yaml`; `run` exits 0 only on success; see docs/QE_AGENTS_DESIGN.md).
|
|
110
110
|
|
|
111
111
|
Device bench CLI: `pyplaykit devices [--config DIR] [--env ENV] [--bench B] [--mode M] list | show <dut> | check | scenarios | report | catalog [--json] | release <dut> | editor [--serve]` (`check` exits 1 when a DUT is not ready; `--json` output matches the MCP device tools; `editor` edits devices.yaml through forms in a self-contained HTML page, `--serve` saves it directly).
|
|
112
112
|
- `pyplaykit devices list|release <dut>` — Device bench inventory (capabilities, leases, quarantine)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyplaykit
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.41.0
|
|
4
4
|
Summary: Enterprise Python + Playwright automation framework
|
|
5
5
|
Author-email: Shan Konduru <shankonduru@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -1026,6 +1026,7 @@ Each project config includes:
|
|
|
1026
1026
|
- v1.39.0: Phase 2 conformance and out-of-process runtime: `pyplaykit agents conformance` (23 contract, policy and security cases), the stdio transport for agents that are not built-in (JSON-RPC, minimal environment, F12 limits, tree kill), the Python stdio runner and a Node.js reference agent; context references confined (F9); agent authoring guide: `pyplaykit docs agent-authoring`
|
|
1027
1027
|
- v1.40.0: agents measured and released: `pyplaykit agents eval` (golden datasets, replayed traffic, Wilson intervals, versioned baselines and a regression gate in CI), the release registry (`agents release draft | evaluate | approve | publish | deprecate | revoke | retire`, frozen hash-chained records, approvals by risk tier), assignments and a pre-run release check on every run, release lineage on runs, spans and artifacts, and the `pyplaykit_list_agent_releases` MCP tool
|
|
1028
1028
|
- v1.40.1: first PyPI release of 1.40.0's content (1.40.0 was tagged but its publish failed); fixes the publish workflow
|
|
1029
|
+
- v1.41.0: agent release gates: `pyplaykit agents release checklist` (approval needs a complete checklist: owner, support matrix, permissions, scope, risk assessment, a quality, cost and latency baseline, disable and rollback paths, frozen at the first approval), per-file prompt and configuration history (`release history`, `compare`), and `pyplaykit agents disable`
|
|
1029
1030
|
- v1.36.0: agent governance and safety — policy through org governance, redaction, audit log, tool tiers, enforcement model
|
|
1030
1031
|
- v1.35.0: agent observability — GenAI traces, `agent.*` events and `pyplaykit_agent_*` metrics, run log and reports
|
|
1031
1032
|
- v1.34.0: LLM layer — provider-neutral requests, Anthropic / OpenAI-compatible / Ollama adapters, fake and record/replay clients, model tiers with fallback and retries, budgets, cost and a response cache. No built-in agents ship yet.
|
|
@@ -851,6 +851,7 @@ Each project config includes:
|
|
|
851
851
|
- v1.39.0: Phase 2 conformance and out-of-process runtime: `pyplaykit agents conformance` (23 contract, policy and security cases), the stdio transport for agents that are not built-in (JSON-RPC, minimal environment, F12 limits, tree kill), the Python stdio runner and a Node.js reference agent; context references confined (F9); agent authoring guide: `pyplaykit docs agent-authoring`
|
|
852
852
|
- v1.40.0: agents measured and released: `pyplaykit agents eval` (golden datasets, replayed traffic, Wilson intervals, versioned baselines and a regression gate in CI), the release registry (`agents release draft | evaluate | approve | publish | deprecate | revoke | retire`, frozen hash-chained records, approvals by risk tier), assignments and a pre-run release check on every run, release lineage on runs, spans and artifacts, and the `pyplaykit_list_agent_releases` MCP tool
|
|
853
853
|
- v1.40.1: first PyPI release of 1.40.0's content (1.40.0 was tagged but its publish failed); fixes the publish workflow
|
|
854
|
+
- v1.41.0: agent release gates: `pyplaykit agents release checklist` (approval needs a complete checklist: owner, support matrix, permissions, scope, risk assessment, a quality, cost and latency baseline, disable and rollback paths, frozen at the first approval), per-file prompt and configuration history (`release history`, `compare`), and `pyplaykit agents disable`
|
|
854
855
|
- v1.36.0: agent governance and safety — policy through org governance, redaction, audit log, tool tiers, enforcement model
|
|
855
856
|
- v1.35.0: agent observability — GenAI traces, `agent.*` events and `pyplaykit_agent_*` metrics, run log and reports
|
|
856
857
|
- v1.34.0: LLM layer — provider-neutral requests, Anthropic / OpenAI-compatible / Ollama adapters, fake and record/replay clients, model tiers with fallback and retries, budgets, cost and a response cache. No built-in agents ship yet.
|
|
@@ -254,8 +254,19 @@ Withdraw a release with `release deprecate --replacement <agent@version|none> --
|
|
|
254
254
|
`agents.releases.on_revoke: previous_published` falls back to the previous release) or `release retire`
|
|
255
255
|
(final). Each prints the policy entries still naming the release, for you to change.
|
|
256
256
|
|
|
257
|
+
Before the first approval, complete the release checklist: `pyplaykit agents release checklist
|
|
258
|
+
my-agent@1.0.0 --template` writes `<agent>/<version>.checklist.yaml` in the registry. Fill in what the
|
|
259
|
+
agent does not do (`out_of_scope`), what it does with unsupported input, its risks with mitigations, how to
|
|
260
|
+
disable it and the release to roll back to (or `none`); run the command again until it exits 0. The host
|
|
261
|
+
checks the rest from the release record, including an eval baseline whose card has a cost guardrail
|
|
262
|
+
(`cost_usd_per_run` or `tokens_per_run`) and a latency guardrail (`p95_latency_s` or `mean_latency_s`).
|
|
263
|
+
The first approval freezes the checklist. `release history my-agent` lists the prompt and configuration
|
|
264
|
+
files each version changed.
|
|
265
|
+
|
|
257
266
|
Any change to the agent is a new version and a new draft. Protect the registry path with CODEOWNERS
|
|
258
|
-
and branch protection: approvals are only as trustworthy as that review.
|
|
267
|
+
and branch protection: approvals are only as trustworthy as that review. Release records and checklists are
|
|
268
|
+
pinned by a SHA-256 over their bytes, so keep the registry LF on every platform
|
|
269
|
+
(`config/agents/releases/** text eol=lf` in `.gitattributes`). Built-in agents are released
|
|
259
270
|
with PyPlayKit; after editing one, run `python -m pyplaykit.agents.releases --write-builtins`.
|
|
260
271
|
|
|
261
272
|
## 10. In CI
|
|
@@ -638,6 +638,8 @@ An agent is released, or raised to a higher autonomy level, only when it has:
|
|
|
638
638
|
- A disable and rollback path, and versioned prompt and configuration history.
|
|
639
639
|
- A release record that reached `published` in the release registry, with the approvals its effective risk tier requires ([ADR-0015](adr/0015-agent-release-lifecycle-and-registry.md)). CI runs only pinned, published (or deprecated) releases.
|
|
640
640
|
|
|
641
|
+
Implemented in US-AG08.4.1 (`pyplaykit/agents/release_checklist.py`). The checklist is `<agent>/<version>.checklist.yaml` in the release registry; `pyplaykit agents release checklist <agent>@<version> [--template]` writes and reports it (exit 1 while incomplete). The host checks the manifest digest in the frozen record, owner, stacks and support matrix, tools and model tier, `autonomy_max`, the eval gate (passed against a baseline, with a cost guardrail, `cost_usd_per_run` or `tokens_per_run`, and a latency guardrail, `p95_latency_s` or `mean_latency_s`) and the per-file prompt and configuration digests. People supply `out_of_scope`, `unsupported_input`, `risk_assessment.risks` (each with a mitigation), `disable` and `rollback.target` (an earlier published or deprecated version, or `none`). Every approval needs a complete checklist; the first records its SHA-256 and freezes it, later approvals and the approved transition record the same digest as the evaluated → approved evidence, and a changed checklist is refused like a changed record. Release records (`release_schema` 1.1) add `stacks`, `support` and `files` (SHA-256 per prompt, under `prompts/` or with a prompt suffix, and per configuration file); `release history <agent>` lists the files each version added, changed or removed, and `compare` shows them per file. The disable path is `pyplaykit agents disable <agent> [--project P]`, which prints the `agents.denied` change (nothing is applied); the rollback path is `rollback`, a pin change.
|
|
642
|
+
|
|
641
643
|
---
|
|
642
644
|
|
|
643
645
|
## 8. Quality gate and release recommendation
|
|
@@ -299,8 +299,8 @@ Start with `apply_selection: false` and compare the plans with your full runs be
|
|
|
299
299
|
| `pyplaykit agents audit verify\|head` | Check the tamper-evident audit log |
|
|
300
300
|
| `pyplaykit agents prune` | Apply retention to run log, audit log and cache |
|
|
301
301
|
| `pyplaykit agents eval <agent> [--mode replay\|record\|live] [--split holdout\|tune\|all]` | Score an agent on its golden dataset (`evals/<agent>/card.yaml`); report in `reports/agents/evals/`; `--baseline write` stores a baseline, `--gate` fails on a regression |
|
|
302
|
-
| `pyplaykit agents release draft\|evaluate\|approve\|publish\|reject\|deprecate\|revoke\|retire\|show\|verify` | The release registry (ADR-0015): move an agent version from draft to published with gates and approvals |
|
|
303
|
-
| `pyplaykit agents releases` / `assignments` / `compare <a> <b>` / `rollback <agent> --to V` | Release catalog, what each agent resolves to and why, diff two releases, validate a rollback |
|
|
302
|
+
| `pyplaykit agents release draft\|evaluate\|approve\|publish\|reject\|deprecate\|revoke\|retire\|show\|verify\|checklist\|history` | The release registry (ADR-0015): move an agent version from draft to published with gates and approvals; `checklist` reports the release gates an approval needs, `history` the prompt and configuration changes per version |
|
|
303
|
+
| `pyplaykit agents releases` / `assignments` / `compare <a> <b>` / `rollback <agent> --to V` / `disable <agent>` | Release catalog, what each agent resolves to and why, diff two releases, validate a rollback, print the change that turns an agent off |
|
|
304
304
|
| `pyplaykit agents conformance <agent\|path>` | Prove an agent honours the contract (`--list` shows the cases); see `pyplaykit docs agent-authoring` |
|
|
305
305
|
| `pytest --pyplaykit-select-from <plan\|latest>` | Apply a regression plan (PR pipelines) |
|
|
306
306
|
| `pyplaykit-mcp list-agents` / `get-agent-usage` / `run-agent` | The same through the MCP server |
|
|
@@ -47,7 +47,7 @@ from pyplaykit.agents.contract import AUTONOMY_ORDER, check_contract_version, to
|
|
|
47
47
|
from pyplaykit.agents.errors import AgentContractError
|
|
48
48
|
from pyplaykit.agents import registry as _registry
|
|
49
49
|
from pyplaykit.agents.registry import DiscoveredAgent, directory_digest
|
|
50
|
-
from pyplaykit.agents.releases import RUNNABLE, Release, ReleaseError, ReleaseRegistry, manifest_sha256
|
|
50
|
+
from pyplaykit.agents.releases import RUNNABLE, Release, ReleaseError, ReleaseRegistry, manifest_sha256, version_key
|
|
51
51
|
|
|
52
52
|
REQUIRE_PIN_ENV = "PYPLAYKIT_AGENTS_REQUIRE_PIN"
|
|
53
53
|
SHADOW_DIR = Path("reports") / "agents" / "shadow"
|
|
@@ -192,7 +192,7 @@ class ReleaseGate:
|
|
|
192
192
|
candidates = [r for r in self.registry.releases(agent.name) if r.state == "published"]
|
|
193
193
|
if not candidates:
|
|
194
194
|
raise ReleaseError(f"{agent.name} has no published release in {self.registry.directory}")
|
|
195
|
-
release = max(candidates, key=lambda r:
|
|
195
|
+
release = max(candidates, key=lambda r: version_key(r.version))
|
|
196
196
|
resolution.warnings.append(f"{agent.name} is not pinned; resolved to the newest published release "
|
|
197
197
|
f"{release.version}")
|
|
198
198
|
else:
|
|
@@ -213,11 +213,11 @@ class ReleaseGate:
|
|
|
213
213
|
if self.on_revoke == "disable":
|
|
214
214
|
raise ReleaseError(f"{revoked.agent}@{revoked.version} was revoked ({reason}); on_revoke: disable")
|
|
215
215
|
earlier = [r for r in self.registry.releases(revoked.agent)
|
|
216
|
-
if r.state == "published" and
|
|
216
|
+
if r.state == "published" and version_key(r.version) < version_key(revoked.version)]
|
|
217
217
|
if not earlier:
|
|
218
218
|
raise ReleaseError(f"{revoked.agent}@{revoked.version} was revoked ({reason}) and no earlier release "
|
|
219
219
|
"is published (on_revoke: previous_published)")
|
|
220
|
-
target = max(earlier, key=lambda r:
|
|
220
|
+
target = max(earlier, key=lambda r: version_key(r.version))
|
|
221
221
|
resolution.warnings.append(f"{revoked.agent}@{revoked.version} was revoked ({reason}); on_revoke "
|
|
222
222
|
f"previous_published resolves to {target.version}: pin it in agents.assignments")
|
|
223
223
|
return target
|
|
@@ -307,13 +307,6 @@ def verify_release(release: Release, agent: DiscoveredAgent, *, states: tuple[st
|
|
|
307
307
|
f"({', '.join(changed)} differ)")
|
|
308
308
|
|
|
309
309
|
|
|
310
|
-
def _version_key(version: str) -> tuple:
|
|
311
|
-
from packaging.version import InvalidVersion, Version
|
|
312
|
-
|
|
313
|
-
try:
|
|
314
|
-
return (1, Version(version))
|
|
315
|
-
except InvalidVersion:
|
|
316
|
-
return (0, version)
|
|
317
310
|
|
|
318
311
|
|
|
319
312
|
def _summary(result: Any) -> dict[str, Any]:
|
|
@@ -349,9 +342,9 @@ def withdrawal_actions(gate: ReleaseGate, release: Release) -> list[str]:
|
|
|
349
342
|
actions = [f"remove or change {ref}" for ref in refs["assignments"] + refs["enabled_agents"]]
|
|
350
343
|
if release.state == "revoked" and gate.on_revoke == "previous_published":
|
|
351
344
|
earlier = [r for r in gate.registry.releases(release.agent)
|
|
352
|
-
if r.state == "published" and
|
|
345
|
+
if r.state == "published" and version_key(r.version) < version_key(release.version)]
|
|
353
346
|
if earlier:
|
|
354
|
-
target = max(earlier, key=lambda r:
|
|
347
|
+
target = max(earlier, key=lambda r: version_key(r.version))
|
|
355
348
|
actions.append(f"pin agents.assignments.{release.agent}.release: {target.version} "
|
|
356
349
|
f"(release_sha256: {target.record_sha256}); runs resolve to it meanwhile (on_revoke)")
|
|
357
350
|
others = [r for r in gate.registry.releases(release.agent) if r.version != release.version and r.state in RUNNABLE]
|
|
@@ -20,11 +20,14 @@
|
|
|
20
20
|
report in reports/agents/evals/<agent>/ (exit 1 when an item errors or a guardrail fails);
|
|
21
21
|
--gate compares with the stored baseline (exit 1 unless it passes), --baseline write stores one
|
|
22
22
|
release the release registry (ADR-0015): draft | evaluate | approve | publish | reject | deprecate |
|
|
23
|
-
revoke | retire a release, show one, or verify every record and print the events chain heads
|
|
23
|
+
revoke | retire a release, show one, or verify every record and print the events chain heads;
|
|
24
|
+
checklist reports the release gates (exit 1 while incomplete), history the prompt and
|
|
25
|
+
configuration files each version changed (US-AG08.4.1)
|
|
24
26
|
releases the release catalog: owner, domain, risk, state and assignment per release
|
|
25
27
|
assignments which release each agent resolves to for a project and environment, and why (or why not)
|
|
26
28
|
compare diff two releases of an agent: manifest, tools, model tier, autonomy, digests, eval results
|
|
27
29
|
rollback validate a rollback target and print the assignment change (nothing is applied)
|
|
30
|
+
disable print the policy change that turns an agent off (nothing is applied)
|
|
28
31
|
|
|
29
32
|
Exit codes: 0 success, 1 not found or the run did not succeed, 2 usage or configuration error.
|
|
30
33
|
"""
|
|
@@ -163,6 +166,14 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
163
166
|
step = steps.add_parser("show", help="one release: state, subject, approvals and events chain head")
|
|
164
167
|
step.add_argument("ref", help="<agent>@<version>")
|
|
165
168
|
steps.add_parser("verify", help="verify every release record and print the events chain heads (F16)")
|
|
169
|
+
step = steps.add_parser("checklist", help="the release checklist: what is complete and what is missing "
|
|
170
|
+
"(exit 1 while incomplete)")
|
|
171
|
+
step.add_argument("ref", help="<agent>@<version>")
|
|
172
|
+
step.add_argument("--template", action="store_true",
|
|
173
|
+
help="write <agent>/<version>.checklist.yaml in the registry for people to complete")
|
|
174
|
+
step = steps.add_parser("history", help="an agent's releases in version order, with the prompt and "
|
|
175
|
+
"configuration files each one added, changed or removed")
|
|
176
|
+
step.add_argument("agent")
|
|
166
177
|
catalog = sub.add_parser("releases", help="the release catalog: owner, domain, risk, state, assignments")
|
|
167
178
|
catalog.add_argument("agent", nargs="?", default=None)
|
|
168
179
|
catalog.add_argument("--state", default=None, choices=("draft", "evaluated", "approved", "published",
|
|
@@ -178,6 +189,9 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
178
189
|
back.add_argument("--to", required=True, help="the version to roll back to")
|
|
179
190
|
back.add_argument("--project", default=None, help="project whose assignment changes")
|
|
180
191
|
back.add_argument("--allow-deprecated", action="store_true", help="allow a deprecated release as the target")
|
|
192
|
+
off = sub.add_parser("disable", help="print the policy change that turns an agent off")
|
|
193
|
+
off.add_argument("agent")
|
|
194
|
+
off.add_argument("--project", default=None, help="project whose policy changes")
|
|
181
195
|
usage = sub.add_parser("usage", help="runs, tokens and cost from reports/agents/runs.jsonl")
|
|
182
196
|
usage.add_argument("--by", default="agent", choices=("agent", "model", "project", "day"), help="grouping")
|
|
183
197
|
usage.add_argument("--days", type=float, default=30, help="look back this many days (default: 30)")
|
|
@@ -217,7 +231,7 @@ def main(argv: list[str] | None = None, *, out: TextIO | None = None) -> int:
|
|
|
217
231
|
return _eval(args, out, config_dir)
|
|
218
232
|
if args.command == "release":
|
|
219
233
|
return _release(args, out, config_dir)
|
|
220
|
-
if args.command in ("releases", "assignments", "compare", "rollback"):
|
|
234
|
+
if args.command in ("releases", "assignments", "compare", "rollback", "disable"):
|
|
221
235
|
return _catalog(args, out, config_dir)
|
|
222
236
|
try:
|
|
223
237
|
section = load_agents_config(config_dir, getattr(args, "project", None))
|
|
@@ -561,6 +575,10 @@ def _release(args: argparse.Namespace, out: TextIO, config_dir: Path) -> int:
|
|
|
561
575
|
registry = rel.ReleaseRegistry.from_config(section, root)
|
|
562
576
|
if args.step == "verify":
|
|
563
577
|
return _release_verify(registry, args, out)
|
|
578
|
+
if args.step == "checklist":
|
|
579
|
+
return _release_checklist(registry, args, out)
|
|
580
|
+
if args.step == "history":
|
|
581
|
+
return _release_history(registry, args, out)
|
|
564
582
|
if args.step == "draft":
|
|
565
583
|
agent, report = _conformance_agent(args.target, config_dir)
|
|
566
584
|
if agent is None:
|
|
@@ -602,6 +620,7 @@ def _release(args: argparse.Namespace, out: TextIO, config_dir: Path) -> int:
|
|
|
602
620
|
"risk_tier": release.subject.get("risk_tier"), "required_roles": roles,
|
|
603
621
|
"approvals": [{"role": a.get("role"), "by": a.get("by"), "at": a.get("at")} for a in release.approvals],
|
|
604
622
|
"record_sha256": release.record_sha256, "chain_head": release.chain_head, "subject": release.subject,
|
|
623
|
+
"checklist_sha256": next((a.get("checklist_sha256") for a in release.approvals), None),
|
|
605
624
|
"policy_actions": actions}
|
|
606
625
|
if args.json:
|
|
607
626
|
print(json.dumps(data, indent=2, default=str), file=out)
|
|
@@ -612,6 +631,10 @@ def _release(args: argparse.Namespace, out: TextIO, config_dir: Path) -> int:
|
|
|
612
631
|
print(f" approved as {approval['role']} by {approval['by']} at {approval['at']}", file=out)
|
|
613
632
|
if release.record_sha256:
|
|
614
633
|
print(f" record sha256 {release.record_sha256}", file=out)
|
|
634
|
+
if data["checklist_sha256"]:
|
|
635
|
+
print(f" checklist sha256 {data['checklist_sha256']}", file=out)
|
|
636
|
+
elif release.state == "evaluated":
|
|
637
|
+
print(f" release checklist: pyplaykit agents release checklist {release.agent}@{release.version}", file=out)
|
|
615
638
|
print(f" events chain head {release.chain_head}", file=out)
|
|
616
639
|
for action in actions:
|
|
617
640
|
print(f" policy: {encode(action, 'terminal')}", file=out)
|
|
@@ -619,7 +642,7 @@ def _release(args: argparse.Namespace, out: TextIO, config_dir: Path) -> int:
|
|
|
619
642
|
|
|
620
643
|
|
|
621
644
|
def _catalog(args: argparse.Namespace, out: TextIO, config_dir: Path) -> int:
|
|
622
|
-
"""``releases``, ``assignments``, ``compare
|
|
645
|
+
"""``releases``, ``assignments``, ``compare``, ``rollback`` (US-AG08.5.2) and ``disable`` (US-AG08.4.1)."""
|
|
623
646
|
from pyplaykit.agents import releases as rel
|
|
624
647
|
from pyplaykit.agents.assignments import ReleaseGate, assignment_for, rollback_target
|
|
625
648
|
|
|
@@ -640,6 +663,8 @@ def _catalog(args: argparse.Namespace, out: TextIO, config_dir: Path) -> int:
|
|
|
640
663
|
"warnings": resolution.warnings})
|
|
641
664
|
elif args.command == "compare":
|
|
642
665
|
data = _compare_releases(gate.registry, args.a, args.b)
|
|
666
|
+
elif args.command == "disable":
|
|
667
|
+
data = _disable_change(gate, section, root, args)
|
|
643
668
|
else:
|
|
644
669
|
target = rollback_target(gate, args.agent, args.to, allow_deprecated=args.allow_deprecated)
|
|
645
670
|
current = assignment_for(section, args.agent)
|
|
@@ -667,6 +692,18 @@ def _catalog(args: argparse.Namespace, out: TextIO, config_dir: Path) -> int:
|
|
|
667
692
|
print(f"{args.a} vs {args.b}: {len(data['differences'])} difference(s)", file=out)
|
|
668
693
|
for key, (left, right) in data["differences"].items():
|
|
669
694
|
print(f" {key:<24} {json.dumps(left, default=str)} -> {json.dumps(right, default=str)}", file=out)
|
|
695
|
+
elif args.command == "disable":
|
|
696
|
+
import yaml
|
|
697
|
+
|
|
698
|
+
if data["already_disabled"]:
|
|
699
|
+
print(f"{args.agent} is already in agents.denied; nothing to change.", file=out)
|
|
700
|
+
else:
|
|
701
|
+
scope = f"project {args.project}" if args.project else "agents"
|
|
702
|
+
print(f"disable {args.agent}: new runs are refused at once. Apply this change to the {scope} policy; "
|
|
703
|
+
"it is audited like any policy change:", file=out)
|
|
704
|
+
print(yaml.safe_dump(data["change"], sort_keys=False).rstrip(), file=out)
|
|
705
|
+
print("To turn it back on, remove it from agents.denied; to run an earlier release instead, use "
|
|
706
|
+
f"pyplaykit agents rollback {args.agent} --to <version>.", file=out)
|
|
670
707
|
else:
|
|
671
708
|
import yaml
|
|
672
709
|
|
|
@@ -717,9 +754,77 @@ def _compare_releases(registry: Any, a: str, b: str) -> dict[str, Any]:
|
|
|
717
754
|
rows[f"eval.{k}"] = (((left.subject.get("gates") or {}).get("eval") or {}).get(k),
|
|
718
755
|
((right.subject.get("gates") or {}).get("eval") or {}).get(k))
|
|
719
756
|
rows["state"] = (left.state, right.state)
|
|
757
|
+
for kind in ("prompts", "config"): # per-file prompt and configuration digests (US-AG08.4.1)
|
|
758
|
+
before = ((left.subject.get("files") or {}).get(kind)) or {}
|
|
759
|
+
after = ((right.subject.get("files") or {}).get(kind)) or {}
|
|
760
|
+
for path in sorted(set(before) | set(after)):
|
|
761
|
+
rows[f"{kind}:{path}"] = ((before.get(path) or "")[:12] or None, (after.get(path) or "")[:12] or None)
|
|
720
762
|
return {"a": a, "b": b, "differences": {k: v for k, v in rows.items() if v[0] != v[1]}}
|
|
721
763
|
|
|
722
764
|
|
|
765
|
+
def _disable_change(gate: Any, section: dict[str, Any], root: Path, args: argparse.Namespace) -> dict[str, Any]:
|
|
766
|
+
from pyplaykit.agents.releases import ReleaseError
|
|
767
|
+
|
|
768
|
+
report = build_registry(section, base_dir=root).discover()
|
|
769
|
+
known = set(report.agents) | {r.agent for r in gate.registry.releases()}
|
|
770
|
+
if args.agent not in known:
|
|
771
|
+
raise ReleaseError(f"no agent or release named {args.agent!r}")
|
|
772
|
+
denied = [str(name) for name in section.get("denied") or []]
|
|
773
|
+
already = args.agent in denied
|
|
774
|
+
return {"agent": args.agent, "already_disabled": already, "project": args.project,
|
|
775
|
+
"change": {"agents": {"denied": denied if already else denied + [args.agent]}}}
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
def _release_checklist(registry: Any, args: argparse.Namespace, out: TextIO) -> int:
|
|
779
|
+
from pyplaykit.agents.releases import parse_ref
|
|
780
|
+
|
|
781
|
+
written = registry.write_checklist_template(args.ref) if args.template else None
|
|
782
|
+
release = registry.get(*parse_ref(args.ref))
|
|
783
|
+
items, digest = registry.checklist(release)
|
|
784
|
+
complete = all(item["ok"] for item in items)
|
|
785
|
+
if args.json:
|
|
786
|
+
print(json.dumps({"release": args.ref, "state": release.state, "complete": complete,
|
|
787
|
+
"path": str(registry.checklist_path(release.agent, release.version)),
|
|
788
|
+
"checklist_sha256": digest, "items": items}, indent=2), file=out)
|
|
789
|
+
else:
|
|
790
|
+
if written:
|
|
791
|
+
print(f"wrote {written}; complete the items checked by people, then run this again", file=out)
|
|
792
|
+
print(f"{args.ref}: release checklist {'complete' if complete else 'INCOMPLETE'} "
|
|
793
|
+
f"({sum(item['ok'] for item in items)}/{len(items)})", file=out)
|
|
794
|
+
for item in items:
|
|
795
|
+
mark = "ok" if item["ok"] else "MISSING"
|
|
796
|
+
print(f" {mark:<8} {item['id']:<22} {item['by']:<7} {encode(str(item['detail']), 'terminal')}", file=out)
|
|
797
|
+
return 0 if complete or written else 1
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
def _release_history(registry: Any, args: argparse.Namespace, out: TextIO) -> int:
|
|
801
|
+
from pyplaykit.agents.releases import file_changes, version_key
|
|
802
|
+
|
|
803
|
+
rows, previous = [], None
|
|
804
|
+
for release in sorted(registry.releases(args.agent), key=lambda r: version_key(r.version)):
|
|
805
|
+
files = release.subject.get("files")
|
|
806
|
+
before = previous.subject.get("files") if previous is not None else {}
|
|
807
|
+
rows.append({"release": f"{release.agent}@{release.version}", "state": release.state,
|
|
808
|
+
"created_at": release.subject.get("created_at"),
|
|
809
|
+
"artifact_sha256": release.subject.get("artifact_sha256"), "files": files,
|
|
810
|
+
"changes": file_changes(before, files) if files is not None and before is not None else None})
|
|
811
|
+
previous = release
|
|
812
|
+
if args.json:
|
|
813
|
+
print(json.dumps(rows, indent=2), file=out)
|
|
814
|
+
elif not rows:
|
|
815
|
+
print(f"No releases of {args.agent} in {registry.directory}.", file=out)
|
|
816
|
+
for row in [] if args.json else rows:
|
|
817
|
+
changes = row["changes"]
|
|
818
|
+
if changes is None:
|
|
819
|
+
summary = "no per-file digests (drafted before release_schema 1.1)"
|
|
820
|
+
else:
|
|
821
|
+
parts = [f"{kind} {', '.join(paths)}" for kind, paths in changes.items() if paths]
|
|
822
|
+
summary = "; ".join(parts) or "no prompt or configuration changes"
|
|
823
|
+
print(f"{row['release']:<36} {row['state']:<11} {str(row['created_at'] or '-')[:10]} "
|
|
824
|
+
f"{encode(summary, 'terminal')}", file=out)
|
|
825
|
+
return 0 if rows else 1
|
|
826
|
+
|
|
827
|
+
|
|
723
828
|
def _release_verify(registry: Any, args: argparse.Namespace, out: TextIO) -> int:
|
|
724
829
|
from pyplaykit.agents.releases import stale_builtins
|
|
725
830
|
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"""Agent release gates: the release checklist (WBS US-AG08.4.1; design §7 "Agent release gates", ADR-0015).
|
|
2
|
+
|
|
3
|
+
An evaluated release is approved only with a complete checklist. It lives in the registry next to the record::
|
|
4
|
+
|
|
5
|
+
<agent>/<version>.checklist.yaml
|
|
6
|
+
|
|
7
|
+
``pyplaykit agents release checklist <agent>@<version> --template`` writes it. The host checks some items
|
|
8
|
+
from the frozen release record. People supply the rest, and the registry's review covers what they wrote:
|
|
9
|
+
|
|
10
|
+
item checked by evidence
|
|
11
|
+
manifest host manifest digest in the frozen record
|
|
12
|
+
owner host the manifest's owner
|
|
13
|
+
support_matrix host stacks and the support state per stack or capability
|
|
14
|
+
permissions host tools requested and the model tier
|
|
15
|
+
autonomy_ceiling host autonomy_max (policy may lower it, never raise it)
|
|
16
|
+
baseline host eval gate passed against a baseline, with cost and latency guardrails
|
|
17
|
+
prompt_config_history host per-file digests of prompts and configuration (``release history``)
|
|
18
|
+
out_of_scope people what the agent does not do: at least one entry
|
|
19
|
+
unsupported_input people what the agent does with input it does not support
|
|
20
|
+
risk_assessment people risks with their mitigations; the tier comes from the record
|
|
21
|
+
disable people how to turn the agent off (``pyplaykit agents disable <agent>``)
|
|
22
|
+
rollback people ``target``: an earlier published or deprecated version, or ``none``
|
|
23
|
+
|
|
24
|
+
The first approval records the checklist's SHA-256, and the approved transition records it again as the
|
|
25
|
+
evaluated -> approved evidence. From then on the file is frozen: a changed checklist is refused like a
|
|
26
|
+
changed record.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
from __future__ import annotations
|
|
30
|
+
|
|
31
|
+
import hashlib
|
|
32
|
+
from pathlib import Path
|
|
33
|
+
from typing import Any, Mapping
|
|
34
|
+
|
|
35
|
+
import yaml
|
|
36
|
+
|
|
37
|
+
CHECKLIST_SCHEMA = "1.0"
|
|
38
|
+
#: Guardrail measures that count as a cost and a latency baseline (evals/dataset.py RUN_MEASURES).
|
|
39
|
+
COST_MEASURES = ("cost_usd_per_run", "tokens_per_run")
|
|
40
|
+
LATENCY_MEASURES = ("p95_latency_s", "mean_latency_s")
|
|
41
|
+
OWNER_ITEMS = ("out_of_scope", "unsupported_input", "risk_assessment", "disable", "rollback")
|
|
42
|
+
_TODO = "TODO"
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def checklist_sha256(path: Path) -> str | None:
|
|
46
|
+
return hashlib.sha256(path.read_bytes()).hexdigest() if path.is_file() else None
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def load_checklist(path: Path) -> dict[str, Any] | None:
|
|
50
|
+
"""The checklist, or None when there is none. Raises ValueError when it is not a YAML mapping."""
|
|
51
|
+
if not path.is_file():
|
|
52
|
+
return None
|
|
53
|
+
data = yaml.safe_load(path.read_text(encoding="utf-8"))
|
|
54
|
+
if not isinstance(data, dict):
|
|
55
|
+
raise ValueError(f"{path}: a release checklist is a YAML mapping")
|
|
56
|
+
return data
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def template(agent: str, version: str, rollback_target: str) -> str:
|
|
60
|
+
"""A checklist for people to complete; the host items are reported by ``release checklist``."""
|
|
61
|
+
return f"""\
|
|
62
|
+
# Release checklist for {agent}@{version} (US-AG08.4.1; design §7, ADR-0015).
|
|
63
|
+
# The host checks manifest, owner, support matrix, permissions, autonomy ceiling, baseline and
|
|
64
|
+
# prompt/configuration history from the release record. Complete the items below, replace every {_TODO},
|
|
65
|
+
# then run: pyplaykit agents release checklist {agent}@{version}
|
|
66
|
+
# The file is frozen at the first approval.
|
|
67
|
+
checklist_schema: "{CHECKLIST_SCHEMA}"
|
|
68
|
+
release: {agent}@{version}
|
|
69
|
+
out_of_scope: # what the agent does not do; at least one entry
|
|
70
|
+
- {_TODO}
|
|
71
|
+
unsupported_input: {_TODO} # what it does with input it does not support (refuse, report unsupported, ...)
|
|
72
|
+
risk_assessment:
|
|
73
|
+
risks: # at least one; each names a risk and its mitigation
|
|
74
|
+
- risk: {_TODO}
|
|
75
|
+
mitigation: {_TODO}
|
|
76
|
+
disable: pyplaykit agents disable {agent} (adds it to agents.denied; new runs are refused at once)
|
|
77
|
+
rollback:
|
|
78
|
+
target: {rollback_target} # an earlier published or deprecated version, or none
|
|
79
|
+
how: pyplaykit agents rollback {agent} --to <target> (a pin change; nothing is rebuilt)
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def _text(value: Any) -> bool:
|
|
84
|
+
return isinstance(value, str) and bool(value.strip()) and _TODO not in value
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def _item(item_id: str, by: str, ok: bool, detail: str) -> dict[str, Any]:
|
|
88
|
+
return {"id": item_id, "by": by, "ok": bool(ok), "detail": detail}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def evaluate(release: Any, checklist: Mapping[str, Any] | None, rollback_targets: list[str]) -> list[dict[str, Any]]:
|
|
92
|
+
"""Every item with whether it is complete. ``rollback_targets``: earlier runnable versions of the agent."""
|
|
93
|
+
subject = release.subject
|
|
94
|
+
items = [
|
|
95
|
+
_item("manifest", "host", bool(subject.get("manifest_sha256")) and release.record_sha256 is not None,
|
|
96
|
+
f"manifest sha256 {subject.get('manifest_sha256')}" if release.record_sha256
|
|
97
|
+
else "the record is not frozen yet: evaluate the release"),
|
|
98
|
+
_item("owner", "host", _text(subject.get("owner")), f"owner {subject.get('owner')}"),
|
|
99
|
+
]
|
|
100
|
+
support = subject.get("support")
|
|
101
|
+
items.append(_item("support_matrix", "host", bool(subject.get("stacks")) and isinstance(support, dict),
|
|
102
|
+
f"stacks {subject.get('stacks')}, support {support}" if support is not None
|
|
103
|
+
else "the record has no support matrix: draft the release again with this version"))
|
|
104
|
+
items.append(_item("permissions", "host", isinstance(subject.get("tools_required"), list)
|
|
105
|
+
and bool(subject.get("model_tier")),
|
|
106
|
+
f"tools {subject.get('tools_required')}, model tier {subject.get('model_tier')}"))
|
|
107
|
+
items.append(_item("autonomy_ceiling", "host", bool(subject.get("autonomy_max")),
|
|
108
|
+
f"autonomy_max {subject.get('autonomy_max')}"))
|
|
109
|
+
items.append(_baseline((subject.get("gates") or {}).get("eval") or {}))
|
|
110
|
+
files = subject.get("files")
|
|
111
|
+
items.append(_item("prompt_config_history", "host", isinstance(files, dict),
|
|
112
|
+
f"{len((files or {}).get('prompts') or {})} prompt and {len((files or {}).get('config') or {})} "
|
|
113
|
+
"configuration file digest(s)" if isinstance(files, dict)
|
|
114
|
+
else "the record has no file digests: draft the release again with this version"))
|
|
115
|
+
items.extend(_owner_items(release, checklist, rollback_targets))
|
|
116
|
+
return items
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def _baseline(gate: Mapping[str, Any]) -> dict[str, Any]:
|
|
120
|
+
guardrails = set(gate.get("guardrails") or [])
|
|
121
|
+
missing = [kind for kind, measures in (("cost", COST_MEASURES), ("latency", LATENCY_MEASURES))
|
|
122
|
+
if not guardrails.intersection(measures)]
|
|
123
|
+
if not gate.get("passed"):
|
|
124
|
+
detail = "the eval gate did not pass"
|
|
125
|
+
elif gate.get("baseline_version") is None:
|
|
126
|
+
detail = "the eval gate ran without a baseline: write one (agents eval --baseline write)"
|
|
127
|
+
elif missing:
|
|
128
|
+
detail = (f"the eval card has no {' or '.join(missing)} guardrail ({', '.join(COST_MEASURES)}; "
|
|
129
|
+
f"{', '.join(LATENCY_MEASURES)})")
|
|
130
|
+
else:
|
|
131
|
+
return _item("baseline", "host", True, f"{gate.get('metric')} {gate.get('value')} against baseline "
|
|
132
|
+
f"v{gate.get('baseline_version')}; guardrails {', '.join(sorted(guardrails))}")
|
|
133
|
+
return _item("baseline", "host", False, detail)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def _owner_items(release: Any, checklist: Mapping[str, Any] | None,
|
|
137
|
+
rollback_targets: list[str]) -> list[dict[str, Any]]:
|
|
138
|
+
if checklist is None:
|
|
139
|
+
return [_item(name, "people", False, "no checklist: write one with --template") for name in OWNER_ITEMS]
|
|
140
|
+
ref = f"{release.agent}@{release.version}"
|
|
141
|
+
named = checklist.get("release")
|
|
142
|
+
if named != ref:
|
|
143
|
+
return [_item(name, "people", False, f"the checklist is for {named!r}, not {ref}") for name in OWNER_ITEMS]
|
|
144
|
+
scope = checklist.get("out_of_scope")
|
|
145
|
+
scope_ok = isinstance(scope, list) and bool(scope) and all(_text(s) for s in scope)
|
|
146
|
+
risks = (checklist.get("risk_assessment") or {}).get("risks") if isinstance(checklist.get("risk_assessment"),
|
|
147
|
+
dict) else None
|
|
148
|
+
risks_ok = isinstance(risks, list) and bool(risks) and all(
|
|
149
|
+
isinstance(r, dict) and _text(r.get("risk")) and _text(r.get("mitigation")) for r in risks)
|
|
150
|
+
rollback = checklist.get("rollback") if isinstance(checklist.get("rollback"), dict) else {}
|
|
151
|
+
target = str(rollback.get("target", "")).strip()
|
|
152
|
+
if target == "none":
|
|
153
|
+
rollback_ok, rollback_detail = True, "none: no earlier release to roll back to" if not rollback_targets \
|
|
154
|
+
else f"none (earlier runnable releases exist: {', '.join(rollback_targets)})"
|
|
155
|
+
elif target in rollback_targets:
|
|
156
|
+
rollback_ok, rollback_detail = True, f"roll back to {release.agent}@{target}"
|
|
157
|
+
else:
|
|
158
|
+
rollback_ok = False
|
|
159
|
+
rollback_detail = (f"target {target or '(missing)'!r} is not an earlier published or deprecated release; "
|
|
160
|
+
f"use one of: {', '.join(rollback_targets + ['none'])}")
|
|
161
|
+
return [
|
|
162
|
+
_item("out_of_scope", "people", scope_ok, f"{len(scope)} listed" if scope_ok
|
|
163
|
+
else "list at least one thing the agent does not do"),
|
|
164
|
+
_item("unsupported_input", "people", _text(checklist.get("unsupported_input")),
|
|
165
|
+
"described" if _text(checklist.get("unsupported_input"))
|
|
166
|
+
else "say what the agent does with input it does not support"),
|
|
167
|
+
_item("risk_assessment", "people", risks_ok, f"{len(risks)} risk(s) for {release.subject.get('risk_tier')} "
|
|
168
|
+
"risk tier" if risks_ok else "name at least one risk, each with a mitigation"),
|
|
169
|
+
_item("disable", "people", _text(checklist.get("disable")),
|
|
170
|
+
str(checklist.get("disable")) if _text(checklist.get("disable")) else "say how to turn the agent off"),
|
|
171
|
+
_item("rollback", "people", rollback_ok, rollback_detail),
|
|
172
|
+
]
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def incomplete(items: list[dict[str, Any]]) -> list[str]:
|
|
176
|
+
return [f"{i['id']}: {i['detail']}" for i in items if not i["ok"]]
|