Repository navigation
Add local Telegram channel SDK driver - #1
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 14, 2026, 9:20 AM ET / 13:20 UTC. Summary Reproducibility: not applicable. This PR adds a new deterministic Telegram-local SDK driver and capability matrix rather than fixing a current-main bug. Current main lacks that feature, while the PR adds focused tests and has a passing Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge only after maintainers accept the new Crabline channel SDK/config contract as stable enough for the linked QA Lab stack. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a new deterministic Telegram-local SDK driver and capability matrix rather than fixing a current-main bug. Current main lacks that feature, while the PR adds focused tests and has a passing Is this the best way to solve the issue? Unclear until maintainer review: the implementation is coherent and not already duplicated on main, but the best permanent solution depends on accepting this PR as the Crabline source of truth for the linked OpenClaw QA Lab channel-driver stack. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against ae55252b1e44. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
228a6a8 to
631da8a
Compare
631da8a to
7cd70ed
Compare
93d8a22 to
2a1dfab
Compare
POSTE MERGE EDIT: This has more or less been reverted since should have used chat sdk
Summary
adapter: channelfor deterministic Telegram local upstream runs without live credentials or VM orchestration.crabline channel-matrix --jsonplus example Telegram local fixtures for future OpenClaw QA Labsmoke-cievidence mapping.listLocalChannelDriverMatrix(),findLocalChannelDriver(), andrunLocalChannelDriverSmoke().runLocalChannelDriverSmoke({ channel: "telegram" })resolve the concrete local driver inside Crabline, so OpenClaw does not hardcode Crabline driver IDs.Scope notes
ack,echo, ornone); no model calls are made.telegram.dm.text,telegram.group.mention,telegram.group.topic,telegram.action.inline_button,telegram.media.metadata, andtelegram.connection.reconnect.covered/planned/unsupportedin the SDK type surface); it does not introduceextended,soak,manual, oradvisoryprofiles.Testing
pnpm --ignore-workspace exec vitest run test/local-channel-driver-api.test.ts test/channel-provider.test.ts test/registry.test.tspnpm --ignore-workspace exec vitest run test/registry.test.ts test/channel-provider.test.ts test/local-channel-driver-api.test.ts test/cli.test.tspnpm --ignore-workspace typecheckpnpm --ignore-workspace verifyrunLocalChannelDriverSmoke({ channel: "telegram" })fromcrabline.listLocalChannelDriverMatrixfromcrabline, runcrabline --json channel-matrix, and runcrabline --json run local-roundtripwithadapter: channel.pnpm dev channel-matrix --jsonpnpm dev roundtrip telegram-local-dm --config fixtures/examples/crabline.example.yaml --json