fix(tanko): adapter fixes, event logging, platform-based deploy.sh #21

Closed
kagentz-bot wants to merge 6 commits from feat/deploy-tanko into main
6 Commits
Author SHA1 Message Date
Abiba (pi) 866f8fdeae fix(abiba): backport EADDRINUSE handler + private message to format to TS source
CI / validate (pull_request) Failing after 1s
2026-06-24 13:27:19 +00:00
kagentz-bot 676a94459c fix(abiba): recipient format fix, add types.d.ts; feat(hermes): standalone bridge adapter
CI / validate (pull_request) Failing after 7s
2026-06-24 09:06:08 -04:00
kagentz-bot 705c29a4e0 feat: DM-First v2 architecture - Tanko live on CT 112
CI / validate (pull_request) Failing after 1s
Architecture change: DM-First (v2) replaces @mention-in-stream (v1) as primary
agent interaction channel. See ADR-001-dm-topology and ADR-002-dm-routing.

Key changes:
- New DM-first Zulip adapter (adapter_dm.py) deployed on CT 112
  - Registers empty narrow to receive ALL events
  - Demuxes DMs (type: 'private') vs stream events
  - Replies to DMs back in private thread, stream replies to #agent-hub
  - Uses blocking long-poll (dont_block=False) to eliminate rate limiting
- Rewritten ARCHITECTURE.md, CONTEXT.md, PRD.md for v2 DM-First
- New ADRs: ADR-001 (DM Topology), ADR-002 (DM Routing)
- Archived old ADRs: 001, 002, 005 (topic-topology, mention-routing, mention-detection)
- Updated ADRs: 003 (agent-naming), 004 (per-agent-bots), 006 (all-bots-model)
- Updated PI extension (index.ts) with DM-aware patterns
- Tanko agent confirmed responding in both DM and @all-bots in #agent-hub
2026-06-21 07:50:30 -04:00
Jerome b8ae43f652 feat(hermes): switch to call_on_each_event with proper narrow filter
CI / validate (pull_request) Failing after 5s
2026-06-20 22:34:59 +00:00
kagentz-bot 141814a12a fix(hermes): add StreamHandler, finally/loop.close, event logging per Abiba review
CI / validate (pull_request) Failing after 2s
2026-06-20 13:15:48 -04:00
kagentz-bot 941b69e782 fix(tanko): adapter fixes, event logging, platform-based deploy.sh
CI / validate (pull_request) Failing after 2s
- adapter.py: add import asyncio, use Client(site=) for Python 3.13 compat
- adapter.py: use asyncio.new_event_loop() in background thread
- adapter.py: add print() in _process_event for journald visibility
- deploy.sh: refactor to PLATFORM-based maps instead of per-agent duplications
- deploy.sh: remove backslash artifacts, deduplicate service/plugin path logic
2026-06-20 11:00:21 -04:00