You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ship Coven Automations v1 as the canonical local-first system for durable recurring familiar work: schedules survive restarts, occurrences are fenced and recoverable, every execution is freshly bound to identity and authority, runtimes remain replaceable workers, and Cave/SDK clients observe one Coven-owned truth.
This is not a generic cron wrapper. It is the automation profile of the OpenCoven identity → authority → orchestration → runtime → oversight stack.
SQLite definition, occurrence, lease, and run records;
RRULE-backed daily/weekly planning;
unique occurrence fencing;
bounded claim leases and expired-lease recovery;
latest-only misfire handling and overlap refusal;
daemon-side recurring tick and scheduled dispatch;
one shared runtime-launch path for scheduled and manual runs;
familiar ID propagation, bounded run logs, and atomic output delivery;
routine health, run history, and non-destructive paused legacy import;
coven.automations.* control actions;
Cave migration from direct Codex ownership to the Coven control plane.
Why this is not yet a stable v1 contract
The current implementation is a strong local scheduler foundation, but it is not yet safe to describe as a production-grade unattended familiar automation protocol:
The wire contract is implicit in Rust structs and ad hoc JSON payloads rather than independently versioned schemas and conformance vectors.
A routine is still primarily a schedule + prompt, not a modular trigger / condition / authorized action model.
Familiar binding is an optional string; exact familiar root/revision, principal authorization, capability grants, approval path, and exercised-authority receipts are not yet normative.
The scheduler uses a fixed wall-clock thread cadence and lacks a complete virtual-time, DST, cancellation, retry/backoff, shutdown, leader/fencing, and clock-jump contract.
Control actions can report transport-level acceptance while embedding domain failure inside an event payload; typed failure semantics and request idempotency need to become protocol invariants.
There is no supported SDK automation surface, canonical event/changefeed subscription, or independent receipt verifier.
Cross-repository conformance, chaos/restart certification, load/SLO evidence, and operator-grade diagnostics are incomplete.
Cave has migrated ownership, but complete oversight—authority, attempts, recovery, retry/cancel, stale identity, and compatibility retirement—still needs a deliberate product gate.
Program assessment: foundation-ready, not v1-certified. Unattended external side effects remain out of scope until the identity/authority and conformance gates pass.
A daemon crash at every consequential boundary converges without silent loss, false success, or duplicate execution.
Startup, shutdown, clock jumps, sleep/wake, definition changes, and competing local processes have explicit behavior.
Gate B — identity and authority
Every dispatched run pins authenticated principal authority, familiar root/revision, definition revision, occurrence fence, runtime descriptor, capability/approval evidence, and adopted request.
Revoked, stale, ambiguous, incompatible, or unauthorized inputs cannot dispatch.
External effects remain proposal/approval-gated until a narrowly scoped unattended grant exists.
Every terminal run emits a privacy-classified, independently verifiable Automation Receipt.
Gate C — public contract and interoperability
Versioned schemas and golden vectors are independent of implementation internals.
Additive evolution, negative capability negotiation, packed artifacts, and reconnect/replay behavior are proven.
Gate D — operations and release evidence
Missed, duplicated, stuck, unauthorized, stale-identity, repeatedly failing, ambiguous, cancelled, and delivery-failed cases are diagnosable without raw SQLite edits.
Retention, redaction, backup/recovery, incident runbooks, load/SLOs, and privacy/security profiles are exercised.
A machine-readable exact-release evidence packet supports an independent go/no-go decision.
Beads/GitHub mappings and statuses are reconciled with no orphan P0 outcome.
all P0 protocol, reliability, identity, authority, integration, certification, and tracker-control outcomes pass with exact evidence;
supported SDK, Cave, Psyche, Docs, and organization-enforcement surfaces consume the same immutable contracts;
the Beads/GitHub graph is synchronized;
one release candidate passes clean-clone, deterministic-time, crash/restart, duplicate/fencing, cross-repository, security, privacy, migration, packed-artifact, operational, and load/SLO certification.
Passing unit tests or observing one scheduled run is evidence, but not certification.
Evidence pointers — refreshed 2026-09-01
Foundation implementation and landed commits:docs/superpowers/plans/2026-08-30-coven-automations-v1-program-status.md maps the foundation claims to crates/coven-cli/src/automations/{definition,store,rrule,schedule,occurrences,daemon_tick,runner,health,runs,import_legacy}.rs, crates/coven-cli/src/control_plane.rs, and crates/coven-cli/src/api.rs, with the landed PR/commit series.
Outcome
Ship Coven Automations v1 as the canonical local-first system for durable recurring familiar work: schedules survive restarts, occurrences are fenced and recoverable, every execution is freshly bound to identity and authority, runtimes remain replaceable workers, and Cave/SDK clients observe one Coven-owned truth.
This is not a generic cron wrapper. It is the automation profile of the OpenCoven identity → authority → orchestration → runtime → oversight stack.
Final implementation assessment — 2026-08-30
What is already real
The foundation under #816 has materially landed:
coven.automations.*control actions;Why this is not yet a stable v1 contract
The current implementation is a strong local scheduler foundation, but it is not yet safe to describe as a production-grade unattended familiar automation protocol:
Program assessment: foundation-ready, not v1-certified. Unattended external side effects remain out of scope until the identity/authority and conformance gates pass.
Operational issue map
Foundation and program control
P0 — protocol and safety
coven.automations.v1schemas, lifecycle state machines, adoption/idempotency, typed errors, and durable changefeed.P1 — supported ecosystem
P2 — deliberate expansion after v1 certification
P2 work must not become an implicit prerequisite for the local recurring-routine v1.
Current execution order
.githubcompatibility/readiness workflows, then issue one exact-release go/no-go packet.Canonical ownership
coven-runtimesNon-negotiable invariants
succeededuntil runtime outcome and required delivery commit are durably recorded.Release gates
Gate A — durable local scheduler
Gate B — identity and authority
Gate C — public contract and interoperability
Gate D — operations and release evidence
Beads operating contract
The canonical graph is:
Tracker rules:
Program metrics
Track at least:
Definition of done
Coven Automations v1 is complete only when:
Passing unit tests or observing one scheduled run is evidence, but not certification.
Evidence pointers — refreshed 2026-09-01
docs/superpowers/plans/2026-08-30-coven-automations-v1-program-status.mdmaps the foundation claims tocrates/coven-cli/src/automations/{definition,store,rrule,schedule,occurrences,daemon_tick,runner,health,runs,import_legacy}.rs,crates/coven-cli/src/control_plane.rs, andcrates/coven-cli/src/api.rs, with the landed PR/commit series.docs/roadmaps/coven-automations-v1.mdanddocs/roadmaps/coven-automations-v1.mapping.jsonown the reviewed graph and release gates; the issue body remains the public program rollup.c4c9ccbadded the independent schemas, lifecycle state machines, typed errors, compatibility rules, TypeScript projection, and golden vectors underspec/coven-automations/v1/. This is landed specification evidence, not by itself v1 certification; P0: Specify coven.automations.v1 schemas, state machines, idempotency, and changefeed #855 remains open until its review and test/canary gates are reconciled.spec/coven-automations/v1/conformance-manifest.jsonis the machine-readable checklist and currently declaresreleaseState: "proposed"andproductionReady: false. P0: Build automations conformance, chaos, SLO, and operator diagnostics #858 owns the exact-release evidence packet that resolves everyrequiredSuitesentry to an immutable artifact digest and result, records Coven/SDK/Cave packed-artifact canaries plus authority/privacy/operator evidence, and is the only artifact allowed to advance those fields for the Program: Coven Automations v1 — reliable, identity-bound familiar routines #854 go/no-go rollup.