Keep Asana, Jira and Slack current when an approved decision changes the work: options

Đang mở
#301 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
backend-api-design

Hướng nghiên cứu

Read #286, #169, #120, and docs/agents.md to understand the existing Jira, Slack source, assumption propagation, and agent token flows. The recommendation is to add external links to tasks first, then test the assistant driven path with the first trial teams' tools. Done means approved changes can identify affected tasks and offer a reviewed update through the person's assistant; the issue leaves the tool, update format, and confirmation authority open.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Problem

teamctx records a team's decisions, rules and assumptions, and can show which decisions and tasks rest on an assumption. But a team's tasks live in a tracker such as Asana or Jira, and the signals that change them (a key customer's comment, a message) arrive in Slack. When an approved change touches the work, nothing carries it into those tools, and nothing brings their updates in except a person's assistant reading them and sending them over by hand.

The goal is for the approved version to stay the one thing everyone works from, while the tracker stays where the work is tracked. It must not turn teamctx into a second tracker.

What works today

  • A Slack thread can be a connected source (#169): an assistant reads it with its own Slack connection and sends it in, and teamctx records the link and a summary, never the messages or the token. The sources input also accepts "another" tool, but only Slack, Notion, Drive, SharePoint, Dropbox and Coda have been exercised.
  • A job or agent with a manager-issued token can read what it is assigned, send work back for review (always reviewed), and close its own tasks (docs/agents.md). That is an inbound path for an automation platform today.
  • Marking an assumption as broken walks restsOn and lists the decisions and tasks that rest on it (#120).
  • Slack gets a notice when something is waiting for approval. That is the only outbound event, and it is Slack-specific.

What does not exist

  • No connection to Asana. Jira is only the parked #286 (a one-way read in a member's brief as the first version).
  • No generic outbound event when something is approved or flagged.
  • No stored link between a teamctx task and a ticket in another tool.

Two directions

  • In: an update in a tool (a ticket moved, a customer comment) reaches teamctx as a proposal. It always goes to review, so a tool can never change what the team treats as true.
  • Out: an approved change that touches tasks reaches the tracker or a channel, so the people there see it.

Options

A. Through the person's assistant, no credentials stored. The assistant uses its own Asana, Jira or Slack connection.

  • In: it reads the ticket or thread and sends it as a source.
  • Out: after an approval, the result lists the tasks that are now flagged, and the assistant offers to update the matching tickets through its own connection, with the person confirming.
  • Needs: an external reference on a task (system, id, link), the flagged-task list in the approval result, assistant instructions, and a check that Asana and Jira work as sources.
  • Pros: teamctx stores nothing, which fits the data-ownership principle. Little code. Works with any tool that has a connector.
  • Cons: only when the person's assistant has that connector and a person is in the loop. Nothing is unattended. Behaviour varies by client.

B. An automation platform in the middle. n8n (open source), Make or Zapier connect teamctx and the tools.

  • Out: teamctx sends a signed event when an item is approved or flagged. The automation updates Asana, Jira or Slack.
  • In: the automation uses an agent token (exists today) to send proposals.
  • Needs: a generic outbound event (new), a signing scheme, and recipes in the docs.
  • Pros: unattended, covers many tools, and teamctx still holds no tool credentials.
  • Cons: a manager has to set up the automation. The event becomes a contract once people depend on it. The payload should carry ids and links, not team content.

C. A direct integration. teamctx connects to Asana or Jira itself, with a two-way sync.

  • Pros: the smoothest experience.
  • Cons: teamctx would hold tool credentials, the thing the last security release worked to reduce. It needs a rule for which side wins, per-tool upkeep and rate-limit handling. This is #286's route.

D. Links only. Allow an external link on a task or a record and show it in the member's brief. It is the smallest piece and the first step of A.

Recommendation

Do D, then A, and test them with the tools the first trial teams actually use. Add B's outbound event only when someone needs unattended updates. Keep C parked under #286.

Open questions

  • What does a flagged task look like in a ticket: a comment, a label or a status change? A comment is the least surprising.
  • Which tool first: Asana, Jira, or whichever the first trial team uses?
  • How much does an outbound event carry? Proposed: ids, titles and a link only.
  • Who is allowed to confirm an update in a tool: the person whose assistant ran it, or only the manager?

Existing open source first

Checked and recommended: n8n (open source, self-hostable) for B's automations, Standard Webhooks (standardwebhooks.com) for the signing format instead of inventing one, Nango for OAuth if C is ever built (already named in #286), and jira.js for a Jira client. Assistants already have vendor connectors for Asana and Slack, which A relies on instead of a teamctx client. What only teamctx should build: which approved change touches which tasks (the restsOn walk), what to carry out, and the review gate that keeps a tool from changing what the team treats as true.

Related: #286, #169, #120, docs/agents.md.

Ngôn ngữ chính
JavaScript
Star
1
Fork
2
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
62

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của StatsLateral/teamctx

Tất cả issue của StatsLateral/teamctx

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.