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
Create an executable, implementation-independent certification plane for Coven Automations v1. A release must prove—not merely claim—that schedule semantics, state transitions, identity/authority binding, crash recovery, duplicate prevention, privacy controls, and client compatibility hold at the exact candidate revision and in the packed artifacts users install.
The same work must give operators safe diagnostics for missed, duplicated, stuck, unauthorized, stale-identity, repeatedly failing, cancelled, ambiguous, or delivery-failed automations without editing SQLite directly.
Conformance architecture
Add a standalone runner and versioned vectors, for example:
secret/prompt/memory/path leakage in logs and errors;
retention/redaction/erasure with minimum audit evidence retained.
Cross-repository canaries
Pin immutable producer artifacts and prove:
SDK generated types and verifier accept all valid vectors and reject invalid ones;
Cave projections/reducers render duplicate/reconnect/recovery states truthfully;
Psyche adapter preserves automation/occurrence/run/attempt and binding correlation;
Familiar Contract and Threads vectors bind exactly as expected;
runtime descriptors/capabilities are selected and pinned correctly;
released/packed artifacts work without source-relative imports.
Golden end-to-end scenarios
At minimum:
paused creation and explicit activation;
twice-daily familiar routine;
daemon restart before due time;
daemon restart after claim;
sleep through multiple occurrences with latest-only misfire;
DST spring gap;
DST fall fold;
duplicate scheduler process;
run-now command replay;
runtime unavailable before launch;
runtime lost after possible side effect;
timeout and cancel race;
delivery commit failure after successful runtime outcome;
revoked familiar revision;
approval required/approved/consumed;
approval expired or replayed;
runtime capability downgrade;
repeated retryable failure and quarantine;
event subscriber disconnect/replay with duplicates;
legacy Codex import remains paused and source-preserving;
retention/redaction without broken receipt verification;
direct Coven and Psyche-orchestrated runs sharing one binding/receipt contract.
Load and SLO certification
Define a supported local profile and measure at least:
definitions and due occurrences per minute;
planning, claim, dispatch, and start latency distributions;
scheduler pass duration;
queue depth and oldest eligible age;
active runs and runtime admission pressure;
SQLite write contention and busy retries;
event/changefeed throughput and replay latency;
database/log/receipt growth over retention windows;
restart recovery latency;
CPU and memory at idle and under load.
Ratify release SLOs from measured baselines. The gate must include zero duplicate dispatches for a single fence, zero silent eligible-occurrence loss, zero false success under injected failures, and bounded recovery/resource growth.
Operator diagnostics
Add a stable diagnostic surface through CLI and control actions, with read-only behavior unless an explicit safe operation is requested:
Canonical agent bootstrap/check commands and PR evidence packets are enforced.
Non-goals
Claiming legal/security certification beyond the tested profiles.
Replacing normal unit/integration tests with one end-to-end suite.
Hiding unsupported states behind a generic health badge.
Auto-repairing ambiguous external side effects.
Bead packet
Create one P0 certification Bead mapped exactly to this issue. It depends on #855, #856, and #857 and blocks every v1 release/public reliability claim. Child tasks may partition vectors, runner, diagnostics, chaos, load, security/privacy, and cross-repo canaries, but completion requires one exact-release evidence packet.
Parent program: #854
Depends on: #855, #856, #857
Foundation evidence: #816
Outcome
Create an executable, implementation-independent certification plane for Coven Automations v1. A release must prove—not merely claim—that schedule semantics, state transitions, identity/authority binding, crash recovery, duplicate prevention, privacy controls, and client compatibility hold at the exact candidate revision and in the packed artifacts users install.
The same work must give operators safe diagnostics for missed, duplicated, stuck, unauthorized, stale-identity, repeatedly failing, cancelled, ambiguous, or delivery-failed automations without editing SQLite directly.
Conformance architecture
Add a standalone runner and versioned vectors, for example:
Requirements:
Conformance profiles
Do not collapse all confidence into one
compliantbit. Publish at least:Every result must name exactly which profile and artifact versions passed.
Required test inventory
Unit and property tests
Deterministic virtual-time tests
Crash/restart and fault injection
Inject failure before/after every durable and external boundary:
Duplicate and fencing tests
Security, authority, and privacy tests
Cross-repository canaries
Pin immutable producer artifacts and prove:
Golden end-to-end scenarios
At minimum:
Load and SLO certification
Define a supported local profile and measure at least:
Ratify release SLOs from measured baselines. The gate must include zero duplicate dispatches for a single fence, zero silent eligible-occurrence loss, zero false success under injected failures, and bounded recovery/resource growth.
Operator diagnostics
Add a stable diagnostic surface through CLI and control actions, with read-only behavior unless an explicit safe operation is requested:
doctorshould report:No diagnostic should recommend deleting rows or blindly rerunning ambiguous mutating work.
Agent-readiness and CI interface
Integrate with the organization contract:
fastcovers deterministic unit/schema/state vectors without network or ambient credentials.fullcovers integration, restart, packed artifacts, and all locally supported profiles.Evidence packet
Every automation-affecting PR must include:
The final release packet additionally pins source commit, dependency lockfiles, packed artifact digests, conformance runner/vector versions, environment matrix, and all profile results.
Acceptance criteria
Non-goals
Bead packet
Create one P0 certification Bead mapped exactly to this issue. It depends on #855, #856, and #857 and blocks every v1 release/public reliability claim. Child tasks may partition vectors, runner, diagnostics, chaos, load, security/privacy, and cross-repo canaries, but completion requires one exact-release evidence packet.