latest--sync.schema
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/acp-configuration-file/_shared/latest--sync.schema.json |
| Parent schema | acp-configuration-file |
Configuration for ACP tool synchronization (.acp/acp.sync.json or sync section in config)
Properties
Sync configuration version
JSON Schema URL for validation
Enable or disable sync functionality
Automatically sync when index or watch updates cache
Explicit list of tools to sync to. Empty array means auto-detect. Warning: same tool in both 'tools' and 'exclude' causes undefined behavior
Tools to never sync to, even if detected. Warning: same tool in both 'tools' and 'exclude' causes undefined behavior
Global primer generation configuration
6 nested properties
Default token budget when not specified per-tool
Default output format
Weights for multi-dimensional value calculation
4 nested properties
Weight for safety dimension
Weight for efficiency dimension
Weight for accuracy dimension
Weight for base value
Use a named weight preset as default
Enable dynamic value modifiers globally
Path to custom primer definition file
Per-tool custom configuration
Legacy content options (prefer using primer config instead)
11 nested properties
Include active hack markers in output
Include active debug sessions in output
Maximum number of protected files to list
Maximum number of variables to include
Include jq query examples
Include domain architecture summary
Include layer architecture summary
Include referenced style guide links
How to sort the protected files list
How to sort the variables list
Additional custom sections to include
User-defined tool adapters
Override default templates for tools or components
4 nested properties
Script to run before sync
Script to run after sync
Script to run on sync error
Per-tool hooks
Debounce interval for auto-sync in watch mode (milliseconds)
Definitions
Built-in or custom tool identifier
Global primer generation configuration
Default token budget when not specified per-tool
Default output format
Weights for multi-dimensional value calculation
4 nested properties
Weight for safety dimension
Weight for efficiency dimension
Weight for accuracy dimension
Weight for base value
Use a named weight preset as default
Enable dynamic value modifiers globally
Path to custom primer definition file
Per-tool primer generation configuration
Token budget for primer content
Output format for primer
Weights for multi-dimensional value calculation
4 nested properties
Weight for safety dimension
Weight for efficiency dimension
Weight for accuracy dimension
Weight for base value
Use a named weight preset
Capabilities this tool has (auto-detected if not specified)
Only include these section IDs
Exclude these section IDs
Only include these categories
Exclude these categories
Only include sections with these tags
Enable dynamic value modifiers
Weights for multi-dimensional value calculation
Weight for safety dimension
Weight for efficiency dimension
Weight for accuracy dimension
Weight for base value
Override default output path
Append to existing file instead of creating new
Custom section marker for merge operations
Override output format
Path to custom template
Disable this specific tool
Per-tool primer generation configuration
11 nested properties
Token budget for primer content
Output format for primer
Weights for multi-dimensional value calculation
4 nested properties
Weight for safety dimension
Weight for efficiency dimension
Weight for accuracy dimension
Weight for base value
Use a named weight preset
Capabilities this tool has (auto-detected if not specified)
Only include these section IDs
Exclude these section IDs
Only include these categories
Exclude these categories
Only include sections with these tags
Enable dynamic value modifiers
Legacy content options (prefer using primer config instead)
Include active hack markers in output
Include active debug sessions in output
Maximum number of protected files to list
Maximum number of variables to include
Include jq query examples
Include domain architecture summary
Include layer architecture summary
Include referenced style guide links
How to sort the protected files list
How to sort the variables list
Additional custom sections to include
Section heading
Static content or path to file
Where to insert the section
Unique adapter identifier
Output file path relative to project root
Output format
Human-readable name
Path to Handlebars template file
Detection methods (at least one required)
3 nested properties
Files that indicate this tool is in use
CLI commands to check for
Environment variables to check
How to handle existing files
Marker for section-based merging (required when mergeStrategy is 'section')
Per-tool primer generation configuration
11 nested properties
Token budget for primer content
Output format for primer
Weights for multi-dimensional value calculation
4 nested properties
Weight for safety dimension
Weight for efficiency dimension
Weight for accuracy dimension
Weight for base value
Use a named weight preset
Capabilities this tool has (auto-detected if not specified)
Only include these section IDs
Exclude these section IDs
Only include these categories
Exclude these categories
Only include sections with these tags
Enable dynamic value modifiers
Script to run before sync
Script to run after sync
Script to run on sync error
Per-tool hooks
Examples
{
"$schema": "https://acp-protocol.dev/schemas/v1/sync.schema.json",
"version": "1.0.0",
"enabled": true,
"auto": true,
"tools": [
"cursor",
"claude-code",
"generic"
],
"primer": {
"defaultBudget": 500,
"preset": "safe"
},
"custom": {
"cursor": {
"primer": {
"budget": 2000,
"capabilities": [
"shell",
"file-read",
"file-write"
]
}
},
"claude-code": {
"primer": {
"budget": 4000,
"capabilities": [
"shell",
"mcp",
"file-read",
"file-write"
],
"weights": {
"safety": 1.5,
"efficiency": 1.2,
"accuracy": 1.0,
"base": 1.0
}
}
}
}
}
{
"$schema": "https://acp-protocol.dev/schemas/v1/sync.schema.json",
"version": "1.0.0",
"enabled": true,
"exclude": [
"aider"
],
"primer": {
"weights": {
"safety": 2.0,
"efficiency": 0.8,
"accuracy": 1.0,
"base": 0.8
}
},
"customAdapters": [
{
"name": "my-ide",
"displayName": "My Custom IDE",
"outputPath": ".my-ide/context.md",
"format": "markdown",
"detect": {
"files": [
".my-ide/config.json"
]
},
"mergeStrategy": "replace",
"primer": {
"budget": 2000,
"capabilities": [
"shell",
"file-read"
]
}
}
]
}