qwen-code/docs/archive/managed-agent-schema/sql
jinye 3071807dc5
feat(runtime-broker): add bounded retention for terminal JDBC history (#13642)
* feat(runtime-broker): add bounded JDBC history retention

* codex: fix CI failure on PR #13642

* fix(runtime-broker): preserve microseconds in retention cursors

* fix(sdk-java): skip corrupt retention rows instead of stalling the sweep

A truncated evidence JSON throws RuntimeBrokerException, which the old catch did not cover, so the keyset never moved past that row.

* docs(sdk-java): clarify retention age limits

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix(runtime-broker): reject submillisecond retention ages

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix(runtime-broker): retain unsettled background dispatch evidence

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* test(web-shell): recalibrate transcript artifact ceiling

Update the measured main-copy baseline and retain a strict 1,329,000 UTF-16 unit cap with the existing transcript boundary guards.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix(managed-agent): avoid repeated background owner scans

Deduplicate exact owning Session identities before the retention reference lookup. Keep retention disabled pending the separately tracked cleanup release-proof contract in #13992.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

---------

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-10-14 04:50:56 +00:00
..
V1__managed_agent_core.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V2__managed_agent_projection.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V3__runtime_broker.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V4__managed_session_store.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V5__managed_session_lifecycle.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V6__managed_turn_retry.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V7__managed_workspace_binding.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V8__managed_workspace_registry.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V9__managed_workspace_creation_command.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V10__managed_runtime_context.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V11__workspace_execution.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V12__runtime_broker_schema_alignment.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V13__managed_session_agent_revision.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V14__managed_event_replay.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V16__runtime_loss_evidence.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V17__managed_session_operation.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V18__managed_extension_record.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V19__workspace_operator_recovery.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V20__managed_tool_publication.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V21__managed_tool_publication_objects.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V22__managed_tool_publication_recovery.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V23__managed_mcp_records.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V24__managed_actions.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V25__verified_workspace_mount.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V26__managed_tool_result_projection.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V27__managed_hook_records.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V28__managed_hook_admission_index.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V30__managed_tool_output_retention.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V31__workspace_recovery_bundle.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V32__workspace_session_close.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V33__managed_agent_definitions.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V34__managed_tool_output_collection.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V35__managed_session_tool_profile.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V36__managed_session_journal_activation.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V37__managed_agent_event_type_index.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V38__managed_snapshot_deferral_marker.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V39__managed_session_journal_sequence_index.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V40__managed_session_creator.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V41__workspace_csi_reservation.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V42__workspace_csi_retirement.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V43__tool_dispatch_authorization.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V44__workspace_csi_worker_ack.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V45__managed_session_task_journal.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V46__managed_cwd_operation.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V47__managed_channel_route_delivery.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V48__workspace_storage_migration.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V49__workspace_migration_lookup_indexes.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V50__workspace_migration_binary_identity.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V51__workspace_session_lifecycle.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V52__managed_mutation_attempt_sequence.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V53__managed_workspace_roles.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V54__managed_child_lineage_relay.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V55__managed_channel_instance_binding.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V56__managed_operation_actor_key.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V57__managed_automation_ledger.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V60__managed_child_workspace.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V62__managed_task_cancel_operation.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V64__managed_session_message_relay.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V65__managed_stream_capture_collection.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V66__managed_session_agent_definition_digest.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V67__managed_session_rename_delivery.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V68__tool_publication_async_verification.sql feat(managed-agent): consolidate persistence into a 32-table baseline (#14069) 2026-10-14 00:58:38 +00:00
V69__runtime_broker_retention.sql feat(runtime-broker): add bounded retention for terminal JDBC history (#13642) 2026-10-14 04:50:56 +00:00