Skip to content

feat(bots): use project access for local thread messaging - #1501

Merged
nixuuu merged 3 commits into
devfrom
fix/bot-thread-audience-check
Nov 30, 2026
Merged

nixuuu merged 3 commits into
devfrom
fix/bot-thread-audience-check

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 30, 2026

Copy link
Copy Markdown
Member

Scope

  • Use the bot’s existing Project access for text-only queue and steer in local project threads, including across conversation audiences and after automatic completion reports.
  • Check the target’s actual project again in the write transaction so revocation also blocks previously approved sends that have yet to execute.
  • Carry the harness isError fix in a separate commit (8d219882b).

Boundaries

  • Cross-audience sends return completion: "unavailable" and provide no completion or question callback to the sender.
  • Existing read, attachment, approval, linked-computer and global hop-limit rules remain in force.
  • Uses the existing permission, UI and schema.

Verification

  • 94 distinct integration and schema tests verified locally across nine files, including a focused rerun of the three updated suites (14 passed). Coverage includes repeated queue/steer after reports, revocation and out-of-scope denial, read and attachment isolation, and the gRPC-to-MCP error contract.
  • Gateway typecheck, scoped lint and git diff --check passed locally.
  • Full verification remains with GitHub CI.

@nixuuu
nixuuu marked this pull request as ready for review November 30, 2026 10:09
@nixuuu
nixuuu enabled auto-merge (squash) November 30, 2026 10:09
@nixuuu
nixuuu merged commit b871bee into dev Nov 30, 2026
46 of 48 checks passed
@nixuuu
nixuuu deleted the fix/bot-thread-audience-check branch November 30, 2026 10:10
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