docs(computer-use): fix residual intervention-lock and keyboard doc drift #5867
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.45) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 440 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.364
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5867"
general
weight: 0.35
hqhq1025
Summary
Re-creation of #4899 without the disclosed Grok-generated content, per the maintainer guidance on that PR: the original was closed on process grounds (Category X tooling under the draft ASF generative-tooling criteria), not on its merits. This PR was produced with ZCode (GLM) and every statement below was re-verified against current
maintoday.Since #4899 was opened, #5172 landed an independent audit of the same nine-document group (2026-09-12). Re-diffing that audit against the current tree shows four of #4899's five corrections are already satisfied on
main; two code-anchored corrections from the original review remain outstanding, and this PR fixes exactly those:docs/computer-use-foundation-contract.md— the intervention/lock/stop matrix row still read FAIL ("no Desktop production event producer"), but the guards are wired:createDesktopPhysicalInputGuard(idle-time viapowerMonitor.getSystemIdleTime) andcreateComputerUseScreenLockGuardare assembled inapps/desktop/src/main/desktop-native-capability-assembly.ts, andpackages/computer-use/src/maka-cu-backend.tsmaps their outcomes touser_intervened/screen_locked. The row becomes PARTIAL, retaining the point that there is still no attributable macOS event-tap producer.docs/computer-use-model-loop-foundation.md— keyboard was listed as disabled and fail closed alongside the coordinate and pixel paths, butpress_keyis a semantic action andtype/keyare implemented inmaka-cu-backend.run, where §6.4 requires each dispatch to bind to the observed target or a verified focus owner. The sentence now describes keyboard as capability-dependent.Both documents are
translation_status: source-onlywith no counterpart, so no paired-translation sync is needed;last_verifiedis refreshed on both.Refs #3522
Refs #4899
Verification
main(e6db75689) that the two previously removed test paths (apps/desktop/src/main/__tests__/computer-use-pip-motion.test.ts,apps/desktop/e2e/accessibility-coverage.spec.ts) remain absent and that every path cited in the diff resolves.createDesktopPhysicalInputGuard/createComputerUseScreenLockGuardassembly (apps/desktop/src/main/desktop-native-capability-assembly.ts:83,100), theuser_intervened/screen_lockedmapping (packages/computer-use/src/maka-cu-backend.ts), and the §6.4 focus-binding refusals for unbound keyboard dispatch.CGEventTap/ global event monitor appears only in PiP comments, not as a producer).biome formatdoes not process.md; no frontmatter/translation sync issues (both documents are source-only).npm test, Desktop E2E, Computer Use real-provider/real-machine harnesses.AI use
Select exactly one:
Tool(s) and scope:
ZCode (GLM-5.3-Flash) re-verified the original audit against current
main, drafted the two residual corrections, and prepared this PR. @daierenao remains the human contributor of record and reviewed the final diff.Checklist
Does this PR entail a change in behavior?