feat(daemon): add remote messaging control#39
Conversation
|
Thanks so much for this, really nice work and clearly a lot of thought went into it. I'd love to get it merged. There are a handful of things I'd like to see addressed first:
Happy to talk through any of these, especially the de-dup if you want to sketch the shape before diving in. Thanks again for the contribution, looking forward to it. |
|
Picking this back up now. I’ll update the PR around the review items rather than leaving it stale:
I’ll push a revision once those are addressed. |
|
Pushed a follow-up revision addressing the review items:
Validation run locally: GOCACHE=/tmp/vix-go-cache go test ./internal/daemon -run 'TestRemote|TestWhatsApp|TestTelegram|TestJobRunResultFromUnattended|Test.*RunNow|Test.*Trigger' -count=1 -v
GOCACHE=/tmp/vix-go-cache go test ./internal/config ./internal/protocol -count=1 -v
cd e2e && GOCACHE=/tmp/vix-go-cache go test ./scenarios -run TestRemoteControlUnattendedPolicyAcceptance -count=1 -v |
Add opt-in Telegram and WhatsApp remote control for vixd. Incoming allowlisted messages run isolated headless sessions and reply through the chat provider, with WhatsApp webhook signature verification and Telegram token redaction on provider errors. Co-authored-by: vix <290354907+vix-agent@users.noreply.github.com>
be1f7be to
d3a4435
Compare
Summary
vixdPR cleanliness
upstream/mainatc25f0d73ecc7ab55a540892c8c061ea8b725fc15b730897 feat(daemon): add remote messaging control21afebd73e86a4bc157796e39076ae0cf456a09eis not an ancestor)internal/config/defaults/agents/code-explorer.mdVerification
gofmtcheck passed for changed Go filesgo build ./cmd/vix ./cmd/vixdgo test ./cmd/vixd ./internal/configgo test ./internal/daemon -run 'Test(AuthorizedRemoteIDRequiresAllowlist|RemoteSessionOptionsDisableAutomaticPermissions|RemoteUnattendedEventsDoNotAutoApprove|TelegramSendMessageRedactsBotTokenFromErrors|WhatsAppStartFailsWhenWebhookAddrAlreadyBound|TelegramSendMessagePostsChatIDAndText|TelegramGetUpdatesRedactsBotTokenFromErrors|WhatsAppWebhookVerificationAndAllowlist)'go test ./cmd/vix ./cmd/vixd ./internal/agent ./internal/auth ./internal/configNote: full
go test ./...currently fails in pre-existinginternal/daemontests unrelated to this branch: missingtestdata/tmp.gofixture expectations in VFS/minify tests and Landlock sandbox environment assumptions. The changed remote-control tests pass.