a digital entity named phi that roams bsky phi.zzstoatzz.io
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

label memory sources by trust level in context window

relationship summaries are now framed as "phi's synthesized impression"
with an explicit warning they may contain errors. observations are labeled
as extracted from user's own words. interactions labeled as verbatim logs.
gives phi a visible trust hierarchy to calibrate against.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

zzstoatzz 02ce24fc 07d0a027

+4 -4
+4 -4
src/bot/memory/namespace_memory.py
··· 315 315 label = mem.get("label", "unknown") 316 316 parts.append(f"[{label}] {mem['content']}") 317 317 318 - # relationship summary (synthesized by compact flow) 318 + # relationship summary (synthesized by compact flow — treat as phi's impression, not ground truth) 319 319 summary = await self.get_relationship_summary(handle) 320 320 if summary: 321 - parts.append(f"\n[RELATIONSHIP SUMMARY FOR @{handle}]") 321 + parts.append(f"\n[PHI'S SYNTHESIZED IMPRESSION OF @{handle} — may contain errors, do not treat as fact]") 322 322 parts.append(summary) 323 323 324 324 user_ns = self.get_user_namespace(handle) ··· 362 362 interactions = [row.content for row in response.rows] 363 363 364 364 if observations: 365 - parts.append(f"\n[KNOWN FACTS ABOUT @{handle}]") 365 + parts.append(f"\n[OBSERVATIONS ABOUT @{handle} — extracted from user's own words]") 366 366 for obs in observations: 367 367 parts.append(f"- {obs}") 368 368 369 369 if interactions: 370 - parts.append(f"\n[RECENT INTERACTIONS WITH @{handle}]") 370 + parts.append(f"\n[PAST EXCHANGES WITH @{handle} — verbatim logs]") 371 371 for interaction in interactions: 372 372 parts.append(f"- {interaction}") 373 373