Uh oh!
There was an error while loading. Please reload this page.
feat(channels): iris channels connect slack → agent-channel install - #37
Merged
Conversation
`iris channels connect slack --bloq-id <id>` now mints an Add-to-Slack
install URL (via POST /api/v6/bloqs/{id}/channels/slack) bound to the bloq
and its agent, opens Slack authorization, and the workspace auto-provisions
on approval — no token pasting. Previously slack fell through to the
integration/tool OAuth path. Handles "no bloq", "no agent", and
"app not configured" (422) with clear guidance.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>Uh oh!
There was an error while loading. Please reload this page.
mayoalexander added a commit
that referenced
this pull request
Jun 9, 2026
) `iris channels connect slack --bloq-id <id>` now mints an Add-to-Slack install URL (via POST /api/v6/bloqs/{id}/channels/slack) bound to the bloq and its agent, opens Slack authorization, and the workspace auto-provisions on approval — no token pasting. Previously slack fell through to the integration/tool OAuth path. Handles "no bloq", "no agent", and "app not configured" (422) with clear guidance. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
mayoalexander added a commit
that referenced
this pull request
Aug 19, 2026
…e hid a live connection
fl-api and iris-api each keep their own `integrations` table, and both expose
/api/v1/users/{id}/integrations. `irisFetch` defaults to FL_API despite the name, so
`iris integrations list` only ever showed fl-api's rows.
That produced a confident, wrong negative. Hunting a client's Vagaro credentials, the CLI
showed no vagaro connection and fl-api's `test:integration vagaro` (which scans ALL users, so
it reads as authoritative) agreed. Conclusion: never connected. A client-facing task went out
asking her to generate credentials.
She had provided them eight months earlier. They were integration #37 in iris-api's table,
active, with a full credential set — findable only via
`railway ssh -s fl-iris-api -- php artisan integrations:list`.
- query every known store, tag each row with the store holding it, render it as `[iris-api]`
- an empty result now names where it looked, so a negative is scoped and never bare
- one store unreachable warns and continues; all stores unreachable is a hard failure rather
than an empty list that reads as "nothing connected"
This does not consolidate the two stores — that is an architecture decision (#181228). It
stops the CLI lying about what exists in the meantime.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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 freeto 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.
What
iris channels connect slack --bloq-id <id>now provisions a Slack agent-channel (PROJECT MODE) via the Add-to-Slack OAuth flow instead of falling through to integration/tool OAuth.Flow
/api/v6/bloqs/{id}/channels/slack(iris-api)WorkflowChannel(team_id → bloq, bot_token captured, no pasting)Companion
Requires iris-api
connectSlackendpoint (fl-iris-api main0df7592e) + the Add-to-Slack OAuth flow already deployed.Errors handled
--bloq-id→ usage hintSLACK_CLIENT_IDunset → 422 with setup pointer🤖 Generated with Claude Code