Explore ty-slack sidecar for managing TaskYou from Slack (task #3723) - #545
Closed
bborn wants to merge 2 commits into
Closed
Explore ty-slack sidecar for managing TaskYou from Slack (task #3723)#545bborn wants to merge 2 commits into
bborn wants to merge 2 commits into
Conversation
Answers two questions from the Slack screenshot in task #3723: 1. Did we already build this? No. The only prior "Slack" work (PR #433, task #1172) was marketing copy, not an integration. Closest precedent is the ty-email sidecar (#371/#385); PR #402 circled the remote-MCP idea. 2. Does a Slack sidecar make sense? Yes — and ~90% of it already exists. Documents two patterns (chat-control sidecar vs hosted remote MCP), recommends building ty-slack as a near-clone of ty-email by reusing the existing CLI bridge, LLM classifier, ty serve HTTP API, and the events/hooks push mechanism. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bruno pointed at github.com/taskyou/taskyou-os. It's the remote-management layer for TaskYou and already contains the closest precedent: a Linear poller module (modules/linear/linear-poll.mjs) that bridges Linear @agent comments -> ty create/execute -> posts diffs back. So we've now built this exact channel-bridge pattern twice (ty-email + Linear poller). Updated the proposal to: - recommend building Slack as a taskyou-os module (modules/slack, mirroring modules/linear), enabled via SLACK_ENABLED, tailing notifications.jsonl for push; ty-email Go sidecar kept as the fallback template - add a "where should it live" comparison (taskyou-os module vs extension) - note notifications.jsonl + the GM as the existing push substrate - link Pattern B (remote MCP) to the taskyou-os credential-proxy design Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
Superseded by taskyou/taskyou-os#33 — the recommended home for the Slack integration is a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Task #3723 asked two questions about the attached Slack screenshot (Claude-in-Slack can't reach the TaskYou agents server):
This PR adds a written exploration/proposal answering both:
docs/proposals/ty-slack-sidecar.md.Answers
Did we build this before? No Slack — but we built the exact pattern twice.
ty-emailsidecar here (PR feat(extensions): add ty-email sidecar for email-based task management #371/Add missing email sidecar files #385) — email -> classify ->ty.taskyou-os(modules/linear/linear-poll.mjs) — polls Linear for@agentcomments, creates/executestytasks, routes by label, and posts diffs back. A Slack module is a near-exact analog.taskyou-osis the remote-management layer (GM session over SSH +ty daemon/serve/ty-web+notifications.jsonlpush substrate + env-flag modules: Linear/R2/GitHub/nono).Does it make sense? Yes — low-risk, mostly copy-adapt-configure. Two readings:
ty-emailand the Linear poller. Recommended home is ataskyou-osmodule (modules/slack/, mirroringmodules/linear/,SLACK_ENABLED=true), tailingnotifications.jsonlfor push;extensions/ty-slackGo sidecar is the fallback template.taskyou_*to cloud Claude-in-Slack is a separate hosting/auth project (builds on PR Review Cloudflare Code Mode MCP for TaskYou #402 + the taskyou-os credential-proxy design). Deferred.The "ping me in Slack when a task blocks/finishes" half can ship immediately as a
task.blocked/task.completedhook (or a tail ofnotifications.jsonl) -> Slack webhook.Files changed
docs/proposals/ty-slack-sidecar.md(new)Note on scope
Framed as an exploration, so the deliverable is a recommendation doc rather than an implementation. Open questions for Bruno (module vs standalone sidecar, shared bot vs per-user, Socket Mode vs Events API, whether to also pursue Pattern B) are at the end of the doc.
🤖 Generated with Claude Code