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/agent_comms/execution/child_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ def report_forced(self, report: Callable[[str], None]) -> None:


@dataclass(frozen=True)
class FailedToStartOutcome(UnsuccessfulChildOutcome, ChildOutcome):
class FailedToStartOutcome(UnsuccessfulChildOutcome):
error: str

@property
Expand Down Expand Up @@ -1799,7 +1799,7 @@ def submit[T, **P](


@dataclass(frozen=True)
class DetachedExitOutcome(UnsuccessfulChildOutcome, ChildOutcome):
class DetachedExitOutcome(UnsuccessfulChildOutcome):
"""Exit observed; a non-parent cannot claim an exit code."""

@property
Expand Down
2 changes: 1 addition & 1 deletion src/agent_comms/execution/transcript_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def mark_read(self, reads: MarksSourceRead[RecordsCut], viewer: str, runtime: Tr


@dataclass(frozen=True, slots=True)
class UnreadTranscriptCursor(NoOpReadTranscriptCursor, TranscriptCursor):
class UnreadTranscriptCursor(NoOpReadTranscriptCursor):
"""No source has been read; this is not a source position or a read mark."""

def contains(self, other: TranscriptCursor) -> bool:
Expand Down
5 changes: 2 additions & 3 deletions src/agent_comms/messaging/message_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
DurableStore,
ForeignKey,
StoreRows,
TypedTable,
WithoutRowid,
)
from agent_comms.transport.request import tool_field
Expand Down Expand Up @@ -177,15 +176,15 @@ class MessageFilesRows(StoreRows):


@dataclass(frozen=True, slots=True)
class FileContentRow(MessageFilesRows, WithoutRowid, TypedTable):
class FileContentRow(MessageFilesRows, WithoutRowid):
"""Bytes stored once per digest, as the base64 text the sender uploaded."""

sha256: Annotated[str, Column(primary_key=True)]
data: str


@dataclass(frozen=True, slots=True)
class MessageFileRow(MessageFilesRows, WithoutRowid, TypedTable):
class MessageFileRow(MessageFilesRows, WithoutRowid):
seq: Annotated[int, Column(primary_key=True)]
position: Annotated[int, Column(primary_key=True)]
message_id: MessageId
Expand Down
3 changes: 1 addition & 2 deletions src/agent_comms/planning/goal_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def before_transition(self, goal: Goal, ctx: GoalActionContext) -> None:


@dataclass(frozen=True, kw_only=True)
class CompliedGoalAction(ActivatingGoalAction, TransitionGoalAction, OwnerInvocable):
class CompliedGoalAction(ActivatingGoalAction, OwnerInvocable):
"""The teammate complied, so a unit its chokehold paused works again. The compliant answer
is a witness the way an order is: a generation an interruption left unresolved continues
as a fresh order continues it (continue_work), where a status-only resume is refused.
Expand Down Expand Up @@ -533,7 +533,6 @@ def required_block_reason(reason: str | None) -> str:
@dataclass(frozen=True, kw_only=True)
class RetryGoalAction(
ActivatingGoalAction,
TransitionGoalAction,
ModelInvocable,
OwnerInvocable,
RuntimeInvocable,
Expand Down
2 changes: 1 addition & 1 deletion src/agent_comms/planning/orders.py
Original file line number Diff line number Diff line change
Expand Up @@ -4323,7 +4323,7 @@ class UnrecordedHeadVerdict(HeadVerdict, declared_name=None):
"""No decision is recorded on this exact head."""


class UnderReviewHeadVerdict(OrderReviewHeadVerdict, HeadVerdict):
class UnderReviewHeadVerdict(OrderReviewHeadVerdict):
state = "pending"

def description(self, reviewer: str, subject: str) -> str:
Expand Down
2 changes: 1 addition & 1 deletion src/agent_comms/task_attachments/team_pings.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ def members(cls, packets: tuple[TeamUpdate, ...],
if not ping.team_disposes for line in ping.alarm_pings() if line not in new_members)


class ParkedAlarms(RetainedAlarmGroup, AlarmGroup):
class ParkedAlarms(RetainedAlarmGroup):
"""Lines waiting on a stopped thread: one count below the cards, never on the board.
Their rows stay in comms_hud's records, and return when the thread runs again."""

Expand Down
2 changes: 1 addition & 1 deletion src/agent_comms/transcript/transcript_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def text_size(self) -> int:
return len(self.text)


class TextTranscript(TextSizedTranscriptEvent, TranscriptEvent):
class TextTranscript(TextSizedTranscriptEvent):
text: str

def activity_items(self) -> tuple[TranscriptEvent, ...]:
Expand Down
Loading