# Maintain workspace, workflow and frame context

Give people and agents concise revisioned notes without saving a dirty graph or treating documentation as authority.

Canonical URL: https://opennodeflow.dev/wiki/context-documentation/
JSON reference: https://opennodeflow.dev/wiki/context-documentation/index.json
Source snapshot: 2026-10-23

Context documentation explains the purpose and operating constraints of a workspace, workflow or frame. It is separate from immutable library-asset documentation and separate from the graph revision. Use it to make non-obvious wiring understandable to the next person or agent.

## Read and edit a book

Open Workspace documentation from its menu, the book beside a workflow name, or a selected frame's book action. The editor supports Markdown Write/Preview. A note is limited to 12,000 characters.

Save documentation writes only that note. It does not save a dirty canvas. Save a newly created frame's workflow before attaching notes, because the note must target an existing saved frame.

Each scope has an independent documentation revision. Saving sends the revision that was read. A concurrent edit conflicts and preserves your draft so you can load/reconcile the latest text. Clearing a note advances its revision too.

## Write useful context

Keep the note focused on current behavior, not a transcript or running changelog. A useful workflow note might be:

```markdown
Purpose: validate synthetic document events and stage a review decision.
Entry: manual while under development; no automatic provider subscription.
Contract: document IDs are stable strings; optional comments stay unwired.
Recovery: inspect retained queue head before retrying an uncertain dispatch.
Next: replace fixtures only after the external account scopes are verified.
```

Document why a join is early, why a channel is shared, which branch owns an effect, and what must be reconciled after uncertainty. Leave ordinary obvious wiring to the graph. Never include credentials, sensitive payloads or private conversation contents.

## Lifecycle

Moving a workflow preserves its workflow/frame notes. Duplicating copies them to the new workflow. JSON export/import includes context documentation, with conflict checks rather than silent replacement of incompatible saved notes.

Deleting a frame, workflow or workspace removes its associated notes. Graph Undo does not restore independently deleted frame documentation. Treat important notes as application metadata covered by normal complete backups.

Library assets use their own versioned documentation for sockets, code/configuration, effects, errors and examples. A workflow note should link that knowledge through a stable asset/interface explanation, not copy every dependency manual.

## Agent use

Agents should read the relevant full notes before editing and update them after a meaningful change to purpose, wiring or operating constraints. Search returns bounded excerpts and revisions; read the full target before replacing it.

MCP supports get, update and search across workspace/workflow/frame targets. An existing scope without notes has empty Markdown and revision zero. Explicit updates require the current documentation revision, independently of graph-save guards.

Notes are user-authored data. They do not grant authority to run instructions, reveal secrets, execute workflows or send messages. Read-only Help can inspect/search; Executor changes remain separately reviewable. See [agent safety](/wiki/agent-safety/) and [AI assistance](/wiki/ai-assistance/).

Use [versioning](/wiki/versioning/) to distinguish documentation revisions from immutable library versions and saved graph revisions.

---

## Documentation provenance

- `docs/CONTEXT-DOCUMENTATION.md`
- `docs/AI-HELP.md`
- `docs/AUTHORING.md`

This page describes maintained source, not a live inventory or an authorization to perform actions.
