Skip to content

chore: list workspace members explicitly to prevent stub-dir blowup#115

Merged
Larry-Osakwe merged 1 commit into
mainfrom
larry/harden-workspace-glob
May 2, 2026
Merged

chore: list workspace members explicitly to prevent stub-dir blowup#115
Larry-Osakwe merged 1 commit into
mainfrom
larry/harden-workspace-glob

Conversation

@Larry-Osakwe
Copy link
Copy Markdown
Contributor

Summary

  • Replaces the top-level packages/* workspace glob with an explicit list of active package directories
  • Keeps the existing packages/*/examples/* glob because current example projects each have pyproject.toml
  • Updates DEVELOPER.md so new packages are explicitly registered in the workspace and sources

Why

A broad top-level packages/* glob can sweep in stale branch leftovers or half-bootstrapped package dirs that do not have pyproject.toml. This checkout already has ignored packages/agents and packages/crewai directories, which matches the class of workspace failure Matte flagged.

Listing active top-level packages explicitly makes the workspace package set closed and predictable while preserving the existing examples behavior.

Verified

  • uv lock --check
  • uv build --all-packages --out-dir /private/tmp/keycard-build-check

Notes

  • Pending keycardai-crewai work should add "packages/crewai" to [tool.uv.workspace] members when that package is ready to join the workspace.
  • The example workspace glob remains intentional; a future PR can make examples explicit too if we want the same hardening there.

packages/* glob matches any directory on the filesystem, including
leftover dirs from branch checkouts and half-bootstrapped stubs that
lack pyproject.toml. uv 0.11.7 silently skips them but other tooling
does not. Switch to an explicit member list so the workspace is a
closed set regardless of what exists under packages/.

Also updates DEVELOPER.md new-package checklist to reflect the
three-step registration process.
@Larry-Osakwe Larry-Osakwe merged commit a0fe117 into main May 2, 2026
8 checks passed
@Larry-Osakwe Larry-Osakwe deleted the larry/harden-workspace-glob branch May 2, 2026 01:25
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.

2 participants