Skip to main content

Models

CTX stores project context as structured records. Each core concept has its own data model, which defines the information CTX stores and how that information is represented.

This section documents the structure of those records. It is intended for users who need to understand the data behind CTX's sessions, tasks, logs, and decisions rather than how to use these concepts in everyday work.

Data Models​

Session​

Understand the data stored for each session, including its identity, state, timing, and notes.

Task​

Understand the structure of tasks, including their status, hierarchy, descriptions, and lifecycle information.

Log​

Understand the fields stored in log records, including their timestamp, tag, message, and references.

Decision​

Understand the structure of decision records, including their topic, reasoning, tags, and references.

Models and Concepts​

The models describe how CTX stores information; they do not change what the concepts mean.

For an explanation of sessions, tasks, logs, and decisions and how they fit together, see Concepts.

The model pages are primarily useful when you need to understand the structure of a record, interpret structured output, or work with CTX data directly.