> For the complete documentation index, see [llms.txt](https://intuitem.gitbook.io/ciso-assistant/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://intuitem.gitbook.io/ciso-assistant/concepts/operations/tasks.md).

# Tasks

Recurring and one-off operational work tracked against assignees, schedules, and evidence

Tasks are how CISO Assistant tracks the operational work that keeps controls effective: the weekly access review, the monthly backup test, the quarterly policy refresh, the one-off offboarding checklist. They are deliberately separate from applied controls — a control says *what is done*; a task says *that someone has actually done it on a given date*.

## Mental model

```mermaid
graph LR
  TT[Task template] -->|spawns| TN[Task occurrence]
  TT -.->|recurrence| SCH[Schedule]
  TT -->|assigned to| ACT[Actor]
  TT -.->|maintains| AC[Applied control]
  TN -.->|produces| EVR[Evidence revision]
```

The task template is the definition — assignee, recurrence rule, expected evidence — and the task occurrence is the actual unit of work scheduled from it. The schedule is a JSON field describing the cadence (DAILY / WEEKLY / MONTHLY / YEARLY with the usual iCalendar refinements), rendered in words wherever it's displayed — *Monthly*, *Every 3 months* — rather than as the raw rule. Templates can be wired to many other objects — applied controls being the canonical one (the "maintains" semantics: this work keeps that control healthy) — and when an occurrence is completed, the evidence revision it produces is back-linked through `task_node` so the audit trail closes the loop.

| User-facing                | Internal                              | Notes                                                                                   |
| -------------------------- | ------------------------------------- | --------------------------------------------------------------------------------------- |
| Task definition / template | `TaskTemplate`                        | One spec, one schedule                                                                  |
| Task occurrence            | `TaskNode`                            | One scheduled run                                                                       |
| Schedule                   | `schedule` JSON field on the template | iCal-style recurrence rule; shown in words in the tasks table and the occurrences panel |

## Definition vs occurrence

Tasks come in two layers, mirroring the **template → instance** pattern used elsewhere in the platform:

* A **task definition** is the reusable spec — the title, description, assignee, expected evidence, and the recurrence rule (`every Monday`, `the 1st of each month`, `every 90 days`). It says *what should happen* and *how often*. Internally a `TaskTemplate`.
* A **task occurrence** is a single scheduled run produced from a definition — the actual row with a due date, a status (pending → in progress → completed / cancelled), and the evidence collected when the work was done. Internally a `TaskNode`.

A one-off task is just a definition that produces a single occurrence.

With [commitment management](/ciso-assistant/concepts/operations/commitments.md) enabled, a one-off definition can also carry a **commitment** — the delivery date its assignee has actually promised, tracked separately from the task date. Recurring definitions cannot: a recurring definition is a template, not a single promise.

## Lifecycle

1. **Define.** Create a task definition with the assignee, the cadence, and what's expected when the task runs.
2. **Schedule.** Occurrences are materialised from the recurrence rule. The platform creates them as their due dates come into view, so the list of upcoming work is always visible.
3. **Work the occurrence.** When a due date arrives, the assignee opens the occurrence, records what they did, attaches evidence, and marks it completed.
4. **Iterate.** Edit the definition to adjust the cadence, assignee, or expected evidence — existing occurrences keep their state; future occurrences pick up the change.

## Why tasks (and not just calendar reminders)

The point of tracking tasks inside the platform — rather than in a calendar or ticketing system — is so that the **evidence** of execution lives next to the rest of your compliance record. An auditor asking "show me proof of monthly backup testing" can be answered by pointing at the task and walking through the completed occurrences with their attached evidence.

## Related

* [Applied controls](/ciso-assistant/concepts/operations/applied-controls.md)
* [Evidence](/ciso-assistant/concepts/compliance/evidence.md)
* [Vocabulary → Task definition / Task occurrence](/ciso-assistant/introduction/vocabulary.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://intuitem.gitbook.io/ciso-assistant/concepts/operations/tasks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
