claude-print/scripts
jedarden 7a8945ae00 feat(bf-1n6): add scripts/check-billing.sh for AS-4 billing conformance
- Implement check-billing.sh script that verifies the most recent
  transcript has entrypoint 'cli' (subscription pool) not 'sdk-cli'
- Script finds newest *.jsonl under ~/.claude/projects/ and scans
  for entrypoint field, exiting 0 iff it equals 'cli'
- Handle no-transcripts and no-directory cases with distinct errors
- Update README with Troubleshooting and Release checklist sections
  referencing the script as the pre-release gate

Acceptance criteria:
- bash -n passes (syntax valid)
- Executable mode 755
- README updated with troubleshooting/release checklist references

Bead-Id: bf-1n6
2026-07-02 14:42:48 -04:00
..
check-billing.sh feat(bf-1n6): add scripts/check-billing.sh for AS-4 billing conformance 2026-07-02 14:42:48 -04:00
test_exact_claude_print_scenario.sh fix(bf-2f5): correct timeout exit code from 3 to 124 2026-06-25 08:33:00 -04:00
test_sessionstart_hook.sh fix(bf-2f5): correct timeout exit code from 3 to 124 2026-06-25 08:33:00 -04:00
test_startup_wedge.sh fix(bf-2f5): correct timeout exit code from 3 to 124 2026-06-25 08:33:00 -04:00
verify-startup-wedge-fix.sh fix(bf-2f5): correct timeout exit code from 3 to 124 2026-06-25 08:33:00 -04:00
verify_fix.sh fix(bf-2f5): correct timeout exit code from 3 to 124 2026-06-25 08:33:00 -04:00