RFC 0029: External Automation Deadlines and Schedule-Only Occurrences - #59
RFC 0029: External Automation Deadlines and Schedule-Only Occurrences#59omarshahine wants to merge 2 commits into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed August 4, 2026, 2:01 PM ET / 18:01 UTC. ClawSweeper reviewWhat this changesAdds RFC 0029, proposing plugin-owned reconciled Automation deadline snapshots for hosts while deferring schedule-only occurrence completion until its lifecycle contract is designed. Merge readinessKeep open. This is a current, coherent RFC draft proposing a new Automation-to-host contract; it is neither implemented on main nor safely reducible to an existing RFC without maintainer direction. Priority: P2 Review scores
Verification
How this fits togetherAutomations schedule and execute work inside OpenClaw. This proposal exports a bounded deadline view to hosts that manage compute availability without transferring ownership of Automation execution or history. flowchart LR
A[Automation schedules] --> B[Scheduler reconciliation]
B --> C[Plugin deadline snapshot]
C --> D[Host activates compute]
D --> E[OpenClaw executes automation]
E --> F[Run history]
Decision needed
Why: The choice establishes a future public contract across Automations, plugins, and hosts; repository evidence cannot determine intended product direction. Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Accept one clearly scoped host-facing Automation boundary: a read/projection registrar in phase one, with any externally completed occurrence treated as a separately approved future protocol. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a new design proposal, not a failure report. Is this the best way to solve the issue? Unclear: separating host activation from Automation completion is coherent, but maintainers must first settle the public boundary against the existing scheduler RFC. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against af708f0ddb6f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Summary
Adds a standalone RFC defining the ownership boundary between OpenClaw Automations and hosts that must keep compute available for scheduled deadlines.
The proposal keeps OpenClaw authoritative for jobs, schedules, occurrences, execution, run history, and outcomes. A plugin-owned registrar projects a bounded reconciled deadline snapshot to the host. Host activation does not create or complete an Automation run.
Why
PR openclaw/openclaw#119040 proposes a public
wakepayload that performs no payload work and records a successful run. That adds a persisted union member across Gateway schemas, tools, UI, macOS, and Android without defining an external owner or acknowledgement.The RFC separates two requirements:
cron_reconciledandcron_changedlifecycle.scheduleOnlyoccurrence whose external owner must durably claim and complete the occurrence.Proposed decision
wakefor a contract that may not wake anything.Implementation shape
The RFC defines independently reviewable slices for:
Validation
mainand open RFC PRs.git diff --check.Related work