This workflow describes the manual process for generating customer-facing documentation using AI analysis of internal source repositories. The process ensures quality, consistency, and customer safety while maintaining technical accuracy.
# Check for recent changes in source repositories
cd ../aifabrix-miso
git log --oneline --since="1 week ago" -- docs/
cd ../esystems-token-service
git log --oneline --since="1 week ago" -- docs/
cd ../Flowise
git log --oneline --since="1 week ago" -- packages/server/src/aifabrix/docs/
Skip these directories:
docs/plans/ - Internal project plansdocs/development/ - Internal development specsdocs/reports/ - Internal validation reportsAnalyze the following source repository documentation:
Repository: aifabrix-miso
Path: docs/architecture/miso-controller.md
Content: [paste source content]
Instructions:
1. Identify customer-facing information
2. Flag internal content to exclude
3. Extract key information for documentation generation
4. Identify target audience
5. Suggest documentation structure and metadata
Choose based on documentation type:
Generate customer-facing documentation:
Source Repository: aifabrix-miso
Source File: docs/architecture/miso-controller.md
Target Audience: architect, developer
Documentation Type: architecture
Source Content: [paste analyzed content]
Instructions:
1. Transform to customer-safe language
2. Remove internal references
3. Maintain technical accuracy
4. Create YAML metadata
Ensure all required fields are present:
title: "Clear, descriptive title"
meta_title: "SEO-optimized title"
description: "Brief summary for search"
slug: "url-friendly-slug"
status: "draft"
tags: ["relevant", "keywords"]
labels: ["category", "labels"]
related_articles: ["related-doc-1", "related-doc-2"]
repository:
name: "aifabrix-docs"
path: "docs/architecture/miso-controller.md"
type: "architecture"
audience: ["architect", "developer"]
content:
source_file: "docs/architecture/miso-controller.md"
last_updated: "2024-01-15T10:30:00Z"
version: "1.0.0"
owner: "product-team"
reviewer: "architecture-team"
seo:
keywords: ["AI Fabrix", "architecture", "miso", "controller"]
canonical_url: "https://docs.aifabrix.ai/architecture/miso-controller"
og_image: "images/miso-controller-preview.png"
document360:
category: "Architecture"
visibility: "public"
searchable: true
featured: true
order: 10
Validate generated documentation:
Generated Content: [paste generated content]
YAML Metadata: [paste YAML metadata]
Source: aifabrix-miso
Validation Checklist:
1. Technical Accuracy
2. Customer Safety
3. Structure and Quality
4. YAML Metadata
5. Consistency
# Create or update documentation file
cp generated-content.md docs/architecture/miso-controller.md
# Create or update YAML metadata
cp generated-metadata.yaml docs/architecture/miso-controller.yaml
# Commit changes with descriptive message
git add docs/architecture/miso-controller.md docs/architecture/miso-controller.yaml
git commit -m "docs: Update Miso Controller architecture documentation
- Generated from aifabrix-miso source documentation
- Customer-safe content with proper metadata
- Reviewed and validated for accuracy and safety"
Update docs/repository-documentation-index.yaml to reflect new or updated documentation.
Perform quality assurance review:
Document: docs/architecture/miso-controller.md
Content: [paste final content]
Metadata: [paste final YAML]
QA Checklist:
1. Content Quality
2. Customer Safety
3. Structure and Organization
4. Metadata Completeness
5. Integration
# Ensure all files are committed
git status
# Run sync script (when ready)
./sync-docs.sh --dry-run # Test first
./sync-docs.sh # Actual sync
1. Detect: New file in aifabrix-miso/docs/architecture/security-authentication.md
2. Analyze: Extract security architecture information
3. Generate: Create customer-facing security documentation
4. Validate: Check for customer safety and technical accuracy
5. Update: Add to docs/security/authentication.md
6. Sync: Publish to Document360
1. Detect: Modified aifabrix-miso/docs/user-guides/portal-usage.md
2. Analyze: Identify changes to user workflows
3. Generate: Update customer-facing user guide
4. Validate: Ensure changes are customer-appropriate
5. Update: Replace existing docs/user-guides/portal-usage.md
6. Sync: Update in Document360
1. Detect: New API endpoints in esystems-token-service
2. Analyze: Extract API reference information
3. Generate: Create comprehensive API documentation
4. Validate: Check examples and authentication details
5. Update: Add to docs/api/token-service.md
6. Sync: Publish to Document360
Remember: This is a manual process initially. Focus on quality and consistency. Once stable, we’ll automate the workflow with CI/CD integration.
Contact us and we’ll get back to you as soon as possible.
Submit a Request