RFC 0029: External Automation Deadlines and Schedule-Only Occurrences - #59
RFC 0029: External Automation Deadlines and Schedule-Only Occurrences#59omarshahine wants to merge 4 commits into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed September 5, 2026, 1:14 PM ET / 17:14 UTC. ClawSweeper reviewWhat this changesAdds a draft RFC for projecting Automation deadlines to managed hosts while deferring externally completed occurrences. Merge readiness⛔ Blocked before merge - 5 items remain Keep open: the proposed registrar contract is not present on the target default branch. The refresh addresses the prior overlap concern, but maintainer acceptance remains outstanding. Priority: P3 Review scores
Verification
How this fits togetherThis repository records OpenClaw design proposals. The proposed registrar receives reconciled scheduler deadlines and arranges host compute availability, while OpenClaw retains responsibility for executing and recording Automation runs. flowchart TD
A[OpenClaw job schedules] --> B[Reconciled deadline inventory]
B --> C[Plugin deadline registrar]
C --> D{Host accepts replacement}
D -->|Accepted| E[Durable deadline record]
D -->|Rejected or superseded| C
E --> F[Activate or retain compute]
F --> G[OpenClaw executes and records occurrence]
Decision needed
Why: A permanent Plugin SDK contract and RFC acceptance require maintainer intent; the document's technical consistency cannot establish either. Before merge
Agent review detailsSecurityNone. Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Standardize only a justified, bounded deadline-registration contract over existing hooks, keeping host storage deployment-owned and external occurrence completion deferred. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes a future contract and does not report or implement a reproducible runtime fix. Is this the best way to solve the issue? Unclear: reusing existing projection hooks is a coherent direction, but maintainers must decide whether shared registrar types improve sufficiently on deployment-local adapters. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 967d9aac7472. LabelsLabel 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
HistoryReview history (1 earlier review cycle)
|
Summary
This draft asks Automations, Plugin SDK, and host maintainers whether to standardize the remaining external deadline registrar contract. OpenClaw keeps ownership of jobs, schedules, occurrences, execution, and history. The host arranges compute availability from a reconciled projection; host activation cannot complete an Automation run.
Current implementation status
Refreshed on 2026-09-05 against OpenClaw main
bdd75d44c561, with RFC repository main967d9aamerged into this branch without rewriting published history.cron_reconciled,cron_changed, exact scheduler access, and lifecycle cancellation. Supporting PRs #103647 and #104368 merged in July.scheduleOnlywith externally claimed and completed occurrences. Current main has neither awakenorscheduleOnlycron payload.The landed prerequisites do not complete this RFC.
Proposed decision
Relationship to RFC #5
RFC #5 now proposes per-job external shell/command dispatch while preserving OpenClaw's canonical jobs, admission, and history. This refresh corrects the older description of an external canonical scheduler.
Phase-one deadline projection and external payload execution remain distinct. Any future
scheduleOnlyprotocol must converge with RFC #5 on one owner, admission, fencing, receipt, and history contract. Neither draft claims maintainer acceptance of that future contract.Validation
dc1519a51b4eand reviewed the existing feedback on this PR.git diff --check.Outstanding acceptance gates
The required
maintainer-discussionthread is not linked in this draft or PR. Maintainers still need to decide the registrar scope and future relationship to RFC #5. Acceptance and an implementation issue are required before changing the RFC status or merging it. This refresh leaves the RFC open anddraft.