diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 5d0fc5b..58b4464 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "taskflow", "description": "Plan-and-task workflow: scope/tasks/questions/progress scaffolding split into pull requests under a line budget, acceptance criteria agreed up front, tests red before green, one-task-per-commit cycle, questions answered at the task that needs them, red-first bug fixes, docs-and-diagram sync, standards review.", - "version": "0.8.7", + "version": "0.8.5", "types": "./types/index.d.ts", "author": { "name": "Guilherme Moraes" }, "license": "MIT" diff --git a/hooks/progress-reminder.py b/hooks/progress-reminder.py index d6dba65..41db99e 100755 --- a/hooks/progress-reminder.py +++ b/hooks/progress-reminder.py @@ -11,6 +11,9 @@ import re import sys +# A ledger row whose status cell is in progress - not the legend line that also shows the symbol. +IN_PROGRESS_ROW = re.compile(r"^\|\s*🔄") + DEFAULT_PROJECTS_DIR = "docs/projects" ENV_KEYS = ( "TASKFLOW_PLANS_SOURCE", @@ -115,7 +118,7 @@ def in_progress_files(cwd): for path in glob.glob(os.path.join(base, "*", "PROGRESS.md")): try: with open(path) as fh: - if "🔄" in fh.read(): + if any(IN_PROGRESS_ROW.match(line) for line in fh): found.append("%s/%s/PROGRESS.md" % (label, basename(os.path.dirname(path)))) except OSError: continue