Skip to content

Ignore AI assistant config files in project scanning#13907

Merged
cderv merged 4 commits intomainfrom
ai-config-files-render
Jan 19, 2026
Merged

Ignore AI assistant config files in project scanning#13907
cderv merged 4 commits intomainfrom
ai-config-files-render

Conversation

@cderv
Copy link
Collaborator

@cderv cderv commented Jan 16, 2026

This PR adds CLAUDE.md and AGENTS.md to the built-in project ignore fiels for render target, and also files to be ignore in quarto use template

  • Documentation update PR.

This PR also adds a doc about testing pattern to help claude. This will be reorganized later in CLAUDE.md files

cderv and others added 3 commits January 16, 2026 21:35
Exclude CLAUDE.md and AGENTS.md from project input files and extension
templates to prevent AI assistant configuration from being inadvertently
rendered as content.
Add smoke tests to verify CLAUDE.md and AGENTS.md are excluded from:
- Project input files (project-ai-config.test.ts)
- Extension templates (template-ai-config.test.ts)

Co-Authored-By: Claude <noreply@anthropic.com>
Document standard patterns for writing Quarto smoke tests, including:
- Project rendering test patterns
- Extension template test patterns
- Verification helpers and utilities
- Path construction patterns
- Best practices for test isolation and cleanup

Co-Authored-By: Claude <noreply@anthropic.com>
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jan 16, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv cderv merged commit 2d3a904 into main Jan 19, 2026
4 of 51 checks passed
@cderv cderv deleted the ai-config-files-render branch January 19, 2026 09:14
cderv added a commit that referenced this pull request Mar 12, 2026
…template use

The .local.md variants of AI assistant config files were not excluded from
project file discovery or extension templates. Extends the ignore patterns
added in #13907 to also cover these files.

Fixes #14198
@cscheid cscheid added this to the v1.9 milestone Mar 12, 2026
cderv added a commit that referenced this pull request Mar 12, 2026
…nder (#14200)

The .local.md variants of AI assistant config files were not excluded from
project file discovery or extension templates. Extends the ignore patterns
added in #13907 to also cover these files.

Fixes #14198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants