Skip to documentation
KonclaveDocumentationSource snapshot · Apache 2.0
Browse documentation

Local message delivery diagnostics

The authenticated local service exposes get_message_delivery_status for one explicit conversation and message in its already-bound profile. ADR 0026 owns...

GuideSource revision 8d0d3676e9fcView authoritative source

Repository-relative paths and “this checkout” refer to the Konclave source repository, not this website. The source link above identifies the exact revision used here.

On this page

The authenticated local service exposes get_message_delivery_status for one explicit conversation and message in its already-bound profile. ADR 0026 owns the privacy and evidence boundary. This operation is available to deterministic commands and explicit clients, not the agent tool catalog.

Request and response

The request has exactly conversation_id and message_id, using the existing canonical lowercase hexadecimal identifiers. It accepts no profile override or additional fields. Profile-operation authority and the local read authorization hook are required before storage lookup.

The response contains exactly:

Wide tables scroll horizontally.

FieldMeaning
message_statusOne finite authenticated local milestone
auto_delivery_enabledThe conversation’s current local delivery setting
profile_delivery_degradedThe profile-wide supervisor flag, not a message-specific failure
remote_outcomeAlways unknown

No identifier, content, credential, capability, path, arbitrary error string or metadata map is echoed. An invalid request, unavailable profile, storage failure or failed authentication of state is an operation failure, never an empty healthy result.

Evidence

Wide tables scroll horizontally.

StatusWhat is established
not_observedNo inspectable authenticated local record was found
outbound_preparedLocal content is sealed, but its envelope is not ready
awaiting_relay_acceptanceThe sealed envelope is ready; acceptance has not been observed
relay_acceptedA sealed cursor observation proves an observed relay receipt
outbound_expiredThe local terminal marker agrees with the sealed envelope deadline
outbound_removedAuthenticated membership state stopped the pending outbound operation
inbound_preparedContent is sealed, but contiguous completion was not observed
persisted_inboundInbound completion is verified; no notification is retained
awaiting_harness_deliveryA retained notification is pending
claimed_for_deliveryA consumer claimed the notification
acknowledged_by_harnessThe harness acknowledged the notification
delivery_suppressedLocal policy suppressed the notification
request_claim_recordedA request claim has a future recorded expiry
request_claim_expiredThe recorded claim expiry has elapsed
response_reservedOne correlated response is reserved
completed_without_responseLocal request handling ended without reserving a response

Neither acknowledgment nor a claim proves model execution. Claim expiry alone does not prove consumer liveness or authorize another attempt. A response reservation does not establish envelope submission or delivery. Relay receipts do not establish remote persistence or future relay availability.

not_observed also covers hidden internal application records and unsealed reservations. It is not proof that nothing happened remotely. Notification retention may remove a terminal notification while authenticated message history remains. Changing the current mute setting does not change an earlier suppression outcome.

Existing client surfaces

The paved Copilot CLI command is:

Code example
/konclave diagnose [conversation-id] <message-id>

Omit the conversation identifier after /konclave use <conversation-id> to inspect the selected conversation. It renders bounded, ephemeral explanations without starting a model turn, repairing delivery or changing permissions. The packaged client exports getMessageDeliveryStatus(client, conversationId, messageId, options?) for an already authenticated LocalServiceClient.

Other supported Generic integrations may explicitly select --operation get_message_delivery_status with the same request JSON. This is not a fallback for a failing paved integration and never discovers another profile. An older service reports an unsupported operation instead of falling back.

An explicit local request identifier retains normal reconciliation semantics: retrying it retrieves the original observation. Use a fresh request identifier for a fresh inspection. Neither read mode retries the selected message; an uncertain send must be reconciled through its original operation and message identities.

Storage and disclosure

The query opens the selected bounded sealed history and directly associated records. Notification lookup uses the existing unique conversation/cursor index. Handling lookup uses its conversation/request/responder primary key. There is no new schema, history scan, per-message write, network probe or diagnostic retention table. Underlying read-request reconciliation may retain a bounded sealed result.

Cursor, context, notification and handling authentication failures stop the read. Clear columns alone are not accepted as proof of delivery. Internal decryption stays inside the existing trusted daemon; only the finite projection crosses local IPC.

Output is not automatically exported. Even body-free status can disclose activity; any saved output or support handoff remains an explicit operator disclosure.

Performance evidence

The focused hosted gate compares release-profile inspection against the existing single-history-row read in the same sealed 64-message profile. Alternating batches record median per-call cost and assert zero database writes under SQLite query-only mode. It measures small-message, on-demand storage work, not a production latency percentile or an end-to-end messaging speedup. No timing threshold decides correctness, and no recurring diagnostic work is added to the message hot path.

Content: Konclave,Apache-2.0. Revision: 8d0d3676e9fc746749a4fc04ddeb4499023c4104.