Skip to content

feat(tasks): add persistent agent task graph#668

Merged
XingYu-Zhong merged 1 commit into
KunAgent:developfrom
luoye520ww:codex/task-graph-agent-tool
Jul 1, 2026
Merged

feat(tasks): add persistent agent task graph#668
XingYu-Zhong merged 1 commit into
KunAgent:developfrom
luoye520ww:codex/task-graph-agent-tool

Conversation

@luoye520ww

Copy link
Copy Markdown
Collaborator

Summary

  • add a dependency-aware per-thread task graph with priority, concurrency, retries, pause/resume, and terminal-state handling
  • expose it as the task_graph agent tool without overlapping the desktop Worktree execution queue
  • persist graph state atomically under the Kun data directory so plans survive runtime restarts

Tests

  • npm.cmd --prefix kun test -- src/tasks/task-graph.test.ts src/adapters/tool/task-graph-tool.test.ts
  • npm.cmd --prefix kun run typecheck
  • git diff --check HEAD

@XingYu-Zhong XingYu-Zhong force-pushed the codex/task-graph-agent-tool branch from 3565fdb to 2b83d88 Compare July 1, 2026 14:54
XingYu-Zhong
XingYu-Zhong previously approved these changes Jul 1, 2026

@XingYu-Zhong XingYu-Zhong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Rebased onto current develop, resolved runtime composition conflict, and verified task graph tests/typecheck.

@XingYu-Zhong XingYu-Zhong merged commit 8f2b244 into KunAgent:develop Jul 1, 2026
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.

2 participants