ACP Configuration File
AI Context Protocol configuration file for project-level settings
| Type | object |
|---|---|
| File match |
.acp.config.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/acp-configuration-file/latest.json |
| Source | https://acp-protocol.dev/schemas/v1/config.schema.json |
Validate with Lintel
npx @lintel/lintel check
AI Context Protocol configuration file format (.acp.config.json)
Properties
ACP specification version
Glob patterns for files to include
[
"**/*"
]
Glob patterns for files to exclude
[
"node_modules/**",
".git/**",
"dist/**",
"build/**",
"coverage/**",
"**/*.test.*",
"**/*.spec.*"
]
Error handling configuration
3 nested properties
Error handling strictness mode
Maximum number of errors before aborting (permissive mode only)
Whether to automatically fix common errors
Constraint configuration
3 nested properties
Default constraint values
3 nested properties
Default lock level
Default style guide
Default AI behavior
Enable tracking of constraint violations
Violation log file path
Domain patterns for automatic classification
Call graph generation configuration
3 nested properties
Include standard library calls
Maximum call depth (null = unlimited)
Patterns to exclude from graph
[]
Implementation limits
4 nested properties
Maximum source file size in MB
Maximum files in project
Maximum annotations per file
Maximum cache file size in MB
Sync configuration for AI tool integration (can also be in .acp/acp.sync.json)
Annotation generation configuration (RFC-0003)
2 nested properties
Provenance tracking settings
4 nested properties
Enable provenance tracking for generated annotations
Include confidence scores in generated annotations
Confidence threshold below which annotations are flagged for review
Minimum confidence required to emit an annotation
Default settings for annotation generation
2 nested properties
Mark all generated annotations as needing review
Overwrite existing annotations when generating
Documentation bridging configuration (RFC-0006)
7 nested properties
Enable documentation bridging during indexing
Precedence when both native docs and ACP exist
How to handle malformed documentation
JSDoc/TSDoc bridging settings
3 nested properties
Enable JSDoc bridging for JavaScript/TypeScript
Extract types from @type, @param {Type}
JSDoc tags to convert to ACP annotations
[
"param",
"returns",
"throws",
"deprecated",
"example",
"see"
]
Python docstring bridging settings
4 nested properties
Enable Python docstring bridging
Docstring style to parse (auto-detect recommended)
Extract type hints from function signatures
Docstring sections to convert to ACP annotations
[
"Args",
"Parameters",
"Returns",
"Raises",
"Example",
"Yields"
]
Rust doc comment bridging settings
2 nested properties
Enable Rust doc comment bridging
Rust doc sections to convert
[
"Arguments",
"Returns",
"Panics",
"Errors",
"Examples",
"Safety"
]
Provenance tracking for bridged annotations
2 nested properties
Add source: 'converted' to bridged annotations
Include sourceFormat field (jsdoc, docstring:google, etc.)
Documentation and style guide configuration (RFC-0002)
4 nested properties
Trusted documentation sources for this project
Custom style guide definitions
Default documentation settings
2 nested properties
Default value for @acp:ref-fetch
Default style guide for all files
Reference validation settings
2 nested properties
Only allow refs from approvedSources list
Warn when unknown style guide is referenced
Definitions
Approved documentation source definition (RFC-0002)
Unique identifier for this source (used in @acp:ref)
Base URL for documentation
Version of documentation (semver or custom)
Human-readable description
Named section shortcuts
Whether AI tools should attempt to fetch this source
When this source was last verified accessible
Custom style guide definition (RFC-0002)
Base style guide to extend
Approved source ID for documentation
Direct URL to style guide documentation
Human-readable description
Languages this guide applies to
Style rules (key or key=value format)
Glob patterns for auto-applying this guide