diff --git a/src/shared/agent-status-observation.ts b/src/shared/agent-status-observation.ts index 521f2de1cc4..d0712d217c5 100644 --- a/src/shared/agent-status-observation.ts +++ b/src/shared/agent-status-observation.ts @@ -71,7 +71,7 @@ export type WithAgentStatusObservation = { observation?: AgentStatusObservation * * Declared here beside the observation facet because both are per-write facets mixed into * `AgentStatusEntry` rather than fields a reporter supplies. */ -export type WithAcceptedStatusSeq = { acceptedStatusSeq?: number } +export type AgentStatusRowFacets = WithAgentStatusObservation & { acceptedStatusSeq?: number } // ─── THE ORDERING RULE ────────────────────────────────────────────────────── // `(authorityId, incarnation, revision)` is a total order ONLY within one authorityId. diff --git a/src/shared/agent-status-types.ts b/src/shared/agent-status-types.ts index 21cf4c931b5..714b47d4a80 100644 --- a/src/shared/agent-status-types.ts +++ b/src/shared/agent-status-types.ts @@ -3,7 +3,7 @@ // a narrow interrupt fallback synthesizes a final `done` when an agent misses its cancellation hook. import type { AgentProviderSessionMetadata } from './agent-session-resume' -import type { WithAcceptedStatusSeq, WithAgentStatusObservation } from './agent-status-observation' +import type { AgentStatusRowFacets, WithAgentStatusObservation } from './agent-status-observation' import { normalizeInteractivePromptField, normalizeOptionalField, @@ -152,8 +152,7 @@ export type AgentStatusEntry = { * the transition may have been missed while no receiver was up, so freshness gates * treat the row as stale immediately. Cleared by any accepted live event. */ restoredUnconfirmed?: boolean -} & WithAgentStatusObservation & - WithAcceptedStatusSeq +} & AgentStatusRowFacets export type MigrationUnsupportedPtyEntry = { ptyId: string