Create a CLI tool safe-extract that validates and extracts a custom .pkg archive format safely. The tool must:
Create a CLI tool safe-extract that validates and extracts a custom .pkg archive format safely. The tool must:: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Validation rules (archive MUST be rejected with…
The task
**Validation rules (archive MUST be rejected with appropriate error message on stderr, non-zero exit, and NO files extracted if ANY of these fail):**