@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
22 lines • 1.12 kB
TypeScript
/**
* KILL-PRESENCE: kill the engine before and after the durable pause record and the durable resume record, then restart
* on the same medium (01-04) or retry in the surviving process (05), and check that IDs are stable and the bookkeeping
* intact (no lost or duplicated record) and that a resume is applied exactly once (senpi#5652, plan §3.5). Placement:
* everywhere.
*/
import type { AdmissionLine, StoreConformanceAdapter } from "@earendil-works/pi-agent-core/conformance";
export interface KillPresenceDeclaration {
readonly id: string;
readonly op: "pause" | "resume";
readonly at: "before" | "durable";
readonly placement: "everywhere";
}
/** The durable medium under test and the admission line every writer on one store epoch shares. */
export interface KillPresenceAdapter extends StoreConformanceAdapter {
createAdmission(): AdmissionLine;
}
export interface KillPresenceCase extends KillPresenceDeclaration {
run(adapter: KillPresenceAdapter): Promise<void>;
}
export declare const KILL_PRESENCE_CASES: readonly KillPresenceCase[];
//# sourceMappingURL=kill-presence.d.ts.map