@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
21 lines (20 loc) • 1.19 kB
TypeScript
export declare const taskFormatMigrationHint = "Task metadata is not enabled for this store. Upgrade every CLI, MCP, Hook, sync and app writer first; an owner can then run phren task format enable --all-writers-compatible. Existing writers must be replaced through the coordinated adoption workflow.";
/** An explicit store-owner acknowledgement, not inferred from one serving Hook.
* It cannot fence an old binary that ignores this file: coordinated adoption of
* every writer remains a prerequisite, and is stated at the activation boundary. */
export declare function taskFormatStatus(base: string): {
enabled: boolean;
version: 1;
acknowledgedAt?: string;
};
/** Wire status describes admission, never proof that old filesystem/Git writers
* have been upgraded. Such writers do not consult our activation file. */
export declare function taskWriterSafety(base: string): {
version: 1;
metadataVersion: 1;
activation: "disabled" | "owner-acknowledged";
requiresCoordinatedAdoption: true;
legacyWritersFenced: false;
acknowledgedAt?: string | undefined;
};
export declare function enableTaskFormat(base: string, allWritersCompatible: boolean): void;