Skip to content

Documentation Sync

Alessio Rocchi edited this page Jan 27, 2026 · 1 revision

Documentation Sync

Keep documentation synchronized with codebase changes.


Workflow

  1. Researcher identifies code changes
  2. Documentation agent updates docs
  3. Reviewer validates accuracy

Implementation

const session = await memory.createSession({
  type: 'doc-sync',
  module: 'authentication'
});

// 1. Research changes
const researcher = spawnAgent('researcher', { sessionId: session.id });

// 2. Update docs
const docAgent = spawnAgent('documentation', { sessionId: session.id });

// 3. Validate
const reviewer = spawnAgent('reviewer', { sessionId: session.id });

Automation

Use workflow engine to automatically trigger doc sync when code changes

Related:

Clone this wiki locally