Skip to content

feat(agentic): add goal verification UI, subagent cancellation, and file tool guidance#852

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/goal-verification-subagent-file-guidance
May 24, 2026
Merged

feat(agentic): add goal verification UI, subagent cancellation, and file tool guidance#852
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:feat/goal-verification-subagent-file-guidance

Conversation

@bobleer
Copy link
Copy Markdown
Collaborator

@bobleer bobleer commented May 24, 2026

Summary

  • Emit GoalVerificationStarted / GoalVerificationFinished events during /goal mode verification so the chat UI can show a verifying placeholder and success/failure notifications.
  • Cancel orphaned subagent executions when parent dialog turns are cancelled or when the subagent execution scope is dropped without normal completion.
  • Add structured [guidance] markers for file read/edit/write guardrails and render them as user-facing hints in file operation tool cards.

Test plan

  • cargo check -p bitfun-core -p bitfun-events -p bitfun-transport
  • pnpm run lint:web && pnpm run type-check:web
  • Targeted frontend tests: goalVerificationService, fileToolGuidance, writeToolGuidance, FileOperationToolCard, FlowChatStore
  • Manual: run /goal mode and confirm verifying placeholder + achieved/failed notifications
  • Manual: cancel a parent turn with active subagents and confirm subagent work stops
  • Manual: trigger file write/edit guardrails and confirm guidance hints appear in tool cards

…ile tool guidance

Emit goal verification lifecycle events for /goal mode UI feedback, cancel
orphaned subagent executions when parent turns are dropped or cancelled, and
surface structured guidance hints for file read/edit/write guardrails.
@bobleer bobleer merged commit 69df693 into GCWing:main May 24, 2026
4 checks passed
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