booking-agent-cli 0.9.1__tar.gz → 0.10.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.
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/PKG-INFO +2 -2
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/README.md +1 -1
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/pyproject.toml +1 -1
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/__init__.py +1 -1
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/defaults.env +3 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/__init__.py +1 -1
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/bundled_skill.md +10 -10
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/update.py +6 -2
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/updates.py +63 -2
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_release_notes.py +20 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_updates.py +68 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/.gitignore +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/authorization.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/backend/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/backend/live.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/calendar/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/calendar/filter.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/calendar/google.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/calendar/oauth_listener.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/calendar/scope.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/circuit_breaker.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/config.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/discovery.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/faults.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/headless.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/http_deadlines.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/http_retry.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/http_trace.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/merchant_pacing.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/models/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/models/platform.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/models/wire.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/namespace.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/observability.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/platform_profile.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/pop.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/profile_cache.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/registry_url.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/rest_client.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/secure_file.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/settings.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/signals.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/step_timing.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/ucp_capabilities.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/ucp_checkout.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/ucp_negotiation.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/ucp_profile.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/usp_methods.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/activity_log.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/booking_poll.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/booking_summary.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/calendar_connection.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/calendar_event.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/calendar_preference.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/catalog.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/checkout_prereq.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/config.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/flow.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/lowlevel.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/runtime.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/config_loader.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/engine.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/fault_report_schema.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/fault_reports.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/flow_timings.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/gates.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/geo_eligibility.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/geocode.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/identity.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/install_integrity.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/link_cli.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/main.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/output.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/payment_helpers.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/payment_token.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/provenance.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/reschedule.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/runtime.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/runtime_prepare.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/search_area.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/session.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/skill_bundle.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/skill_integrity.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/support_bundle_schema.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/support_report.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/timezone_context.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/.env.tests +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/conftest.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_cancel_reschedule_e2e.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_latency_soak.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_staging_registry_integration.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_timezone_booking_e2e.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_ucp_native_e2e.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_ucp_skill_flow_e2e.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/ucp_native.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_activity_log.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_at_rest_hygiene.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_booking_rejection.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_bulk_cancel.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_calendar_connection.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_calendar_connector.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_calendar_flow.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_calendar_preference.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_checkout_signals.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_circuit_breaker.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_cli_enforced_gates.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_config.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_correlation_flow.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_declined_spt.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_discover_registry_rejection.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_flow_evidence.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_flow_gates.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_flow_reschedule.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_flow_step_timings.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_google_calendar_oauth.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_home_visit_address.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_http_trace.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_identity_logout.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_install_integrity.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_lazy_oauth.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_link_auth.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_link_cli_spt.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_namespace.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_oauth_listener.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_oauth_metadata.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_platform_key_pop.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_platform_profile.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_pop_keystore.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_profile_cache.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_regression_index.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_release_hold_uses_delete.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_request_retry_semantics.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_resume_after_restart.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_runtime_prepare.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_search_area.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_session_compat.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_session_retention.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_skill_integrity.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_skill_portability.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_support_report.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_timezone_context.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_ucp_cancel_result.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_ucp_checkout_pop.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_ucp_checkout_proof_wireup.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_ucp_checkout_validate.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_ucp_profile.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_update_command.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_wheel_contents.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/SOURCE +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/acp_booking_extension.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/availability.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/booking.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/calendar_freebusy.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/catalog.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/paid_bookings.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/profile.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/registry.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/rest_common.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/usp.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/waitlist.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/spec_schemas/webhook_event.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/fixtures/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/fixtures/profiles.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/fixtures/provenance/pypi_attestations-0.0.30-py3-none-any.whl.provenance.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/fixtures/services.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/backend.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/link_cli.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/mock_calendar.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/pop_business.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/pop_transport.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/ucp_checkout_store.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/mock/ucp_server.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/offline_stack/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/support/offline_stack/stack.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/__init__.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_authorization_policy.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_booking_poll_credentials.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_booking_request_error.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_calendar_filter.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_catalog.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_check_version.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_conditional_writes.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_delivery_address.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_discovery.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_fault_reports.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_geo_eligibility.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_geocode.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_headless.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_http_deadlines.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_http_retry.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_live_search_registry.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_merchant_pacing.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_mock_support.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_money_path_events.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_nonce_from_pop_error_body.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_observability.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_outbound_member_names.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_package_layering.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_pay_at_service.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_provenance.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_registry_search_filters.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_registry_search_pricing.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_registry_search_responses.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_registry_url.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_rest_client.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_scoped_method_authorization.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_session_credentials.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_spec_conformance.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_step_timing.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_ucp_capabilities.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_ucp_complete_outcome.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_ucp_create_price_guard.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_ucp_negotiation.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/unit/test_wire_model_conformance.py +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/001-jcs-nested-buyer.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/002-jcs-meta-only.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/003-jcs-unicode-empty-meta.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/004-proof-issuance-no-ath.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/005-proof-presentation-ath-nonce.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/006-cross-key-replay.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/007-downgrade-cnf-without-proof.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/008-replayed-jti.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/009-aud-mismatch.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/010-alg-none.json +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/README.md +0 -0
- {booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/vectors/pop/SOURCE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: booking-agent-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.10.0
|
|
4
4
|
Summary: The Booking Agent CLI: a stateful USP booking flow with hard gates, plus its USP protocol library.
|
|
5
5
|
Project-URL: Homepage, https://github.com/wix/booking-agent
|
|
6
6
|
Project-URL: Documentation, https://github.com/wix/booking-agent/blob/master/booking-agent/README.md
|
|
@@ -78,7 +78,7 @@ Each release also publishes that skill at an immutable `skill-v<version>` tag an
|
|
|
78
78
|
the release workflow, so a harness can pin and verify the exact text it follows:
|
|
79
79
|
|
|
80
80
|
```bash
|
|
81
|
-
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.57.
|
|
81
|
+
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.57.2/booking-agent/skills/booking-agent/SKILL.md
|
|
82
82
|
gh attestation verify SKILL.md --repo wix/booking-agent \
|
|
83
83
|
--signer-workflow wix/booking-agent/.github/workflows/release.yml
|
|
84
84
|
```
|
|
@@ -36,7 +36,7 @@ Each release also publishes that skill at an immutable `skill-v<version>` tag an
|
|
|
36
36
|
the release workflow, so a harness can pin and verify the exact text it follows:
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
|
-
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.57.
|
|
39
|
+
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.57.2/booking-agent/skills/booking-agent/SKILL.md
|
|
40
40
|
gh attestation verify SKILL.md --repo wix/booking-agent \
|
|
41
41
|
--signer-workflow wix/booking-agent/.github/workflows/release.yml
|
|
42
42
|
```
|
|
@@ -67,4 +67,7 @@ GOOGLE_CALENDAR_TOKEN_CACHE_DIR=.google-calendar-tokens
|
|
|
67
67
|
# --- Updates -------------------------------------------------------------------
|
|
68
68
|
# 0 stops update checks; the installed assistant keeps working either way.
|
|
69
69
|
BOOKING_AGENT_UPDATE_CHECK=1
|
|
70
|
+
# A verified harness sets the replay id assigned by ops/verified-harnesses.json. Unset
|
|
71
|
+
# uses the general rollout; two harnesses can share one replay id.
|
|
72
|
+
# BOOKING_AGENT_REPLAY=
|
|
70
73
|
BOOKING_AGENT_RELEASE_INDEX_URL=https://raw.githubusercontent.com/wix/booking-agent/master/booking-agent/release-notes/index.json
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
version: 0.57.
|
|
2
|
+
version: 0.57.2
|
|
3
3
|
name: booking-agent
|
|
4
4
|
description: |
|
|
5
5
|
Books time-based services via USP from a Link wallet. Use when the user wants to book, schedule, reserve, or pay for a service from a business (haircut, lesson, repair, class, appointment, consult). The `booking-agent` CLI owns the booking state machine and refuses to proceed when human gates are skipped. Sign the user in to Link on your own, right after install and at the start of every booking (`booking-agent flow link-auth connect`, then start `booking-agent flow link-auth poll` in the background and post the sign-in URL in the same turn, exactly like `pay poll`); never wait for the user to ask to sign in or to say they approved. After `booking-agent flow business use`, follow `next_command` through `use-ucp-checkout-mode`; businesses without native checkout fail closed. Payment uses `booking-agent flow pay request` (default returns immediately with the approval URL), then start `booking-agent flow pay poll` in the background and post the approval URL to the user in the same turn; the poll finishes checkout once they approve. Confirm through `booking-agent flow book poll --wait`; never start an inbound webhook. Surface the approval URL exactly once. Personal identification (name, phone, email, address) must always come from the user's Link account via `link-cli`, never from chat or placeholders. Before any location-based search, the CLI proposes the Link shipping address and the user confirms it or gives another; online services skip this. Talk to the user in plain everyday language only; never expose CLI, UCP, auth, session, or other implementation details unless they explicitly ask.
|
|
@@ -19,7 +19,7 @@ metadata:
|
|
|
19
19
|
- link-cli
|
|
20
20
|
install:
|
|
21
21
|
- kind: uv
|
|
22
|
-
package: "booking-agent-cli==0.
|
|
22
|
+
package: "booking-agent-cli==0.10.0"
|
|
23
23
|
bins: [booking-agent]
|
|
24
24
|
user-invocable: true
|
|
25
25
|
---
|
|
@@ -220,7 +220,7 @@ To take a fixed, published version instead of the latest, fetch it at the releas
|
|
|
220
220
|
workflow signs it under, and check the signature before you follow it:
|
|
221
221
|
|
|
222
222
|
```bash
|
|
223
|
-
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.57.
|
|
223
|
+
curl -fsSLO https://raw.githubusercontent.com/wix/booking-agent/skill-v0.57.2/booking-agent/skills/booking-agent/SKILL.md
|
|
224
224
|
gh attestation verify SKILL.md \
|
|
225
225
|
--repo wix/booking-agent \
|
|
226
226
|
--signer-workflow wix/booking-agent/.github/workflows/release.yml
|
|
@@ -245,17 +245,17 @@ before installing:
|
|
|
245
245
|
|
|
246
246
|
```bash
|
|
247
247
|
dir="$HOME/.booking-agent/verified-wheels"
|
|
248
|
-
uvx pip download "booking-agent-cli==0.
|
|
248
|
+
uvx pip download "booking-agent-cli==0.10.0" --no-deps --only-binary :all: -d "$dir"
|
|
249
249
|
uvx pypi-attestations==0.0.30 verify pypi --repository https://github.com/wix/booking-agent \
|
|
250
|
-
"$dir/booking_agent_cli-0.
|
|
251
|
-
uv tool install --force "$dir/booking_agent_cli-0.
|
|
250
|
+
"$dir/booking_agent_cli-0.10.0-py3-none-any.whl"
|
|
251
|
+
uv tool install --force "$dir/booking_agent_cli-0.10.0-py3-none-any.whl"
|
|
252
252
|
|
|
253
253
|
booking-agent --help
|
|
254
254
|
```
|
|
255
255
|
|
|
256
256
|
Install only the wheel whose verify step passed, never one that failed it. If `uvx` is not
|
|
257
|
-
available, install the same pinned release with `uv tool install booking-agent-cli==0.
|
|
258
|
-
`pipx install booking-agent-cli==0.
|
|
257
|
+
available, install the same pinned release with `uv tool install booking-agent-cli==0.10.0` or
|
|
258
|
+
`pipx install booking-agent-cli==0.10.0`; the CLI checks its own files against the signed release
|
|
259
259
|
on the first `booking-agent flow init` and refuses to book or pay if they do not match.
|
|
260
260
|
|
|
261
261
|
Harnesses that read the `install` block in this skill's metadata do this for you. Do not go on
|
|
@@ -307,7 +307,7 @@ prints each effective setting and where it came from; `booking-agent config init
|
|
|
307
307
|
|
|
308
308
|
The CLI decides whether a newer version is worth mentioning; you never decide from version
|
|
309
309
|
numbers or release pages. Pass this skill's version on every `flow init` (`--skill-version
|
|
310
|
-
0.57.
|
|
310
|
+
0.57.2`, from the frontmatter above), so the CLI can tell when these instructions and the
|
|
311
311
|
installed CLI no longer match.
|
|
312
312
|
|
|
313
313
|
- When a command returns `awaiting_user: update_consent`, ask the question in `prompt` in plain
|
|
@@ -470,7 +470,7 @@ confirmation email or on the business's page (`booking_url`). Do not invent a lo
|
|
|
470
470
|
**Step 1b — Create a new session:**
|
|
471
471
|
|
|
472
472
|
```bash
|
|
473
|
-
booking-agent flow init --user-request "<user's exact request>" --skill-version 0.57.
|
|
473
|
+
booking-agent flow init --user-request "<user's exact request>" --skill-version 0.57.2 \
|
|
474
474
|
--skill-path "<absolute path of the SKILL.md you loaded>"
|
|
475
475
|
```
|
|
476
476
|
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/update.py
RENAMED
|
@@ -188,6 +188,7 @@ def current_decision(
|
|
|
188
188
|
after_booking=after_booking,
|
|
189
189
|
check_local=check_local,
|
|
190
190
|
store_too_new=too_new,
|
|
191
|
+
replay_id=updates.configured_replay(),
|
|
191
192
|
)
|
|
192
193
|
|
|
193
194
|
|
|
@@ -289,8 +290,11 @@ def update(
|
|
|
289
290
|
))
|
|
290
291
|
return
|
|
291
292
|
|
|
292
|
-
releases = updates.
|
|
293
|
-
|
|
293
|
+
releases = updates.releases_for_replay(
|
|
294
|
+
updates.load_releases(refresh=True) if updates.checks_enabled() else [],
|
|
295
|
+
updates.configured_replay(),
|
|
296
|
+
)
|
|
297
|
+
target, _ = updates.select_target(CLI_VERSION, releases)
|
|
294
298
|
if target is None:
|
|
295
299
|
emit(AgentOutput(
|
|
296
300
|
phase="UPDATE",
|
|
@@ -16,7 +16,7 @@ from __future__ import annotations
|
|
|
16
16
|
import json
|
|
17
17
|
import re
|
|
18
18
|
import time
|
|
19
|
-
from dataclasses import dataclass, field
|
|
19
|
+
from dataclasses import dataclass, field, replace
|
|
20
20
|
from pathlib import Path
|
|
21
21
|
from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple
|
|
22
22
|
|
|
@@ -29,6 +29,9 @@ from .skill_bundle import SKILL_VERSION
|
|
|
29
29
|
CHANGE_TYPES = ("fix", "feature", "breaking")
|
|
30
30
|
UPDATE_STATUSES = ("available", "recommended", "urgent", "deferred", "withdrawn")
|
|
31
31
|
CAPABILITIES = ("search", "sign_in", "calendar", "booking", "payment", "cancel", "reschedule")
|
|
32
|
+
# A verified harness configures its replay id. The harness registry stays outside the
|
|
33
|
+
# portable CLI; two harnesses promote together by configuring the same replay id.
|
|
34
|
+
REPLAY_ENV = "BOOKING_AGENT_REPLAY"
|
|
32
35
|
|
|
33
36
|
ACTION_NONE = "none"
|
|
34
37
|
ACTION_INFORM = "inform"
|
|
@@ -45,6 +48,7 @@ CACHE_TTL_SECONDS = 24 * 3600
|
|
|
45
48
|
FETCH_TIMEOUT_SECONDS = 3.0
|
|
46
49
|
|
|
47
50
|
_VERSION = re.compile(r"^(\d+)\.(\d+)\.(\d+)(?:\.dev(\d+))?$")
|
|
51
|
+
_REPLAY_ID = re.compile(r"^[a-z0-9][a-z0-9-]{0,63}$")
|
|
48
52
|
_URGENCY = {"available": 0, "recommended": 1, "urgent": 2}
|
|
49
53
|
_SEVERITY = {"fix": 0, "feature": 1, "breaking": 2}
|
|
50
54
|
|
|
@@ -69,6 +73,7 @@ class Release:
|
|
|
69
73
|
user_summary: str
|
|
70
74
|
details_url: str
|
|
71
75
|
replacement_version: Optional[str] = None
|
|
76
|
+
replay_rollouts: Dict[str, Tuple[str, bool]] = field(default_factory=dict)
|
|
72
77
|
|
|
73
78
|
@property
|
|
74
79
|
def key(self) -> Tuple[int, int, int, int]:
|
|
@@ -117,9 +122,57 @@ def _parse_release(raw: Any) -> Optional[Release]:
|
|
|
117
122
|
user_summary=summary.strip()[:200],
|
|
118
123
|
details_url=url if url.startswith("https://github.com/wix/booking-agent/") else "",
|
|
119
124
|
replacement_version=replacement if status == "withdrawn" else None,
|
|
125
|
+
replay_rollouts=_parse_replay_rollouts(raw.get("replay_rollouts")),
|
|
120
126
|
)
|
|
121
127
|
|
|
122
128
|
|
|
129
|
+
def configured_replay() -> Optional[str]:
|
|
130
|
+
raw = settings.get(REPLAY_ENV)
|
|
131
|
+
replay_id = raw.strip() if isinstance(raw, str) else ""
|
|
132
|
+
return replay_id if _REPLAY_ID.fullmatch(replay_id) else None
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def _parse_replay_rollouts(raw: Any) -> Dict[str, Tuple[str, bool]]:
|
|
136
|
+
"""Well-formed replay rollouts; malformed records are safely ignored."""
|
|
137
|
+
if not isinstance(raw, dict):
|
|
138
|
+
return {}
|
|
139
|
+
out: Dict[str, Tuple[str, bool]] = {}
|
|
140
|
+
for replay_id, item in raw.items():
|
|
141
|
+
if (
|
|
142
|
+
not isinstance(replay_id, str)
|
|
143
|
+
or not _REPLAY_ID.fullmatch(replay_id)
|
|
144
|
+
or not isinstance(item, dict)
|
|
145
|
+
):
|
|
146
|
+
continue
|
|
147
|
+
status, ready = item.get("update_status"), item.get("ecosystem_ready")
|
|
148
|
+
if status not in UPDATE_STATUSES or not isinstance(ready, bool):
|
|
149
|
+
continue
|
|
150
|
+
if status not in ("deferred", "withdrawn") and not ready:
|
|
151
|
+
status = "deferred"
|
|
152
|
+
out[replay_id] = (status, ready)
|
|
153
|
+
return out
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
def effective_release(release: Release, replay_id: Optional[str]) -> Release:
|
|
157
|
+
"""The rollout this runtime is allowed to act on.
|
|
158
|
+
|
|
159
|
+
A configured replay never inherits the general status. A missing record stays deferred.
|
|
160
|
+
A generally withdrawn release stays withdrawn for every harness.
|
|
161
|
+
"""
|
|
162
|
+
if replay_id is None or release.update_status == "withdrawn":
|
|
163
|
+
return release
|
|
164
|
+
rollout = release.replay_rollouts.get(replay_id)
|
|
165
|
+
if rollout is None:
|
|
166
|
+
status, ready = "deferred", False
|
|
167
|
+
else:
|
|
168
|
+
status, ready = rollout
|
|
169
|
+
return replace(release, update_status=status, ecosystem_ready=ready)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
def releases_for_replay(releases: Sequence[Release], replay_id: Optional[str]) -> List[Release]:
|
|
173
|
+
return [effective_release(release, replay_id) for release in releases]
|
|
174
|
+
|
|
175
|
+
|
|
123
176
|
@dataclass
|
|
124
177
|
class Decision:
|
|
125
178
|
action: str = ACTION_NONE
|
|
@@ -132,6 +185,7 @@ class Decision:
|
|
|
132
185
|
details_url: Optional[str] = None
|
|
133
186
|
relevant_capabilities: List[str] = field(default_factory=list)
|
|
134
187
|
prompt_key: Optional[str] = None
|
|
188
|
+
replay: Optional[str] = None
|
|
135
189
|
|
|
136
190
|
def as_data(self) -> Dict[str, Any]:
|
|
137
191
|
return {
|
|
@@ -147,6 +201,7 @@ class Decision:
|
|
|
147
201
|
"details_url": self.details_url,
|
|
148
202
|
"relevant_capabilities": list(self.relevant_capabilities),
|
|
149
203
|
"prompt_key": self.prompt_key,
|
|
204
|
+
"replay": self.replay,
|
|
150
205
|
}
|
|
151
206
|
|
|
152
207
|
|
|
@@ -198,11 +253,17 @@ def decide(
|
|
|
198
253
|
check_local: bool = True,
|
|
199
254
|
store_too_new: bool = False,
|
|
200
255
|
installed: str = CLI_VERSION,
|
|
256
|
+
replay_id: Optional[str] = None,
|
|
201
257
|
) -> Decision:
|
|
202
258
|
answered = set(answered)
|
|
203
|
-
|
|
259
|
+
replay_id = replay_id.strip() if isinstance(replay_id, str) else ""
|
|
260
|
+
replay_id = replay_id if _REPLAY_ID.fullmatch(replay_id) else None
|
|
261
|
+
releases = releases_for_replay(list(releases or []), replay_id)
|
|
204
262
|
target, brought = select_target(installed, releases)
|
|
205
263
|
decision = _remote_decision(installed, releases, target, brought, set(capabilities), after_booking)
|
|
264
|
+
decision.replay = replay_id
|
|
265
|
+
if replay_id and decision.prompt_key:
|
|
266
|
+
decision.prompt_key = f"{decision.prompt_key}:{replay_id}"
|
|
206
267
|
|
|
207
268
|
if store_too_new:
|
|
208
269
|
decision.action, decision.reason = ACTION_URGENT, "saved_state_from_newer_version"
|
|
@@ -89,6 +89,26 @@ def test_entry_rules(overrides, fragment):
|
|
|
89
89
|
assert any(fragment in e for e in errors), errors
|
|
90
90
|
|
|
91
91
|
|
|
92
|
+
def test_a_verified_replay_rollout_is_checked_on_its_own():
|
|
93
|
+
ready = {
|
|
94
|
+
"update_status": "recommended",
|
|
95
|
+
"ecosystem_ready": True,
|
|
96
|
+
"readiness_evidence": ["Hosted replay (grok-bot): booked, no calendar event."],
|
|
97
|
+
}
|
|
98
|
+
entry = _entry(
|
|
99
|
+
version="0.5.0", change_type="fix", relevant_capabilities=["payment"],
|
|
100
|
+
readiness_evidence=["Hosted replay: general run."],
|
|
101
|
+
replay_rollouts={"grok-bot": ready},
|
|
102
|
+
)
|
|
103
|
+
assert release_notes.entry_errors(entry) == []
|
|
104
|
+
missing = copy.deepcopy(entry)
|
|
105
|
+
missing["replay_rollouts"]["grok-bot"]["readiness_evidence"] = ["Offline tests passed."]
|
|
106
|
+
assert any("Hosted replay (grok-bot):" in e for e in release_notes.entry_errors(missing))
|
|
107
|
+
unknown = copy.deepcopy(entry)
|
|
108
|
+
unknown["replay_rollouts"] = {"cursor": ready}
|
|
109
|
+
assert any("not a verified replay" in e for e in release_notes.entry_errors(unknown))
|
|
110
|
+
|
|
111
|
+
|
|
92
112
|
def test_a_deferred_release_may_be_not_ready():
|
|
93
113
|
assert release_notes.entry_errors(
|
|
94
114
|
_entry(update_status="deferred", ecosystem_ready=False, readiness_evidence=[])
|
|
@@ -46,6 +46,13 @@ def test_enums_match_the_release_policy_script():
|
|
|
46
46
|
assert updates.CAPABILITIES == release_notes.CAPABILITIES
|
|
47
47
|
|
|
48
48
|
|
|
49
|
+
def test_replay_identity_is_generic_runtime_configuration(monkeypatch):
|
|
50
|
+
monkeypatch.setenv("BOOKING_AGENT_REPLAY", "shared-replay")
|
|
51
|
+
assert updates.configured_replay() == "shared-replay"
|
|
52
|
+
monkeypatch.setenv("BOOKING_AGENT_REPLAY", "not valid")
|
|
53
|
+
assert updates.configured_replay() is None
|
|
54
|
+
|
|
55
|
+
|
|
49
56
|
def test_the_committed_index_parses():
|
|
50
57
|
index = Path(__file__).resolve().parents[4] / "release-notes" / "index.json"
|
|
51
58
|
releases = updates.parse_index(json.loads(index.read_text()))
|
|
@@ -93,6 +100,67 @@ def test_not_ready_is_treated_as_deferred_even_if_marked_recommended():
|
|
|
93
100
|
assert _decide(_entry("0.2.0", status="urgent", ready=False)).action == "none"
|
|
94
101
|
|
|
95
102
|
|
|
103
|
+
def _rollout(status="recommended", ready=True):
|
|
104
|
+
return {"update_status": status, "ecosystem_ready": ready, "readiness_evidence": ["Shown."]}
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def test_a_general_recommendation_does_not_promote_a_verified_harness():
|
|
108
|
+
entry = _entry("0.2.0")
|
|
109
|
+
assert _decide(entry).action == "inform"
|
|
110
|
+
held = _decide(entry, replay_id="grok-bot")
|
|
111
|
+
assert held.action == "none" and held.replay == "grok-bot"
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def test_a_verified_recommendation_does_not_promote_anyone_else():
|
|
115
|
+
entry = _entry(
|
|
116
|
+
"0.2.0", status="deferred", ready=False,
|
|
117
|
+
replay_rollouts={"grok-bot": _rollout()},
|
|
118
|
+
)
|
|
119
|
+
assert _decide(entry).action == "none"
|
|
120
|
+
assert _decide(entry, replay_id="base44-superagent").action == "none"
|
|
121
|
+
assert _decide(entry, replay_id="grok-bot").action == "inform"
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
def test_harnesses_that_share_a_replay_promote_together():
|
|
125
|
+
entry = _entry(
|
|
126
|
+
"0.2.0", status="deferred", ready=False,
|
|
127
|
+
replay_rollouts={"shared": _rollout()},
|
|
128
|
+
)
|
|
129
|
+
first = _decide(entry, replay_id="shared")
|
|
130
|
+
second = _decide(entry, replay_id="shared")
|
|
131
|
+
assert first.action == second.action == "inform"
|
|
132
|
+
assert first.replay == second.replay == "shared"
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def test_every_deferred_release_in_a_verified_upgrade_needs_that_replay():
|
|
136
|
+
old = _entry(
|
|
137
|
+
"0.2.0", status="deferred", ready=False,
|
|
138
|
+
replay_rollouts={"grok-bot": _rollout()},
|
|
139
|
+
)
|
|
140
|
+
missing = _entry("0.3.0", status="deferred", ready=False)
|
|
141
|
+
newest = _entry(
|
|
142
|
+
"0.4.0", status="deferred", ready=False,
|
|
143
|
+
replay_rollouts={"grok-bot": _rollout()},
|
|
144
|
+
)
|
|
145
|
+
blocked = _decide(old, missing, newest, replay_id="grok-bot")
|
|
146
|
+
assert blocked.target_version == "0.2.0"
|
|
147
|
+
|
|
148
|
+
middle = _entry(
|
|
149
|
+
"0.3.0", status="deferred", ready=False,
|
|
150
|
+
replay_rollouts={"grok-bot": _rollout()},
|
|
151
|
+
)
|
|
152
|
+
promoted = _decide(old, middle, newest, replay_id="grok-bot")
|
|
153
|
+
assert promoted.target_version == "0.4.0"
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
def test_a_withdrawn_release_stays_withdrawn_for_a_verified_harness():
|
|
157
|
+
entry = _entry("0.1.0", status="withdrawn", replacement_version="0.2.0")
|
|
158
|
+
later = _entry("0.2.0", status="urgent", replay_rollouts={"grok-bot": _rollout("urgent")})
|
|
159
|
+
assert _decide(
|
|
160
|
+
entry, later, installed="0.1.0", replay_id="grok-bot"
|
|
161
|
+
).reason == "installed_version_withdrawn"
|
|
162
|
+
|
|
163
|
+
|
|
96
164
|
def test_a_deferred_release_holds_back_every_later_one():
|
|
97
165
|
d = _decide(
|
|
98
166
|
_entry("0.2.0", status="deferred", ready=False),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent/calendar/oauth_listener.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/booking_summary.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/calendar_connection.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/calendar_event.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/calendar_preference.py
RENAMED
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/checkout_prereq.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/__init__.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/config.py
RENAMED
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/lowlevel.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/commands/runtime.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/fault_report_schema.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/geo_eligibility.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/install_integrity.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/payment_helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/runtime_prepare.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/skill_integrity.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/support_bundle_schema.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/support_report.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/src/booking_agent_cli/timezone_context.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_cancel_reschedule_e2e.py
RENAMED
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/e2e/test_staging_registry_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_at_rest_hygiene.py
RENAMED
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_booking_rejection.py
RENAMED
|
File without changes
|
|
File without changes
|
{booking_agent_cli-0.9.1 → booking_agent_cli-0.10.0}/tests/integration/test_calendar_connection.py
RENAMED
|
File without changes
|