Skip to content

Add Grok goal and subagent support - #468

Merged
SDSLeon merged 1 commit into
masterfrom
poracode/noble-viper-921fd5c9
Aug 3, 2026
Merged

Add Grok goal and subagent support#468
SDSLeon merged 1 commit into
masterfrom
poracode/noble-viper-921fd5c9

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Aug 3, 2026

Copy link
Copy Markdown
Owner

What changed

  • bridge Grok goal lifecycle metadata into the shared goal UI, including pause, resume, and clear controls
  • constrain long goal objectives so the composer dock truncates correctly
  • normalize Grok background subagents into nested child timelines
  • populate both the inline Subagent Result and right-panel transcript from Grok's final child output
  • hide the redundant get-task-output transport row

Root cause

Grok emits provider-specific goal and subagent extension events. Its background spawn receipt can arrive before subagent_spawned, so the generic ACP mapper previously completed and discarded the parent correlation before the child result arrived.

Verification

  • real Grok 4.5 Electron run: goal controls and truncation exercised
  • real Grok 4.5 Electron run: final child marker shown inline and in the right panel; wait row absent
  • pnpm exec vitest run src/supervisor/agents/grok/acpTransform.test.ts src/supervisor/agents/acp/canonicalMapping.test.ts src/supervisor/agents/grok/grok.test.ts
  • pnpm run typecheck
  • pnpm run lint
  • pnpm run fmt:check
  • pnpm run test (7,945 passed, 35 skipped)

@SDSLeon
SDSLeon merged commit 1e073af into master Aug 3, 2026
8 checks passed
@SDSLeon
SDSLeon deleted the poracode/noble-viper-921fd5c9 branch August 3, 2026 00:52
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