Skip to content

feat(slack-huddles): join Slack huddles as a signed-in Slack user - #159879

Merged
steipete merged 43 commits into
mainfrom
steipete/claw-slack-huddles-2ca280
Sep 29, 2026
Merged

steipete merged 43 commits into
mainfrom
steipete/claw-slack-huddles-2ca280

Conversation

@steipete

@steipete steipete commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Slack has no API for bots to join huddles or read their audio, so an OpenClaw agent needs a signed-in browser participant to join an active huddle.

User Impact

Users can opt into the new slack-huddles plugin and join active huddles through a dedicated Slack user in the OpenClaw Chrome profile. The plugin is disabled by default and supports agent talk-back, realtime voice, and caption transcription through the shared meeting runtime.

A dedicated Slack user must already be signed into that Chrome profile and belong to the conversation. The plugin only joins active huddles; it never starts one or ends a huddle for everyone. The setup docs explicitly say to keep the OpenClaw Slack tab on the huddle's channel and explain workspace-qualified session reuse. No SDK or Slack messaging channel changes are included. The shared meeting runtime has the approved optional ownership seam described below.

Why This Change Was Made

The browser adapter uses Slack's channel-header in-huddle state to establish ownership, because a huddle toolbar can remain visible while the user views another channel. It always joins muted, verifies the virtual microphone before enabling talk-back, leaves through Slack's participant Leave Huddle control, and delegates confirmation, device conflicts, and admission prompts to the user.

The plugin reuses the shared meeting schema. After merging main at 4576501026a834d9a9d7445624648e45d56565b4, the plugin config budget is 4410 versus main's 4353 (+57). Core remains 2464 and channel remains 3786; their generated hashes match main. Discovery, CLI metadata, the external plugin catalog, packaging exclusions, and setup documentation register the opt-in plugin.

Release-note context: Add an opt-in Slack huddles plugin that joins active huddles as a dedicated signed-in Slack user through the shared meeting runtime. It requires OpenClaw 2026.9.8 or newer.

Evidence

Head c6f5610b406c merges main at 43ca10703b6d (which includes the compact-plan cap fix 2e7f4f8fcd1f). On that merged tree, every focused suite passed again, run serially on the shared Mac through node scripts/run-vitest.mjs <file>:

File Tests
extensions/slack-huddles/src/transports/slack-huddles-platform-adapter.test.ts 70
extensions/slack-huddles/src/transports/slack-huddles-platform-adapter.audio.test.ts 19
extensions/slack-huddles/src/transports/slack-huddles-urls.test.ts 38
src/meeting-bot/status-call-source.test.ts 12
src/plugins/official-external-meeting-catalog.test.ts 3
src/plugins/official-external-plugin-catalog.test.ts (package ↔ catalog parity) 77

Measured cost from the earlier pnpm test <file> --maxWorkers=1 runs: adapter 61.07 s, audio 19.92 s, URLs 2.68 s, shared status source 3.91 s, meeting catalog 1.46 s (shard wall times on a loaded host, dominated by shared compilation).

The plugin suites execute generated page scripts in a synthetic DOM fixture through the registered adapter. Their wall times include shared-runtime compilation and cache work on a loaded host; this boundary protects ownership, muted joins, departure, captions, and channel identity without a browser or real timers.

All requested lint and type checks passed with exit 0: node scripts/run-oxlint.mjs src/meeting-bot extensions/slack-huddles, pnpm tsgo:core, node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.other.json --incremental, pnpm tsgo:extensions, and pnpm tsgo:extensions:test. Working-tree and staged git diff --check passed. The only merge conflicts were the two generated config-baseline files: both were taken from main and regenerated with pnpm config:docs:gen. pnpm plugins:inventory:gen passed. The lockfile merged cleanly and differs from main only by the Slack huddles importer. No source conflict or source edit was needed.

The coordinator's Codex autoreview in branch mode against the current merge base on 22b9ea10e6c023e3f2d2fc4488b957268fdea808 was scoped-clean at P0–P2 after 34 review rounds. That reviewed Slack/shared-runtime source is unchanged by this merge. The coordinator also verified the plugin-SDK surface check and SHA-256 equality of the generated Zoom and Teams status scripts against main. Earlier validation passed the docs glossary check and formatting.

ClawSweeper findings

All four earlier P1 findings are addressed: cross-huddle audio forwarding, caption collection after the account moves to another huddle or membership proof disappears, revalidating authority immediately before microphone clicks, and keeping workspace scope in huddle identity and reuse checks. Team-qualified links preserve their team in the reuse key; bare channel references never match team-scoped sessions. Page identity must match the requested team and fails closed when team proof is missing.

The subsequent P1 about ownership changing during asynchronous device work is addressed by the approved shared-runtime seam: optional liveOwnershipSource and afterAudioRoutingSource in src/meeting-bot/status-call-source.ts, with the ownership prelude in src/meeting-bot/status-call-ownership-source.ts. Ownership is rechecked after media-routing awaits; a lost owner stops the pass and retires or restores only its own media effects. The after-routing hook refreshes Slack state before captions and the status result. Absent options emit no additional code; generated Zoom and Teams status scripts remain byte-identical to main. The P2 session-reuse documentation finding is also corrected.

Revision 13 raised one more P1, which is fixed: the package and catalog floors admitted released hosts whose meeting status helper silently ignores the new ownership options, so an npm install onto such a host would lose the after-await rechecks without any error. extensions/slack-huddles/package.json now declares minHostVersion and compat.pluginApi >=2026.9.8, and the official catalog entry matches. release/2026.9.7 was cut before this PR, so 2026.9.8 is the first release that can contain the hook. Release tooling only raises compat.pluginApi and never lowers minHostVersion (scripts/sync-plugin-versions.ts). Bundled-origin discovery skips the range check, so the in-repo plugin still loads on the co-versioned checkout. The docs state the requirement. This also answers the review's decision question: publication waits for the hook-bearing release.

Membership is proven only by Slack's .p-huddle_channel_header_button--in_huddle on the requested channel's view. Views without that proof fail closed for status, audio, captions, Leave, and huddle metadata. Leave reports departure only when Slack proves it. The Join marker is only a 30-second settle window that suppresses the conflict warning after this session's own Join click; it never unlocks media or departure.

Every status click rechecks authority immediately beforehand and stops on new prompts. Joining is always muted, including when the preview already shows the virtual input, because the Join transition can switch that input. Talk-back is enabled only after in-call virtual-input verification. Live microphone and camera state is rechecked before actions, and the final post-routing check re-mutes if virtual-input proof disappears.

Channel-only sessions bind to a workspace only through markers created before a live call. The binding survives toolbar rerenders and does not migrate to another workspace. Reloading into an already-live call cannot create a new binding or adopt its controls.

Representative regression coverage includes workspace-qualified reuse and page identity, channel-only binding before awaited work and across reloads, always-muted joins, audio/caption shutdown on membership loss, revalidation before clicks, and shared routing ownership loss during enumeration, direct sink changes, bridge routing, and overlapping sink restores.

Earlier full changed-lanes proof

The full changed-lanes gate passed on Blacksmith Testbox lease tbx_01m3j5n3c89g15qp47xpwxa2va for head 5c51f62a3cb8312930b2681b90fa02684f2643a5: exit 0, 43m29.414s remote command time, 49m29.03s end to end. Testbox run. The prescribed command was:

node scripts/crabbox-wrapper.mjs run --id tbx_01m3j5n3c89g15qp47xpwxa2va --timing-json -- env OPENCLAW_CHECK_CHANGED_REMOTE_CHILD=1 OPENCLAW_CHANGED_LANES_RAW_SYNC=1 node scripts/check-changed.mjs

All typecheck and lint shards passed; no line-cap violations or exceptions were needed. The lease was stopped after validation. Testbox's wrapper result is the command verdict; lease cleanup can mark the linked Actions infrastructure run cancelled. This earlier proof does not substitute for CI on the new head.

The first remote attempt stopped on an untouched core test fixture that failed to forward its session-reader owner. Main fixed it in 0b6f02faae371776d8bfdb5b4f3a7696ee50e34b (#159836); that fix is included. An initial local typecheck used stale @openclaw/fs-safe 0.20.0; a frozen-lockfile install reconciled it to main's 0.21.0 and the typecheck passed.

Known gap: no live Slack proof yet. It requires a dedicated Slack user signed into the OpenClaw Chrome profile; that account does not exist yet. DOM hooks are taken from Slack's current production web client; the static review and synthetic fixtures do not establish live Slack compatibility. The maintainer accepts this gap for the opt-in, disabled-by-default plugin. No browser automation was run for this landing.

CI on the new head

CI on the previous head c479d0ff17ad passed 134 jobs. The only failures were checks-node-changed-channels and its openclaw/ci-gate aggregate: src/channels/message-access/context-builder-callers.test.ts still expected synology-chat's pre-deslop resolved.rt.channel.inbound.buildContext after #160639 inlined that helper. This PR touches neither file. Main fixed that inventory in c4845a61b485, so the new head's merge ref includes it. GitHub's enforced checks and reviews remain the merge gates.

@clawsweeper

clawsweeper Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: slack Channel integration: slack scripts Repository scripts size: XL labels Sep 27, 2026
@github-actions github-actions Bot added the dependencies-changed PR changes dependency-related files label Sep 27, 2026
@github-actions

github-actions Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Dependency graph changes

This maintainer PR changes the dependency graph. This comment is informational because the PR author has repository Maintain or Admin access.

  • Current SHA: c6f5610b406c0a5be9f2ba2dc344087ee0a19ba1
  • Maintainer: @steipete
  • Repository role: admin

These dependency graph changes were made:

  • pnpm-lock.yaml
  • extensions/slack-huddles/package.json

Carefully review these changes before merging.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 27, 2026
@clawsweeper

clawsweeper Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed September 28, 2026, 7:50 PM ET / 23:50 UTC (Revision 14).

ClawSweeper review

What this changes

Adds an opt-in Slack huddles plugin that uses a signed-in Chrome user to join active huddles through the shared meeting runtime, with audio, captions, CLI commands, documentation, and host compatibility metadata.

Merge readiness

⛔ Blocked before merge - 4 items remain

Keep this PR open. Current main has no Slack huddles integration, and the previous host-version finding is addressed. The remaining merge blocker is final-effect authority proof for a signed-in Slack account.

Priority: P2
Reviewed head: c6f5610b406c0a5be9f2ba2dc344087ee0a19ba1

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The implementation has substantial focused coverage and fixes the prior compatibility finding, but material authority behavior remains unproven at the production boundary.
Proof confidence 🦪 silver shellfish (2/6) Needs real behavior proof before merge: Authority-chain proof required: the changed Slack adapter uses a signed-in Chrome tab and shared audio routing, but the supplied after-change evidence runs generated scripts in synthetic VM/DOM fixtures. It does not show final effects for an owned huddle and rejection before I/O for a foreign or reassigned huddle in a real or authorized production-path setup. No existing stored-data contract changes. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) Security review found an item that needs attention.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: Authority-chain proof required: the changed Slack adapter uses a signed-in Chrome tab and shared audio routing, but the supplied after-change evidence runs generated scripts in synthetic VM/DOM fixtures. It does not show final effects for an owned huddle and rejection before I/O for a foreign or reassigned huddle in a real or authorized production-path setup. No existing stored-data contract changes. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 9 items Current main does not contain the plugin: The current-main tree has no extensions/slack-huddles path; the meeting overview at this revision lists Google Meet, Teams, and Zoom.
Shared meeting runtime change: The introduced status source accepts optional live ownership and after-routing hooks; current main lacks these options.
Browser authority boundary: The generated Slack status script rechecks channel identity, the session marker, and membership before browser clicks. The plugin also uses that identity for audio capture, captions, and Leave.
Findings None None.
Security Needs attention Unproven cross-huddle final-effect boundary: The adapter relies on live Slack page identity and membership before browser and audio effects. Synthetic fixtures do not establish that a foreign or reassigned huddle is rejected before those effects in the production path.

How this fits together

The plugin takes a huddle link or channel identifier and controls a signed-in Slack tab through OpenClaw's shared meeting runtime. Browser observations and audio then feed agent voice behavior and transcripts.

flowchart LR
  A[Huddle link or channel] --> B[Slack huddles plugin]
  C[Signed-in Chrome tab] --> B
  B --> D[Live huddle ownership check]
  D --> E[Join and leave controls]
  D --> F[Shared audio routing]
  D --> G[Captions and transcripts]
Loading

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: Authority-chain proof required: the changed Slack adapter uses a signed-in Chrome tab and shared audio routing, but the supplied after-change evidence runs generated scripts in synthetic VM/DOM fixtures. It does not show final effects for an owned huddle and rejection before I/O for a foreign or reassigned huddle in a real or authorized production-path setup. No existing stored-data contract changes. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Resolve security concern: Unproven cross-huddle final-effect boundary - The adapter relies on live Slack page identity and membership before browser and audio effects. Synthetic fixtures do not establish that a foreign or reassigned huddle is rejected before those effects in the production path.
  • Resolve merge risk (P1) - The plugin controls a signed-in Slack tab and audio sinks, but no production-boundary observation shows an owned huddle reaching the intended final effects while a foreign or reassigned huddle is rejected before browser or audio I/O.
  • Complete next step (P2) - Add redacted final-effect proof for an owned huddle and a foreign or reassigned huddle, showing rejection before browser and audio I/O; update the PR body to trigger a fresh review.

Findings

  • [medium] Unproven cross-huddle final-effect boundary — extensions/slack-huddles/src/transports/slack-huddles-status-prejoin-source.ts:66
Agent review details

Security

Needs attention: No definite security defect was established, but the signed-in huddle authority boundary lacks final-effect proof.

PR surface

Source +1304, Tests +2107, Docs +280, Config +57, Generated 0, Other +42. Total +3790 across 53 files.

View PR surface stats
Area Files Added Removed Net
Source 22 1317 13 +1304
Tests 11 2128 21 +2107
Docs 11 298 18 +280
Config 4 57 0 +57
Generated 2 3 3 0
Other 3 42 0 +42
Total 53 3845 55 +3790

Review metrics

Metric Value Why it matters
Production and test TypeScript production +1176/−13; tests and helpers +2128/−21 The growth supports a new opt-in meeting plugin and its focused fixtures.
Host compatibility floor 2 metadata locations require >=2026.9.8 The package and official catalog agree on the first host version claimed to include the ownership hooks.

Merge-risk options

Maintainer options:

  1. Prove the final authority boundary (recommended)
    Capture a redacted signed-in Chrome trace or authorized production-path harness showing allowed final effects and rejection of a foreign or reassigned huddle before browser and audio I/O.

Technical review

Best possible solution:

Keep the plugin opt-in and gated to a hook-bearing host release, with redacted final-effect evidence for an owned huddle and the nearest foreign or reassigned huddle before merging.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is a new capability. Synthetic tests cover the generated scripts, while the PR body reports no signed-in Slack run.

Is this the best way to solve the issue?

Unclear: the shared meeting runtime and version gate are coherent owners, but safe behavior at Slack's live browser boundary remains unproven.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 632b150d462f.

Labels

Label changes:

  • remove merge-risk: 🚨 compatibility: Current PR review merge-risk labels are merge-risk: 🚨 security-boundary.

Label justifications:

  • P2: This is an opt-in new capability with limited default-user impact.
  • merge-risk: 🚨 security-boundary: The new plugin can act through a signed-in Slack user and route private huddle audio, so final-effect ownership needs direct proof.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: Authority-chain proof required: the changed Slack adapter uses a signed-in Chrome tab and shared audio routing, but the supplied after-change evidence runs generated scripts in synthetic VM/DOM fixtures. It does not show final effects for an owned huddle and rejection before I/O for a foreign or reassigned huddle in a real or authorized production-path setup. No existing stored-data contract changes. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Evidence

Security concerns:

  • [medium] Unproven cross-huddle final-effect boundary — extensions/slack-huddles/src/transports/slack-huddles-status-prejoin-source.ts:66
    The adapter relies on live Slack page identity and membership before browser and audio effects. Synthetic fixtures do not establish that a foreign or reassigned huddle is rejected before those effects in the production path.
    Confidence: 0.82

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RoboClaw: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add redacted final-effect proof for an owned huddle and the nearest foreign or reassigned huddle, including rejection before browser or audio I/O; update the PR body for re-review.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (13 earlier review cycles; latest 8 shown)
  • reviewed 2026-09-28T00:56:57.363Z sha 53f6f4b :: needs real behavior proof before merge. :: [P1] Recheck huddle membership after awaited device work | [P2] Correct the session reuse guidance | [P2] Fix the introduced test-helper lint errors
  • reviewed 2026-09-28T09:44:11.480Z sha 086c682 :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-28T13:03:22.543Z sha 4181693 :: needs real behavior proof before merge. :: [P1] Require a host release that contains the ownership seam
  • reviewed 2026-09-28T13:12:31.343Z sha 80b6724 :: needs real behavior proof before merge. :: [P1] Require a host release that contains the ownership hook
  • reviewed 2026-09-28T13:42:21.140Z sha 8e7945b :: needs real behavior proof before merge. :: [P1] Require a host release containing the ownership hook
  • reviewed 2026-09-28T13:57:49.217Z sha 052cb91 :: needs real behavior proof before merge. :: [P1] Require a host release containing the ownership hook
  • reviewed 2026-09-28T18:56:31.476Z sha 6eb6eb4 :: needs real behavior proof before merge. :: [P1] Raise the host floor to the ownership-hook release
  • reviewed 2026-09-28T22:45:52.922Z sha c479d0f :: needs real behavior proof before merge. :: [P1] Raise the host floor to the ownership-hook release

@steipete
steipete force-pushed the steipete/claw-slack-huddles-2ca280 branch from 0145909 to a2f8d4e Compare September 28, 2026 00:00
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. labels Sep 28, 2026
…ntime

Slack exposes no app or bot API for joining huddles or reading their
audio, so the new slack-huddles plugin drives the Slack web client in
the OpenClaw Chrome profile, signed in as a dedicated Slack user, on
the shared meeting runtime used by Zoom, Teams, and Google Meet.

It joins active huddles only (never starts one), captures remote audio
in-page, and talks back through the virtual microphone in agent/bidi
modes, with transcribe mode reading Slack's live captions. Joins accept
a Copy huddle link, a channel id, or the Slack channel's chat_id
(channel:C… or team:T…:channel:C…).

Slack's client URL names the viewed channel, not the huddle behind the
global toolbar, so call ownership comes from Slack's own channel-header
in-huddle state or this session's live join record. The adapter joins
muted until Slack reports the virtual microphone as its input, never
clicks Join while another huddle is live, and never ends a huddle for
everyone. DOM hooks come from Slack's current production web client.

The plugin is disabled by default because it needs a signed-in
dedicated Slack user.
Adds slack-huddles to the official external plugin catalog, labeler,
inventory generator, and package/build inventories. Meeting catalog
cases move into their own test file to keep the catalog test under the
line cap.

Config surface: the plugin budget in config-baseline.counts.json rises
4350 -> 4407. The new plugin reuses the shared meeting config schema
(same shape as zoom-meetings and teams-meetings); it adds no new config
concepts.
New plugin page covering the dedicated Slack user, install/enable,
configuration, accepted join inputs, manual actions, and limits; adds
Slack huddles to the meeting-plugins overview, the Slack channel page,
and the transcripts CLI provider list, and regenerates the plugin
inventory and reference pages.
Slack keeps a huddle running while the client shows other channels and
may reuse its global toolbar across huddles, so a URL naming the
requested channel does not prove the call belongs to it. The page
identity now reports a foreign identity when the viewed channel's
header shows this device outside that channel's huddle while a call is
live (except while this session's own Join settles). Status, the
shared caption observer, the transcript reader, and leave consume that
identity, and audio capture drops its URL-only fallback, so another
huddle's audio and captions are never attributed to the session.

Addresses ClawSweeper P1s on #159879 (audio forwarding and caption
collection after a foreign-huddle switch).
… header

Recorded toolbars, admission markers, and view-preservation can outlive
a huddle switch (Slack may reuse its global toolbar), so they no longer
establish ownership. Membership now comes only from Slack's own
in-this-huddle state on the requested channel's header; views without
it fail closed for status, audio, captions, and Leave, and Leave only
reports departure when Slack proves it. The join marker survives only
as a 30-second settle window that suppresses the conflict warning after
this session's own Join click and never unlocks media.
While a call is live, the page identity now matches the requested huddle
only with Slack's membership header for that channel or during this
session's own settling Join, so a missing header freezes caption
collection instead of attributing another huddle's captions. Leave
reports departure only when the channel header shows the account out of
the huddle; a toolbar that briefly unmounts no longer counts as leaving.
…sitions

Active caption collection now always requires Slack's membership header,
even when every call control disappears, and Leave no longer treats a
header that has not caught up with this session's settling Join as proof
of departure.
…lick

The status script awaits permission queries and UI settling between its
ownership decision and its clicks. Each microphone, device, camera, and
Join click now rechecks authority immediately beforehand (the in-call
membership header, or the same preview with no other call live) and
stops touching controls once it is lost. Also guards the test helper's
optional audio-capture hook for the test typecheck.

Addresses the third ClawSweeper P1 on #159879 (revalidate before
changing microphone controls).
The pre-click authority check now also stops when a switch or device
prompt appears during an awaited step, and reports that prompt as the
manual action. Huddle title and participant count come from global
huddle UI, so status reports them only for the verified huddle.
…orkspace

A reloaded channel-only session's first status pass wrote a fresh page
marker, which let the next poll bind whichever workspace was showing.
The marker now records whether it was created before any live call
(pre-join, admission, or this session's own Join); only such a marker
may bind, so repeated polls after a reload keep failing closed while
the normal preview, Join, and in-call flow still binds.
Pending sink restores now live in a shared in-flight set that each
restore leaves only once it settles, and every routing pass awaits a
snapshot of that set, so overlapping status passes all wait for the same
restore instead of the first one draining the queue. The opt-in
ownership prelude moves into status-call-ownership-source.ts, keeping
the status tail under its line cap; Zoom and Teams scripts stay
byte-identical.
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 28, 2026
…uddles-2ca280

# Conflicts:
#	docs/.generated/config-baseline.counts.json
#	docs/.generated/config-baseline.sha256
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. label Sep 28, 2026
#160308 removed src/agents/worktrees/service.run-end-cleanup.test.ts,
but the managed-worktrees-workboard-lifecycle scenario still listed it
in codeRefs, so extensions/qa-lab/src/scenario-catalog.test.ts failed
deterministically on main and on every PR touching that shard. The
remaining refs (service.ts, the Workboard dispatcher, and the e2e
product proof) still cover the scenario.
…uddles-2ca280

# Conflicts:
#	qa/scenarios/runtime/managed-worktrees-workboard-lifecycle.yaml
steipete added a commit that referenced this pull request Sep 28, 2026
Replay PR #159879's exact 53 changed paths across core, a new plugin,
root manifests, lockfile, and labeler inputs. Assert the complete non-dist
Node plan stays within 130 rows and retains core, plugin, and boundary
coverage with unique job names.

This uses the real current inventory because isolated target-policy fixtures
did not cover the cross-family preflight overflow. The changed integration
file passed all 8 cases in 168.05s on Linux with one worker; the new case
accounted for 19.348s. Production planner and packer behavior is unchanged.

Validation: the complete 870-file tooling inventory passed on Linux
(28,053 passed cases, 475 native skips), along with full test-types,
check-changed, and boundary lint. P2 review found no actionable issues.
…uddles-2ca280

# Conflicts:
#	docs/.generated/config-baseline.sha256
The plugin passes liveOwnershipSource and afterAudioRoutingSource to the
shared meeting status helper, which only honors them from this PR on.
Released hosts silently ignore unknown options, so an npm install onto
2026.9.6 or 2026.9.7 would drop the after-await ownership rechecks.

Raise minHostVersion and compat.pluginApi to >=2026.9.8 (release/2026.9.7
was cut without the hook) in the package and the official catalog, and
document the requirement. Bundled-origin discovery skips the range check,
so the in-repo plugin still loads on the co-versioned checkout.
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 28, 2026
@steipete
steipete merged commit c432db8 into main Sep 29, 2026
520 of 543 checks passed
@steipete
steipete deleted the steipete/claw-slack-huddles-2ca280 branch September 29, 2026 00:34
@steipete

Copy link
Copy Markdown
Contributor Author

Admin-landed as c432db8 at head c6f5610b406c0a5be9f2ba2dc344087ee0a19ba1 past failures inherited from main. Every lane this PR touches is green.

Inherited from main. These fail on the frozen release-harness closure from ac59199: docker-e2e-plan.mts imports scripts/lib/official-external-provider-catalog.json, which the frozen copy did not include. They ran here only because this PR edits scripts/lib/official-external-plugin-catalog.json.

Timing flakes. test/scripts/crabbox-wrapper.test.ts failed its readiness-deadline pid-liveness assertion, and ui/src/e2e/github-link-hovercard.e2e.test.ts hit a 120 s timeout. This PR touches neither area. One rerun of the failed jobs passed the hovercard shard. Both reruns re-hit the inherited failure in checks-node-compact-small-2, and matrix fail-fast then cancelled the crabbox shard. The crabbox case passes locally on this exact tree in 469 ms.

ClawSweeper. Revision 14 on this head has no code findings; the host-floor P1 is fixed. Its remaining ask is live Slack proof, which this PR's body records as a known gap for this opt-in, disabled-by-default plugin.

steipete added a commit that referenced this pull request Sep 29, 2026
…work

#159879 added the slack-huddles extension without an assets directory, so the
bundled plugin icon contract test fails on main for every PR whose plan includes
it. Reuse the Slack plugin's 512px icon and activity artwork: a huddle is a Slack
feature, and the plugin runs as the signed-in Slack user.
MarMarLabs added a commit to MarMarLabs/openclaw that referenced this pull request Sep 29, 2026
342 upstream commits, including the Slack huddles plugin (openclaw#159879),
scoped Slack plugin reviewers (openclaw#159525) and two Feishu webhook changes
(openclaw#160455, openclaw#160846) in files this branch does not touch. No file outside
the generated set changed on both sides.

Two conflicts, both generated: docs/.generated/config-baseline.counts.json
and docs/.generated/config-baseline.sha256. openclaw#159879 takes plugin from 4374
to 4431 and openclaw#159525 takes core from 2464 to 2475. This branch keeps channel
at 3788. Both files came from upstream and were regenerated.

build:docker ran in a separate detached checkout of this commit outside the
nested node_modules install. Regenerating there changed those two files and
nothing else, giving the predicted counts, the upstream core and plugin
hashes, this branch's channel hash and a new combined hash. The three
generated-file checks pass there.

Upstream deleted 102 test files in this range. None of them were added or
changed by this branch.

Feishu: 107 files and 1859 tests in the extension project, 17 files and
312 tests in the database-workers project. The forwarder test and the
routing guards pass, 430 tests after upstream pruned test-projects.test.ts
in this range. tsgo:core, tsgo:extensions, tsgo:extensions:test,
tsgo:test:root, the line-cap, max-lines and assertion-safety ratchets
against upstream/main, oxlint and oxfmt on the 43 changed code files all
pass.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
Replay PR openclaw#159879's exact 53 changed paths across core, a new plugin,
root manifests, lockfile, and labeler inputs. Assert the complete non-dist
Node plan stays within 130 rows and retains core, plugin, and boundary
coverage with unique job names.

This uses the real current inventory because isolated target-policy fixtures
did not cover the cross-family preflight overflow. The changed integration
file passed all 8 cases in 168.05s on Linux with one worker; the new case
accounted for 19.348s. Production planner and packer behavior is unchanged.

Validation: the complete 870-file tooling inventory passed on Linux
(28,053 passed cases, 475 native skips), along with full test-types,
check-changed, and boundary lint. P2 review found no actionable issues.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
…enclaw#159879)

Add an opt-in slack-huddles plugin that joins active Slack huddles as a
dedicated signed-in Slack user. Slack has no bot or app huddle API, so the
plugin drives the Slack web client in the OpenClaw Chrome profile on the
shared meeting runtime, with in-page audio capture and a virtual microphone
for agent, bidi, and transcribe modes, mirroring zoom-meetings and
teams-meetings.

Membership is proven only by Slack's in-huddle channel header on the
requested channel. Sessions are workspace-scoped, joins are always muted,
talk-back unmutes only after Slack reports the virtual input, and every
click rechecks live authority. The shared meeting status source gains
optional liveOwnershipSource and afterAudioRoutingSource hooks. They
recheck ownership after awaited device and sink work, and roll back only
this pass's effects. Absent hooks emit no code, so the generated Zoom and
Teams scripts are byte-identical.

The plugin is disabled by default and requires OpenClaw 2026.9.8 or newer,
the first release that can carry the ownership hook.

Release note: Add an opt-in Slack huddles plugin that joins active huddles
as a dedicated signed-in Slack user through the shared meeting runtime.
Requires OpenClaw 2026.9.8 or newer.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
…work

openclaw#159879 added the slack-huddles extension without an assets directory, so the
bundled plugin icon contract test fails on main for every PR whose plan includes
it. Reuse the Slack plugin's 512px icon and activity artwork: a huddle is a Slack
feature, and the plugin runs as the signed-in Slack user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: slack Channel integration: slack dependencies-changed PR changes dependency-related files docs Improvements or additions to documentation merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. P2 Normal backlog priority with limited blast radius. plugin: file-transfer rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant