faf_sync
Sync .faf files with CLAUDE.md to maintain documentation consistency across projects.
Instructions
Sync .faf with CLAUDE.md
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers/tools.ts:631-654 (handler)The handleFafSync function implements the logic for the faf_sync tool by calling the sync method on the engineAdapter.
private async handleFafSync(_args: any): Promise<CallToolResult> { // ✅ FIXED: Prefixed unused args const result = await this.engineAdapter.callEngine('sync'); if (!result.success) { return { content: [{ type: 'text', text: `🔄 Claude FAF Sync:\n\nFailed to sync: ${result.error}` }], isError: true }; } const output = typeof result.data === 'string' ? result.data : result.data?.output || JSON.stringify(result.data, null, 2); return { content: [{ type: 'text', text: `🔄 Claude FAF Sync:\n\n${output}` }] }; } - src/handlers/tools.ts:74-80 (registration)The tool definition for faf_sync registered in the handlers list.
name: 'faf_sync', description: 'Sync .faf with CLAUDE.md', inputSchema: { type: 'object', properties: {}, } }, - src/handlers/tool-types.ts:45-47 (schema)Type definition for the arguments of faf_sync tool.
export interface FafSyncArgs { direction?: string; }