Skip to content

let a thread's agent mark, archive, write in and open the member's other threads - #388

Open
hkonsti wants to merge 3 commits into
hkonsti/slack-appsfrom
hkonsti/slack-on-main
Open

hkonsti wants to merge 3 commits into
hkonsti/slack-appsfrom
hkonsti/slack-on-main

Conversation

@hkonsti

@hkonsti hkonsti commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

More of a member's threads within reach of a thread's agent through their Chat connection: marking done, archiving, passing a message on, and opening a new thread, in Chat or in Slack. Third of a stack of three; based on the Slack PR.

  • Mark done, archive, bring back under a new action, Mark done and archive. One in progress (its sub-agents included) is refused; marking done keeps its alerts, and one still watching isn't archived until they're cancelled. An archived Slack thread's session goes active, and a reply there brings it back.
  • threads_send under a new action, Write in threads: a message to another of the member's threads lands there as theirs, marked with the thread it was passed on from, and wakes it. Only a thread's own agent sends, never a sub-agent, never to itself, and not from a thread whose latest member message was itself passed on. In Slack it's quoted under a short lead.
  • threads_open, also under Write in threads: a new thread with the member's message, with the sending thread's agent unless another is named, in Chat or in Slack. In Slack the app posts the member's words as a quote at the top of their DM and the thread hangs under it. An alert set in a Slack thread opens its new threads in Slack the same way.
  • Each thread's agent is told which thread it is, whether it lives in Chat or Slack, and the member's latest other threads.

The built-in agent gets both new actions on new connections and on existing ones (migrations v081, v082). v083–v085 add a passed-on mark to entries, let a Slack thread's root be posted later, and record where an alert was set.


Open workspace in Conductor

…g it back through their Chat connection, and tell each thread's agent which thread it is, where it lives and what the member's latest other threads are

Three commands on the Chat connection's threads, under a new action, Mark done and archive, which the built-in agent is granted on new connections and on those that exist. One in progress, its sub-agents at work among that, is refused; marking done keeps a thread's alerts, so it goes on watching, and one still watching isn't archived until its alerts are cancelled, since archiving cancels them. An archived Slack thread's session goes active, and a reply in it brings it back. Each thread's agent reads which thread it is and whether it lives in Chat or in Slack, and the member's five latest other threads.
…s through their Chat connection: it lands there as theirs, marked with the thread it was passed on from, wakes that thread, and is quoted into Slack where the thread lives there

threads_send, under a new action, Write in threads, which the built-in agent is granted on new connections and on those that exist. Only a thread's own agent sends, never a sub-agent, never to itself, and not from a thread whose latest message from the member was itself passed on. A thread at work reads the message at its next step, an archived one comes back, and what was unread in it stays unread. The page shows the member's bubble with the thread it came from under it; Slack gets their words as a quote under a short lead.
…ugh their Chat connection, in Chat or in Slack, and open the threads of an alert set in a Slack thread in Slack

threads_open, under Write in threads: a new thread with the member's message, with the sending thread's agent unless another of theirs is named, and in its place unless the other is asked for. In Chat it is an ordinary task whose first message says where it was passed on from. In Slack the app posts the member's words as a quote at the top of their DM with the agent's app, once, and the thread hangs under it. An alert set in a Slack thread that opens new threads opens each in Slack the same way, its root the alert's own line, posted only once its agent's turn is over, so one it dismisses leaves nothing there. A thread whose root message can't be posted lives in the app instead.
@hkonsti
hkonsti added this pull request to stack #389 November 25, 2026 22:54

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant