feat: implement bd preflight --check flag with test runner (bd-lfak.2)

- Add CheckResult and PreflightResults structs for check outcomes
- Implement runTestCheck() to execute go test -short ./...
- Wire up --check flag to actually run tests instead of placeholder
- Add ✓/✗ output formatting with command and truncated output
- Support --json flag for programmatic consumption
- Exit with non-zero code when tests fail
- Add tests for new preflight functionality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
beads/polecats/basalt
2025-12-30 22:20:18 -08:00
committed by Steve Yegge
parent 140c5fd309
commit 8dcfdda186
3 changed files with 1174 additions and 887 deletions

File diff suppressed because one or more lines are too long