Skip to content

Chat console: Discord bridge for the ask→plan→implement flow #75

Description

@gingur

Ask

Add a mobile-friendly chat console over the existing GitHub agent flow, using Discord as the frontend and a Cloudflare Worker as the bridge. Chat is a mirror/remote-control of GitHub — all AI turns keep running through claude.plan / claude.implement on the Claude Max subscription; the bridge itself does no LLM work (no consumption-billed chat AI like Claude Tag).

Why Discord (decided during design)

  • Free (Slack's free tier hides history; Slack Lists / Claude Tag need paid Slack + consumption billing).
  • Real threads, good mobile apps and push notifications.
  • Bots are first-class and webhook-friendly for a CF Worker bridge.

Interaction model (sketch, planner to refine)

  • #general channel = pre-planning: operator messages are triaged; when an idea firms up, the bridge files a GitHub ask issue (which then follows the normal assign → plan → panel cycle).
  • Channel per ask issue: created when the ask is filed; issue comments (bot summaries, panels, failure reports) mirror into the channel; operator replies in the channel post back as issue comments, which claude.wake already turns into agent turns.
  • Thread per task (sub-issue): implement-turn summaries and PR links mirror into the task's thread.
  • Action panels: mirrored as Discord components (buttons) where possible; a tap performs the same checkbox tick / comment on GitHub — GitHub stays the source of truth for state.

Constraints

  • GitHub remains the single source of truth; the bridge is stateless where possible (reconcile from GitHub, same philosophy as the agent prompts).
  • Bridge = Cloudflare Worker (webhooks from GitHub + Discord interactions endpoint); deploy via devkit's own cf.worker.* workflows.
  • Credentials (Discord bot token, GitHub webhook secret) live in Infisical, fetched via OIDC.
  • No new AI billing surface: any LLM step happens inside the existing claude.* workflows on the Max token.

Metadata

Metadata

Assignees

Labels

claude-askagent ask issue — operator replies drive turns

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions