Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/toad/acp/comms_updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,12 @@ def thread_presentation(self, presentation: ThreadPresentation) -> None:
return # An unavailable source supplies no turn settlement.
identity.publish_turn(self.publish_thread_turn)

def publish_thread_turn(self, root, thread):
def publish_thread_turn(self, root, thread, turn_state):
"""Only the live transcript member can supply actual owner settlement."""
self.owner.require()
if not self.agent.matches_source(root, thread.incarnation):
raise ValueError("Turn snapshot belongs to another original thread source")
self.turn_changed(TurnChangedUpdate(thread.turn_state))
self.turn_changed(TurnChangedUpdate(turn_state))


class ThreadReadOutcome:
Expand Down
2 changes: 2 additions & 0 deletions tools/android/bundle_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ def lazy_findings(self, loaded: set[str]) -> dict[str, list[ImportSite]]:
"from toad.client.application_actions import ApplicationAction; "
"blank = [action.__name__ for action in ApplicationAction.declarations() if not action.summary()]; "
"blank and sys.exit(f'error: application actions with an empty summary at -O{sys.flags.optimize}: {blank}'); "
"from agent_comms.installer.harness_install import HarnessSession; "
"'claude_bridge' in HarnessSession.__registry__ or sys.exit('error: HarnessSession discovery missed claude_bridge'); "
"print('shipped app imports toad.qt.main; every application action has a summary'); print(json.dumps(sorted(sys.modules)))")],
capture_output=True, text=True, timeout=120, cwd=recipes, check=False,
env=os.environ | {"PYTHONOPTIMIZE": str(optimize)})
Expand Down
Loading