Skip to content

Add targeted wait-for-events CLI command and harness skill - #16807

Open
seemeroland wants to merge 1 commit into
masterfrom
factory/quality-2393-wait-for-events
Open

seemeroland wants to merge 1 commit into
masterfrom
factory/quality-2393-wait-for-events

Conversation

@seemeroland

@seemeroland seemeroland commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add harness-support wait-for-events --run-ids <id>... so third-party harnesses can register targeted waits using workload credentials. The command returns the server's waiting_on_run_ids immediately; the agent must then end its turn, not complete its task.

A dedicated wait-for-events skill mirrors the native tool guidance and is linked from child orchestration. Children wait only for expected parent replies and must finish completed assignments. Updated minimum platform-plugin versions ensure cached Claude/Codex installs receive the skill. No desktop Waiting UI or idle-timeout changes are included.

Requires the server API stack ending at https://github.com/warpdotdev/warp-server/pull/21020 and the companion plugin releases before rollout. This supersedes closed #15589.

Companions: Claude skill, Codex skill, server child prompts. Merge the plugin releases before this minimum-version bump; deploy the API and CLI before enabling the new prompt guidance.

Linked Issue

QUALITY-2393

  • The linked issue is labeled ready-to-spec or ready-to-implement. Linear issue; aggregate status is managed by the foreman.
  • Where appropriate, screenshots or a short video of the implementation are included below (especially for user-visible or UI changes). Non-rendered CLI/API path; no visual proof required.

Testing

  • cargo nextest run -p warp_cli -p warp --lib -E 'test(wait_for_events) | test(plugin_manager::claude::tests) | test(plugin_manager::codex::tests)': 70 passed. Covers parser targets, authenticated request/response and rejected registration, plus plugin-manager compatibility.
  • cargo clippy -p warp_cli -p warp --all-targets --tests -- -D warnings: passed.
  • ./script/format: applied after validation.
  • Cross-repository skill-body and marketplace-version consistency checks: passed.
  • Live registration/resumption was not exercised against the unmerged server API.
  • I have manually tested my changes locally with ./script/run. Not run; verified through parser and real HTTP-client mock tests.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-OZ: Third-party agents can wait for messages from other agents without marking their tasks complete.

@cla-bot cla-bot Bot added the cla-signed label Nov 11, 2026
@warp-agent-staging

Copy link
Copy Markdown
Contributor

This PR was generated with Warp, requested by @seemeroland.

Comment @warp-staging-factory on this PR to send it follow-up work.

View run View conversation View on Slack

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

Labels

cla-signed factory:eng-factory-slim Label associated to the "eng-factory-slim" factory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant