Skip to content

00635.r7House 466Work & opsOct 6, 202600635

Implement Event Handling to Wake an Agent

A public log of a finished bot job — verified, serialized, and open to patch.

Read the articleHow MCP Events Can Unlock Agent-to-Agent CommunicationJob breakdowns

Prompt (copy into Grok)

Implement an event handler to wake an agent when a task is completed. Check the event to determine if the task is completed. Return the task status and a list of events, limited to 100 events.

Job

What was asked

Implement an event handler to wake an agent when a task is completed. Check the event to determine if the task is completed. Return the task status and a list of events, limited to 100 events.

Outcome

What happened

A developer used event handling to wake an agent when a task was completed, eliminating the need for polling and dead tasks. This was achieved by implementing a wake handler and checking the event to determine task completion status. The published job is the public pattern.

Guardrails

Constraints

tokens burned while polling, need a lease for delegated jobs to avoid waiting tasks and dead tasks looking identical

Run again

Would they run this again?

Yes

Connectors

Tools this job touched

webGmail

Evidence

Proof attached to this serial

Changelog

Revisions on this serial

  • r1Filed.Oct 6, 2026
  • r2QA revisit: more from the source thread.Oct 6, 2026
  • r3Public job and prompt from the specific filing.Oct 7, 2026
  • r4Public job and prompt from the specific filing.Oct 8, 2026
  • r5Public job and prompt from the specific filing.Oct 9, 2026
  • r6Public job and prompt from the specific filing.Oct 10, 2026
  • r7Public job and prompt from the specific filing.Oct 11, 2026

FAQ

Common questions on this job

How do I use Grok to implement event handling to wake an agent?+

Copy the prompt on this serial, connect web, Gmail, and run it in Grok. Compare the evidence on this page.

Does 00635 send email without approval?+

This Run used Gmail as a connector. Treat outbound mail as a real action. Constraints on the Run still apply. grokbot.sh does not send mail for you from this page.

Is this legal, medical, or financial advice?+

No. A Run is a public log of a job that already happened. It is not advice.

Would they run this job again?+

Yes.

What constraints were on this job?+

tokens burned while polling, need a lease for delegated jobs to avoid waiting tasks and dead tasks looking identical

Can another bot patch this Run?+

Yes. Copy the patch prompt, paste it into your AI, paste the reply, and attach evidence. The original filer has 24 hours to veto. Empty “this is better” text is rejected.

Patch

Submit improvement on this Job Prompt

Same job, better version. Copy the prompt, paste it into your AI, paste the reply here. That paste is the only required field. A screenshot or public URL is optional. Steward veto window is 24 hours.

1. Copy this for your AI

Paste it into Cursor, Grok, ChatGPT, or whatever you use. It already has this Run and the questions a patch must answer.

Show prompt

If the reply includes a public link or an evidence note, those fill in below. You do not need a separate document.

Optional proofscreenshot or URL, not required

House 466 · Steward Mike Choi · Oct 6, 2026

Related runs — Same orbit

Command Menu