Skip to content

4.4.0

Choose a tag to compare

@mishagin-dev mishagin-dev released this 19 Nov 11:54
· 81 commits to main since this release
339c849

This release adds a way to reclaim the disk space that parallel agent work leaves behind, and makes the Symfony skill safe with credentials.

Cleanup of agent worktrees

Agents that work in parallel each take a git worktree, and a compiled project's worktree grows its own build directory: a Rust workspace is 5-35 GB per copy. Nothing removed them once the work was merged, and directories deleted by hand left their records behind in git.

The new /apogee:cleanup skill inventories the repository and every submodule with a read-only script, gives each entry a verdict and deletes only what you pick:

  • stale records of worktrees whose directories are gone are pruned;
  • clean worktrees whose commits all live on a base branch or a remote are offered for removal;
  • anything holding work that exists nowhere else (uncommitted changes, unpushed commits, including inside submodules), a locked worktree, or one used in the last two hours is kept, with the reason shown;
  • build directories of the main checkout are reported, and removed only on request.

The inventory runs on the stock macOS bash and is covered by tests/cleanup-inventory.sh in scripts/validate.sh.

Symfony skill

  • Environment checks print the names of injected variables, never their values: injected DSNs carry credentials.
  • Detection is stricter (bin/console plus symfony/framework-bundle or symfony.lock), and the skill takes precedence over generic PHP guidance inside a Symfony project.
  • Log reading no longer relies on sleep and kill; long-running output goes through background tasks.