Classify every comment as tautology, stale, excuse or decision record. Tautology/stale/excuse comments are deleted (excuses filed as issues #196-#236), decisions moved to docs/adr/0001-0034. - scripts/lint-comments.sh + .comment-baseline: per-file comment count may only go down; wired into tests/all.sh - .claude/skills/delete-comment: repeatable audit workflow - cargo fmt applied to touched crates Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
6 lines
271 B
Bash
6 lines
271 B
Bash
#!/bin/sh
|
|
cd "$(dirname "$0")/.."
|
|
bad=$(grep -rn "Command::new" crates/hx-lens/src crates/hx-tools/src --include=*.rs | grep -v "tests\?\.rs\|manager.rs\|cargo\|stty\|\"kill\"")
|
|
[ -z "$bad" ] || { echo "sandbox e2e FAIL: raw spawn: $bad"; exit 1; }
|
|
echo "sandbox e2e ok"
|