feat(claude): C7-C11 checks + watch daemon (v7.13.0)#475
Merged
Conversation
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>
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>
- 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>
Data-Wise
added a commit
that referenced
this pull request
Jun 19, 2026
* chore: mark v7.12.0 released in .STATUS * docs(spec): flow claude v2 — C7-C11 checks + watch daemon 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> * chore(.STATUS): add feature/flow-claude-v2 worktree entry Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(claude): C7-C11 checks + watch daemon (v7.13.0) (#475) * 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> * docs(claude): document C4 two-tier threshold, C7-C11 checks, and watch 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> * fix(docs): add text language to bare code fences in claude docs 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> * chore: bump version to v7.13.0 - 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> --------- Co-authored-by: Test User <test@example.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
$FLOW_CLAUDE_PROJECTS_ROOT(depth 4); warns on overlength files or stale version refs~/.claude/projects/entries; warns on dirs whose decoded path no longer exists~/.claude/rules/*.mdstem not referenced in the mainCLAUDE.mdsettings.jsonthat aren't on disk~/.claude/plugins/*/plugin.jsonthat's missing or invalid JSONflow claude watch [--interval N] [--stop] [--status]: background daemon writing state JSON, firingterminal-notifierdesktop notifications on status transitions; gracefully absent on LinuxAll injectable via
FLOW_CLAUDE_HOME/FLOW_CLAUDE_ZSHRC/FLOW_CLAUDE_PROJECTS_ROOTfor test isolation.Test plan
./tests/run-all.sh— 66 passed, 0 failed, 0 timeout, 1 skipped (67/67 suites)tests/test-flow-claude.zsh— 39 passed, 6 skipped (tool-absent), 0 failedterminal-notifiercalled on state change_TC_TMPpath to avoid spurious C8 WARN🤖 Generated with Claude Code