Skip to content

fix: keep config and other files when select() has no filters - #37

Open
musher-dagger[bot] wants to merge 1 commit into
mainfrom
dagger/select-all-files
Open

musher-dagger[bot] wants to merge 1 commit into
mainfrom
dagger/select-all-files

Conversation

@musher-dagger

@musher-dagger musher-dagger Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

In short: bundle.select() with no filters now returns every file in the bundle. Before, it silently dropped config and other files, so code using select().files() to mean "all files" missed them. Filtered selections behave as before. Merging cuts a patch release, 0.3.6.

For a person

  • Approve (one approval is required) and merge.
  • Merge the release-please PR that follows, to publish 0.3.6.

Summary

Bundle.select() with no filters reads as "everything", but selection.files() dropped every config and other asset. It built the file set only from the files of typed handles (skills, prompts, toolsets, agent specs).

  • With no filters, the selection's files are now all of the bundle's files. This is the issue's Option A.
  • With any filter, nothing changes: the selection holds only the files of the resources the filter names, so select(skills=["search"]) still leaves out a config file.
  • export_claude_plugin and install_claude_skills call select(skills=...) but read only skills(), so their output is unchanged.

Tests

  • New: TestBundle::test_select_with_no_filters_keeps_untyped_files. A bundle with a config and an other asset gets back every file from select().files(), and a filtered selection still excludes them.
  • uv run ruff check ., uv run basedpyright and uv run pytest pass: 232 tests, 94.8% coverage.

Release

fix: cuts a patch release (0.3.6) through release-please.

Fixes #19

🤖 Generated with Claude Code

Bundle.select() built its files from the typed handles alone, so a
select() with no filters, which reads as everything, dropped every config
and other asset from files(). With no filters the selection now holds every
file in the bundle; a filter still selects only the files of the resources
it names.

Fixes #19

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@musher-dagger
musher-dagger Bot marked this pull request as ready for review November 22, 2026 06:52

This branch has not been deployed

No deployments
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.

select() silently excludes config and other asset types

0 participants