Repository navigation
Conversation
kantord
marked this pull request as ready for review
August 31, 2026 16:58
Design record for #882 (the plan sub-task of the Slack bot end-to-end effort, #881): build on Slack's 2026 Agent Sessions API rather than hand-rolled message editing (session lifecycle maps directly onto mecatl's own states, native stop button wires to CancelRun, native streaming primitives spiked first against a known channel-streaming platform bug), one mecatl session per Slack thread, auto-approve by default with manual approval prototyped as an explicit experiment, mecated --mock during development, Socket Mode for event delivery. Explicitly scopes out two things: whose code (if any) gets reused (the Rado-PoC/Craig relationship is an open fact-check, not resolved here) and Rado's separate, bigger identity-impersonation idea. Fully or partially written by an AI agent. Co-Authored-By: Claude <[email protected]>
ADR 0253 merged as part of this rebase; restore the direct doc-relative link that had been worked around with an issue link while it was still an open PR.
kantord
force-pushed
the
add-slack-bot-adr
branch
from
August 31, 2026 17:00
9ae1287 to
0cc37c1
Compare
Member
Author
|
Closing without merging per Samu's feedback: this doesn't need to be an ADR — it's an example app's design, cheap to revise, not a mecatl-architecture commitment. Moved the content into #882's body as a living plan instead, to be migrated into a design note living next to the example code itself once #821 creates sdk/typescript/. Fully or partially written by an AI agent. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Design record for #882 (the planning sub-task of #881, the Slack bot end-to-end reference implementation for
@stacklok/mecatl, #821).active↔idle,processing↔running,suspended↔awaiting/PendingAsk,closed↔terminal)CancelRunchat.startStream/appendStream/stopStream) spiked first against a known channel-streaming platform bug, falling back to a single final message if it doesn't hold upsuspendedstatus + Block Kit buttons) prototyped as an explicit experiment, not a v1 requirementmecated --mockduring development, matching the project's existing offline-testing disciplinestacklok/atrium's "Craig" — tracked in Slack bot: plan the implementation #882, not resolved here) and a separate, bigger identity-impersonation idea from a parallel Slack threadVerification
go test ./docs/lint/...— passmatlatl check . --strict— 0 broken links/anchors, 0 ambiguous, 0 orphans, 0 unreachablellms.txtregeneratedFully or partially written by an AI agent.