Skip to content

fix: Homebrew cleanup + v7.4.1#408

Merged
Data-Wise merged 7 commits intodevfrom
feature/homebrew-release-fix
Feb 21, 2026
Merged

fix: Homebrew cleanup + v7.4.1#408
Data-Wise merged 7 commits intodevfrom
feature/homebrew-release-fix

Conversation

@Data-Wise
Copy link
Owner

Summary

  • chore: Delete 62 stale root-level files (planning docs, old test scripts, debug helpers, VS Code workspace, eslint config) — reduces tarball size significantly
  • fix: Homebrew formula selective install — replaces prefix.install Dir["*"] with explicit allowlist of runtime directories. Reduces Cellar from 74MB to ~4MB
  • ci: Add version guard workflow — blocks releases when FLOW_VERSION in flow.plugin.zsh doesn't match the release tag
  • chore: Bump version to v7.4.1

Test plan

  • Plugin loads cleanly (source flow.plugin.zsh exits 0)
  • Test suite: 45 passed, 0 failed, 1 expected timeout
  • After merge + release: brew upgrade data-wise/tap/flow-cli
  • Verify Cellar size < 5MB: du -sh $(brew --prefix flow-cli)/
  • Verify flow --version reports 7.4.1

🤖 Generated with Claude Code

Test User and others added 7 commits February 21, 2026 11:42
- ORCHESTRATE-homebrew-release-fix.md (4-phase implementation plan)
- SPEC-homebrew-release-fix-2026-02-21.md (full spec from brainstorm)
- BRAINSTORM-homebrew-release-fix-2026-02-21.md (deep feat brainstorm)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove 54 planning/summary docs and 8 old test scripts, debug helpers,
VS Code workspace, and eslint config from repo root.

These files inflate the Homebrew tarball (74MB) but are not needed at
runtime. Keeping package.json (husky/lint-staged) and essential docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace `prefix.install Dir["*"]` with explicit allowlist of runtime
directories and essential docs. Excludes tests/, docs/, .github/,
node_modules artifacts, and planning docs from the Cellar.

Installed: lib/, commands/, completions/, hooks/, setup/, scripts/,
config/, plugins/, zsh/, flow.plugin.zsh, README, CHANGELOG, LICENSE

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New workflow triggers on release creation. Extracts tag version and
FLOW_VERSION from flow.plugin.zsh, fails with clear error message
if they don't match. Uses env vars for injection-safe expression handling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update FLOW_VERSION, package.json, CLAUDE.md, CHANGELOG, and .STATUS
for the Homebrew cleanup release.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ORCHESTRATE files are working artifacts for feature branches,
removed before merge to dev per workflow convention.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… count

- Replace grep -oP (GNU-only) with grep -oE (POSIX) in version-guard workflow
- Add comment explaining placeholder SHA256 in local Formula
- Fix test count in .STATUS: 45/45 (not 47/47)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Data-Wise Data-Wise merged commit 45de484 into dev Feb 21, 2026
1 check passed
@Data-Wise Data-Wise deleted the feature/homebrew-release-fix branch February 27, 2026 21:44
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.

1 participant