fix(ci): repair guidance and stabilize detection timeout proof - #732
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
PR SummaryLow Risk Overview Guidance contracts: The bundled skill again shows a read-only Flaky Core test: Reviewed by Cursor Bugbot for commit ccd8f38. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 1:55 PM ET / 17:55 UTC (Revision 5). ClawSweeper reviewWhat this changesThis PR strengthens agent-guidance checks, repairs documentation links, restores a task-scoped clipboard example, adds guidance validation to macOS CI, and replaces a timing-sensitive detection test with gated work. Merge readiness✅ Ready for maintainer review The prior conflict blocker is resolved, and no actionable defect remains in the reviewed diff. Main contains the overlapping matcher repair, but the additional coverage, documentation corrections, CI wiring, and timeout fixture remain useful distinct work. Priority: P2 Review scores
Verification
How this fits togetherPeekaboo’s guidance teaches agents how to operate its macOS CLI safely, while CI checks that guidance against supported commands. The detection timeout fixture verifies that UI observation can return a timeout without waiting for noncooperative work. flowchart TD
A[Agent guidance] --> B[Guidance contract tests]
C[macOS CI] --> B
C --> D[Detection timeout test]
D --> E[Blocked observation work]
D --> F[Timeout returns before release]
B --> G[Validation results]
F --> G
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Retain main’s shared guidance matcher and land the focused validation and documentation improvements with the gated timeout invariant. Do we have a high-confidence way to reproduce the issue? No deterministic reproduction was established in this review: the original fixture depends on scheduler timing, and the captured body links a historical 468 ms failure. Source inspection confirms the brittle wall-clock assertion remains on main. Is this the best way to solve the issue? Yes. The patch reuses main’s matcher and verifies timeout return before releasing blocked work, avoiding the original tight elapsed-time assertion without changing production semantics. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a744b91e70b8. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
Strengthen selected-CLI guidance checks and remove a scheduler-sensitive timeout-test failure. Main’s direct support for literal
peekabooand selected"$PB"commands is preserved; this PR extends the app/PID unsafe/safe matrix, restores the read-only clipboard example and assertion, repairs published guide links, and runs guidance validation in regular macOS CI.The timeout fixture confirms that the runner’s own operation entered, receives the expected timeout while work remains gated, then releases and drains it. Its watchdog fails an accidental join. Production timeout behavior and main’s #730 window-close implementation, tests, and CI coverage are unchanged.
Validation for
ccd8f3837401cbcffae3596670da86b9bd1bab44:Regression evidence: guidance failure and the 468 ms Core fixture failure. No tests were deleted or skipped to obtain green results. This is the prerequisite for dependency PR #731.