Overview
A manifest says which resources belong to a sync target. Targets live insync-config.yaml; manifests live next to the metadata repository and list resources by slug.
Manifests let you split resources by team, customer, business unit, or deployment unit. A target can reference one manifest or many.
Manifest Format
| Field | Purpose |
|---|---|
manifest_version | Manifest format version. Use "1.0". |
metadata_dir | Directory where resource YAML files live, relative to the manifest file. |
resources | Map of resource type to resource slugs. |
projects | Optional fine-grained project resource configuration. |
modules | Optional module definition file paths relative to the sync root. |
Example: Shared Business Process
Example: Project Target
Activity-Centered Resource Shape
For new work, model orchestration around Activity Plans:| Resource | Role |
|---|---|
activity-plan | The reusable automated process definition |
task-template | The human review or approval surface created by an Activity |
task-status | Reusable status definitions for task progression |
data-definition | The business data model and validation/event behavior |
data-form | The Task review UI |
service-bridge | External calls used by Activity BRIDGE_CALL steps and scripts |
project | The bound workspace where resources are used |
trigger | The project-level event that starts an Activity |
Resource Type Reference
Use current names in new manifests. Some compatibility aliases are accepted by the CLI, but the current names below are the ones docs and examples should use.| Manifest key | Scope | Directory |
|---|---|---|
labels | Organization | labels/ |
data-definitions | Organization | data-definitions/ |
data-forms | Organization | data-forms/ |
document-stores | Organization | document-stores/ |
data-stores | Organization | data-stores/ |
modules | Organization | modules/ |
prompt-templates | Organization | prompt-templates/ |
service-bridges | Organization | service-bridges/ |
knowledge-item-types | Organization | knowledge-item-types/ |
knowledge-feature-types | Organization | knowledge-feature-types/ |
knowledge-feature-instances | Organization | knowledge-feature-instances/ |
knowledge-sets | Organization or project | knowledge-sets/ |
intakes | Organization | intakes/ |
activity-plans | Organization | activity-plans/ |
project-templates | Organization | project-templates/ |
projects | Organization | projects/ |
task-templates | Organization | task-templates/ |
task-statuses | Organization | task-statuses/ |
knowledge-items | Project | projects/<project>/knowledge-items/ |
triggers | Project | projects/<project>/triggers/ |
Module Paths
Modules can be listed inresources.modules or in the top-level modules path list. Use path entries when a module folder includes implementation files:
Push Order
kdx sync pushes in dependency order so references resolve:
- Labels
- Core organization resources: data definitions, data forms, document stores, data stores, modules, prompts, Service Bridges
- Knowledge type definitions
- Knowledge feature instances
- Intakes and Activity Plans
- Project templates and projects
- Task templates, task statuses, and knowledge sets
- Project resources such as knowledge items and triggers
metadata_dir
metadata_dir controls where resource files are stored:
| Value | Result |
|---|---|
kodexa-resources | Standard dedicated resource directory |
resources | Shorter dedicated resource directory |
. | Files live next to the manifest |
Excluding Resources
Comment out resources that exist on the server but should not be managed by this metadata repository:kdx sync pull --discover later to merge newly created server resources. Commented entries are treated as intentional exclusions and are not re-added.