From 608e9a54fd70b01ce2deb13e883ccc85ead10178 Mon Sep 17 00:00:00 2001 From: Vuong Hoang Date: Sat, 1 Aug 2026 23:26:14 -0700 Subject: [PATCH] memory: KB-bridge RETIRED (native #383/b167 live) + Zonos WAV-header fix --- persistent-memory.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/persistent-memory.md b/persistent-memory.md index 4358dbf..d8ad1e3 100644 --- a/persistent-memory.md +++ b/persistent-memory.md @@ -82,16 +82,21 @@ Contract `docs/contracts/donut_voiced_interview.contract.md`. **NOT pushed** (op - **OWED (still):** P&P verification re-run to infra-ops on thread `01KYZX0JM1A1AF8ETMFV0AP7E9` (#382 fix deployed b166). Partial signal: Mimir DOES ground in DCC fiction wing now (bridge smoke), but the specific P&P-dismiss shape unrun. **Prior design detail → `persistent-memory.d/2026-08-01-donut-voiced-interview-build.md`.** -- **🔜 KB-BRIDGE RETIREMENT IMMINENT — WT #383 (native Tier-3 `reference_knowledge`) CUT as v1.0.0b167** - (worldtree-dev, thread `01KZ0BZDCE1GKK724EK2R458PV`, 2026-08-02). NOT yet deployed — the push-to-main + :8081 - promotion is the OPERATOR's call; worldtree-dev pings when live on :8081, then I retire same-day. Retirement = - ONE commit (INV-KB-1): delete `kb_bridge.py` + the one `server.py` call-site (`wt.stream_turn` memory_context - param stays inert). #383 gives every Tier-3 agent the `reference_knowledge` tool automatically (no define change), - #361 evidence-packet shape (note_id+path provenance, confidence bucket, answer null), server-side grounding rule - ("quote in voice, don't narrate metadata" — aligns with Donut's persona), fail-soft, wing-scoped to ["fiction"] - (DCC) deployment-owned. **This RESOLVES the KB-bridge disposition → the bridge is a provably short-lived interim; - ship-as-is is right, retire on the deploy ping.** Acked to worldtree-dev (`01KZ0C1KPR9DDQ37WRM1P793CP`). - FOOT-GUN (#381 interplay): freshly-ingested content needs the restart-after-ingest runbook to be Tier-3-recallable. +- **✅ KB-BRIDGE RETIRED (`09e4257`) — WT #383 native Tier-3 `reference_knowledge` DEPLOYED as v1.0.0b167.** + Operator greenlit the #383 deploy (relayed `01KZ0HPT6J...`); worldtree-dev deployed to :8081+demo, validated + `builtin_tools=['reference_knowledge']` on both, pinged live (`01KZ0HTJ5M...`). LIVE-VERIFIED before deletion: + Donut called the native tool + grounded in DCC Collapse content in-voice (degrades gracefully on absent content). + Deleted `kb_bridge.py` + `test_kb_bridge.py` + the one `server.py` call-site + the SSE keepalive + the bridge-only + agent_id plumbing (TurnHandle.agent_id, submit read, index.html turn-body). KEPT `wt.stream_turn`'s memory_context + param (inert SDK-parity) + the non-str-content 400 guard. Contract marks slice-3 RETIRED (historical record kept). + #382/#383 both closed. **Native tool is strictly better than the bridge** (in-turn, provenance packets, server-side + grounding rule, fail-soft, no separate consult). FOOT-GUN (#381): freshly-ingested content needs the + restart-after-ingest runbook to be Tier-3-recallable. +- **✅ Zonos WAV-header fix (`6c3c08b`) — operator-reported "browser wants wav, zonos sends pcm."** The gateway + emits a STREAMING wav header (RIFF size @4 + data size both `0xFFFFFFFF` = unknown length); a browser `