From 8002e72295fc9093e2e63cbc20bbc869a2570c09 Mon Sep 17 00:00:00 2001 From: Eugene Eisenstein Date: Thu, 3 Sep 2026 16:44:29 -0400 Subject: [PATCH] refactor(sdk): drop message content from Python evidence types Follows the server: `EvidenceMessageRef` reports identity and provenance, not content. Callers fetch a message by id when they need its text. Co-Authored-By: Claude Opus 5 (1M context) --- sdks/python/src/honcho/api_types.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sdks/python/src/honcho/api_types.py b/sdks/python/src/honcho/api_types.py index ac64003c..e9c8dba5 100644 --- a/sdks/python/src/honcho/api_types.py +++ b/sdks/python/src/honcho/api_types.py @@ -558,12 +558,16 @@ class EvidenceObservation(BaseModel): class EvidenceMessageRef(BaseModel): - """A message the dialectic read while answering.""" + """A message the dialectic read while answering. + + Identity and provenance only -- no content. Fetch the message by `id` when + you need its text; evidence is for auditing what was read, not for reading + messages in bulk. + """ id: str session_id: str peer_id: str - content_preview: str created_at: datetime.datetime