Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

454 B
Raw Blame
/**
 * Persisted task-metadata boolean flags.
 *
 * Contract: a metadata boolean is `true`/`'true'` when set and `false`/`'false'`
 * when cleared (TASKS.md round-trips values as strings); anything else is unset.
 * A bare `if (metadata.x)` is a bug for exactly that reason — `'false'` is truthy.
 */
export const isTruthyMeta = (value) => value === true || value === 'true';
export const isFalsyMeta = (value) => value === false || value === 'false';