Skip to content

feat: entrypoint.zig — replace 942 LOC bash with Zig + Telegram live UX #324

Description

@gHashTag

Что

Переписать deploy/agent-entrypoint.sh (942 LOC bash) → tools/mcp/trinity_mcp/agent/entrypoint.zig

Зачем

Scope

  1. entrypoint.zig — main loop (8 steps)
  2. telegram_card.zig — TelegramCard, edit loop 30s
  3. telegram.zig — sendAndCapture + editMessage + pinMessage
  4. github_api.zig — issue read, comment, PR create
  5. git_ops.zig — clone, worktree, push
  6. self_review.zig — fmt/build/test gates
  7. process_spawn.zig — spawn with timeout
  8. Dockerfile.agent — use Zig binary
  9. tests

Telegram UX

  • Pinned dashboard: edit every 30s
  • Per-agent card: edit every 30s
  • Issue summary: one sendMessage on completion
  • Zero spam

Status

✅ IMPLEMENTED — all files created, builds clean, dry-run works

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions