Skip to content

Release: v7.13.0 — flow claude: C7-C11 checks + watch daemon#476

Merged
Data-Wise merged 7 commits into
mainfrom
dev
Jun 19, 2026
Merged

Release: v7.13.0 — flow claude: C7-C11 checks + watch daemon#476
Data-Wise merged 7 commits into
mainfrom
dev

Conversation

@Data-Wise

Copy link
Copy Markdown
Owner

Summary

  • C4 two-tier threshold: >100 lines → WARN "approaching 180-line limit"; >180 lines → ERROR "exceeds 180-line hard limit"
  • C7 per-project CLAUDE.md audit: scans $FLOW_CLAUDE_PROJECTS_ROOT (depth 4), warns on >180 lines or stale version refs
  • C8 orphaned memory dirs: slug-decode → filesystem path, warn if project gone
  • C9 rules drift: every ~/.claude/rules/*.md stem must appear in main CLAUDE.md
  • C10 missing hook files: parse settings.json hook commands, error on absent absolute-path scripts
  • C11 plugin health: ~/.claude/plugins/*/plugin.json exists and is valid JSON (skips cache/)
  • flow claude watch: background daemon (( ... ) & disown), PID at ~/.flow/claude-watch.pid, state at ~/.flow/claude-health-state.json, desktop notifications via terminal-notifier on state transitions only
  • Docs: docs/commands/claude.md + docs/tutorials/49-flow-claude-check.md updated for all 11 checks + watch daemon

Test plan

  • CI: ZSH Plugin Tests pass on main
  • CI: Full Test Suite passes on main
  • Verify flow claude check reports all 11 checks
  • Verify flow claude watch --status shows daemon state
  • Homebrew formula auto-updates after GitHub release

🤖 Generated with Claude Code

Test User and others added 7 commits June 19, 2026 11:24
Adds SPEC-flow-claude-v2.md covering:
- C4 two-tier threshold (warn >100, error >180)
- C7: per-project CLAUDE.md line count + version drift
- C8: orphaned ~/.claude/projects/ memory dirs
- C9: unreferenced rules in ~/.claude/rules/
- C10: hooks in settings.json pointing to missing scripts
- C11: plugin dirs missing valid plugin.json
- flow claude watch: 30-min background daemon, terminal-notifier on
  WARN/ERROR state change, --stop/--status subcommands

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* chore: add ORCHESTRATE plan for flow claude v2

C4 two-tier fix + C7-C11 new checks + flow claude watch daemon.
5-wave implementation plan with test list and verification steps.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* feat(claude): C4 two-tier + C7-C11 checks + watch daemon

Extends `flow claude check` with:
- C4 two-tier threshold: >100 lines → WARN, >180 → ERROR
- C7 per-project CLAUDE.md audit (line count + version drift)
- C8 orphaned memory dir detection (slug decode)
- C9 rules drift (unreferenced rules in CLAUDE.md)
- C10 missing hook file detection from settings.json
- C11 plugin.json health check
- `flow claude watch [--interval N] [--stop] [--status]`
  background daemon with desktop notifications on state change

Tests: 39 passed, 6 skipped (tool-absent), 0 failed

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* docs(claude): Wave 5 — CHANGELOG, test counts, completions for v7.13.0

- CHANGELOG.md + docs/CHANGELOG.md: [Unreleased] section documenting
  C4 two-tier, C7-C11 checks, and flow claude watch daemon
- CLAUDE.md: 218→219 test files, 66/66→67/67 suites
- docs/guides/TESTING.md: 218→219 test files (table + footer)
- completions/_flow: watch subcommand + options (--interval, --stop, --status)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…h daemon

Add C7-C11 rows to the checks table (per-project CLAUDE.md, orphaned
memory dirs, rules drift, missing hook files, plugin health), update C4
to show the two-tier threshold (>100 WARN, >180 ERROR), and add Watch
Daemon section covering flow claude watch --interval/--stop/--status.
Mirror all changes in tutorial 49. Bump both to v7.13.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixes MD040 markdownlint errors introduced by the C7-C11/watch daemon
doc update — 14 output blocks in tutorial 49 and 1 in the commands
page were missing the text language specifier. Also fixes MD049
underscore emphasis → asterisk.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- flow.plugin.zsh, package.json, CLAUDE.md, man pages → 7.13.0
- CHANGELOG.md + docs/CHANGELOG.md: 7.13.0 date stamped (2026-06-19)
- docs/CHANGELOG.md: inserted missing 7.12.0 entry
- MASTER-DISPATCHER-GUIDE.md: version footer → v7.13.0
- .STATUS: phase → Release Pending (v7.13.0)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Data-Wise Data-Wise merged commit a4c505b into main Jun 19, 2026
4 checks passed
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