spawn/test
L e3cebbbb49
test: remove Python-using bash tests and security theater (#1718)
Deleted 8 test files (5,581 lines) that violated CLAUDE.md policies:

Security Theater (981 lines):
- test/test-sandbox.sh - tested test infrastructure pollution
- test/qa-dry-run.sh - meta-testing nightmare (672 lines)
- test/update-readme.py - Python script

Python-Using Bash Tests (4,600 lines):
- test/e2e.sh - 11 Python calls for JSON parsing
- test/run.sh - 6 Python calls
- test/mock.sh - 6 Python calls
- test/record.sh - 14 Python calls
- test/mock-curl-script.sh - 2 Python calls

Per CLAUDE.md: "Use Bun + TypeScript for inline scripting — NEVER python"

Changes:
- Removed all Python usage from bash test suite
- Fixed .claude/skills/setup-agent-team/qa-cycle.sh (disabled update-readme.py)
- Fixed cli/src/__tests__/cloud-error-guidance.test.ts (updated expectation)
- Documented rationale in .docs/REMOVED_TESTS.md
- Test coverage: 82 TypeScript test files, 3,570/3,571 passing (99.97%)

Remaining bash tests:
- test/macos-compat.sh (no Python, pure bash linter)

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-22 10:45:01 -08:00
..
fixtures refactor: remove all cloud bash libs, convert AWS to JS bundle fallback (#1714) 2026-02-22 10:13:36 -08:00
macos-compat.sh fix: exclude echo -n from macos-compat MC002 rule to eliminate false positives (#1545) 2026-02-20 23:36:47 -05:00