Context
Found by the repo-wide /code-tidying:batch-simplify sweep (62 groups / 986 files, branch claude/repo-code-tidying-batch-twhddw). The sweep's doctrine files latent defects instead of fixing them mid-sweep, because the fix changes observable behavior; this issue is that filing.
plugins/claude-memory/skills/stateless/scripts/scope-report.sh:114 — find ... | wc -l over-counts a filename containing an embedded newline; the sibling count uses null-delimited form.
Proposed work
- Use
find -print0 | grep -zc . (or the sibling's null-delimited idiom).
Acceptance criteria
References
plugins/claude-memory/skills/stateless/scripts/scope-report.sh:114
Filed by the /code-tidying:batch-simplify closeout (Phase 8).
Context
Found by the repo-wide
/code-tidying:batch-simplifysweep (62 groups / 986 files, branchclaude/repo-code-tidying-batch-twhddw). The sweep's doctrine files latent defects instead of fixing them mid-sweep, because the fix changes observable behavior; this issue is that filing.plugins/claude-memory/skills/stateless/scripts/scope-report.sh:114—find ... | wc -lover-counts a filename containing an embedded newline; the sibling count uses null-delimited form.Proposed work
find -print0 | grep -zc .(or the sibling's null-delimited idiom).Acceptance criteria
References
plugins/claude-memory/skills/stateless/scripts/scope-report.sh:114Filed by the /code-tidying:batch-simplify closeout (Phase 8).