From c2bd8fa313c3779d7ad6f7e676bec74cd2b31820 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Mon, 16 Feb 2026 01:54:59 -0800 Subject: [PATCH] docs(plan): record signal gap completion and next up --- ...026-02-06-openclaw-feature-gap-analysis.md | 8 ++-- docs/plans/2026-02-15-openclaw-gap-roadmap.md | 3 +- ...-02-16-signal-channel-adapter-checklist.md | 44 +++++++++++++++++++ docs/plans/state.json | 28 +++++++++++- 4 files changed, 74 insertions(+), 9 deletions(-) create mode 100644 docs/plans/2026-02-16-signal-channel-adapter-checklist.md diff --git a/docs/plans/2026-02-06-openclaw-feature-gap-analysis.md b/docs/plans/2026-02-06-openclaw-feature-gap-analysis.md index 3030bb7..0d371fa 100644 --- a/docs/plans/2026-02-06-openclaw-feature-gap-analysis.md +++ b/docs/plans/2026-02-06-openclaw-feature-gap-analysis.md @@ -20,7 +20,7 @@ | WhatsApp | Baileys (WhatsApp Web) | whatsapp-web.js (allowlists, mention gating, groups) | **MATCH** | | Discord | discord.js | discord.js (guild/channel allowlists, mention gating) | **MATCH** | | Slack | Bolt SDK | Bolt SDK Socket Mode (channel allowlists, mention gating) | **MATCH** | -| Signal | signal-cli | -- | **MISSING** | +| Signal | signal-cli | Signal adapter | **MATCH** | | iMessage / BlueBubbles | imsg + BlueBubbles | -- | **MISSING** | | Google Chat | Chat API | -- | **MISSING** | | Microsoft Teams | Bot Framework | -- | **MISSING** | @@ -291,10 +291,8 @@ All five Tier 3 items implemented: Lane Queue (per-session FIFO in gateway), cre - DM pairing codes (PairingManager with TTL codes, all 4 channel adapters, gateway handlers, TUI /pair command) **Remaining channels (if desired):** -6. Signal (signal-cli bridge) -7. Matrix (matrix-js-sdk) -8. Microsoft Teams (Bot Framework) -9. Google Chat (Chat API) +6. Microsoft Teams (Bot Framework) +7. Google Chat (Chat API) ### Tier 5 — Deferred / Niche diff --git a/docs/plans/2026-02-15-openclaw-gap-roadmap.md b/docs/plans/2026-02-15-openclaw-gap-roadmap.md index f89fba8..f8fa9e9 100644 --- a/docs/plans/2026-02-15-openclaw-gap-roadmap.md +++ b/docs/plans/2026-02-15-openclaw-gap-roadmap.md @@ -21,7 +21,6 @@ A gap item is considered implemented when: ### Channels / Frontends (MISSING) -- Signal - Matrix - Google Chat - Microsoft Teams @@ -333,7 +332,7 @@ These are substantial UX/ecosystem projects or highly platform-specific; defer u - Bonjour/mDNS discovery - QMD backend - ClawHub registry -- Signal/Teams/Google Chat (enterprise/ops heavy) +- Teams/Google Chat (enterprise/ops heavy) - iMessage/BlueBubbles (Apple ecosystem) ## Suggested Next Execution Order diff --git a/docs/plans/2026-02-16-signal-channel-adapter-checklist.md b/docs/plans/2026-02-16-signal-channel-adapter-checklist.md new file mode 100644 index 0000000..dcd379d --- /dev/null +++ b/docs/plans/2026-02-16-signal-channel-adapter-checklist.md @@ -0,0 +1,44 @@ +# Signal Channel Adapter Checklist + +Date: 2026-02-16 +Status: completed + +## Scope + +- Add a first-class Signal channel adapter using `signal-cli`. +- Support direct-message and group routing with existing channel policy semantics. + +## Completed + +- Added `SignalAdapter` in `src/channels/signal/adapter.ts`: + - process-backed integration via `signal-cli` + - outbound send for direct peers and groups (`group:` convention) + - inbound polling loop with JSON parsing for `receive` output + - allowlist gating for DMs/groups + optional DM pairing flow + - group mention gating with configurable `mention_name` +- Registered channel exports: + - `src/channels/signal/index.ts` + - `src/channels/index.ts` +- Added config schema support in `src/config/schema.ts`: + - `signal.account` + - `signal.signal_cli_path` + - `signal.allowed_numbers` + - `signal.allowed_group_ids` + - `signal.require_mention` + - `signal.mention_name` + - `signal.poll_interval_ms` + - `signal.send_timeout_ms` +- Wired daemon registration in `src/daemon/channels.ts`. +- Extended gateway service discovery in `src/gateway/handlers/services.ts`. +- Updated docs: + - `README.md` channel/config docs + - `config/default.yaml` template block for Signal +- Added tests: + - `src/channels/signal/adapter.test.ts` + - `src/config/schema.test.ts` signal coverage + - `src/gateway/handlers/services.test.ts` signal service coverage + +## Verification + +- `pnpm test:run src/channels/signal/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts` +- `pnpm typecheck` diff --git a/docs/plans/state.json b/docs/plans/state.json index 07e0637..1fb11ee 100644 --- a/docs/plans/state.json +++ b/docs/plans/state.json @@ -475,6 +475,30 @@ ], "test_status": "pnpm typecheck + pnpm test:run (1689 tests) passing" }, + "signal-channel-adapter": { + "file": "2026-02-16-signal-channel-adapter-checklist.md", + "status": "completed", + "date": "2026-02-16", + "updated": "2026-02-16", + "summary": "Added a first-class Signal channel adapter backed by `signal-cli` with outbound send (DM + groups), inbound polling, allowlist/pairing gating, group mention checks, config schema + daemon wiring, service discovery integration, tests, and docs.", + "files_created": [ + "docs/plans/2026-02-16-signal-channel-adapter-checklist.md", + "src/channels/signal/adapter.ts", + "src/channels/signal/adapter.test.ts", + "src/channels/signal/index.ts" + ], + "files_modified": [ + "src/config/schema.ts", + "src/config/schema.test.ts", + "src/daemon/channels.ts", + "src/channels/index.ts", + "src/gateway/handlers/services.ts", + "src/gateway/handlers/services.test.ts", + "README.md", + "config/default.yaml" + ], + "test_status": "pnpm test:run src/channels/signal/adapter.test.ts src/config/schema.test.ts src/gateway/handlers/services.test.ts + pnpm typecheck passing" + }, "openclaw-style-personal-agent-without-openclaw-risks": { "file": "2026-02-14-openclaw-style-personal-agent-without-openclaw-risks-plan.md", "status": "completed", @@ -2797,12 +2821,12 @@ "tier2_completion": "4/4 (100%) — inbound webhooks, vector memory search, Dockerfile, heartbeat monitor", "tier3_completion": "5/5 (100%) — lane queue, credential redaction, web UI token dashboard, xAI (Grok) provider, Voyage AI embeddings", "tier4_completion": "4/4 (100%) — gateway lock, shell completion, Tailscale Serve/Funnel, DM pairing codes", - "feature_gap_scorecard": "109/128 match (85%), 0 partial (0%), 19 missing (15%)", + "feature_gap_scorecard": "110/128 match (86%), 0 partial (0%), 18 missing (14%)", "operator_dx_milestone": "Phase 3 (Live Ops Dashboard): 2/2 plans complete — milestone done", "gmail_auth_cli": "flynn gmail-auth command implemented with OAuth2 flow, doctor check, config routed to Telegram", "native_audio_support": "completed — smart routing for native audio (Gemini/OpenAI/GitHub) vs Whisper transcription fallback", "remaining_phases_completion": "Phase 1: 3/3 (100%) — context levels, command registry, memory structure. Phase 2: 3/3 (100%) — component registry, confidence routing, history index. Phase 3: 2/2 (100%) — adaptive memory/compaction, truthfulness/autonomy hardening", - "next_up": "OpenClaw gap: Signal channel adapter (open next scoped implementation checklist)" + "next_up": "OpenClaw gap: Microsoft Teams channel adapter (open next scoped implementation checklist)" }, "soul_md_and_cron_create": { "date": "2026-02-11",