han811's picture
add task templates for rebuttal
7e760fb
Raw
History Blame Contribute Delete
574 Bytes
#!/usr/bin/env bash
# Setup for D3: Database Schema Migration
# This task is fully parameterized — workspace files are generated by the generator.
# setup.sh is a no-op placeholder; generation is handled by harness/run_task.py.
set -euo pipefail
WORKSPACE="$1"
REPORTS="$2"
RUN_ID="${3:-}"
mkdir -p "$WORKSPACE" "$REPORTS"
# Verify SQLite3 is available (required for migration.py)
if ! python3 -c "import sqlite3" 2>/dev/null; then
echo "ERROR: sqlite3 Python module not available" >&2
exit 1
fi
echo "D3_schema_migration setup complete. Workspace: $WORKSPACE"