Skip to content

fix(runtime-host): retire Agent Graph state with Sessions - #1928

Merged
M4n5ter merged 1 commit into
apache:mainfrom
M4n5ter:feat/runtime-host-agent-graph-lifecycle
Aug 3, 2026
Merged

fix(runtime-host): retire Agent Graph state with Sessions#1928
M4n5ter merged 1 commit into
apache:mainfrom
M4n5ter:feat/runtime-host-agent-graph-lifecycle

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Aug 3, 2026

Copy link
Copy Markdown
Member
English

Summary

  • Treat every Session revision root and its canonical Agent Graph operators as one lifecycle and retirement unit.
  • Purge all durable Agent Graph control state through retryable Session cleanup, including recovery of legacy root-only retirements with or without operators.
  • Fence client projection commits against removed roots and preserve cleanup authority across Runtime Host startup and shutdown.

Validation

  • npm run format:check
  • npm run lint
  • npm run typecheck -w @maka/storage
  • npm run typecheck -w @maka/runtime-host
  • npm test -w @maka/storage
  • npm test -w @maka/runtime-host

Related to #1167

中文

概要

  • 将每个 Session revision root 与其 canonical Agent Graph operators 作为同一个生命周期和退休单元处理。
  • 通过可重试的 Session cleanup 清除全部持久化 Agent Graph 控制状态,并恢复历史版本中有或没有 operator 的 root-only retirement。
  • 在 client projection 提交时校验 root 仍然存在,并在 Runtime Host 启动与关闭期间保留完整的 cleanup authority。

验证

  • npm run format:check
  • npm run lint
  • npm run typecheck -w @maka/storage
  • npm run typecheck -w @maka/runtime-host
  • npm test -w @maka/storage
  • npm test -w @maka/runtime-host

关联 #1167

@M4n5ter
M4n5ter marked this pull request as ready for review August 3, 2026 04:04
@M4n5ter
M4n5ter merged commit 8d005e8 into apache:main Aug 3, 2026
5 checks passed
@M4n5ter
M4n5ter deleted the feat/runtime-host-agent-graph-lifecycle branch August 3, 2026 04:12
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.

1 participant