> ## Documentation Index
> Fetch the complete documentation index at: https://committ.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Task Store

> Read-only SQLite task cache for the Dashboard.

# Task Store

The useTaskStore holds the cached list of tasks fetched from the local SQLite database. It is a lightweight read-only store populated by the useTasks hook.

***

## State Shape

| Field     | Type       | Purpose                                         |
| :-------- | :--------- | :---------------------------------------------- |
| tasks     | Task array | Array of tasks from local\_tasks table          |
| isLoading | boolean    | Whether the initial SQLite query is in progress |

***

## Data Source

Unlike most stores that receive data from user actions, this store is populated by SQLite queries. The useTasks hook reads from the local\_tasks table and updates this store, which the Dashboard commits.tsx screen consumes for rendering.
