Skip to content

refactor(meetings): close manual action state - #114247

Merged
steipete merged 1 commit into
mainfrom
refactor/meeting-manual-action
Jul 27, 2026
Merged

steipete merged 1 commit into
mainfrom
refactor/meeting-manual-action

Conversation

@steipete

@steipete steipete commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Meeting browser health represented one manual blocker with three independently optional fields: manualActionRequired, manualActionReason, and manualActionMessage. That shape admitted contradictory and incomplete states, forced every producer and consumer to synchronize three values, and made speech readiness invent fallback reason/message values when the triplet was incomplete.

Why This Change Was Made

The new shape is manualAction?: { reason, message }. Absence means there is no manual blocker; presence guarantees the reason and operator message exist together. Browser page scripts, status parsing, session readiness, probes, runtime recovery, CLI rendering, and all three meeting plugins now use that one closed state, and the incomplete-triplet fallback is deleted.

This is an intentional clean cutover for a model-facing plugin tool-result and plugin-CLI diagnostic shape. A fresh origin/main audit found no legacy-field consumer in Gateway protocol types, Gateway server-method serializers, Control UI, or core CLI paths, so there is no boundary compatibility projection or dual response shape.

Release-note context: this is a beta-only breaking change to the documented meeting tool-result shape shipped in v2026.7.2-beta.3 through v2026.7.2-beta.5. Consumers must replace the legacy triplet with manualAction.reason and manualAction.message. The closed object makes impossible partial states unrepresentable.

AI-assisted implementation; reviewed against Google Meet, Microsoft Teams, Zoom, the shared meeting core, plugin CLI output, tests, and documentation.

User Impact

Operators and tool consumers now read manualAction.reason and manualAction.message together. Existing beta consumers of manualActionRequired, manualActionReason, or manualActionMessage must migrate. Operator guidance is unchanged: report the message, complete the browser step, and stop retrying until it is resolved.

Evidence

  • Independent compatibility audit on current origin/main: no manualActionRequired, manualActionReason, or manualActionMessage consumer under packages/gateway-protocol/**, src/gateway/server-methods/**, ui/**, or core CLI paths. The only gateway-adjacent match is an unrelated opaque error-details passthrough test.
  • Both meeting docs now use the closed shape for every legacy mention, including prose, JSON, troubleshooting, and the field table.
  • node scripts/run-vitest.mjs src/meeting-bot extensions/google-meet extensions/teams-meetings extensions/zoom-meetings — 61 files and 648 tests passed on the pre-rebase patch.
  • Hosted changed-gate formatting, Plugin SDK contract, boundary guards, and core/core-test/extension/extension-test typechecks — passed on the pre-rebase patch.
  • Final targeted run-oxlint.mjs src/meeting-bot/platform-adapter.ts — passed on Blacksmith Testbox tbx_01kygqfmab1f648zzqk7by2hg7.
  • git diff --check — passed.
  • autoreview --mode uncommitted and autoreview --mode branch --base origin/main — clean on the pre-rebase patch; a fresh branch review will run before landing.
  • Production diff: +130/-209, net -79 lines.
  • No disposable authenticated meeting/browser fixture is available for live proof. The refactor does not change the manual-action detection conditions or operator messages; focused browser-script and runtime tests exercise the emitted closed result instead.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation plugin: google-meet plugin: zoom Zoom plugin plugin: teams-meetings Teams Meetings plugin size: L maintainer Maintainer-authored PR labels Jul 27, 2026
@steipete
steipete marked this pull request as ready for review July 27, 2026 02:57
@clawsweeper clawsweeper Bot added 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. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. labels Jul 27, 2026
@clawsweeper

clawsweeper Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed July 26, 2026, 11:19 PM ET / July 27, 2026, 03:19 UTC.

ClawSweeper review

What this changes

This PR replaces the three optional meeting-browser manual-action fields with one optional { reason, message } object across shared meeting code, Google Meet, Teams, Zoom, CLI diagnostics, tests, and plugin documentation.

Merge readiness

⛔ Blocked until real behavior proof from a real setup is added - 5 items remain

Keep this PR open for maintainer review. The closed object is internally coherent, but it removes a documented, beta-shipped model-facing plugin result contract without a compatibility projection, versioned response, or explicit approval that the beta contract may break; it also still lacks after-fix behavior proof from a real meeting-browser setup.

Priority: P1
Reviewed head: 3db70d57d67c9663ef9993ba6246e8dca0c13593
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The refactor has useful implementation and test coverage, but an unresolved compatibility blocker and mock-only proof leave it unready to merge.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: The PR provides focused tests and CI, but no after-fix result from a real authenticated meeting-browser flow; add redacted live terminal output, logs, or a recording showing a manual-action result and the resulting blocked retry/speech behavior. 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) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR provides focused tests and CI, but no after-fix result from a real authenticated meeting-browser flow; add redacted live terminal output, logs, or a recording showing a manual-action result and the resulting blocked retry/speech behavior. 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 4 items Changed public result shape: The branch removes manualActionRequired, manualActionReason, and manualActionMessage from shared meeting health and introduces a single optional manualAction object, which changes the documented plugin-facing result consumed outside the implementation.
Docs confirm the old contract was public: The branch updates Google Meet and meeting-plugin documentation from the legacy fields to manualAction, so this is a user-visible tool-result contract change rather than an internal-only refactor.
Prior review blocker remains applicable: The previous completed ClawSweeper review raised a P1 request to preserve the documented manual-action response contract. The new head still performs a clean removal of that contract; the PR body describes it as a beta-only breaking change but provides no compatibility or deprecation path.
Findings 1 actionable finding [P1] Preserve the documented manual-action response contract
Security None None.

How this fits together

Meeting plugins run browser status scripts and normalize their results into shared meeting-session health. That health state controls retry and speech readiness, then appears in plugin tool results and CLI diagnostics for operators.

flowchart LR
  A[Meeting browser page] --> B[Status script result]
  B --> C[Shared meeting health parser]
  C --> D[Session readiness and recovery]
  D --> E[Plugin tool result]
  D --> F[CLI diagnostics]
  E --> G[Operator or model action]
Loading

Decision needed

Question Recommendation
Should the beta-shipped legacy manual-action fields remain temporarily available while consumers migrate, or is an immediate breaking replacement with manualAction approved for all meeting plugin tool-result consumers? Add a temporary compatibility projection: Return the closed manualAction object while also projecting the legacy fields for a named deprecation period, with focused contract tests and migration documentation.

Why: The branch deliberately changes a documented externally consumed response shape across three plugins. Repository policy treats plugin/API contract changes as compatibility-sensitive, and the appropriate migration policy cannot be inferred from tests alone.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR provides focused tests and CI, but no after-fix result from a real authenticated meeting-browser flow; add redacted live terminal output, logs, or a recording showing a manual-action result and the resulting blocked retry/speech behavior. 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.
  • Preserve the documented manual-action response contract (P1) - This removes all three legacy fields from a documented beta-shipped tool result. Existing consumers that still read those fields receive no manual-action signal after upgrade; retain a temporary projection or add an explicitly approved, versioned migration path. This repeats the prior blocker because the current head still performs the same clean removal.
  • Resolve merge risk (P1) - Merging removes a documented beta tool-result contract for existing Google Meet, Teams, and Zoom consumers; those consumers can silently stop recognizing manual-action state until they migrate.
  • Resolve merge risk (P1) - The branch has only tests and CI as proof. A real browser status result should confirm that an actual login, lobby, permission, or device blocker emits the closed object and still prevents retries or speech as intended.

Findings

  • [P1] Preserve the documented manual-action response contract — src/meeting-bot/session-types.ts:37
Agent review details

Security

None.

PR surface

Source -80, Tests +17, Docs +1. Total -62 across 42 files.

View PR surface stats
Area Files Added Removed Net
Source 23 131 211 -80
Tests 17 177 160 +17
Docs 2 25 24 +1
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 42 333 395 -62

Review metrics

Metric Value Why it matters
Manual-action result contract 3 documented fields removed, 1 replacement object added This changes the external meeting-plugin diagnostic and tool-result shape across Google Meet, Teams, and Zoom, so upgrade behavior needs an explicit decision.

Stored data model

Persistent data-model change detected: serialized state: src/meeting-bot/session-runtime.test.ts, serialized state: src/meeting-bot/session-runtime.ts, serialized state: src/meeting-bot/session-speech-readiness.ts, serialized state: src/meeting-bot/session-types.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Preserve a migration window (recommended)
    Keep the legacy result fields as a temporary documented projection of manualAction, then remove them only after a stated deprecation boundary and compatibility coverage.
  2. Accept the beta-only breaking contract
    A maintainer can explicitly approve the immediate cutover if all known beta consumers are expected to migrate before the next relevant release.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Add a temporary legacy-field projection from manualAction, document the deprecation boundary, add contract coverage for both shapes, and attach redacted real browser proof of a manual-action result.

Technical review

Best possible solution:

Either preserve the legacy fields as a documented temporary projection while adding manualAction, or obtain explicit maintainer approval for the beta-only breaking cutover and publish an unambiguous migration window; then add redacted real browser evidence for one representative manual-action flow.

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

Not applicable as a defect report: this PR is a refactor rather than a report of broken behavior. The real merge-proof gap is separate—there is no after-fix authenticated browser run showing the new emitted object in an actual manual-action state.

Is this the best way to solve the issue?

No, not yet. The closed object is a cleaner internal representation, but deleting the already documented beta response fields is not the safest solution until maintainers choose and document either a compatibility window or an approved immediate break.

Full review comments:

  • [P1] Preserve the documented manual-action response contract — src/meeting-bot/session-types.ts:37
    This removes all three legacy fields from a documented beta-shipped tool result. Existing consumers that still read those fields receive no manual-action signal after upgrade; retain a temporary projection or add an explicitly approved, versioned migration path. This repeats the prior blocker because the current head still performs the same clean removal.
    Confidence: 0.96

Overall correctness: patch is incorrect
Overall confidence: 0.94

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P1: The change can break active beta meeting-tool consumers across three bundled plugins by removing fields they currently read.
  • merge-risk: 🚨 compatibility: The PR removes a documented, beta-shipped response shape without a compatibility projection or approved migration boundary.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab 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: The PR provides focused tests and CI, but no after-fix result from a real authenticated meeting-browser flow; add redacted live terminal output, logs, or a recording showing a manual-action result and the resulting blocked retry/speech behavior. 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

What I checked:

  • Changed public result shape: The branch removes manualActionRequired, manualActionReason, and manualActionMessage from shared meeting health and introduces a single optional manualAction object, which changes the documented plugin-facing result consumed outside the implementation. (src/meeting-bot/session-types.ts:37, 3db70d57d67c)
  • Docs confirm the old contract was public: The branch updates Google Meet and meeting-plugin documentation from the legacy fields to manualAction, so this is a user-visible tool-result contract change rather than an internal-only refactor. Public docs: docs/plugins/google-meet.md. (docs/plugins/google-meet.md:120, 3db70d57d67c)
  • Prior review blocker remains applicable: The previous completed ClawSweeper review raised a P1 request to preserve the documented manual-action response contract. The new head still performs a clean removal of that contract; the PR body describes it as a beta-only breaking change but provides no compatibility or deprecation path. (src/meeting-bot/platform-adapter.ts:179, 3db70d57d67c)
  • No after-fix real behavior proof: The PR body reports focused tests and hosted checks but explicitly states that no disposable authenticated meeting/browser fixture was available. Those checks validate implementation paths but do not show the changed emitted result in a real browser flow. (3db70d57d67c)

Likely related people:

  • steipete: The available PR history shows this person authored the current cross-plugin meeting-runtime refactor and assigned the PR, making them the clearest available routing contact; broader merged-history ownership was not established from the supplied review evidence. (role: recent area contributor; confidence: low; commits: 3db70d57d67c; files: src/meeting-bot/session-types.ts, src/meeting-bot/platform-adapter.ts, extensions/google-meet/src/runtime.ts)

Rank-up moves

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

  • Get maintainer approval for the legacy-field migration policy or implement the recommended temporary projection.
  • Attach redacted real browser evidence for one manual-action state; update the PR body so ClawSweeper can re-review automatically, or ask a maintainer to comment @clawsweeper re-review if needed.

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 (1 earlier review cycle)
  • reviewed 2026-07-27T03:01:41.681Z sha 07483bc0990dffea966ca00293642e15ee202bc3 :: needs real behavior proof before merge. :: [P1] Preserve the documented manual-action response contract

@steipete steipete self-assigned this Jul 27, 2026
@steipete
steipete force-pushed the refactor/meeting-manual-action branch from 07483bc to 3db70d5 Compare July 27, 2026 03:15
@steipete
steipete merged commit e717d24 into main Jul 27, 2026
115 checks passed
@steipete
steipete deleted the refactor/meeting-manual-action branch July 27, 2026 03:25
@steipete

steipete commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Merged via squash.

The meeting browser-health model now represents a manual blocker as one optional manualAction: { reason, message } object across the shared meeting runtime plus Google Meet, Microsoft Teams, and Zoom. This removes the incomplete combinations admitted by the former manualActionRequired / manualActionReason / manualActionMessage triplet while preserving the same operator instructions and blocker detection.

This is an intentional beta-only clean cutover for the model-facing plugin tool-result and plugin-CLI diagnostic shape shipped in v2026.7.2-beta.3 through v2026.7.2-beta.5. A fresh origin/main audit found no legacy-field consumer in Gateway protocol types, Gateway server-method serializers, Control UI, or core CLI paths, so no boundary compatibility projection was added. The Google Meet and meeting-plugin docs now describe only the closed shape.

Proof:

  • Exact-head CI: https://github.com/openclaw/openclaw/actions/runs/30234170027 — green for prepared head 3db70d57d67c9663ef9993ba6246e8dca0c13593.

  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 114247 — hosted exact/recent-parent gates passed; prep head matched the PR head.

  • AR="$HOME/.claude/skills/autoreview/scripts/autoreview"; "$AR" --mode branch --base origin/main — clean, no accepted/actionable findings.

  • Focused meeting proof on the byte-identical pre-rebase patch: 61 files and 648 tests passed; hosted format, Plugin SDK contract, boundary, lint, and core/extension typecheck gates passed. git patch-id --stable matched before and after rebase.

  • Live meeting/browser proof remains unavailable because no authorized disposable authenticated fixture was available; the focused browser-script and runtime tests exercise the emitted closed result without claiming live proof.

  • Prepared head SHA: 3db70d57d67c9663ef9993ba6246e8dca0c13593

  • Landed commit: e717d24c2e7b3a72d39fa9c7cbbb96af2a90d646

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. plugin: google-meet plugin: teams-meetings Teams Meetings plugin plugin: zoom Zoom plugin rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: L 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