VK
VK is technically serviceable in PicoClaw, but it is a bad fit for the current Gormes roadmap. This page is intentionally blunt because a porter deciding where to spend Phase 2 effort needs that signal, not politeness.
Status
Section titled “Status”VK does not appear in docs/content/building-gormes/architecture_plan/subsystem-inventory.md as a planned gateway adapter. The donor exists in PicoClaw, but Gormes currently has no stated phase slot or operator-facing Hermes docs for VK.
Evidence level:
- Donor code for this dossier was verified against the external sibling repo at
<picoclaw donor repo>. - The donor commit inspected for this research was
6421f146a99df1bebcd4b1ca8de2a289dfca3622. - The upstream donor repo is
https://github.com/sipeed/picoclaw. - Any
pkg/...ordocs/...path listed below is relative to that donor root, not relative to the Gormes repo. - Current Gormes planning status was verified in-tree against
docs/content/building-gormes/architecture_plan/subsystem-inventory.md.
Keep the boundary explicit: PicoClaw can still be studied as donor input, but Gormes architecture and roadmap priorities remain authoritative.
Why This Adapter Is Reusable
Section titled “Why This Adapter Is Reusable”The donor is understandable and reasonably small.
pkg/channels/vk/vk.gocovers Long Poll startup, inbound message handling, message splitting, reply-to support, and basic attachment labeling.- The send path is straightforward and not deeply entangled with PicoClaw runtime internals.
- The tests verify config decoding, max message length, and some attachment formatting behavior.
That said, “technically reusable” is not the same as “worth reusing now.”
Picoclaw Donor Files
Section titled “Picoclaw Donor Files”- Provenance note: the following
pkg/...anddocs/...paths are relative to the external donor root<picoclaw donor repo>at commit6421f146a99df1bebcd4b1ca8de2a289dfca3622, not relative to the Gormes repo. picoclaw/pkg/channels/vk/vk.gopicoclaw/pkg/channels/vk/vk_test.gopicoclaw/docs/channels/vk/README.mddocs/content/building-gormes/architecture_plan/subsystem-inventory.md
What To Copy vs What To Rebuild
Section titled “What To Copy vs What To Rebuild”If VK were ever prioritized, likely copy candidates would be:
- Long Poll startup and shutdown from
StartandStop. - Basic inbound/outbound flow from
handleMessageandSend. - Message splitting and reply-to behavior in the send path.
Even then, several parts would still need rebuilding:
- Mention logic is unfinished as donor material:
isMentionedalways returns false andstripBotMentionis effectively a no-op. - Attachment handling is mostly placeholder text, not rich media ingestion.
- Gormes session policy and roadmap priorities would still need to be defined from scratch because there is no in-tree Hermes-facing VK product guidance.
Gormes Mapping
Section titled “Gormes Mapping”StartandSendcould seed a futureinternal/vkadapter if priorities change.handleMessageshows the likely edge model: peer-based chat identity, optional group-trigger rules, and reply-to delivery by conversation message ID.- The missing or stubbed mention behavior is the key warning sign. A porter would need to re-verify core group-chat semantics rather than trusting the donor.
Implementation Notes
Section titled “Implementation Notes”- Do not spend near-term Phase 2 time here unless roadmap priorities change materially.
- If VK ever becomes relevant, treat the donor as a bootstrap skeleton and verify mention/group behavior against current VK API behavior before writing production code.
- Do not oversell the attachment surface. The current donor mostly turns media into placeholders instead of delivering rich cross-modal behavior.
Risks / Mismatches
Section titled “Risks / Mismatches”- No current roadmap slot in Gormes.
- No in-tree Hermes-facing VK behavior docs to anchor product expectations.
- Mention handling is not convincingly implemented in the donor.
- Attachment support is thin and mostly textual placeholders.
- Strategic value looks lower than Feishu, WeCom, DingTalk, or even the more general western channels already on the map.
Port Order Recommendation
Section titled “Port Order Recommendation”- Do not schedule VK while planned enterprise and mainstream adapters are still unbuilt.
- Revisit only if product requirements or user demand make VK materially important.
- If that happens, start with a fresh transport validation pass rather than assuming the donor is production-ready.
Code References
Section titled “Code References”picoclaw/pkg/channels/vk/vk.go:Start,handleMessage,Send,isMentioned,processAttachments.picoclaw/pkg/channels/vk/vk_test.gopicoclaw/docs/channels/vk/README.mddocs/content/building-gormes/architecture_plan/subsystem-inventory.md
Recommendation: not worth reusing.