Commit 4988632
committed
feat(agent-org): add durable pause and resume handoff
Persist Pause episodes and per-Turn handoff receipts so a Team can stop formal work immediately, drain runtimes safely, and resume only work that remains legal after restart or concurrent state changes.
Add runtime leases, generation-fenced Inbox and Task boundaries, one-shot continuation dispatch, paused Group Chat enforcement, push-driven draining UI, strict-provider task_update schemas, and rendered recovery coverage.
Verification:
- cargo test -p agent_core (3175 passed, 2 ignored)
- cargo clippy -p agent_core --all-targets -- -D warnings
- pnpm vitest run (1116 files, 8767 tests)
- pnpm typecheck and changed-file ESLint
- BuildFast packaged app with 20/20 ten-runtime Pause/Resume samples
- codexharry GPT-5.4 Mini packaged-app Pause/restart/Resume smoke
Pre-commit hook ran. Total eslint: 5, total circular: 01 parent a22c362 commit 4988632
81 files changed
Lines changed: 5704 additions & 989 deletions
File tree
- src-tauri
- crates/agent-core/src
- core
- coordination
- agent_inbox
- agent_org_plan_approvals
- agent_org_runs
- agent_org_turn_contexts
- providers
- session
- compaction
- launch
- persistence
- turn
- processor
- inbox_drain
- tools/impls/orchestration/agent_org
- state
- commands
- session
- debug
- message
- org_tasks
- src/api/agent
- test
- src
- api
- realtime
- tauri/agent
- app/root/e2e
- helpers
- config
- engines/ChatPanel
- InputArea/components
- components
- hooks
- i18n/locales
- de
- en
- es
- fr
- ja
- ko
- pl
- pt
- ru
- tr
- vi
- zh-Hant
- zh
- modules
- __tests__
- store/session
- __tests__
- tests/e2e
- specs/core
- support/core
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 22 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
315 | 325 | | |
316 | 326 | | |
317 | 327 | | |
318 | 328 | | |
319 | 329 | | |
| 330 | + | |
320 | 331 | | |
321 | 332 | | |
322 | 333 | | |
| |||
327 | 338 | | |
328 | 339 | | |
329 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
330 | 350 | | |
331 | 351 | | |
332 | 352 | | |
| |||
0 commit comments