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

オープン
#301 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
1
フォーク
2
平均マージ
1日 19時間
マージ済み PR(30日)
62

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

StatsLateral/teamctx のほかの issue

StatsLateral/teamctx の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。