Skip to content

feat(ai-autopilot): generalize surface stream to be event-type generic (#120)#125

Merged
suleimansh merged 1 commit into
mainfrom
feat/generic-surface-stream
Jul 2, 2026
Merged

feat(ai-autopilot): generalize surface stream to be event-type generic (#120)#125
suleimansh merged 1 commit into
mainfrom
feat/generic-surface-stream

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Child of #116 (bootstrap), enabler for #122.

EventStream, AutopilotHandle, and launchAutopilot were hardcoded to SupervisorEvent / SupervisorRun. Generalized them to EventStream<E> / AutopilotHandle<E, R> / launchAutopilot<E, R>, with the type params defaulting to the supervisor types so every existing supervisor surface is unchanged.

Bootstrap emits its own narration events and returns its own result, so it can now launch over the same replayable, detached transport with AutopilotHandle<BootstrapEvent, BootstrapResult>.

Small and mechanical. Added generic-type coverage for both the stream and the launch handle; full suite 130 green.

Closes #120.

@suleimansh suleimansh added the enhancement New feature or request label Jul 2, 2026
@suleimansh suleimansh self-assigned this Jul 2, 2026
@suleimansh suleimansh added the priority: high Should be addressed soon label Jul 2, 2026
@suleimansh suleimansh merged commit 04965c5 into main Jul 2, 2026
2 checks passed
@suleimansh suleimansh deleted the feat/generic-surface-stream branch July 2, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: high Should be addressed soon

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generalize the surface stream to be event-type generic

1 participant