Repository navigation
[2026.9.36] fix(msteams): backport restrictive unresolved allowlists to extended stable - #187286
Conversation
…psing to open (#184989) * fix(msteams): keep unresolved allowlists restrictive instead of collapsing to open * fix(msteams): use a non-access-group deny marker for unresolved sender allowlists * test(msteams): drop marker-representation test covered by handler regression * test(msteams): drop projection-plus-route cases duplicated by handler admission table (cherry picked from commit 9c7f90a) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 25265e4b23843946108fe75d6823cd4e3e64cfd7)
The Microsoft Teams fail-closed allowlist sentinel now remains module-private while preserving its exact restrictive projection and lifecycle coverage. (cherry picked from commit 59b1ddd) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 52a8609397572a37ae78544c11118704f8711f12)
…stable OpenClaw-Publication: 0457935b-4ff7-4cd5-bf04-de5a5e46e7f3
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs real behavior proof before merge. What this changesThis PR backports the Teams fix that keeps unresolved group-sender, team, and channel allowlists restrictive. Example: Teams uses dmPolicy="open", allowFrom=["*"], groupPolicy="allowlist", and groupAllowFrom=["Bob Builder"], but Bob cannot be resolved.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 3 items remain Keep this maintainer-authored security backport open: both earlier findings are fixed, and source review found no new concrete defect. Priority: P1 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe Teams plugin projects operator configuration into runtime authorization inputs; inbound and replayed activities pass through route and sender gates before conversation admission and agent dispatch. flowchart TD
A[Operator configuration] --> B[Teams startup projection]
B --> C[Runtime allowlists]
D[Authenticated Teams activity] --> E[Durable ingress and replay]
E --> F[Route and sender authorization]
C --> F
F --> G[Conversation admission and agent dispatch]
Technical reviewBest possible solution: Keep the repair in the Teams projection owner, preserving explicit restrictions without changing shared empty-list semantics or stored settings. Do we have a high-confidence way to reproduce the issue? The base projection drops unresolved names into empty maps or lists that existing gates interpret as unconfigured or eligible for DM fallback; upstream Gateway traces and the reported backport negative controls support that source path, without a review-side execution. Is this the best way to solve the issue? The repair uses the existing plugin owner and preserves the shared gates' legitimate empty-list behavior; stable IDs, wildcards, access groups, and stored configuration remain structurally unchanged. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e125921a28eb. Merge-risk optionsMaintainer options:
Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +78, Tests +222. Total +300 across 5 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 29, 2026, 2:34 AM ET / 06:34 UTC (Revision 2). |
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Original attribution verified
The published tip directly descends from original authored candidate
fcce003793a63deef3e2904e5302bb8e8812c0e0; original author identities, upstream references and RomneyDa coauthor trailers remain intact in PR history. Full ancestry verification supersedes the earlier tip-only attribution warning. Published tree is unchanged; no merge, history rewrite or force-push was necessary.What Problem This Solves
Backports the focused Microsoft Teams unresolved-allowlist fix to
extended-stable/2026.9.33. Configured names that cannot be resolved must remain restrictive rather than collapse to an empty/open runtime allowlist.User Impact
Why This Change Was Made
This is a two-source backport, adapted to the extended-stable owners and test harnesses:
9c7f90a8cd1f62f8d137f10a7b52b457b13b4bd2(fix(msteams): keep unresolved allowlists restrictive instead of collapsing to open #184989), via25265e4b23843946108fe75d6823cd4e3e64cfd7.59b1dddaa2f6691317a02ba4bf2dff52182a843e(refactor: keep Teams allowlist sentinel private #185484), via52a8609397572a37ae78544c11118704f8711f12.Original authors, messages, source SHAs, and requested commit coauthor trailers are preserved. Aggregate
policy.tschanges are explicitly excluded because they are not established by these two source commits. The scope/provenance audit does not establish release inclusion, and this PR makes no such claim.Base verified from the remote:
e93b50ad2400871616c2e6588d57488dba94ecad.Evidence
--maxWorkers=1: 134/134 passed, 8.09 seconds.git diff --checkand formatting checks pass for all five changed files.Draft-only gates still outstanding
codexexecutable is unavailable. No alternative reviewer was substituted and no clean review verdict is claimed.nonBlockingReaddeclarations and missingchokidar). Tracked dependency and lock files were not changed to work around this.Keep this PR in draft until independent review and required hosted checks are complete. Not ready for review or merge.