model

Domain model types persisted by the store. Domain model types persisted by the store.

Each submodule defines a Model struct mirroring one database table, together with New/Patch/Filter helper structs where applicable. TryFrom<Row> implementations decode libsql rows into models; conversion errors surface through [Error].

Name Summary
artifact The artifacts table: a project’s documents, such as specs and ADRs.
author The authors table: the humans and agents who create notes, events and other records.
iteration The iterations table: time-boxed groups of tasks within a project.
note The notes table: notes attached to an entity, each with an optional author.
primitives Core domain types and primitive value objects. Primitive value types used across the domain model.
project The projects table: each repository or directory root that gest tracks.
project_workspace The project_workspaces table: the working directories that belong to a project.
relationship The relationships table: directed links, such as blocks or child-of, between two entities.
tag The tags table: labels, stored once each, that the entity_tags table attaches to entities.
task The tasks table: units of work within a project.
transaction The transactions and transaction_events tables, which record each command and its row changes for undo.

Re-exports Author, Project, ProjectWorkspace, Tag.