codespeak whitelist
Add file paths or glob patterns to the whitelist in codespeak.json.
Synopsis
codespeak whitelist <patterns...> [--no-interactive]Description
Whitelisted files can be modified by any spec during builds without triggering managed files notifications. This is useful for shared files like project configuration, __init__.py files, or test registries.
Patterns are added to the whitelisted_files array in codespeak.json. The list is always kept sorted alphabetically. Duplicate patterns are ignored.
Flags
| Flag | Description |
|---|---|
patterns | File paths or glob patterns to whitelist. **Required**. Examples: config.toml, 'src/*.py', '**/*.go' |
--no-interactive | Run in non-interactive mode without real-time progress updates |
Examples
Whitelist a single file:
codespeak whitelist pyproject.tomlWhitelist with glob patterns:
codespeak whitelist 'src/**/__init__.py' 'config/*.yaml'See also
- Managed Files — how CodeSpeak tracks file ownership and when whitelisting is needed
codespeak update-managed-files— per-spec file control