Skip to content

Add wait-for-events skill to orchestration plugin - #10

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

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

Conversation

@seemeroland

@seemeroland seemeroland commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Add the dedicated wait-for-events skill, mirrored from Warp and linked from child orchestration, so Codex children can await an expected parent reply without completing the task. Completed assignments still require oz-finish-task.

The skill explains targeted run IDs, inbox draining, immediate turn-ending after registration, event resumption, rejection handling, and re-registering remaining waits. Bump the orchestration plugin and marketplace to 0.4.3 so existing installs receive the addition.

QUALITY-2393. Requires the new Warp CLI and server API stack ending at https://github.com/warpdotdev/warp-server/pull/21020 before rollout.

Companions: Warp CLI, Claude skill, server prompts. Publish this plugin before the CLI minimum-version bump; the new wait path requires that CLI and API.

Validation

  • bash tests/test-hooks.sh: 65 passed.
  • Cross-repository skill-body and marketplace/plugin version consistency checks: passed.
  • No hooks changed. Live Codex wait/resume was not exercised against the unmerged API.

@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

@warp-agent-staging warp-agent-staging Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed skill guidance and plugin metadata. Expected-parent waits remain distinct from task completion. Hook tests: 65 passed; current CI: 6 successful checks, including Windows hooks. Live Codex wait/resume was not exercised. Accepted, subject to API/CLI availability before rollout.

View in factory

seemeroland added a commit to warpdotdev/warp that referenced this pull request Nov 17, 2026
## 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.

CLI/API support only: no bundled skill, orchestration prompt, minimum
plugin-version, desktop Waiting UI, or idle-timeout changes.
[Launch-gated skill
#16874](#16874) is independent
and remains draft until launch. This CLI PR does not depend on the skill
changes or plugin releases.

The endpoint is supplied by the server API stack ending at
warpdotdev/warp-server#21020. This supersedes
closed #15589. Other launch companions: [Claude
skill](warpdotdev/claude-code-warp#105), [Codex
skill](warpdotdev/codex-warp#10), [server child
prompts](warpdotdev/warp-server#21704).

## Linked Issue

[QUALITY-2393](https://linear.app/warpdotdev/issue/QUALITY-2393/add-targeted-wait-for-events-cli-and-third-party-harness-skills)
- [ ] 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 on the CLI-only
revision. Covers parser targets, authenticated request/response and
rejected registration, plus unchanged plugin-manager compatibility.
- `cargo clippy -p warp_cli -p warp --all-targets --tests -- -D
warnings`: passed.
- `./script/format`: applied last; `git diff --check` 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
- [x] 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.

<!-- warp:pr-description-artifacts start -->
<!-- warp:pr-description-artifacts end -->

---------

Co-authored-by: warp-agent-staging[bot] <240773466+warp-agent-staging[bot]@users.noreply.github.com>
seemeroland added a commit to warpdotdev/warp that referenced this pull request Nov 30, 2026
## Description
Add a dedicated `wait-for-events` skill and link it from child
orchestration. Children wait only for expected parent responses;
completed or stopped work uses `oz-finish-task`.

**Launch hold: keep this PR draft until the new waiting logic and server
changes are ready.** Split from [CLI-only
#16807](#16807), which can merge
independently. No minimum plugin-version changes are required or
included.

Companions: [Claude
#105](warpdotdev/claude-code-warp#105), [Codex
#10](warpdotdev/codex-warp#10), [server child
prompts #21704](warpdotdev/warp-server#21704).
Enable this guidance only after the API and CLI are available.

## Linked Issue

[QUALITY-2393](https://linear.app/warpdotdev/issue/QUALITY-2393/add-targeted-wait-for-events-cli-and-third-party-harness-skills)

## Testing
Reviewed the two-file copy-only diff; checked required skill frontmatter
fields, balanced fences, and `git diff --check`. No executable code
changed, so no behavioral tests or Rust formatter apply. Live harness
wait/resume and prompt evals were not exercised.

CI is not green: [Check CI
results](https://github.com/warpdotdev/warp/actions/runs/43986661474/job/133716453207)
reports `Job params had unexpected status skipped (expected: success)`
while draft jobs are skipped. No bot approval is claimed for this held
draft; check CI again when launch permits readying it.

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode

CHANGELOG-NONE

<!-- warp:pr-description-artifacts start -->
<!-- warp:pr-description-artifacts end -->

---------

Co-authored-by: warp-agent-staging[bot] <240773466+warp-agent-staging[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant