Issue 245 control authority - #251
Draft
mrbdahlem wants to merge 15 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mplemented issue #245 control-authority groundwork to stop multi-instructor command fighting.
Summary:
Added shared controlAuthority config/state helpers and durable instructor instance identity plumbing.
Added single-instructor ownership to Video Sync and SyncDeck, including take-control endpoints/actions, live authority updates, and non-owner command rejection.
Added UI feedback/disabled states so non-owning instructors can see they need to take control.
Added shared ControlAuthorityStatus UI used by SyncDeck and Video Sync.
Ensured SyncDeck embedded Video Sync inherits parent authority by default while still supporting child override.
Added server/client tests for ownership, takeover, non-owner rejection, inherited authority, and launch identity handling.
Added Playwright coverage for two SyncDeck instructor views, disabled non-owner controls, takeover, and handoff state flipping.
Kept .agent/plans/control-authority-plan.md updated with decisions, rollout notes, and remaining follow-ups.