# CoordinationDoc

**Kind:** Class

**Source:** [`atloria-monorepo/libs/agent-core/src/context/coordination-doc.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/libs/agent-core/src/context/coordination-doc.ts#L20)

## Methods

| Method | Signature | Returns |
|---|---|---|
| `toMarkdown` | `toMarkdown()` | `string` |
| `getSection` | `getSection(title: string)` | `CoordinationSection | undefined` |
| `getSectionTitles` | `getSectionTitles()` | `string[]` |
| `setSection` | `setSection(title: string, content: string, updatedBy: string)` | `void` |
| `appendToSection` | `appendToSection(title: string, content: string, updatedBy: string)` | `void` |
| `removeSection` | `removeSection(title: string)` | `boolean` |
| `clear` | `clear()` | `void` |
| `isEmpty` | `isEmpty()` | `boolean` |

## Where it refuses work

- `CoordinationDoc` stops the work with an early return when `this.sections.size === 0`.
