Skip to content

feat(durable): add recoverable runtime and streamline public APIs - #4154

Merged
oss-maintainer merged 41 commits into
agentscope-ai:mainfrom
chickenlj:automatic-acr-release-durable
Nov 13, 2026
Merged

oss-maintainer merged 41 commits into
agentscope-ai:mainfrom
chickenlj:automatic-acr-release-durable

Conversation

@chickenlj

Copy link
Copy Markdown
Collaborator

Summary

  • add the recoverable Durable execution model and reorganize the Durable runtime, worker, storage, and examples
  • simplify the public Session/Thread/Turn APIs while preserving 2.0 session-state compatibility
  • separate persisted public events from opt-in live deltas and add typed event streaming APIs
  • add Claude Managed Agents and AG-UI event adapters
  • refresh Spring Web examples and user-facing English/Chinese documentation
  • separate stable and development documentation and remove obsolete Service/POC material

Event model

  • listEvents returns only persisted PublicEvent history
  • streamEvents and subscribeEvents expose typed SessionStreamEvent values
  • only committed events carry Durable cursors
  • live deltas are opt-in, are not journaled, and cannot fabricate cursors
  • reconnect restores snapshot/history before delivering newly observed live deltas
  • committed messages remain authoritative over client-side previews

Validation

  • relevant 25-module Maven test suite
  • Durable runtime, Harness adapter, Claude adapter, and AG-UI adapter Maven verify
  • documentation test, validation, and broken-link checks
  • shade/BOM synchronization check
  • git diff --check

…elease

# Conflicts:
#	docs/v2/en/service/agent-api-chat.md
#	docs/v2/en/service/create-managed-agent.md
#	docs/v2/en/service/environments.md
#	docs/v2/en/service/files.md
#	docs/v2/en/service/kubernetes.md
#	docs/v2/en/service/quickstart.md
#	docs/v2/en/service/service-api.md
#	docs/v2/en/service/session-event-log.md
#	docs/v2/en/service/sse-events.md
#	docs/v2/en/service/vault.md
#	docs/v2/en/service/workspaces.md
#	docs/v2/zh/service/agent-api-chat.md
#	docs/v2/zh/service/create-managed-agent.md
#	docs/v2/zh/service/environments.md
#	docs/v2/zh/service/files.md
#	docs/v2/zh/service/kubernetes.md
#	docs/v2/zh/service/quickstart.md
#	docs/v2/zh/service/service-api.md
#	docs/v2/zh/service/session-event-log.md
#	docs/v2/zh/service/sse-events.md
#	docs/v2/zh/service/vault.md
#	docs/v2/zh/service/workspaces.md
…rades

Include Core and Harness session, tool, middleware, and sandbox recovery
updates alongside integrated control-plane scheduling and split service
ownership.

Backport durable MCP batches, MQ-first tool admission, commit gates, Turn
recovery, SDK and console updates, deployment support, and bilingual docs.
Preserve AgentScope identities and self-hosted defaults, and record the
synchronization baseline and verification limits.
Introduce independent durable execution with native journal recovery, scenario-based examples, and aligned documentation. Include the existing Service runtime/layout refactor and exclude local dependencies, generated output, logs, and binary packages.

Scope-risk: broad
Not-tested: Full-repository regression, Service refactor regression, isolated-cache build, and real MQ/service acceptance
Keep the current source focused on the SDK, Harness and Durable while
preserving historical Service guidance against matching release tags.
Include the documentation version migration and Durable POM formatting.

Constraint: Preserve historical Aistio documentation
Confidence: high
Scope-risk: broad
Not-tested: Full verify blocked by existing documentation Spotless violations; Paw tests blocked by an existing sessionKey compilation error
Copilot AI balanced review requested due to automatic review settings November 12, 2026 16:44
@mintlify

mintlify Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit b15995f.

Approve preview

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Standalone builds cannot resolve prerequisite artifacts with an empty Maven cache, and the permission examples call a nonexistent method.

2 open issues
What changed in this PR

This PR introduces recoverable Durable execution and simplifies the Session, Thread, and Turn APIs. It also separates persisted events from optional live deltas, updates integrations and examples, and retires obsolete Service infrastructure.

Changes:

  • Integrates Durable modules, recovery boundaries, journal storage, and runnable examples.
  • Updates English/Chinese documentation, development navigation, and release-specific links.
  • Removes legacy Service deployment, frontend, SDK, and database migration files.

Validation here was limited to source inspection and release API checks; builds and tests were not run.

File Description
pom.xml Replaces Service with Durable in the reactor.
docs/​v2/​zh/​integration/​skill/​postgresql-repository.md Removes the deprecation notice.
docs/​v2/​zh/​integration/​skill/​mysql-repository.md Removes the deprecation notice.
docs/​v2/​zh/​integration/​protocol/​agent-protocol.md Revises concurrency guidance.
docs/​v2/​zh/​integration/​overview.md Updates the JDBC documentation route.
docs/​v2/​zh/​integration/​model/​deepseek.md Revises reasoning-content guidance.
docs/​v2/​zh/​docs/​harness/​sandbox.md Clarifies JDBC snapshot labeling.
docs/​v2/​zh/​docs/​building-blocks/​permission-system.md Revises the confirmation example.
docs/​v2/​zh/​community/​contributors.md Pins the contribution-guide link.
docs/​v2/​zh/​blogs/​output/​long-tool.txt Adds sample tool output.
docs/​v2/​zh/​blogs/​managed-agents-agentscope-rumtime.md Pins the historical Builder link.
docs/​v2/​zh/​blogs/​agentscope-v1-builder.md Pins historical example links.
docs/​v2/​en/​integration/​skill/​postgresql-repository.md Removes the deprecation notice.
docs/​v2/​en/​integration/​skill/​mysql-repository.md Removes the deprecation notice.
docs/​v2/​en/​integration/​protocol/​agent-protocol.md Revises concurrency guidance.
docs/​v2/​en/​integration/​overview.md Updates the JDBC documentation route.
docs/​v2/​en/​integration/​model/​deepseek.md Revises reasoning-content guidance.
docs/​v2/​en/​docs/​harness/​sandbox.md Clarifies JDBC snapshot labeling.
docs/​v2/​en/​docs/​building-blocks/​permission-system.md Revises the confirmation example.
docs/​v2/​en/​community/​contributors.md Pins the contribution-guide link.
docs/​v2/​en/​blogs/​managed-agents-agentscope-rumtime.md Pins the historical Builder link.
docs/​v2/​en/​blogs/​agentscope-v1-builder.md Pins historical example links.
docs/​v2/​assets/​examples/​service/​sdlc-team/​OrderQuery.java.txt Adds an exercise starting point.
docs/​v2/​assets/​examples/​service/​sdlc-team/​ci.yml.txt Adds exercise acceptance-check configuration.
docs/​v2/​assets/​examples/​service/​presales-team/​product-knowledge.txt Adds fictional product reference material.
docs/​v2/​assets/​examples/​service/​presales-team/​delivery-guide.txt Adds exercise delivery guidance.
docs/​v2/​assets/​examples/​service/​presales-team/​customer-brief.txt Adds a fictional customer brief.
docs/​v1/​zh/​docs/​task/​structured-output.md Pins the example source link.
docs/​v1/​zh/​docs/​task/​session.md Pins the example source link.
docs/​v1/​zh/​docs/​task/​plan.md Pins the example source link.
docs/​v1/​zh/​docs/​task/​observability.md Pins the Studio example link.
docs/​v1/​zh/​docs/​task/​multimodal.md Pins the vision example link.
docs/​v1/​zh/​docs/​task/​model.md Pins the ModelRegistry source link.
docs/​v1/​zh/​docs/​task/​hook.md Pins the hook example link.
docs/​v1/​zh/​docs/​task/​agui.md Updates versioned example launch instructions.
docs/​v1/​zh/​docs/​task/​a2a.md Pins the Agent interface link.
docs/​v1/​zh/​blogs/​agentscope-v1-builder.md Pins historical example links.
docs/​v1/​en/​docs/​task/​structured-output.md Pins the example source link.
docs/​v1/​en/​docs/​task/​session.md Pins the example source link.
docs/​v1/​en/​docs/​task/​observability.md Pins the Studio example link.
docs/​v1/​en/​docs/​task/​multimodal.md Pins the vision example link.
docs/​v1/​en/​docs/​task/​model.md Pins the ModelRegistry source link.
docs/​v1/​en/​docs/​task/​agui.md Updates versioned example launch instructions.
docs/​v1/​en/​docs/​task/​a2a.md Pins the Agent interface link.
docs/​style.css Styles version notes and mobile spacing.
docs/​package.json Adds the ignore-pattern dependency.
docs/​package-lock.json Records the added dependency.
docs/​examples/​service/​scheduled-research/​input.json.txt Removes obsolete Service exercise input.
docs/​examples/​service/​incident-to-pr/​input.json.txt Removes obsolete Service exercise input.
docs/​examples/​service/​business-assistant/​orders.json.txt Removes obsolete sample orders.
docs/​examples/​service/​business-assistant/​input.json.txt Removes obsolete Service exercise input.
docs/​examples/​service/​agent-as-tool/​input.json.txt Removes obsolete Service exercise input.
docs/​examples/​jev/​tool-guard/​README.md.txt Points to development JEV documentation.
docs/​dev/​zh/​integration/​skill/​index.md Adds skill integration navigation.
docs/​dev/​zh/​integration/​session/​index.md Adds state-store integration navigation.
docs/​dev/​zh/​integration/​rag/​index.md Adds knowledge-base integration navigation.
docs/​dev/​zh/​integration/​protocol/​index.md Adds protocol integration navigation.
docs/​dev/​zh/​integration/​model/​index.md Adds model-provider navigation.
docs/​dev/​zh/​integration/​memory/​index.md Adds memory integration navigation.
docs/​dev/​zh/​integration/​infrastructure/​index.md Adds infrastructure integration navigation.
docs/​dev/​zh/​integration/​ecosystem/​overview.md Summarizes ecosystem integrations.
docs/​dev/​zh/​integration/​ecosystem/​index.md Adds ecosystem integration navigation.
docs/​dev/​en/​integration/​skill/​index.md Adds skill integration navigation.
docs/​dev/​en/​integration/​session/​index.md Adds state-store integration navigation.
docs/​dev/​en/​integration/​rag/​index.md Adds knowledge-base integration navigation.
docs/​dev/​en/​integration/​protocol/​index.md Adds protocol integration navigation.
docs/​dev/​en/​integration/​model/​index.md Adds model-provider navigation.
docs/​dev/​en/​integration/​memory/​index.md Adds memory integration navigation.
docs/​dev/​en/​integration/​infrastructure/​index.md Adds infrastructure integration navigation.
docs/​dev/​en/​integration/​ecosystem/​overview.md Summarizes ecosystem integrations.
docs/​dev/​en/​integration/​ecosystem/​index.md Adds ecosystem integration navigation.
docs/​.mintignore Excludes internal design drafts from publication.
agentscope-service/​service-dataplane/​src/​main/​java/​io/​agentscope/​builder/​web/​managed/​ManagedSessionIdentity.java Removes legacy managed-session identity.
agentscope-service/​service-controlplane/​test/​e2e/​README.md Removes Service regression instructions.
agentscope-service/​service-controlplane/​sdk/​python/​agentscope_service/​proto/​__init__.py Removes the legacy protobuf package marker.
agentscope-service/​service-controlplane/​sdk/​dsh/​tsconfig.json Removes SDK TypeScript configuration.
agentscope-service/​service-controlplane/​sdk/​dsh/​pnpm-workspace.yaml Removes SDK workspace configuration.
agentscope-service/​service-controlplane/​sdk/​dsh/​.gitignore Removes SDK ignore rules.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0114_session_api.up.sql Removes legacy Session API migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0114_session_api.down.sql Removes legacy Session API rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0113_service_application_identity.down.sql Removes application-identity rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0112_service_api_contract.up.sql Removes Service contract migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0112_service_api_contract.down.sql Removes Service contract rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0111_runtime_host_capacity.up.sql Removes host-capacity migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0111_runtime_host_capacity.down.sql Removes host-capacity rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0110_snapshot_presence.up.sql Removes snapshot-presence migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0110_snapshot_presence.down.sql Removes snapshot-presence rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0109_chat_deleted.up.sql Removes chat-deletion migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0109_chat_deleted.down.sql Removes chat-deletion rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0108_namespace_access.down.sql Removes namespace-access rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0107_automation_pending_index.up.sql Removes pending-automation index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0107_automation_pending_index.down.sql Removes pending-automation index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0106_automation_execution.up.sql Removes automation-execution migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0106_automation_execution.down.sql Removes automation-execution rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0105_inbox_attention.down.sql Removes inbox-attention rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0104_chat_conversations.down.sql Removes chat-conversation rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0103_team_member_agent_index.up.sql Removes team-member index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0103_team_member_agent_index.down.sql Removes team-member index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0102_team_lifecycle.up.sql Removes team-lifecycle migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0102_team_lifecycle.down.sql Removes team-lifecycle rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0101_issue_work_policy.up.sql Removes issue-policy migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0101_issue_work_policy.down.sql Removes issue-policy rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0100_issue_execution_target.up.sql Removes execution-target migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0100_issue_execution_target.down.sql Removes execution-target rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0099_agent_runtime_policy_id_index.up.sql Removes runtime-policy ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0099_agent_runtime_policy_id_index.down.sql Removes runtime-policy ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0098_orchestration_event_id_index.up.sql Removes event ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0098_orchestration_event_id_index.down.sql Removes event ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0097_orchestration_team_snapshot_index.up.sql Removes team-snapshot index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0097_orchestration_team_snapshot_index.down.sql Removes team-snapshot index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0096_orchestration_edge_id_index.up.sql Removes edge ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0096_orchestration_edge_id_index.down.sql Removes edge ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0095_orchestration_node_id_index.up.sql Removes node ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0095_orchestration_node_id_index.down.sql Removes node ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0094_orchestration_run_id_index.up.sql Removes run ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0094_orchestration_run_id_index.down.sql Removes run ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0093_orchestration_revision_id_index.up.sql Removes revision ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0093_orchestration_revision_id_index.down.sql Removes revision ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0092_orchestration_definition_id_index.up.sql Removes definition ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0092_orchestration_definition_id_index.down.sql Removes definition ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0091_orchestration_run_idempotency_index.up.sql Removes run-idempotency index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0091_orchestration_run_idempotency_index.down.sql Removes run-idempotency index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0090_execution_attempt_run_index.up.sql Removes execution-attempt index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0090_execution_attempt_run_index.down.sql Removes execution-attempt index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0089_agent_runtime_policy_index.up.sql Removes runtime-policy index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0089_agent_runtime_policy_index.down.sql Removes runtime-policy index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0088_orchestration_event_dedupe_index.up.sql Removes event-deduplication index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0088_orchestration_event_dedupe_index.down.sql Removes event-deduplication index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0087_orchestration_event_index.up.sql Removes event-sequence index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0087_orchestration_event_index.down.sql Removes event-sequence index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0086_orchestration_node_run_index.up.sql Removes node-run index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0086_orchestration_node_run_index.down.sql Removes node-run index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0085_orchestration_run_issue_index.up.sql Removes run-issue index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0085_orchestration_run_issue_index.down.sql Removes run-issue index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0084_orchestration_run_scope_index.up.sql Removes run-scope index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0084_orchestration_run_scope_index.down.sql Removes run-scope index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0083_orchestration_revision_index.up.sql Removes revision index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0083_orchestration_revision_index.down.sql Removes revision index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0082_orchestration_definition_name_index.up.sql Removes definition-name index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0082_orchestration_definition_name_index.down.sql Removes definition-name index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0081_orchestration.down.sql Removes orchestration-schema rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0080_issues_search_index.up.sql Removes issue-search index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0080_issues_search_index.down.sql Removes issue-search index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0079_issues_due_index.up.sql Removes issue-due index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0079_issues_due_index.down.sql Removes issue-due index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0078_control_outbox_delivery_index.up.sql Removes outbox-delivery index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0078_control_outbox_delivery_index.down.sql Removes outbox-delivery index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0077_control_outbox_dedupe_index.up.sql Removes outbox-deduplication index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0077_control_outbox_dedupe_index.down.sql Removes outbox-deduplication index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0076_runtime_hosts_seen_index.up.sql Removes host-activity index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0076_runtime_hosts_seen_index.down.sql Removes host-activity index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0075_runtime_hosts_pool_index.up.sql Removes host-pool index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0075_runtime_hosts_pool_index.down.sql Removes host-pool index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0074_runtime_hosts_identity_index.up.sql Removes host-identity index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0074_runtime_hosts_identity_index.down.sql Removes host-identity index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0073_runtime_pools_name_index.up.sql Removes pool-name index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0073_runtime_pools_name_index.down.sql Removes pool-name index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0072_runtime_profiles_name_index.up.sql Removes profile-name index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0072_runtime_profiles_name_index.down.sql Removes profile-name index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0071_agent_instances_seen_index.up.sql Removes agent-activity index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0071_agent_instances_seen_index.down.sql Removes agent-activity index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0070_agent_instances_agent_index.up.sql Removes agent-instance index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0070_agent_instances_agent_index.down.sql Removes agent-instance index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0069_agent_instances_identity_index.up.sql Removes instance-identity index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0069_agent_instances_identity_index.down.sql Removes instance-identity index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0068_transcript_updated_index.up.sql Removes transcript-update index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0068_transcript_updated_index.down.sql Removes transcript-update index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0067_dp_tasks_delivery_index.up.sql Removes task-delivery index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0067_dp_tasks_delivery_index.down.sql Removes task-delivery index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0066_dp_tasks_session_index.up.sql Removes task-session index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0066_dp_tasks_session_index.down.sql Removes task-session index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0065_dp_tasks_orphan_index.up.sql Removes orphan-task index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0065_dp_tasks_orphan_index.down.sql Removes orphan-task index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0064_dp_async_stale_index.up.sql Removes stale-tool index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0064_dp_async_stale_index.down.sql Removes stale-tool index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0063_dp_bus_key_index.up.sql Removes bus-key index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0063_dp_bus_key_index.down.sql Removes bus-key index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0062_dp_snapshots_accessed_index.up.sql Removes snapshot-access index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0062_dp_snapshots_accessed_index.down.sql Removes snapshot-access index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0061_dp_locks_expiry_index.up.sql Removes lock-expiry index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0061_dp_locks_expiry_index.down.sql Removes lock-expiry index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0060_dp_kv_prefix_index.up.sql Removes key-prefix index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0060_dp_kv_prefix_index.down.sql Removes key-prefix index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0059_session_turns_running_index.up.sql Removes running-turn index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0059_session_turns_running_index.down.sql Removes running-turn index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0058_session_turns_session_index.up.sql Removes turn-session index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0058_session_turns_session_index.down.sql Removes turn-session index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0057_session_turns_identity_index.up.sql Removes turn-identity index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0057_session_turns_identity_index.down.sql Removes turn-identity index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0056_session_commands_time_index.up.sql Removes command-time index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0056_session_commands_time_index.down.sql Removes command-time index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0055_session_commands_session_index.up.sql Removes command-session index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0055_session_commands_session_index.down.sql Removes command-session index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0054_session_commands_id_index.up.sql Removes command-ID index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0054_session_commands_id_index.down.sql Removes command-ID index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0053_data_planes_seen_index.up.sql Removes data-plane activity index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0053_data_planes_seen_index.down.sql Removes data-plane activity index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0052_data_planes_agent_index.up.sql Removes data-plane agent index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0052_data_planes_agent_index.down.sql Removes data-plane agent index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0051_agent_metrics_index.up.sql Removes agent-metrics index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0051_agent_metrics_index.down.sql Removes agent-metrics index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0050_token_model_index.up.sql Removes token-model index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0050_token_model_index.down.sql Removes token-model index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0049_token_agent_index.up.sql Removes token-agent index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0049_token_agent_index.down.sql Removes token-agent index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0048_context_session_index.up.sql Removes context-session index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0048_context_session_index.down.sql Removes context-session index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0047_context_dedupe_index.up.sql Removes context-deduplication index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0047_context_dedupe_index.down.sql Removes context-deduplication index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0046_events_type_index.up.sql Removes event-type index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0046_events_type_index.down.sql Removes event-type index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0045_events_session_index.up.sql Removes event-session index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0045_events_session_index.down.sql Removes event-session index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0044_events_sequence_index.up.sql Removes event-sequence index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0044_events_sequence_index.down.sql Removes event-sequence index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0043_snapshots_pressure_index.up.sql Removes snapshot-pressure index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0043_snapshots_pressure_index.down.sql Removes snapshot-pressure index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0042_snapshots_session_index.up.sql Removes snapshot-session index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0042_snapshots_session_index.down.sql Removes snapshot-session index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0041_sessions_phase_index.up.sql Removes session-phase index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0041_sessions_phase_index.down.sql Removes session-phase index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0040_sessions_agent_index.up.sql Removes session-agent index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0040_sessions_agent_index.down.sql Removes session-agent index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0039_sessions_identity_index.up.sql Removes session-identity index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0039_sessions_identity_index.down.sql Removes session-identity index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0038_automation_runs_dedupe_index.up.sql Removes automation-run deduplication migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0038_automation_runs_dedupe_index.down.sql Removes automation-run deduplication rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0037_automations_due_index.up.sql Removes automation-due index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0037_automations_due_index.down.sql Removes automation-due index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0036_automations_name_index.up.sql Removes automation-name index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0036_automations_name_index.down.sql Removes automation-name index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0035_automations.down.sql Removes automation-schema rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0034_approvals_approver_index.up.sql Removes approver index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0034_approvals_approver_index.down.sql Removes approver index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0033_issue_subscribers_unique_index.up.sql Removes subscriber index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0033_issue_subscribers_unique_index.down.sql Removes subscriber index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0032_sessions_agent_task_index.up.sql Removes session-task index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0032_sessions_agent_task_index.down.sql Removes session-task index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0031_execution_attempts_task_index.up.sql Removes attempt-task index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0031_execution_attempts_task_index.down.sql Removes attempt-task index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0030_execution_attempts_lease_index.up.sql Removes attempt-lease index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0030_execution_attempts_lease_index.down.sql Removes attempt-lease index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0029_execution_attempts_claim_index.up.sql Removes attempt-claim index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0029_execution_attempts_claim_index.down.sql Removes attempt-claim index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0028_collaboration_activity_issue_index.up.sql Removes activity-issue index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0028_collaboration_activity_issue_index.down.sql Removes activity-issue index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0027_collaboration_inbox_dedupe_index.up.sql Removes inbox-deduplication index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0027_collaboration_inbox_dedupe_index.down.sql Removes inbox-deduplication index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0026_collaboration_inbox_recipient_index.up.sql Removes inbox-recipient index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0026_collaboration_inbox_recipient_index.down.sql Removes inbox-recipient index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0025_collaboration_team_members_role_index.up.sql Removes team-role index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0025_collaboration_team_members_role_index.down.sql Removes team-role index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0024_collaboration_teams_name_index.up.sql Removes team-name index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0024_collaboration_teams_name_index.down.sql Removes team-name index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0023_agent_task_inputs_state_index.up.sql Removes task-input state index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0023_agent_task_inputs_state_index.down.sql Removes task-input state index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0022_agent_task_inputs_unique_index.up.sql Removes task-input uniqueness migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0022_agent_task_inputs_unique_index.down.sql Removes task-input uniqueness rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0021_agent_tasks_pending_unique_index.up.sql Removes pending-task uniqueness migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0021_agent_tasks_pending_unique_index.down.sql Removes pending-task uniqueness rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0020_agent_tasks_queue_index.up.sql Removes task-queue index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0020_agent_tasks_queue_index.down.sql Removes task-queue index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0019_comment_routes_unique_index.up.sql Removes comment-route index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0019_comment_routes_unique_index.down.sql Removes comment-route index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0018_comment_mentions_unique_index.up.sql Removes comment-mention index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0018_comment_mentions_unique_index.down.sql Removes comment-mention index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0017_comments_thread_index.up.sql Removes comment-thread index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0017_comments_thread_index.down.sql Removes comment-thread index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0016_comments_issue_index.up.sql Removes comment-issue index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0016_comments_issue_index.down.sql Removes comment-issue index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0015_issues_assignee_index.up.sql Removes issue-assignee index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0015_issues_assignee_index.down.sql Removes issue-assignee index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0014_issues_scope_index.up.sql Removes issue-scope index migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0014_issues_scope_index.down.sql Removes issue-scope index rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0013_issue_collaboration.down.sql Removes collaboration-schema rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0010_control_plane.down.sql Removes control-plane schema rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0007_session_transcript_index.up.sql Removes transcript-table migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0007_session_transcript_index.down.sql Removes transcript-table rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0006_hosted_tasks.down.sql Removes hosted-task rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0005_hosted_store.down.sql Removes hosted-store rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0004_session_turns.up.sql Removes session-turn schema migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0004_session_turns.down.sql Removes session-turn schema rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0003_busy_commands.up.sql Removes session-command schema migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0003_busy_commands.down.sql Removes session-command schema rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0002_data_planes.up.sql Removes data-plane registry migration.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0002_data_planes.down.sql Removes data-plane registry rollback.
agentscope-service/​service-controlplane/​internal/​store/​postgres/​migrations/​0001_init.down.sql Removes initial-schema rollback.
agentscope-service/​service-controlplane/​helm/​controlplane/​templates/​webhook-certificate.yaml Removes webhook certificate provisioning.
agentscope-service/​service-controlplane/​helm/​controlplane/​templates/​storage-secret.yaml Removes storage-secret provisioning.
agentscope-service/​service-controlplane/​helm/​controlplane/​templates/​servicemonitor.yaml Removes monitoring integration.
agentscope-service/​service-controlplane/​helm/​controlplane/​templates/​grafana-dashboard.yaml Removes dashboard provisioning.
agentscope-service/​service-controlplane/​helm/​controlplane/​templates/​artifact-pvc.yaml Removes artifact-volume provisioning.
agentscope-service/​service-controlplane/​helm/​controlplane/​profiles/​ha.yaml Removes high-availability deployment profile.
agentscope-service/​service-controlplane/​helm/​controlplane/​profiles/​experimental.yaml Removes experimental deployment profile.
agentscope-service/​service-controlplane/​helm/​controlplane/​Chart.yaml Removes control-plane chart metadata.
agentscope-service/​service-controlplane/​examples/​service-api/​.gitignore Removes Service example ignore rules.
agentscope-service/​service-controlplane/​examples/​collaboration/​README.md Removes collaboration example instructions.
agentscope-service/​service-controlplane/​config/​samples/​modelconfig.yaml Removes model configuration sample.
agentscope-service/​service-controlplane/​config/​samples/​mcpserver.yaml Removes MCP server sample.
agentscope-service/​service-controlplane/​config/​samples/​agent_byo_workloadref.yaml Removes external-agent workload sample.
agentscope-service/​service-controlplane/​api/​v1alpha1/​doc.go Removes Kubernetes API package metadata.
agentscope-service/​release/​requirements.txt Removes Service release dependencies.
agentscope-service/​helm/​agentscope-service/​templates/​NOTES.txt Removes Service installation notes.
agentscope-service/​helm/​agentscope-service/​templates/​_helpers.tpl Removes Service chart helpers.
agentscope-service/​helm/​agentscope-service/​Chart.yaml Removes Service chart metadata.
agentscope-service/​helm/​agentscope-service/​.helmignore Removes Service chart ignore rules.
agentscope-service/​frontend/​vite.config.ts Removes frontend build configuration.
agentscope-service/​frontend/​tsconfig.json Removes frontend TypeScript configuration.
agentscope-service/​frontend/​src/​pages/​AgentsHubPage.tsx Removes the agent-page forwarding module.
agentscope-service/​frontend/​src/​lib/​utils.ts Removes frontend styling utilities.
agentscope-service/​frontend/​src/​features/​work/​PermissionsPage.tsx Removes the permissions-page redirect.
agentscope-service/​frontend/​src/​features/​conversation/​turnState.ts Removes legacy turn-completion detection.
agentscope-service/​frontend/​src/​features/​conversation/​turnState.test.ts Removes legacy turn-completion tests.
agentscope-service/​frontend/​src/​features/​build/​agents/​frameworkSummary.test.ts Removes framework-summary tests.
agentscope-service/​frontend/​src/​features/​approvals/​ApprovalsPage.tsx Removes the approvals compatibility entry.
agentscope-service/​frontend/​src/​api/​agentSessions.test.ts Removes Service session-event tests.
agentscope-service/​frontend/​index.html Removes the Service frontend entry.
agentscope-service/​frontend/​.gitignore Removes frontend report ignore rules.
agentscope-service/​docker/​postgres-init.sql Removes Service database bootstrap.
agentscope-service/​docker/​Dockerfile.plane Removes Java Service container packaging.
agentscope-service/​deploy/​postgres-init.sql Removes deployment schema bootstrap.
agentscope-service/​.dockerignore Removes Service build-context rules.
agentscope-harness/​src/​test/​java/​io/​agentscope/​harness/​agent/​tools/​HarnessAgentToolsConfigTest.java Updates the thread-tool assertion.
agentscope-harness/​src/​test/​java/​io/​agentscope/​harness/​agent/​HarnessAgentDistributedSandboxTest.java Uses the journal configuration API.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​workspace/​WorkspaceManager.java Updates journal terminology in Javadoc.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​verification/​VerificationService.java Uses InvocationRecorder for evidence.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​sandbox/​snapshot/​LocalSandboxSnapshot.java Flushes snapshot contents before replacement.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​middleware/​TeamsMiddleware.java Removes obsolete kickoff wording from Javadoc.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​middleware/​DynamicSubagentsMiddleware.java Adds model-free declaration refresh.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​memory/​MemoryConsolidator.java Routes consolidation through auxiliary model calls.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​memory/​compaction/​CompactionConfig.java Updates the protected thread-tool name.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​gateway/​HarnessGateway.java Generalizes external-session Javadoc.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​RoutedSandboxFilesystem.java Delegates through the journal storage API.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​remote/​store/​InMemoryStore.java Renames atomic journal capability opt-in.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​remote/​store/​BaseStore.java Renames the atomic journal capability contract.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​remote/​RemoteFilesystem.java Uses remote journal storage.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​OverlayFilesystem.java Delegates journal storage to the upper layer.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​local/​LocalFilesystem.java Uses local journal storage.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​CompositeFilesystem.java Routes journal storage to the agent backend.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​BakedContextFilesystem.java Preserves bound context for journal storage.
agentscope-harness/​src/​main/​java/​io/​agentscope/​harness/​agent/​filesystem/​AbstractFilesystem.java Exposes the journal storage capability.
agentscope-extensions/​pom.xml Registers Durable extensions; removes control-plane integration.
agentscope-extensions/​agentscope-extensions-redis/​src/​main/​java/​io/​agentscope/​extensions/​redis/​store/​RedisStore.java Renames atomic journal capability opt-in.
agentscope-extensions/​agentscope-extensions-postgresql/​src/​main/​java/​io/​agentscope/​extensions/​postgresql/​store/​PostgresBaseStore.java Renames atomic journal capability opt-in.
agentscope-extensions/​agentscope-extensions-mysql/​src/​main/​java/​io/​agentscope/​extensions/​mysql/​store/​JdbcStore.java Renames atomic journal capability opt-in.
agentscope-extensions/​agentscope-extensions-mongodb/​src/​main/​java/​io/​agentscope/​extensions/​mongodb/​store/​MongoBaseStore.java Renames atomic journal capability opt-in.
agentscope-extensions/​agentscope-extensions-jdbc/​src/​main/​java/​io/​agentscope/​extensions/​jdbc/​store/​JdbcStore.java Renames atomic journal capability opt-in.
agentscope-examples/​README.md Introduces Durable execution examples.
agentscope-examples/​pom.xml Registers Durable examples.
agentscope-examples/​jev/​README.md Points to development JEV documentation.
agentscope-examples/​jev/​benchmarks/​tool-guard/​publish_example.py Packages the relocated JEV guide.
agentscope-examples/​durable/​integrated/​tool-in-sandbox/​src/​main/​resources/​application.yml Adds integrated sandbox example defaults.
agentscope-examples/​durable/​integrated/​quickstart/​src/​main/​resources/​application.yml Adds Durable quickstart defaults.
agentscope-examples/​durable/​integrated/​http-server/​src/​main/​resources/​application.yml Adds local HTTP server defaults.
agentscope-examples/​durable/​integrated/​http-server/​run.sh Adds HTTP example build and launch script.
agentscope-examples/​durable/​brain-hands/​tool-in-sandbox/​src/​main/​resources/​application.yml Adds distributed sandbox example defaults.
agentscope-examples/​durable/​brain-hands/​echo-tool/​src/​main/​resources/​application.yml Adds distributed echo example defaults.
agentscope-examples/​agents/​agentscope-paw/​src/​test/​java/​io/​agentscope/​builder/​BuilderBootstrapSmokeTest.java Removes managed-task context from the smoke test.
agentscope-examples/​agents/​agentscope-paw/​src/​test/​java/​io/​agentscope/​builder/​BuilderAppContextLoadTest.java Removes obsolete control-plane configuration.
agentscope-examples/​agents/​agentscope-paw/​src/​main/​resources/​templates/​research-assistant/​tools.json Updates advertised thread-tool names.
agentscope-examples/​agents/​agentscope-paw/​src/​main/​resources/​templates/​customer-support/​subagents/​escalation-router.md Updates permitted thread-tool names.
agentscope-examples/​agents/​agentscope-paw/​src/​main/​resources/​templates/​customer-support/​skills/​triage-ticket/​SKILL.md Updates the transcript-search instruction.
agentscope-examples/​agents/​agentscope-paw/​src/​main/​resources/​templates/​blank/​tools.json Updates advertised thread-tool names.
agentscope-examples/​agents/​agentscope-paw/​src/​main/​resources/​scaffold/​default/​tools.json Updates advertised thread-tool names.
agentscope-examples/​agents/​agentscope-paw/​src/​main/​resources/​prompts/​agent-draft.md Updates thread-tool prompt references.
agentscope-examples/​agents/​agentscope-paw/​src/​main/​java/​io/​agentscope/​claw2/​web/​api/​AgentToolsController.java Updates the search-tool catalog entry.
agentscope-examples/​agents/​agentscope-paw/​pom.xml Removes the control-plane dependency.
agentscope-examples/​agents/​agentscope-dataagent/​src/​main/​java/​io/​agentscope/​dataagent/​web/​scaffold/​WorkspaceScaffolder.java Updates generated tool-name guidance.
agentscope-examples/​agents/​agentscope-dataagent/​src/​main/​java/​io/​agentscope/​dataagent/​web/​catalog/​AgentCatalogService.java Updates the catalog's search-tool name.
agentscope-examples/​agents/​agentscope-dataagent/​src/​main/​java/​io/​agentscope/​dataagent/​web/​api/​AgentToolsController.java Updates the search-tool catalog entry.
agentscope-durable/​Makefile Adds Durable verification targets.
agentscope-core/​src/​test/​java/​io/​agentscope/​core/​state/​PlanModeContextStatePersistenceTest.java Updates the optional-state JSON fixture.
agentscope-core/​src/​test/​java/​io/​agentscope/​core/​state/​AgentStateTest.java Checks the default thread identity.
agentscope-core/​src/​test/​java/​io/​agentscope/​core/​message/​GenerateReasonTest.java Covers the host-paused enum value.
agentscope-core/​src/​test/​java/​io/​agentscope/​core/​agent/​ReActAgentOnAgentStateReadyTest.java Reads persisted state using ThreadKey.
agentscope-core/​src/​test/​java/​io/​agentscope/​core/​agent/​ReActAgentInterruptToolCallTest.java Reads interrupted state using ThreadKey.
agentscope-core/​src/​main/​java/​io/​agentscope/​core/​session/​SessionHistoryMode.java Removes the legacy history-mode enum.
agentscope-core/​src/​main/​java/​io/​agentscope/​core/​middleware/​MiddlewareBase.java Adds the pre-checkpoint finish hook.
agentscope-core/​src/​main/​java/​io/​agentscope/​core/​message/​GenerateReason.java Adds a recoverable host-pause reason.
agentscope-core/​src/​main/​java/​io/​agentscope/​core/​hook/​LegacyHookDispatcher.java Skips chunk processing without hooks.
.licenserc.yaml Updates utility-script and retired Service exclusions.
.github/​workflows/​maven-ci.yml Adds release-version and module-selection checks.
.github/​scripts/​check-service-release-source.sh Removes the Service publication source gate.
.dockerignore Removes obsolete Service exclusions.

Review effort: Balanced

Comment on lines +9 to +10
mvn -B -ntp -T1 "${durable_maven_args[@]}" -f agentscope-durable/pom.xml \
-Pdurable-standalone -pl :agentscope-durable-example-http-server -am package \
ConfirmResult result =
new ConfirmResult(
/* confirmed = */ true,
/* toolCall = */ toolCall);
/* toolCall = */ toolCall,
/* rules = */ toolCall.getSuggestedRules());
jujn pushed a commit that referenced this pull request Nov 16, 2026
## Description

Fixes #4140.

Native thread journals configured through `RemoteFilesystemSpec` were
silently written to the local workspace.
`CompositeFilesystem.journalStorage()` looked up `agents/`, which cannot
match the more specific `agents/<agentId>/sessions/` route.

Add an optional explicit journal backend to `CompositeFilesystem` and
have `RemoteFilesystemSpec` pass its sessions backend. File routing and
the existing two-argument constructor retain their behavior. Journals
now use the remote sessions namespace and its configured isolation
scope. Existing local journals are not migrated automatically.

Rebased onto main at `a4306d63d` and adapted to the journal API
introduced by #4154: `journalStorage`, `AtomicJournalStorage`,
`ThreadKey`, `JournalEvent`, and `WorkspaceThreadJournalStore`.
Regression tests are in the journal package and the English and Chinese
guides are updated under `docs/dev`.
xzxiaoshan added a commit to xzxiaoshan/agentscope-java that referenced this pull request Nov 16, 2026
Merge main (5525ac1) into the final-answer-gate branch and resolve:

- MiddlewareBase: keep both new extension points — ON_FINAL_ANSWER
  (this branch) and ON_AGENT_FINISH (main, durable runtime agentscope-ai#4154);
  both default methods kept; class javadoc lists onAgentFinish and
  states no hard hook counts (the enum is next to it).
- ReActAgent: adopt main's durable-runtime shape and rebase the gate
  onto it — settleSession stays deleted (durable host owns
  continuation); finalizeReturnDirect keeps its gated Mono signature;
  publishEvent keeps main's recordEvent/emitEvent split but stays
  package-private for the gate engine; reasoning keeps the host
  boundary wrapper; terminal reasoning messages still land only after
  the gate verdict, with main's reasoningCompleted() position
  bookkeeping preserved.
- FinalAnswerGateEngine + gate test: port the rejected-draft audit from
  the removed SessionRecorder to InvocationRecorder (journal event
  extension/final_answer.rejected).
- docs/v2 EN/ZH middleware pages: follow main's trimmed structure
  (activePoints/onAgentStateReady prose sections removed there) and
  layer the onFinalAnswer content on top. Counts follow the code, not
  main's docs: every ExtensionPoint constant is documented — 8 hooks,
  four types (Notification restored with onAgentStateReady +
  onAgentFinish), aligned tables/diagrams/wording in both languages.

Verified: mvn -pl agentscope-core -am test for
ReActAgentFinalAnswerGateTest (51), AgentExecutionHostTest (13),
InvocationIdentityTest (9), StructuredMixedBatchAuditTest (7) — all
pass; spotless:check clean; docs npm test 20/20 and build validation
pass.
chcodex added a commit to chcodex/agentscope-java that referenced this pull request Nov 24, 2026
xzxiaoshan added a commit that referenced this pull request Nov 26, 2026
…#4435)

## Background

Swept the last 125 PRs (#4434→#4239), every single-OS-failed CI run
since 2026-11-19 and the main-branch push runs for `mvn -B -T1C clean
verify` failures (one build OS red and the other green on the same
commit = flake suspect). Four test classes still fail on current main:
three fail on windows-latest only, and the fourth sits at its deadline
on both OSes. All fixes are test-side only (no `src/main` changes).

## Fixes and evidence

| Test class | Victims | Signature | Fix |
|---|---|---|---|
| `HarnessAgentStructuredOutputStreamEventsTest` | #4296, #4349, #4071,
main run 44879286932 (2026-11-20 to 11-23), all windows-latest |
`streamEvents(...).block(10s)` timed out at 10.2-11.3s per call; the
class takes 3.7-9.6s on windows-latest when green and 1-1.5s on ubuntu |
ephemeral `InMemoryThreadJournalStore` in the three workspace-backed
tests (the fourth already used one) |
| `HarnessAgentOverflowRecoveryTest` | #4042, #4426 (2026-11-26), both
windows-latest; the journal rows were added by #4399 on 11-25 | row
`[3]` (journal=true) crossed `block(30s)` at 36.3-38.1s and row `[4]`
passed with 33.8s; the same rows take 0.4-1.3s on ubuntu, and main's own
run 45595615922 needed 61s for the class on windows-latest | ephemeral
`InMemoryThreadJournalStore` in `newAgent` |
| `DashScopeMultiModalEmbeddingTest` | #4413 (2026-11-25),
windows-latest | the first SDK request in the fork hit the 5s latch
(7.29s elapsed); the class takes 1.4-4.2s on windows-latest even when
green | first-request latch 5s→15s |
| `AnthropicAutoConfigurationTest` | #2363, run 45137197507
(2026-11-23), windows-latest | the first gateway test crossed
`block(10s)` at 15.66s; the other three take under 1s, and this one
already takes 5-11s on windows-latest and 9-12s on ubuntu when green |
block 10s→30s |

The first two share one cause: since #4154 the default workspace journal
is `SqliteJournalStorage` on Windows, which opens a JDBC connection per
storage operation and commits every CAS as a durable transaction (DELETE
journal, synchronous EXTRA). A journaled turn issues about 20 such
writes at roughly 8ms each on a fast local disk. Neither class asserts
journal persistence, so they now use the ephemeral backend the
repository already documents for tests. Locally on Windows the
overflow-recovery class dropped from 17.9s to 5.6s and the
structured-output class from 3.2s to 1.6s.

## Constraint compliance

- Happy path zero cost: the journal swap removes work, the two
relaxations only move failure deadlines, and no sleeps or weakened
assertions were added.
- Structural hardening first: the journal swap is structural. For the
two cold-start waits the structural alternative, a warm-up request
before the timed section, would add a request to every run, so the
deadline was relaxed instead.
- Minimal widening anchored to measured data: each relaxation is 3x the
deadline that was crossed, and every comment cites its victims and
measured values.
- No `src/main` changes.

## Observed but deliberately not fixed here

-
`WorkerRuntimeTest.saturatedStartsDoNotBlockRecoveryAndDrainPreservesActiveLeases`
(#4294, windows-latest, 36.19s at the `renewed` latch): with the test's
4s worker lease a heartbeat delayed by more than 2.7s finds the lease
already expired and fails with `Worker lease lost` instead of arriving
late, so widening the latch (as #4274 did to 30s) cannot help. That
latch is the only place asserting the runtime renews leases, and a
longer lease would delay the first heartbeat by lease/3, so the fix
needs a design decision.
-
`SubagentFactoryDeclarationTest.declaredFactory_persistSessionIsolatesUsers`
(main run 45172445003, 2026-11-23, 31.45s) and
`ChatControllerTest.httpUsesExplicitCreationAndTargetedIdempotentControls`
(main run 44566773929 and #4255, both 2026-11-19): no recurrence since.
- Two windows-latest hangs that ended at the 2h job timeout:
`AgentSpawnToolPermissionTest` (#4305, run 44760439728) and
`AgentSpawnToolPlanModeTest` (main run 45739005058 on the current head).
Both classes wait with unbounded `.block()`; the root cause is not
established, and the 30-minute Surefire fork timeout in the root pom did
not end either run.
- The cost of the Windows default journal itself (one JDBC connection
and one durable transaction per storage operation) is a production
concern that deserves its own `src/main` change.
- Already fixed upstream, victims predate the fix:
`JevEvidenceProcessorTest` (13 runs, fixed by #4346),
`ChatSessionsTest`, `RocketMqExecutionTest` and `AgentScopeAdapterTest`
(fixed by #4274).
aiyili added a commit to aiyili/agentscope-java that referenced this pull request Nov 26, 2026
每日记忆账本(memory/YYYY-MM-DD.md)的文件名与条目标题此前使用不同的
时间基准:文件名取请求 Clock 所在时区的日期,标题却是 UTC 瞬时
(Instant.toString(),以 Z 结尾)。在 UTC+09:00 的部署里,22:30 UTC 的
一次 flush 归入次日(03-02)的账本,条目标题却写着 03-01T22:30:00Z——
与文件名相差一天(agentscope-ai#3433)。

修复:标题与文件名取自同一个 Clock,并以该 Clock 的时区渲染
(ISO-8601 带偏移,如 2026-03-02T07:30:00+09:00)。

时区通过 RuntimeContext 中的 Clock 配置(agentscope-ai#4154 引入,durable 运行时
恢复一轮对话时也是这样还原其时区),不另增配置项。本 PR 早期版本
提出的 ledgerZone 构造参数从未接入任何 builder,且会与 Clock 形成两套
时间来源,故移除。

测试:MemoryFlushManagerClockTest 共 5 例——账本按 Clock 时区的日期
归档、条目标题按该时区渲染、另一时区归入其本地日期、同一时区连续
flush 汇入同一账本、未提供 Clock 时沿用 JVM 默认时区。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants