beadboard/tests
zenchantlive ce4700849b Fix: Security, reliability, and code quality improvements from PR review
Critical Security Fixes:
- Fix command injection vulnerability in Windows shims (beadboard.cmd, bb.cmd)
  - Added path validation to block traversal (.. and root-relative paths)
  - Added quotes around env var to prevent command injection

Reliability Fixes:
- Fix agent cache null safety bug
  - Fixed callBdAgentShow() to check for cache misses (null check, expiration)
  - Fixed getCachedAgent to properly return entry.data or null
- Fix null body crashes in mail ack route
  - Added null check before casting body to object
  - Returns 400 error instead of 500 for invalid requests

BD Compliance Fixes:
- Fix read-issues to use BD audit record path
  - Ensures all writes go through bd audit record
  - Maintains watcher/SSE parity and Dolt commit tracking

Code Quality Fixes:
- Fix path canonicalization violations
  - Use canonicalizeWindowsPath() and windowsPathKey() from pathing module
  - Prevents Windows edge cases and ensures machine-reproducible paths
- Fix typo: mobile-fronted → mobile-frontend
- Pin GitHub Actions tags
  - softprops/action-gh-release@v1 → specific commit hash
- Register pr14 test in package.json (already registered)

Testing:
- Refactor broad exception handlers in Python scripts
  - Replace except Exception: with specific exceptions
  - Allows KeyboardInterrupt and SystemExit to propagate correctly
  - All tests passing
2026-03-05 16:33:10 -08:00
..
api Cleanup: Runtime artifacts, hard-coded paths, PR 14 bug fixes 2026-03-05 15:57:33 -08:00
cli feat(cli): expose bb agent coordination commands 2026-03-03 18:26:07 -08:00
components checkpoint: pre-split branch cleanup 2026-03-03 16:43:42 -08:00
docs docs(ci): finalize global install runtime docs and smoke coverage 2026-03-02 20:46:18 -08:00
guards checkpoint: pre-split branch cleanup 2026-03-03 16:43:42 -08:00
hooks checkpoint: pre-split branch cleanup 2026-03-03 16:43:42 -08:00
lib Fix: Security, reliability, and code quality improvements from PR review 2026-03-05 16:33:10 -08:00
scripts Cleanup: Runtime artifacts, hard-coded paths, PR 14 bug fixes 2026-03-05 15:57:33 -08:00
server chore: checkpoint before DAG views UX overhaul 2026-02-22 20:43:59 -08:00
skills/beadboard-driver Cleanup: Runtime artifacts, hard-coded paths, PR 14 bug fixes 2026-03-05 15:57:33 -08:00
types checkpoint: pre-split branch cleanup 2026-03-03 16:43:42 -08:00
bootstrap.test.mjs checkpoint: pre-split branch cleanup 2026-03-03 16:43:42 -08:00
pr14-critical-bugs.test.ts Cleanup: Runtime artifacts, hard-coded paths, PR 14 bug fixes 2026-03-05 15:57:33 -08:00