Automating with GitHub Actions? Use the official kdx-sync-action for zero-configuration CI/CD deployments. See the CI/CD Integration guide for complete setup instructions.
Overview
Thekdx sync command enables GitOps workflows for Kodexa platform metadata. Store your organization and project configurations in version control, review changes through pull requests, and promote configurations across environments with confidence.
Key Benefits
Version Control
Track all metadata changes in Git with full history and audit trails
Code Review
Review infrastructure changes through pull requests before deployment
Multi-Environment
Promote tested configurations from dev → staging → production
Offline Validation
Validate changes locally before pushing to remote environments
Repository Layout
Metadata is organized under akodexa-resources/ root directory with a hierarchical structure:
Organization-Level Resources
These resources are shared across multiple projects:- Data Definitions - Classification hierarchies and metadata schemas (formerly taxonomies)
- Data Forms - UI form configurations for task review and data entry
- Data Stores - Document, vector, or graph storage configurations
- Exception Types - Definitions for validation exceptions and error categories
- Knowledge Item Types - Templates for rule definitions
- Knowledge Feature Types - Generic capability definitions
- Knowledge Feature Instances - Environment-specific deployments of features
- Knowledge Sets - Collections of knowledge items for extraction guidance
- Labels - Classification labels for organizing resources
- Modules - ML models and custom modules for classification or extraction
- Project Templates - Reusable project configurations for bootstrapping new projects
- Prompt Templates - Reusable prompts for AI assistants
- Service Bridges - External API proxy endpoints with centralized authentication
Project-Level Resources
Project-specific configurations nested underprojects/<project-slug>/:
- Project metadata - References to shared resources and environment mappings
- Task Templates - Definitions for review tasks, including plan templates that orchestrate sub-tasks and execution steps
- Task Statuses - Workflow status definitions for tasks (e.g., Draft, In Review, Approved)
- Knowledge Items - Project-specific knowledge implementations
- Assistants - AI assistant configurations
- Assistant Connections - Connections between assistants and other resources (stores, tasks, channels)
- Project Links - Links to org-level resources (taxonomies, data forms, stores) used by the project
What’s Next
Getting Started
Step-by-step tutorial for your first sync workflow
Configuration
Set up environments, targets, and branch mappings
Manifests & Resource Types
Define what resources to sync
Pull, Push & Discover
Sync commands and discover mode
Conflict Detection
How changeSequence prevents stale overwrites
CI/CD Integration
Automate with GitHub Actions
