- TypeScript + Fastify skeleton under project/ (src/modules, shared, infrastructure, app) - scripts/check-module-boundaries.mjs enforcing module public-API rules (tested with fixtures) - GET /health endpoint, error envelope without stack leakage - specs/F-001-scaffold (SPEC/DESIGN/TASKS/TESTS), spec/tech.md dependency justification - 30-ticket MercadoDeVida roadmap in backlog/features.json, spec/roadmap.md - All gates approved: reviewer, security, qa; verify.sh green
22 lines
615 B
Bash
Executable File
22 lines
615 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
cd "$ROOT"
|
|
|
|
if ! command -v pi >/dev/null 2>&1; then
|
|
echo "[FAIL] pi is required before running Orquestra" >&2
|
|
exit 1
|
|
fi
|
|
|
|
STATUS_EXT=".pi/extensions/orquestra-status"
|
|
WEB_FETCH_EXT=".pi/extensions/orquestra-web-fetch.ts"
|
|
|
|
if [ ! -f "$STATUS_EXT/index.ts" ] || [ ! -f "$WEB_FETCH_EXT" ]; then
|
|
echo "[FAIL] Orquestra Pi extensions are not installed in this project." >&2
|
|
echo " Run: /path/to/orquestra/scripts/install.sh $ROOT" >&2
|
|
exit 1
|
|
fi
|
|
|
|
exec pi --no-extensions --no-skills -e "$STATUS_EXT" -e "$WEB_FETCH_EXT" "$@"
|