/**
 * Task type definitions matching todo.schema.json (v2.10.0).
 *
 * Consolidates types from src/types/task.ts and packages/contracts/src/task-types.ts.
 *
 * ## Type Safety Design
 *
 * - {@link Task} represents a fully-materialized task as stored in the database.
 *   Fields that CLEO's anti-hallucination rules require at runtime are marked as
 *   required (non-optional) so the type system enforces what the business rules demand.
 *
 * - {@link TaskCreate} represents the input for creating a new task. Only fields the
 *   caller MUST supply are required; everything else has sensible defaults applied
 *   by the `addTask` function.
 *
 * - {@link CompletedTask} and {@link CancelledTask} are discriminated union types
 *   that narrow `Task` for status-specific contexts where additional fields become
 *   required (e.g., `completedAt` is required when `status = 'done'`).
 *
 * @epic T4454
 * @task T4456
 */
/** Canonical origin values for the T1899 CHECK constraint. */
export const TASK_ORIGIN_CANONICAL = [
    'production',
    'test-fixture',
    'imported',
    'migrated',
];
/** Whether an origin value is a test-fixture (should be excluded from live briefing). */
export function isTestFixtureOrigin(origin) {
    return origin === 'test-fixture';
}
//# sourceMappingURL=task.js.map