Implement a command-line tool /app/intervaldb that manages a persistent interval database and answers range…
Implement a command-line tool /app/intervaldb that manages a persistent interval database and answers range…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Persistence: The database is stored on disk at /app/db/intervals.db . The format is up to you, but it must…
The task
**Persistence:** The database is stored on disk at `/app/db/intervals.db`. The format is up to you, but it must survive process restarts. The database directory `/app/db/` must be created if missing. The database file must be created empty if missing.
Part of ai-and/termgrade-environments.